/* ------------------- */
/* GLOBAL & VARIABLES  */
/* ------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-color: #0A2540;
    --accent-gradient: linear-gradient(90deg, #14B8A6 0%, #0891B2 100%);
    --accent-color-start: #14B8A6;
    --accent-color-end: #0891B2;
    --dark-text: #1E293B;
    --body-text: #475569;
    --light-bg: #F8FAFC;
    --border-color: #E2E8F0;
    --white: #FFFFFF;

    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;

    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.7;
    /* Hide the default cursor */
}

/* ------------------- */
/* CUSTOM CURSOR       */
/* ------------------- */


.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    overflow-x: hidden;
}

/* Hide horizontal overflow for animations */

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    /* Use custom cursor */
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* ------------------- */
/* NAVIGATION          */
/* ------------------- */
.main-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ------------------- */
/* HERO SECTION        */
/* ------------------- */
#hero {
    position: relative;
    text-align: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

#hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

#hero .sub-headline {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
}

#hero .social-proof {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.trusted-by {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.trusted-by h4 {
    text-align: center;
    color: #94A3B8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.logo-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    filter: grayscale(100%) opacity(0.6);
}

.logo-bar img {
    height: 30px;
}


/* ------------------- */
/* SERVICES SECTION    */
/* ------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color-start);
}

.service-card .icon {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* ------------------- */
/* FEATURED WORK / CASE STUDIES */
/* ------------------- */
#work {
    background-color: var(--light-bg);
}

.work-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.work-item:nth-child(even) .work-image {
    order: 2;
    /* Alternate image position */
}

.work-image {
    background-color: #e2e8f0;
    border-radius: 16px;
    height: 400px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-content .statistic {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--heading-font);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.work-content blockquote {
    border-left: 3px solid var(--accent-color-start);
    padding-left: 20px;
    font-style: italic;
    margin: 1.5rem 0;
}

/* ------------------- */
/* FINAL CTA           */
/* ------------------- */
#final-cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

#final-cta h2,
#final-cta p {
    color: var(--white);
}

#final-cta p {
    max-width: 600px;
    margin: 1rem auto 2.5rem;
    opacity: 0.9;
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
footer {
    background-color: #0F172A;
    /* ... Rest of footer CSS is fine ... */
    color: #94A3B8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-color-start);
}

.footer-col ul {
    list-style: none;
}

.footer-col p,
.footer-col li {
    margin-bottom: 1rem;
}

.social-icons a {
    margin-right: 15px;
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}


/* ------------------- */
/* CONTACT PAGE SPECIFIC */
/* ------------------- */
.page-header {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
}

.page-header p {
    color: #A0AEC0;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 4rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: all .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color-start);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}

.contact-info-card {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
}

/* ------------------- */
/* RESPONSIVE & MOBILE */
/* ------------------- */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .work-item {
        grid-template-columns: 1fr;
    }

    .work-item .work-image {
        order: 1 !important;
        height: 300px;
    }

    .work-item .work-content {
        order: 2;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    /* Disable custom cursor on mobile for better UX */
    .cursor {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile nav for brevity */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}