/* ===================================
   Global Styles & CSS Variables
   =================================== */

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

:root {
    /* Primary Brand Colors */
    --primary-navy: #182b69;
    --primary-teal: #5B9AA8;
    --primary-sage: #8BAA7E;

    /* Accent Colors */
    --accent-green: #95C89F;
    --accent-lime: #A9F881;
    --warm-gray: #6B7280;
    --light-blue: #E8F4F8;
    --soft-white: #F9FAFB;

    /* Text Colors */
    --text-dark: #2C3E50;
    --text-medium: #5A6C8D;
    --text-light: #8B99B9;
    --white: #FFFFFF;

    /* Background Colors */
    --bg-soft: #F9FAFB;
    --bg-light-blue: #E8F4F8;

    /* Legacy Mappings for Compatibility */
    --primary-warm: #5B9AA8;
    --primary-deep: #182b69;
    --accent-sage: #8BAA7E;
    --accent-cream: #E8F4F8;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap target sizes for touch devices */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .service-card:hover,
    .benefit-item:hover,
    .condition-card:hover,
    .outcome-card:hover {
        transform: none;
    }

    /* Make cards respond to tap instead */
    .feature-card:active,
    .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

/* ===================================
   Navigation
   =================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-navy);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-deep);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
    line-height: 1;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    opacity: 0.9;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hide mobile nav actions on desktop */
.mobile-nav-actions {
    display: none;
}

.nav-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-phone:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.nav-cta {
    background: var(--accent-lime);
    color: var(--primary-navy);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid var(--accent-lime);
}

.nav-cta:hover {
    background: white;
    color: var(--primary-navy);
    border-color: white;
    transform: translateY(-2px);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    margin-top: 80px;
    min-height: 95vh;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(91, 154, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 170, 126, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(3deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-teal);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(91, 154, 168, 0.15);
    border: 2px solid var(--primary-teal);
    animation: fadeIn 1s ease-out 0.3s backwards;
}

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

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    animation: fadeIn 1s ease-out 0.5s backwards;
    letter-spacing: -1px;
}

.hero-highlight {
    color: var(--primary-teal);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(91, 154, 168, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    animation: fadeIn 1s ease-out 0.7s backwards;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out 0.9s backwards;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
    padding: 1.15rem 2.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-size: 1.05rem;
}

.btn-primary:hover {
    background: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(24, 43, 105, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-navy);
    padding: 1.15rem 2.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-teal);
    font-size: 1.05rem;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-main {
    width: 100%;
    height: 600px;
    background: url('unity-care-hero.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 4px solid white;
    transition: transform 0.4s ease;
}

.hero-image-main:hover {
    transform: scale(1.02);
}


.hero-stats {
    position: absolute;
    bottom: -35px;
    left: -35px;
    right: -35px;
    background: white;
    padding: 2.25rem 2rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    border: 3px solid var(--primary-teal);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 0.5rem;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: var(--primary-teal);
    opacity: 0.3;
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-teal);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: 8rem 3rem;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-badge {
    color: var(--primary-warm);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--bg-soft);
    padding: 3rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light-blue);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.5;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 135, 111, 0.15);
    border-color: var(--primary-warm);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(91, 154, 168, 0.2);
}

.feature-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-warm);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.feature-link:hover {
    gap: 1rem;
}

/* ===================================
   Services Section
   =================================== */

.services {
    padding: 8rem 3rem;
    background: var(--bg-light-blue);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Adjust to 2 columns on medium screens */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-sage) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(91, 154, 168, 0.25);
    border-color: var(--primary-teal);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(91, 154, 168, 0.3);
    transition: transform 0.4s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.service-card > p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
}

.service-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.benefit-tag {
    background: var(--bg-light-blue);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--primary-teal);
    transition: all 0.3s;
}

.service-card:hover .benefit-tag {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
}

.service-cta {
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin-top: auto;
}

.service-card:hover .service-cta {
    gap: 1rem;
    color: var(--primary-navy);
}

.services-footer {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.services-footer-text {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===================================
   CTA Consultation Section
   =================================== */

.cta-consultation {
    padding: 4rem 3rem 6rem;
    background: var(--light-blue);
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cta-highlight {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
}

.cta-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-image {
    width: 100%;
    height: 300px;
    background: url('unity-care-cta.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-sage);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-lime);
    color: var(--primary-navy);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--accent-lime);
    box-shadow: 0 8px 25px rgba(169, 248, 129, 0.3);
}

.cta-button:hover {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(91, 154, 168, 0.4);
}

/* ===================================
   Calendly Integration Section
   =================================== */

.calendly-section {
    padding: 8rem 3rem;
    background: var(--soft-white);
}

.calendly-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calendly-container {
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--primary-teal);
    min-height: 700px;
    padding: 2rem;
    margin-top: 3rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: 8rem 3rem;
    background: var(--primary-navy);
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-warm);
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary-warm);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-warm);
}

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

.submit-btn {
    width: 100%;
    background: var(--primary-warm);
    color: white;
    padding: 1.25rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(212, 135, 111, 0.3);
}

.submit-btn:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */

footer {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 3rem 2rem;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

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

.footer-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

.footer-about h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-warm);
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-warm);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* ===================================
   Cookie Consent Banner
   =================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-navy);
    color: white;
    padding: 1.75rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.cookie-consent-banner.hidden {
    transform: translateY(100%);
}

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    pointer-events: auto;
}

.cookie-consent-text p {
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-text p:first-child {
    margin-bottom: 0.5rem;
}

.cookie-consent-text strong {
    color: var(--accent-lime);
    font-size: 1.1rem;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    pointer-events: auto;
}

.cookie-btn-accept {
    background: var(--accent-lime);
    color: var(--primary-navy);
    border-color: var(--accent-lime);
}

.cookie-btn-accept:hover {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border-color: white;
}

.cookie-btn-decline:hover {
    background: white;
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Mobile responsive for cookie banner */
@media (max-width: 767px) {
    .cookie-consent-banner {
        padding: 1.5rem 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .cookie-consent-text p {
        font-size: 0.9rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.95rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-text strong {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        font-size: 0.9rem;
        padding: 0.85rem 1.25rem;
    }
}

/* ===================================
   Scroll Animations
   =================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Tablets and Small Desktops (1025px - 1200px) */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 2rem;
    }

    .hero-container,
    .contact-container {
        gap: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-phone,
    .nav-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .hero-image-main {
        height: 500px;
    }

    .hero-stats {
        bottom: -30px;
        left: -20px;
        right: -20px;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.3rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .features,
    .services,
    .calendly-section,
    .contact {
        padding: 6rem 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile Landscape and Small Tablets (481px - 767px) */
@media (max-width: 767px) {
    nav {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .nav-actions {
        gap: 0.75rem;
        flex: 1;
        justify-content: flex-end;
    }

    .nav-phone {
        display: block;
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
        order: 1;
        white-space: nowrap;
    }

    .nav-cta {
        display: none;
    }

    /* Show nav actions in mobile menu */
    .nav-links .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }

    .nav-links .mobile-nav-phone {
        display: block;
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        padding: 1rem;
        border-radius: 12px;
        border: 2px solid white;
        text-align: center;
        transition: all 0.3s;
    }

    .nav-links .mobile-nav-phone:hover {
        background: white;
        color: var(--primary-navy);
    }

    .nav-links .mobile-nav-cta {
        display: block;
        background: var(--accent-lime);
        color: var(--primary-navy);
        padding: 1rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        text-align: center;
        border: 2px solid var(--accent-lime);
        transition: all 0.3s;
    }

    .nav-links .mobile-nav-cta:hover {
        background: white;
        color: var(--primary-navy);
        border-color: white;
    }

    .logo-image {
        height: 50px;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.55rem;
    }

    .hero {
        margin-top: 70px;
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-container {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-image-main {
        height: 400px;
    }

    .hero-stats {
        position: static;
        margin-top: 2rem;
        padding: 1.75rem 1.25rem;
        gap: 1.5rem;
        border-radius: 20px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .features,
    .services,
    .cta-consultation,
    .calendly-section,
    .contact {
        padding: 4rem 1.5rem;
    }

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

    .section-badge {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2.5rem;
    }

    .service-card {
        padding: 2.5rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .services-footer {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }

    .services-footer-text {
        font-size: 1.1rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.05rem;
    }

    .cta-image {
        height: 250px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1.1rem 2rem;
    }

    .calendly-container {
        min-height: 600px;
        padding: 1rem;
    }

    .contact-info h2 {
        font-size: 2.8rem;
    }

    .contact-info p {
        font-size: 1.05rem;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-logo {
        max-width: 220px;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo-image {
        height: 45px;
    }

    .logo-title {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.5rem;
    }

    .nav-phone {
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
    }

    .hero {
        margin-top: 65px;
        padding: 2.5rem 0;
    }

    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1.25rem;
        display: flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        text-align: center;
    }

    .hero-highlight::after {
        height: 8px;
        bottom: 4px;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-image-main {
        height: 320px;
        border-radius: 20px;
    }

    .hero-stats {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
        border-radius: 18px;
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .features,
    .services,
    .cta-consultation,
    .calendly-section,
    .contact {
        padding: 3.5rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-badge {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
        border-radius: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
        border-radius: 20px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card > p {
        font-size: 0.95rem;
    }

    .benefit-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }

    .service-cta {
        font-size: 1rem;
    }

    .services-footer {
        padding: 2rem 1.25rem;
    }

    .services-footer-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .cta-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .cta-highlight {
        font-size: 0.95rem;
    }

    .cta-image {
        height: 220px;
        border-radius: 20px;
    }

    .cta-button {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .calendly-container {
        min-height: 550px;
        padding: 0.75rem;
        border-radius: 20px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .contact-detail {
        gap: 0.75rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 2rem;
        border-radius: 20px;
    }

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

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 1.1rem;
        font-size: 0.95rem;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-container {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-logo {
        max-width: 200px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .footer-links li {
        margin-bottom: 0.65rem;
        font-size: 0.95rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.5rem;
    }
}
