:root {
    --alpath-navy: #0F172A;
    --alpath-navy-light: #1E293B;
    --accent-blue: #0369A1;
    --accent-blue-light: #0EA5E9;
    --graphite-gray: #334155;
    --cloud-white: #F8FAFC;
    --steel-gray: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--alpath-navy);
    background-color: white;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--accent-blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: url('/shape_logo.png') center/cover no-repeat;
    position: relative;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--alpath-navy);
    letter-spacing: 2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--graphite-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.cta-button {
    background: var(--accent-blue);
    color: white;
    padding: 1rem 2rem !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem !important;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    background: var(--alpath-navy);
}

/* Combined Hero and Stats Wrapper */
.hero-stats-wrapper {
    background: linear-gradient(135deg, var(--alpath-navy) 0%, var(--accent-blue) 100%);
    color: white;
}

/* Hero Section - Remove Individual Background */
.hero {
    padding: 150px 0 50px;
    /* Removed background - now handled by wrapper */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero .mission {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-primary {
    background: white;
    color: var(--alpath-navy);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-secondary:hover {
    background: white;
    color: var(--alpath-navy);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--cloud-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--alpath-navy);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--cloud-white);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-blue-light);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    background: rgba(0, 95, 158, 0.1);
    padding: 12px;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.service-card h3 {
    color: var(--alpath-navy);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.service-card ul {
    list-style: none;
    color: var(--graphite-gray);
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.service-card li::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-blue);
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--alpath-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.expertise-item {
    background: var(--cloud-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-item:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: var(--card-shadow);
    border-color: var(--accent-blue-light);
}

.expertise-item i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.expertise-item:hover i {
    transform: scale(1.1);
}

.expertise-item h4 {
    color: var(--alpath-navy);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Remove old expertise-list styles */
.expertise-list {
    display: none;
}

/* Stats Section - Remove Individual Background */
.stats {
    padding: 50px 0 80px;
    /* Removed background - now handled by wrapper */
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1;
}

.stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
}

/* Contact Section Updates */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-column h3 {
    color: var(--alpath-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background: rgba(0, 95, 158, 0.1);
    padding: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.contact-details h4 {
    font-weight: 500;
    color: var(--steel-gray);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-details a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--alpath-navy);
}

.contact-details p {
    color: var(--graphite-gray);
    margin: 0;
}

/* Engagement Options */
.engagement-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.engagement-option {
    background: var(--cloud-white);
    padding: 1.25rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.engagement-option:hover {
    transform: translateY(-2px);
}

.engagement-option h4 {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.engagement-option p {
    color: var(--graphite-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Next Steps */
.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: var(--accent-blue);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--alpath-navy);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-content p {
    color: var(--graphite-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.discovery-call-btn {
    margin-top: 1rem;
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Remove old contact styles */
.contact-content {
    display: none;
}

.contact-info,
.next-steps {
    display: none;
}

/* CTA Card - Smaller and More Compact */
.cta-card {
    background: linear-gradient(135deg, var(--alpath-navy) 0%, var(--accent-blue) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.cta-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-card .cta-button {
    background: white;
    color: var(--accent-blue);
    padding: 24px 24px;
    font-size: 0.9rem;
    align-self: center;
    margin-top: auto;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-card .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--graphite-gray);
    color: white;
    padding: 2rem 0;
}

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

.footer-main p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--alpath-navy);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 52, 77, 0.98);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav-links li {
    margin: 2rem 0;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--accent-blue);
}

.mobile-nav-links .cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* Nav CTA hide on mobile */
.nav-cta {
    display: inline-block;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    color: var(--alpath-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--steel-gray);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

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

.legal-section h2 {
    color: var(--alpath-navy);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cloud-white);
}

.legal-section h3 {
    color: var(--graphite-gray);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--graphite-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--graphite-gray);
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info-box {
    background: var(--cloud-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box a {
    color: var(--accent-blue);
    text-decoration: none;
}

.contact-info-box a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--steel-gray);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 95, 158, 0.1);
}

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

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.contact-form button:active {
    transform: translateY(0);
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 40px;
    }

    .stats {
        padding: 40px 0 60px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .floating-image {
        max-width: 350px;
    }

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

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

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

    .step {
        align-items: flex-start;
    }

    .step-number {
        margin-top: 0.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

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

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}