:root {
    --bg-light: #F9F9F9;
    --primary-dark: #1D1D1F;
    --secondary-gray: #6E6E73;
    --accent-saffron: #F4B821;
    --border-color: #E5E5E5;
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}
.main-header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}
.main-header.scrolled {
    background-color: rgba(249, 249, 249, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: padding 0.3s ease;
}
.main-header.scrolled .main-nav {
    padding: 1rem 0;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-saffron);
}
.cta-button {
    background-color: var(--primary-dark);
    color: var(--bg-light);
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}
.cta-button:hover {
    background-color: var(--accent-saffron);
    color: var(--primary-dark);
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}
.hero {
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-text h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
}
.hero-text p {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    max-width: 500px;
    margin-top: 1.5rem;
}
.hero-visual {
    width: 100%;
}
.hero-svg-container {
    width: 100%;
    height: auto;
    min-height: 400px;
}
#hero-vector-graphic {
    width: 100%;
    height: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-eyebrow {
    font-weight: 700;
    color: var(--accent-saffron);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

.services-section { padding: 100px 0; }
.service-triggers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.service-trigger {
    background: none;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.service-trigger:hover {
    background-color: var(--border-color);
    color: var(--primary-dark);
}
.service-trigger.active {
    background-color: var(--primary-dark);
    color: var(--bg-light);
    border-color: var(--primary-dark);
}
.service-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.service-content.active {
    display: grid;
    animation: fadeIn 0.6s ease;
}
.service-media img {
    width: 100%; height: 450px;
    object-fit: cover;
    border-radius: 12px;
}
.service-details h3 {
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.service-details p {
    color: var(--secondary-gray);
    line-height: 1.7;
}
.service-details ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.service-details ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.service-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-saffron);
}
.portfolio-section {
    background-color: #fff;
    padding: 100px 0;
    overflow-x: hidden;
}
.horizontal-scroll-wrapper {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    width: calc(100% + ((100vw - 100%)/2));
    padding-left: calc((100vw - 100%)/2);
    overflow-x: auto;
    scrollbar-width: none; 
}
.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }
.portfolio-item {
    flex: 0 0 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease;
}
.portfolio-item:hover {
    transform: translateY(-10px);
}
.portfolio-item img {
    width: 100%; height: 450px;
    object-fit: cover;
}
.item-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}
.item-info h4 { font-weight: 700; color: #fff; }
.item-info p { margin: 0; color: rgba(255,255,255,0.7); }
.main-footer {
    background-color: var(--primary-dark);
    color: var(--bg-light);
    padding: 80px 0 2rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 4rem;
    flex-wrap: wrap;
}
.footer-cta { flex-basis: 60%; }
.footer-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.footer-email-link {
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--accent-saffron);
    transition: color 0.3s ease;
}
.footer-email-link:hover {
    color: var(--accent-saffron);
}
.footer-links {
    display: flex;
    gap: 4rem;
}
.footer-col h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li a {
    color: var(--secondary-gray);
    line-height: 2;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--accent-saffron);
}
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #2d2d2d;
    text-align: center;
    color: var(--secondary-gray);
    font-size: 0.9rem;
}

/* --- SVG Animation --- */
.svg-draw-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-in 2s ease-out 0.5s forwards;
}
@keyframes draw-in { to { stroke-dashoffset: 0; } }
.svg-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* --- General Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: var(--animation-delay, 0s);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; 
        left: 0; 
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    .nav-links.show {
        display: flex; 
    }
    .mobile-menu-toggle {
        display: block; 
    }

    .hero-content {
        grid-template-columns: 1fr; 
    }
    .hero-text {
        text-align: center; 
        margin-bottom: 3rem;
    }
    .hero-text h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .service-content {
        grid-template-columns: 1fr; 
    }
    .service-media {
        margin-bottom: 2rem; 
    }

    .horizontal-scroll-wrapper {
        padding-left: 5vw;
    }
    
    .footer-content {
        flex-direction: column; 
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        width: 100%;
    }
    .footer-title {
        font-size: 2.5rem;
    }
    .footer-email-link {
        font-size: 1.2rem;
    }
}