/*
Theme Name: Escala Digital
Description: Modern boutique IT solutions theme for premium digital transformation services
Version: 1.0
Author: Escala Digital
*/

/* ====================================
   RESET & BASE STYLES
   ==================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #F9e108;
    overflow-x: hidden;
}

/* ====================================
   HEADER & NAVIGATION
   ==================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 4rem;
    backdrop-filter: blur(20px);
    background: rgba(249, 225, 8, 0.95);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

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

.cta-nav {
    background: #000;
    color: #F9e108;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ====================================
   HERO SECTION
   ==================================== */

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: #F9e108;
}

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

.hero h1 {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    color: #000;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: #000;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: #000;
    color: #F9e108;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    margin-bottom: 4rem;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: #000;
    color: #F9e108;
}

.scroll-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: float 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(-3px);
    }
}

/* ====================================
   ABOUT SECTION
   ==================================== */

.about {
    min-height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 8rem 0;
}

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

.about-text h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 3rem;
    color: #F9e108;
}

.about-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #F9e108;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Visual Card */
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.visual-card {
    background: rgba(249, 225, 8, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 225, 8, 0.2);
    border-radius: 20px;
    padding: 3rem;
    transform: rotate(-5deg);
    transition: transform 0.4s ease;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(249, 225, 8, 0.2);
}

.visual-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #F9e108;
}

.card-metric {
    font-size: 2rem;
    font-weight: 900;
    color: #F9e108;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-item {
    margin-bottom: 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #F9e108, #fff);
    border-radius: 4px;
    transition: width 2s ease-in-out;
    width: 0%;
}

/* ====================================
   SERVICES SECTION
   ==================================== */

.services {
    min-height: 100vh;
    background: #fff;
    padding: 8rem 0;
    color: #000;
}

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

.services-header {
    text-align: center;
    margin-bottom: 6rem;
}

.services-header h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.services-header p {
    font-size: 1.3rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #000;
    color: #fff;
    padding: 4rem 3rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #F9e108;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.service-card.highlighted,
.service-card:nth-child(2) {
    background: #F9e108;
    color: #000;
}

.service-card.highlighted::before,
.service-card:nth-child(2)::before {
    background: #000;
}

.service-card.custom-solution {
    background: linear-gradient(135deg, #F9e108, #e6cb07);
    color: #000;
    border: 2px solid #000;
}

.service-card.custom-solution:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(249, 225, 8, 0.3);
}

.service-card.custom-solution p {
    color: #000;
    opacity: 0.8;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.service-icon i {
    color: #F9e108 !important;
}

.service-card.highlighted .service-icon i,
.service-card:nth-child(2) .service-icon i {
    color: #000 !important;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-price {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.setup-fee {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    margin-right: 1rem;
    font-weight: bold;
}

.custom-solution-btn {
    background: #000;
    color: #F9e108;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.custom-solution-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Services CTA Section */
.services-cta {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-top: 4rem;
    text-align: center;
}

.services-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.services-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.services-view-all-btn,
.services-assessment-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.services-view-all-btn {
    background: #000;
    color: #F9e108;
}

.services-assessment-btn {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.services-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.services-assessment-btn:hover {
    background: #000;
    color: #F9e108;
    transform: translateY(-3px);
}

/* ====================================
   SOLUTIONS OVERVIEW SECTION
   ==================================== */

.solutions-overview {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.solutions-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solutions-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.solutions-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

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

.solution-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.solution-icon i.fa-chart-bar {
    color: #2196F3 !important;
}

.solution-icon i.fa-globe {
    color: #4CAF50 !important;
}

.solution-icon i.fa-robot {
    color: #FF9800 !important;
}

.solution-icon i.fa-comments {
    color: #9C27B0 !important;
}

.solution-icon i.fa-mobile-alt {
    color: #F44336 !important;
}

.solution-icon i.fa-chart-line {
    color: #607D8B !important;
}

.solution-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.solution-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ====================================
   CONTACT SECTION
   ==================================== */

.contact {
    min-height: 100vh;
    background: #F9e108;
    display: flex;
    align-items: center;
    padding: 8rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    text-align: center;
}

.contact h2 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 3rem;
    color: #000;
}

.contact p {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    color: #000;
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    color: #000;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

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

.submit-btn {
    background: #000;
    color: #F9e108;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ====================================
   FOOTER
   ==================================== */

footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #F9e108;
    margin-bottom: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h4 {
    color: #F9e108;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #F9e108;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #666;
}

/* ====================================
   ANIMATIONS & EFFECTS
   ==================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #F9e108;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.expanded {
    transform: translate(-50%, -50%) scale(3);
    background: rgba(249, 225, 8, 0.3);
}

/* ====================================
   FRONT-PAGE SPECIFIC STYLES
   ==================================== */

/* Custom Solution Service Card */
.service-card.custom-solution {
    background: linear-gradient(135deg, #F9e108, #e6cb07);
    color: #000;
    border: 2px solid #000;
}

.service-card.custom-solution:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(249, 225, 8, 0.3);
}

.service-card.custom-solution p {
    color: #000;
    opacity: 0.8;
}

.custom-solution-btn {
    background: #000;
    color: #F9e108;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.custom-solution-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Additional Services CTA Overrides */
.services-cta {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-top: 4rem;
    text-align: center;
}

.services-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.services-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.services-view-all-btn,
.services-assessment-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.services-view-all-btn {
    background: #000;
    color: #F9e108;
}

.services-assessment-btn {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.services-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.services-assessment-btn:hover {
    background: #000;
    color: #F9e108;
    transform: translateY(-3px);
}

/* Additional Solutions Overview Styles */
.solutions-overview {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.solutions-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solutions-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.solutions-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

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

.solution-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.solution-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.solution-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
    /* Header */
    header {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

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

    .visual-card {
        transform: rotate(0deg);
        max-width: 100%;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-container {
        padding: 0 2rem;
    }

    .services-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-view-all-btn,
    .services-assessment-btn {
        width: 100%;
        max-width: 300px;
    }

    /* Solutions Overview */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-header h2 {
        font-size: 2rem;
    }

    /* Contact Section */
    .contact-container {
        padding: 0 2rem;
    }

    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
        margin-top: 2rem;
    }

    /* Footer */
    .footer-container {
        padding: 0 2rem;
    }
}

/* Fix Bootstrap Contact Form Layout */
.contact-form {
    max-width: 800px !important;
    margin: 2rem auto 0;
}

.contact-form .form-control {
    width: 70% !important;
    max-width: none !important;
    padding: 1rem 1.2rem !important;
    font-size: 0.95rem !important;
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 0 !important;
}

.contact-form .form-control:focus {
    border-color: #000 !important;
    background: white !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
}

.contact-form .row {
    margin-bottom: 1.5rem;
}

.contact-form .mb-3 {
    margin-bottom: 1.5rem !important;
}

.contact-form .btn {
    background: #000 !important;
    border: none !important;
    color: #F9e108 !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
}

.contact-form .btn:hover {
    background: #333 !important;
    color: #F9e108 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Logo styling */
.logo .site-logo {
    max-width: 70px;
    height: auto;
    vertical-align: middle;
}

/* Header navigation alignment */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Ensure nav links are centered between logo and CTA button */
.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    /* This centers the nav between logo and CTA */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Make sure logo and CTA stay on the edges */
.logo {
    flex-shrink: 0;
    z-index: 10; /* Ensure logo stays above nav links */
}

.cta-nav {
    flex-shrink: 0;
    z-index: 10; /* Ensure CTA stays above nav links */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        position: static;
        transform: none;
        /* You might want to hide nav links on mobile or create a hamburger menu */
    }
    
    header nav {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}