/* Reset and Base Styles */
:root {
    --transition-duration: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll; /* Force scrollbar to always be visible */
}

/* Enable scroll snap for services page */
html:has(.services-hero) {
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f0f0f;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.03em;
    color: #0f0f0f;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo a:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 28px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo a:hover .logo-img {
    transform: rotate(5deg);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    margin-right: 2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border: none;
    padding: 0.5rem 0;
    outline: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

.nav-link:hover {
    background: linear-gradient(-45deg, #1a1a1a, #4a90e2, #7b68ee, #ff6b6b, #1a1a1a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chromatic 2s ease infinite;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #1a1a1a;
    font-weight: 500;
}

.nav-link.active::after {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: hsla(213.08823529411762, 0%, 93%, 1);
    background-image: radial-gradient(circle at 83% 22%, hsla(35.735294117647136, 82%, 87%, 1) 0%, transparent 50%), radial-gradient(circle at 0% 50%, hsla(194.5588235294118, 37%, 91%, 1) 0%, transparent 50%), radial-gradient(circle at 21% 21%, hsla(27.999999999999577, 0%, 86%, 1) 0%, transparent 50%), radial-gradient(circle at 54% 77%, hsla(193.2352941176474, 100%, 95%, 1) 0%, transparent 50%), radial-gradient(circle at 30% 75%, hsla(197.87234042553195, 25%, 35%, 1) 0%, transparent 50%);
    background-blend-mode: normal, normal, normal, normal, normal;
    position: relative;
    overflow: hidden;
}

/* Hero Screenshot */
.hero-screenshot {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 78.75%;
    max-width: 1050px;
    z-index: 1;
    opacity: 0;
    animation: fadeInLeft 1s ease-out 1s forwards;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1.02);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}





.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    padding-top: 2rem;
    text-align: right;
    margin-left: auto;
    position: relative;
    z-index: 2;
    margin-right: 0;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 350;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: right;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-cta {
    margin-top: 3rem;
    text-align: left;
}

/* Typewriter Animation */
.typewriter-line {
    display: inline-block;
    position: relative;
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 3px solid #1a1a1a;
}

.typewriter-text.first-part {
    animation: typewriter 0.7s steps(14, end) forwards, blink-cursor 0.6s infinite;
}

.typewriter-text.second-part {
    animation: typewriter 0.8s steps(18, end) forwards, blink-cursor 0.6s infinite;
    animation-delay: 1s;
}

.typewriter-text.delayed {
    border-right-color: transparent;
    animation-delay: 2s;
}

/* Typewriter effect keyframes */
@keyframes typewriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Blinking cursor effect */
@keyframes blink-cursor {
    0%, 50% {
        border-right-color: #1a1a1a;
    }
    51%, 100% {
        border-right-color: transparent;
    }
}

/* Remove cursor after animation completes */
.typewriter-text.first-part {
    animation: typewriter 0.7s steps(14, end) forwards, blink-cursor 0.6s infinite, remove-cursor 0.1s 0.9s forwards;
}

.typewriter-text.second-part {
    animation: typewriter 0.8s steps(18, end) 1s forwards, blink-cursor 0.6s infinite 1s, remove-cursor 0.1s 1.9s forwards;
}

.typewriter-text.delayed {
    animation: show-cursor 0.1s 2s forwards, typewriter 0.6s steps(13, end) 2s forwards, blink-cursor 0.6s infinite 2s, remove-cursor 0.1s 2.7s forwards;
}

@keyframes show-cursor {
    to {
        border-right-color: #1a1a1a;
    }
}

@keyframes remove-cursor {
    to {
        border-right-color: transparent;
    }
}

/* Fade in subtitle after typewriter completes */
.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.5s forwards;
}

/* Fade in CTA after subtitle */
.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.8s forwards;
}

/* Buttons */
.btn-primary {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1px;
    outline: none;
    background: none;
}

.btn-primary:hover {
    background: linear-gradient(-45deg, #1a1a1a, #4a90e2, #7b68ee, #ff6b6b, #1a1a1a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chromatic 2s ease infinite;
}

@keyframes chromatic {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
    letter-spacing: 0.02em;
    outline: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    outline: none;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 5rem;
}

/* Selected Work Section - Clean Minimal Design */
.selected-work {
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.selected-work-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.section-title-minimal {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin: 0;
}

.work-cta {
    margin: 0;
}

.portfolio-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1px;
}

.portfolio-link:hover {
    background: linear-gradient(-45deg, #1a1a1a, #4a90e2, #7b68ee, #ff6b6b, #1a1a1a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chromatic 2s ease infinite;
}

/* Services Section */
.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.service-item {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-bottom-color: #1a1a1a;
}

.service-item h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.service-item p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: #fafafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 450px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-link {
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #666;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.footer-text p {
    color: #888;
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
    background: rgba(26, 26, 26, 0.05);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 2.5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1000;
    padding-top: 120px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-menu .nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    padding: 1rem 0;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-menu .nav-link::before {
    display: none;
}

.mobile-nav-menu .nav-link:hover::before {
    display: none;
}

.mobile-nav-menu .nav-link:hover {
    background: linear-gradient(-45deg, #1a1a1a, #4a90e2, #7b68ee, #ff6b6b, #1a1a1a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chromatic 2s ease infinite;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-container {
        padding: 1.5rem 2rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    /* Mobile Hero Screenshot */
    .hero-screenshot {
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.3;
        pointer-events: none;
        animation: none;
    }
    
    .hero-screenshot::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.5);
        z-index: 1;
    }
    
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
        z-index: 0;
    }
    
    .hero-image:hover {
        transform: none;
    }
    
    .hero-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        z-index: 2;
    }
    
    .hero-subtitle {
        margin: 0 auto 3rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .selected-work-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title-minimal {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-form {
        order: 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
        max-width: none;
    }
    
    .nav-container {
        padding: 1.25rem 1.5rem;
        max-width: none;
    }
    
    .hero-container {
        max-width: none;
    }
    
    .logo h1 {
        font-size: 1.375rem;
    }
    
    .logo-img {
        height: 26px;
        margin-right: 8px;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    /* Small Mobile Hero Screenshot */
    .hero-screenshot {
        opacity: 0.25;
    }
    
    .hero-image {
        /* Clean image without borders or shadows */
    }
    
    .selected-work-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title-minimal {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
}

/* Smooth scrolling animations */
@media (prefers-reduced-motion: no-preference) {
    .service-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .service-item:nth-child(1) { animation-delay: 0.1s; }
    .service-item:nth-child(2) { animation-delay: 0.2s; }
    .service-item:nth-child(3) { animation-delay: 0.3s; }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .typewriter-text {
        animation: none !important;
        width: 100% !important;
        border-right: none !important;
    }
    
    .hero-subtitle, .hero-cta {
        opacity: 1 !important;
        animation: none !important;
    }
    
    .hero-screenshot {
        opacity: 1 !important;
        animation: none !important;
    }
    
    .hero-image {
        transform: none !important;
        transition: none !important;
    }
    
    .work-card,
    .work-thumbnail,
    .work-logo img,
    .portfolio-link {
        transition: none !important;
        transform: none !important;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Page Styles */
.services-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 26, 26, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 26, 26, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.hero-title-container {
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
    transform: translateY(-2rem);
}

.services-hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 0;
    position: relative;
    transform: translateX(-2rem);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: visible;
}

.title-line:first-child {
    animation: slideInUp 0.8s ease-out 0.4s forwards;
    font-weight: 300;
}

.title-line.title-accent {
    font-weight: 700;
    position: relative;
    animation: slideInUp 0.8s ease-out 0.6s forwards;
    font-size: 1.1em;
    margin-left: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-container {
    position: relative;
    z-index: 1;
    transform: translateX(2rem) translateY(-3rem);
}

.services-hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Carousel */
.services-content {
    padding: 8rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.services-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.services-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 600px;
}

.service-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition-duration) cubic-bezier(0.4, 0.0, 0.2, 1);
    background: #fafafa;
    border-radius: 12px;
}

.service-card.active {
    opacity: 1;
    transform: translateX(0);
}

.service-card.prev {
    transform: translateX(-100%);
}

.service-content {
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 200;
    color: rgba(26, 26, 26, 0.08);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.2;
}

.service-description {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.service-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    margin: 2rem 0;
}

.service-features h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-features li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: 600;
}

.service-pricing {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.pricing-note {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.pricing-note strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Mobile list arrow positioning fix */
@media (max-width: 768px) {
    .service-features li:before {
        left: 0.5rem;
    }
}

@media (max-width: 480px) {
    .service-features li:before {
        left: 0.75rem;
    }
}

/* Navigation */
.services-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 0 2rem;
}

.nav-dots {
    display: flex;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.nav-dot:hover {
    border-color: #1a1a1a;
}

.nav-arrows {
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #e0e0e0;
}

.next-step {
    color: #1a1a1a;
    padding: 6rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.next-step-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.next-step-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 300;
    line-height: 1;
}

.next-step h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.next-step p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.next-step strong {
    color: #1a1a1a;
}

.next-step-cta {
    margin-top: 3rem;
}

/* Navigation Updates */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    color: inherit;
}

.nav-link.active {
    color: #1a1a1a;
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Services Page */
@media (max-width: 768px) {
    .services-hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .services-hero-content {
        max-width: 100%;
        padding: 1rem;
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title-container {
        order: 1;
    }
    
    .services-hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 2rem;
        transform: translateX(0);
        line-height: 1.2;
    }
    
    .title-line.title-accent {
        margin-left: 0;
        font-size: 1.1em;
    }
    
    .hero-subtitle-container {
        order: 2;
        transform: translateX(0) translateY(0);
    }
    
    .services-hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
        max-width: 100%;
    }
    
    .services-content {
        padding: 5rem 0;
    }
    
    .services-carousel-container {
        max-width: 100%;
        margin: 0 0.5rem;
    }
    
    .services-carousel {
        min-height: 650px;
        margin-bottom: 1rem;
    }
    
    .service-content {
        padding: 2rem 1.5rem 1rem;
        justify-content: flex-start;
    }
    
    .service-number {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
        opacity: 0.05;
    }
    
    .service-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        margin-top: 0.5rem;
    }
    
    .service-description {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .service-features {
        margin: 1.5rem 0;
    }
    
    .service-features h4 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-features ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        padding-left: 2rem;
    }
    
    .service-pricing {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .pricing-note {
        font-size: 0.9rem;
    }
    
    .services-nav {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-dots {
        order: 1;
        justify-content: center;
    }
    
    .nav-arrows {
        order: 2;
        gap: 1rem;
        justify-content: center;
    }
    
    .nav-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .next-step {
        padding: 4rem 0;
    }
    
    .next-step-icon {
        font-size: 2.5rem;
    }

}

@media (max-width: 480px) {
    .services-hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .services-hero-content {
        padding: 0.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-hero-title {
        font-size: clamp(2rem, 15vw, 3rem);
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .services-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .services-carousel-container {
        margin: 0 0.25rem;
    }
    
    .services-carousel {
        min-height: 600px;
        margin-bottom: 1rem;
    }
    
    .service-content {
        padding: 1.5rem 1rem 0.5rem;
        justify-content: flex-start;
    }
    
    .service-number {
        font-size: 2.5rem;
        top: 0.5rem;
        right: 0.5rem;
        opacity: 0.03;
    }
    
    .service-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
        margin-top: 0;
    }
    
    .service-description {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .service-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .service-features {
        margin: 1rem 0;
    }
    
    .service-features h4 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .service-features ul {
        gap: 0.25rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
        padding: 0.4rem 0;
        padding-left: 2.25rem;
    }
    
    .service-pricing {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .pricing-note {
        font-size: 0.85rem;
    }
    
    .services-nav {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        padding: 0 0.25rem;
    }
    
    .nav-dots {
        justify-content: center;
        order: 1;
    }
    
    .nav-arrows {
        order: 2;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Dynamic Services Small Mobile Optimizations */
    .dynamic-services {
        height: 420vh; /* Even more space for very small screens */
    }
    
    .services-scroll-container {
        height: calc(100vh - 70px); /* Further reduce height */
        top: 70px; /* Adjust for very small screens */
    }
    
    .service-panel {
        height: calc(100vh - 160px); /* More height reduction */
        padding: 8% 4% 25%; /* More bottom padding, less side padding */
        padding-top: 15%; /* More top padding for very small screens */
    }
    
    .dynamic-services .services-cta {
        padding: 4rem 0; /* Even more padding for CTA */
        background: linear-gradient(to top, #ffffff 70%, transparent 100%);
    }
}

/* Dynamic Services Section - Cutting Edge Design */
.dynamic-services {
    position: relative;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    height: 350vh; /* 3.5x viewport height for more comfortable scrolling through services */
}

.services-scroll-container {
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    padding: 0 7.5%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1;
    display: grid;
    align-items: center;
    box-sizing: border-box;
}

.service-panel.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

/* Service 1: Abstract Multi-Column Layout */
.service-panel.layout-abstract {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70vh;
    grid-template-areas: 
        "title description"
        "features details";
    padding: 5% 3%;
    align-items: stretch;
}

/* Abstract Grid Sections for Service 1 */
.service-panel.layout-abstract .service-title-section {
    grid-area: title;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding-top: 1rem;
    padding-right: 1rem;
    transform: translateY(-10px);
}

.service-panel.layout-abstract .service-description-section {
    grid-area: description;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transform: translateY(10px);
}

.service-panel.layout-abstract .service-features-section {
    grid-area: features;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding-top: 1rem;
    padding-right: 1rem;
    transform: translateY(-25px);
}

.service-panel.layout-abstract .service-details-section {
    grid-area: details;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
    padding-top: 1rem;
    padding-left: 1rem;
    transform: translateY(15px);
}

/* Custom Typography for Abstract Layout */
.service-panel.layout-abstract .service-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    line-height: 0.85;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 200;
}

.service-panel.layout-abstract .service-description {
    font-size: clamp(1.2rem, 2.8vw, 1.4rem);
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 0.005em;
}

.service-panel.layout-abstract .service-details {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.service-panel.layout-abstract .service-features-mini {
    margin-top: 0;
    gap: 0.6rem;
}

.service-panel.layout-abstract .service-features-mini span {
    font-size: 0.85rem;
    color: #777;
    font-weight: 300;
}

.service-panel.layout-abstract .service-pricing {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0;
    padding-top: 0;
}

/* Service 2: Right-Left Layout */
.service-panel.layout-right-left {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    grid-template-areas: 
        "content title"
        "content title";
    align-items: start;
    padding-top: 8%;
}

/* Service 3: Abstract Agency Layout */
.service-panel.layout-centered {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 70vh;
    grid-template-areas: 
        "title description details"
        "title description details";
    padding: 5% 3%;
    align-items: stretch;
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: clamp(6rem, 12vw, 8rem);
    font-weight: 100;
    color: rgba(26, 26, 26, 0.04);
    line-height: 1;
    z-index: 1;
    transform: scale(0.9);
    transform-origin: center right;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.service-panel.active .service-number {
    transform: scale(1);
    color: rgba(26, 26, 26, 0.06);
}

/* Creative Agency Grid Sections */
.service-panel.layout-centered .service-title-section {
    grid-area: details;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
    padding-top: 1rem;
    padding-left: 1rem;
    transform: translateY(-20px);
}

.service-panel.layout-centered .service-description-section {
    grid-area: description;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transform: translateY(-30px);
}

.service-panel.layout-centered .service-details-section {
    grid-area: title;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    padding-bottom: 1.5rem;
    padding-right: 1rem;
    transform: translateY(-15px);
}

.service-content-section {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Creative Typography for Strategic Brand Positioning */
.service-panel.layout-centered .service-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.service-panel.layout-centered .service-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

.service-panel.layout-centered .service-details {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.service-panel.layout-centered .service-pricing {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0;
    padding-top: 0;
}

.service-panel.layout-centered .service-features-mini {
    margin-top: 2.5rem;
    gap: 0.8rem;
}

.service-panel.layout-centered .service-features-mini span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 300;
}

.service-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.service-panel.active .service-title {
    transform: translateY(0);
    opacity: 1;
}

.service-features-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.service-panel.active .service-features-mini {
    transform: translateY(0);
    opacity: 1;
}

.service-features-mini span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.service-description {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 400;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.service-panel.active .service-description {
    transform: translateY(0);
    opacity: 1;
}

.service-details {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.service-panel.active .service-details {
    transform: translateY(0);
    opacity: 1;
}

.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 1.5rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.service-panel.active .service-features-grid {
    transform: translateY(0);
    opacity: 1;
}

.service-features-grid span {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.05) 0%, rgba(26, 26, 26, 0.02) 100%);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    text-align: center;
}

.service-pricing {
    font-size: 0.95rem;
    color: #888;
    margin-top: auto;
    padding-top: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.5s;
}

.service-panel.active .service-pricing {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive styles for service layouts */
@media (max-width: 768px) {
    .service-panel {
        padding: 0 5%;
        gap: 3rem;
        padding-top: 5% !important;
    }
    
    .service-panel.layout-abstract {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        min-height: auto;
        grid-template-areas: 
            "title"
            "description"
            "features"
            "details";
        padding: 5% 5%;
    }
    
    .service-panel.layout-abstract .service-title-section,
    .service-panel.layout-abstract .service-description-section,
    .service-panel.layout-abstract .service-features-section,
    .service-panel.layout-abstract .service-details-section {
        text-align: center;
        padding: 1rem 0;
        transform: none;
        justify-content: center;
    }
    
    .service-panel.layout-abstract .service-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        margin-bottom: 1rem;
    }
    
    .service-panel.layout-right-left {
        grid-template-columns: 1fr;
        gap: 3rem;
        grid-template-areas: 
            "title"
            "content";
        text-align: center;
    }
    
    .service-panel.layout-centered {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        grid-template-areas: 
            "title"
            "description"
            "details";
        padding: 5% 5%;
    }
    
    .service-panel.layout-centered .service-title-section,
    .service-panel.layout-centered .service-description-section,
    .service-panel.layout-centered .service-details-section {
        text-align: center;
        padding: 1rem 0;
        transform: none;
        justify-content: center;
    }
    
    .service-panel.layout-centered .service-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .service-panel.layout-centered .service-features-mini {
        margin-top: 1.5rem;
    }
    
    .service-number {
        font-size: clamp(4rem, 10vw, 6rem);
        top: 1rem;
        right: 1rem;
    }
    
    .service-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .service-description {
        font-size: 1.1rem;
    }
    
    .service-details {
        font-size: 1rem;
    }
    
    .service-features-mini {
        gap: 0.4rem;
        margin-top: 1rem;
    }
    
    .service-features-mini span {
        font-size: 0.9rem;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .service-features-grid span {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .service-pricing {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    /* Dynamic Services Mobile Optimizations */
    .dynamic-services {
        height: 400vh; /* More space for mobile scrolling */
    }
    
    .services-scroll-container {
        height: calc(100vh - 80px); /* Reduce height for mobile */
        top: 80px; /* Adjust for smaller mobile navbar */
    }
    
    .service-panel {
        height: calc(100vh - 140px); /* Reduce height to prevent overlap */
        padding: 5% 5% 20%; /* Add bottom padding to prevent CTA overlap */
        align-items: flex-start; /* Align content to top */
        padding-top: 10%; /* More top padding */
    }
    
    .dynamic-services .services-cta {
        padding: 3rem 0; /* More padding for CTA */
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, #ffffff 60%, transparent 100%);
        z-index: 10;
    }

}

/* Scroll Progress Indicator - Now handled by JavaScript */

/* Enhanced CTA Section */
.dynamic-services .services-cta {
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-top: auto;
}

.services-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1px;
}

.services-link:hover {
    background: linear-gradient(-45deg, #1a1a1a, #4a90e2, #7b68ee, #ff6b6b, #1a1a1a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chromatic 2s ease infinite;
}

/* Background Animation - Disabled to prevent horizontal scrollbar */
.dynamic-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    z-index: 0;
}

/* Removed floatBackground animation to prevent horizontal overflow */

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .service-panel,
    .service-number,
    .service-title,
    .service-description,
    .service-features-mini,
    .service-features-grid,
    .service-pricing {
        transition: none;
    }
    
    .service-panel.layout-abstract .service-title-section,
    .service-panel.layout-abstract .service-description-section,
    .service-panel.layout-abstract .service-features-section,
    .service-panel.layout-abstract .service-details-section {
        transform: none;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 6rem 2rem;
    min-height: 100vh;
}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.section-1 {
    grid-column: 1 / 5;
    grid-row: 1;
}

.section-2 {
    grid-column: 6 / 9;
    grid-row: 1;
}

.section-3 {
    grid-column: 9 / 13;
    grid-row: 1;
}

.contact-section h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.8rem;
    font-weight: 200;
    color: #0f0f0f;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-section p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

.email-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.email-list li {
    margin-bottom: 0.8rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    font-weight: 400;
}

.email-list a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-list a:hover {
    color: #4a90e2;
}

.email-category {
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 0.5rem;
}

.email-spacer {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.form-field:has(textarea) {
    align-items: flex-start;
}

.form-field:has(textarea) label {
    padding-top: 0.5rem;
}

.form-field label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    font-weight: 400;
}

.form-input {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0 0.2rem 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    background: transparent;
    transition: border-color 0.3s ease;
    flex: 1;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #4a90e2;
}

.form-textarea {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0 0.2rem 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    background: transparent;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
    flex: 1;
}

.form-textarea:focus {
    outline: none;
    border-bottom-color: #4a90e2;
}

.submit-btn {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 0;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(-45deg, #1a1a1a, #4a90e2, #7b68ee, #ff6b6b, #1a1a1a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chromatic 2s ease infinite;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 3rem;
        padding: 4rem 1.5rem;
        min-height: auto;
    }
    
    .section-1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .section-2 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .section-3 {
        grid-column: 1;
        grid-row: 3;
    }
}

