:root {
    --bg-dark: #f0f8fa; /* Lighter off-white for sections */
    --bg-navy: #0a192f;
    --text-primary: var(--bg-navy); /* Main text color is navy */
    --text-secondary: #6b7280; /* Slightly lighter grey for secondary text */
    --cta-gradient: linear-gradient(45deg, #007bff, #00c6ff); /* Brighter blue gradient for CTA */
    --glass-bg: rgba(255, 255, 255, 0.8); /* Lighter glass background for navbar */
    --glass-border: rgba(10, 25, 47, 0.1); /* Subtle border for glass elements */
    --card-radius: 40px;
    --soft-shadow: 0 15px 40px rgba(10, 25, 47, 0.08); /* Lighter, softer shadow */
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #e0f2f7 0%, #c8e6f0 100%); /* Subtle blue gradient background */
    color: var(--text-primary); /* Ensure text is readable on new background */
    font-family: 'Inter', sans-serif;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Navbar --- */
.navbar-wrapper {
    position: sticky;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.8); /* Lighter glass background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(10, 25, 47, 0.1); /* Subtle border */
    padding: 12px 30px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.08); /* Lighter shadow */
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--bg-navy); /* Navy logo */
    text-decoration: none;
}

.nav-logo span { color: var(--text-secondary); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary); /* Dark text for links */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--bg-navy); } /* Darker on hover */

.nav-cta {
    background: var(--cta-gradient); /* Bright blue gradient */
    color: #fff !important; /* White text for CTA */
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); /* Shadow for CTA */
}
.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 88vh;
  max-width: 92%;
  margin: 30px auto 0;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  padding-top: 80px;

 background-image: url('assets/hero.png');
  position: relative;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to left, rgba(230, 242, 248, 0.95) 30%, rgba(230, 242, 248, 0) 70%);
}

.hero-content {
    position: absolute;
    right: 6%;
    top: 13%;
    transform: translateY(-50%);
    width: 44%;
    max-width: 650px;
    opacity: 1 !important;
    z-index: 5;
    padding: 52px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-preview-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bg-navy);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.6); /* Lighter badge background */
    border: 1px solid rgba(10, 25, 47, 0.1); /* Subtle border */
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.display-1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--bg-navy);
    letter-spacing: -0.04em;
    max-width: 100%;
}

.hero-subtext {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    margin: 0;
}

.btn-primary {
    background: var(--cta-gradient);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
    border: none;
}

.btn-secondary {
    background: transparent;
    color: var(--bg-navy);
    border: 1px solid rgba(10, 25, 47, 0.15);
}

.btn-secondary:hover {
    background: rgba(10, 25, 47, 0.05);
    border-color: var(--bg-navy);
}

.btn:hover { transform: scale(1.05); }

/* --- Common Section Styles --- */
.rounded-section {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: 100px 0;
    margin: 20px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--bg-navy); /* Navy titles */
}

/* --- Portfolio Marquee --- */
.crato-work-marquee-section {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(240, 248, 250, 0) 0%, rgba(200, 230, 240, 0.4) 100%);
    overflow: hidden;
}

.crato-work-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.crato-work-marquee-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: marquee-scroll 45s linear infinite;
}

.crato-work-marquee-wrapper:hover .crato-work-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.crato-work-marquee-card {
    width: 450px;
    background: #fff;
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(10, 25, 47, 0.05);
    transition: var(--transition);
    flex-shrink: 0;
    cursor: pointer;
}

.crato-work-marquee-card:hover {
    transform: translateY(-10px);
    border-color: rgba(10, 25, 47, 0.1);
    box-shadow: 0 25px 50px rgba(10, 25, 47, 0.12);
}

.crato-work-marquee-img-box {
    width: 100%;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.crato-work-marquee-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.crato-work-marquee-card:hover .crato-work-marquee-img-box img {
    transform: scale(1.08);
}

.crato-work-marquee-info h3 {
    font-size: 1.4rem;
    color: var(--bg-navy);
    margin-bottom: 8px;
}

.crato-work-marquee-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


@media (max-width: 768px) {
  .hero-section {
    min-height: 760px;
    padding-top: 95px;
    padding-bottom: 28px;
  }

  .hero-section .container {
    min-height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-content {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 90% !important;
    max-width: 390px !important;
    min-width: 0 !important;
    margin: 0 auto;
    padding: 24px 20px;
    border-radius: 26px;
    text-align: center;
  }

  .hero-preview-badge {
    font-size: 9px;
    padding: 7px 11px;
    margin-bottom: 14px;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .hero-subtext {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content {
    padding: 22px 16px;
  }
}


@media (max-width: 768px) {
  .hero-section{
    min-height:720px;
    padding:88px 14px 20px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
  }

  .hero-content{
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    width:86% !important;
    max-width:320px !important;
    min-width:0 !important;
    margin:0 auto 18px;
    padding:18px 16px !important;
    border-radius:26px;
    text-align:center;
    background:rgba(255,255,255,0.52) !important;
    border:1px solid rgba(255,255,255,0.7);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
  }

  .hero-preview-badge{
    font-size:8px;
    padding:6px 10px;
    margin-bottom:10px;
  }

  .hero-content h1{
    font-size:19px !important;
    line-height:1.02;
    margin:0;
    letter-spacing:-0.04em;
  }

  .hero-subtext{
    font-size:13px;
    line-height:1.4;
    margin-top:12px;
    margin-bottom:0;
  }

  .hero-actions{
    margin-top:16px;
  }

  .hero-actions .btn-primary{
    width:100%;
    min-height:44px;
    font-size:13px;
  }

  .hero-actions .btn-secondary{
    display:none !important;
  }
}



@media (max-width: 768px) {
    .crato-work-marquee-card { width: 320px; }
    .crato-work-marquee-img-box { height: 200px; }
}

/* --- Clients Section --- */
.clients-section {
    padding: 80px 0;
    text-align: center;
}

.clients-title {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    margin-bottom: 40px;
}

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    opacity: 0.6;
}

/* --- About Section --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-section.rounded-section {
    background: var(--bg-navy);
    color: #fff;
}

.about-section .section-title { color: #fff; }

.stats-grid {
    display: flex;
    gap: 20px;
    width: 100%;
}

.experience-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 40px 20px;
    border-radius: var(--card-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    transition: var(--transition);
}

.exp-number {
    display: block;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.exp-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 1.2rem;
    color: #a0aec0; /* Lighter text on dark background */
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- Services Section --- */
.crato-services-new-section {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at top right, #0a192f, #020408);
    overflow: hidden;
}

.crato-services-new-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.45) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

.crato-services-new-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

@keyframes pulseGlow {
    from { transform: translateX(-50%) scale(1); opacity: 0.6; }
    to { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.crato-services-new-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.text-white { color: #fff !important; }

.crato-services-new-subtext {
    font-size: 1.25rem;
    color: #8892b0;
    max-width: 800px;
    margin: 24px auto 0;
    line-height: 1.6;
}

.crato-services-new-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.crato-services-new-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 0; /* Let inner triggers/content handle padding */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.crato-services-new-trigger {
    padding: 60px 45px 0 45px;
    display: flex;
    flex-direction: column;
}

.crato-services-new-content {
    padding: 0 45px 60px 45px;
}

.crato-services-new-icon { display: none; } /* Hide icon on desktop */

.crato-services-new-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.crato-services-new-card h3 {
    font-size: 1.6rem; /* Keep existing font size */
    color: #fff; /* Keep white text on dark card */
    margin-bottom: 18px; /* Desktop margin */
    line-height: 1.3;
}

.crato-services-new-card p {
    color: #8892b0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.crato-services-new-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .crato-services-new-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .crato-services-new-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .crato-services-new-card {
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.04);
        min-height: auto; /* Allow height to be determined by compact trigger */
    }

    .crato-services-new-trigger {
        padding: 18px 20px; /* Reduced padding for 80px target height */
        flex-direction: row;
        align-items: center;
        gap: 15px;
        cursor: pointer;
    }

    .crato-services-new-card h3 {
        font-size: 1rem; /* Smaller font for mobile */
        margin-bottom: 0;
        flex: 1; /* Ensure title fills space */
    }

    .crato-services-new-num {
        margin-bottom: 0;
        font-size: 0.75rem;
    }

    .crato-services-new-icon {
        display: block;
        margin-left: auto;
        width: 20px;
        height: 20px;
        position: relative;
    }

    /* Plus/Minus Icon Lines */
    .crato-services-new-icon::before,
    .crato-services-new-icon::after {
        content: '';
        position: absolute;
        background: #64ffda;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.4s ease, opacity 0.3s ease;
    }
    .crato-services-new-icon::before { width: 12px; height: 1.5px; }
    .crato-services-new-icon::after { width: 1.5px; height: 12px; }

    /* Active State for Icon */
    .crato-services-new-card.active .crato-services-new-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
        opacity: 0;
    }

    .crato-services-new-content {
        padding: 0 24px;
        max-height: 0;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
    }

    /* Testimonials Mobile Slider */
    .crato-testimonials-new-section {
        overflow: hidden;
        padding: 60px 0;
    }

    .crato-testimonials-new-grid {
        display: flex; /* Horizontal flex for sliding */
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: stretch;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        gap: 0; /* Cards will be 100% width */
    }

    .crato-testimonials-new-card {
        display: flex;
        flex-direction: column;
        flex: 0 0 100%; /* Each card takes full width */
        width: 100%;
        min-width: 100%;
        background: #ffffff;
        padding: 30px 24px;
        border-radius: 24px;
        box-shadow: var(--soft-shadow);
        border: 1px solid var(--glass-border);
        box-sizing: border-box;
        position: relative;
    }

    .crato-testimonials-new-quote-icon {
        top: 25px;
        right: 25px;
        font-size: 1.5rem;
    }

    .crato-testimonials-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }

    .crato-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(10, 25, 47, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .crato-dot.active {
        background: var(--bg-navy);
        width: 24px;
        border-radius: 10px;
    }

    .crato-testimonials-new-text {
        font-size: 1.05rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .crato-testimonials-new-rating {
        margin-bottom: 12px;
        font-size: 0.8rem;
    }

    .crato-testimonials-new-avatar {
        width: 50px;
        height: 50px;
    }

    .crato-services-new-card.active .crato-services-new-content {
        max-height: 300px; /* Adjust based on content length */
        opacity: 1;
        padding-bottom: 24px;
    }

    .crato-services-new-card.active {
        background: rgba(255, 255, 255, 0.08);
    }

    .crato-services-new-grid {
        grid-template-columns: 1fr;
    }
    .crato-services-new-section {
        padding: 80px 0;
    }
    .crato-services-new-card {
        padding: 0px 3px;
    }
}

/* --- Crato Premium Testimonial Slider --- */
.crato-testimonial-slider-section {
    background-color: #f4f9ff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.crato-testimonial-slider-section::before,
.crato-testimonial-slider-section::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: rgba(0, 123, 255, 0.025);
    z-index: 0;
    pointer-events: none;
}

.crato-testimonial-slider-section::before { top: 5%; left: -5%; font-size: 25rem; }
.crato-testimonial-slider-section::after { bottom: -10%; right: -5%; font-size: 18rem; }

.crato-testimonial-slider-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.crato-testimonial-slider-heading {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--bg-navy);
    margin-bottom: 24px;
}

.crato-testimonial-slider-subtext {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.crato-testimonial-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}

.crato-testimonial-slider-track {
  display: flex;
  gap: 28px;
  align-items: stretch;
  transition: transform 0.4s ease;
}

.crato-testimonial-slider-card {
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  padding: 38px 34px;
  border-radius: 30px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 15px 45px rgba(10, 25, 47, 0.04);
  border: 1px solid rgba(10, 25, 47, 0.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.crato-testimonial-slider-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(10, 25, 47, 0.08);
}

.crato-testimonial-slider-rating {
    color: #FFC107;
    font-size: 0.85rem;
    margin-bottom: 25px;
    display: flex;
    gap: 4px;
}

.crato-testimonial-slider-text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--bg-navy);
  font-weight: 500;
  margin-bottom: 35px;
  flex-grow: 1;
  max-width: 100%;
}

.crato-testimonial-slider-author {
    border-top: 1px solid rgba(10, 25, 47, 0.05);
    padding-top: 25px;
}

.crato-testimonial-slider-name {
    display: block;
    font-weight: 700;
    color: var(--bg-navy);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.crato-testimonial-slider-brand {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.crato-testimonial-slider-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.crato-testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.crato-testimonial-dot.active {
    background: var(--bg-navy);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .crato-testimonial-slider-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .crato-testimonial-slider-section { padding: 80px 0; }
    .crato-testimonial-slider-wrapper {
        overflow: hidden;
        margin: 0 -20px;
        padding: 0 20px;
    }
    .crato-testimonial-slider-track {
        display: flex;
        gap: 0;
    }
    .crato-testimonial-slider-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 26px 22px;
        border-radius: 28px;
        box-shadow: 0 10px 30px rgba(10, 25, 47, 0.03);
        text-align: left;
    }
    .crato-testimonial-slider-rating {
        justify-content: flex-start;
        margin-bottom: 14px;
        font-size: 14px;
    }
    .crato-testimonial-slider-text {
        font-size: 15px;
        line-height: 1.55;
        text-align: left;
    }
    .crato-testimonial-slider-author {
        margin-top: 18px;
        padding-top: 16px;
        text-align: left;
    }
    .crato-testimonial-slider-name { font-size: 15px !important; }
    .crato-testimonial-slider-brand { font-size: 13px; }
    .crato-testimonial-slider-dots { display: flex; }
}


/* --- Contact CTA --- */

.contact-cta {
    padding: 150px 0;
    background: #ffffff;
}

.display-2 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--bg-navy);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-email {
    display: block;
    margin-top: 30px;
    font-size: 1.5rem;
    color: var(--bg-navy);
    text-decoration: underline;
    text-underline-offset: 10px;
}

/* --- Footer --- */
.footer {
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}




/* --- Responsive --- */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { flex-direction: column; }
    .nav-links { display: none; }
    .display-1 { font-size: 2.8rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .rounded-section { margin: 10px; border-radius: 30px; }

    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
        display: block;
    }
    .hero-content {
        position: relative !important;
        right: auto !important;
        top: 20% !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 19px 24px !important;
        text-align: center !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.85) !important;
    }
    .hero-subtext { text-align: center; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
}

/* Mobile menu specific styles (overriding JS hardcoded styles for better control) */
.nav-links.active {
    background: rgba(255, 255, 255, 0.98) !important; /* White background for mobile menu */
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.2) !important; /* Lighter shadow */
    border: 1px solid rgba(10, 25, 47, 0.1) !important; /* Lighter border */
}

.nav-links.active a {
    color: var(--bg-navy) !important; /* Dark text for mobile links */
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(5, 18, 38, 0.7);
  backdrop-filter: blur(12px);
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-content {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 28px;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: #eef4fb;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-form input {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  margin-bottom: 14px;
  border: 1px solid #d8e2ee;
  border-radius: 14px;
}

.btn-request {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 16px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #0b63f6, #38bdf8);
}
.whatsapp-float {
  position: fixed !important;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 9998;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
}

.crato-testimonials {
  padding: 90px 20px;
  background: #eef9fc;
}

.crato-testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
}

.crato-testimonials-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.crato-testimonials-header span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #07172d;
}

.crato-testimonials-header h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #07172d;
}

.crato-testimonials-header p {
  margin: 18px auto 0;
  color: #5b6a7f;
  font-size: 17px;
  line-height: 1.6;
}

.crato-testimonials-slider {
  overflow: hidden;
}

.crato-testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.crato-testimonial-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 32px;
  padding: 34px;
  /* box-shadow: 0 24px 60px rgba(8, 24, 48, 0.08); */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.crato-stars {
  color: #ffb400;
  letter-spacing: 2px;
  font-size: 22px;
  margin-bottom: 20px;
}

.crato-testimonial-card p {
  margin: 0;
  color: #07172d;
  font-size: 18px;
  line-height: 1.58;
  font-weight: 600;
}

.crato-author {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(7, 23, 45, 0.08);
}

.crato-author strong,
.crato-author span {
  display: block;
}

.crato-author strong {
  color: #07172d;
  font-size: 16px;
}

.crato-author span {
  margin-top: 4px;
  color: #5b6a7f;
  font-size: 14px;
}

.crato-testimonial-dots {
  display: none;
}

@media (max-width: 768px) {
  .crato-testimonials {
    padding: 64px 16px;
  }

  .crato-testimonials-header {
    margin-bottom: 28px;
  }

  .crato-testimonials-header h2 {
    font-size: 36px;
  }

  .crato-testimonials-header p {
    font-size: 14px;
  }

  .crato-testimonials-slider {
    overflow: hidden;
  }

  .crato-testimonials-track {
    display: flex;
    gap: 0;
    transition: transform 0.4s ease;
  }

  .crato-testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 330px;
    padding: 26px 22px;
    border-radius: 28px;
  }

  .crato-testimonial-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .crato-stars {
    font-size: 31px;
    margin-bottom: 16px;
  }

  .crato-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
  }

  .crato-testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(7, 23, 45, 0.18);
    cursor: pointer;
  }

  .crato-testimonial-dot.active {
    width: 24px;
    border-radius: 999px;
    background: #07172d;
  }
}