:root {
    --primary-navy: #09203f;
    --primary-dark: #07172c;
    --primary-blue: #0056d6;
    --primary-light-blue: #0066f5;
    --accent-blue: #0070f3;
    --accent-cyan: #00a3ff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-body: #4b5563;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --section-bg-light: #f8fafc;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    letter-spacing: -0.01em;
}

/* -------------------------------------------------------------
   Logo Preloader
------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-logo-wrap {
    text-align: center;
    padding: 10px;
}

.preloader-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 30, 70, 0.08));
}

.preloader-spinner-bar {
    width: 160px;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-spinner-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, #0056d6, #38bdf8);
    border-radius: 10px;
    animation: preloaderProgress 1.4s ease-in-out infinite;
}

@keyframes preloaderProgress {
    0% {
        left: -50%;
        width: 30%;
    }
    50% {
        left: 25%;
        width: 60%;
    }
    100% {
        left: 100%;
        width: 30%;
    }
}

@keyframes preloaderPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* -------------------------------------------------------------
   Header & Navbar
------------------------------------------------------------- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 1030;
}

.brand-logo-container {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-link-custom {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: #1e293b !important;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--primary-blue) !important;
}

.nav-link-custom.active {
    color: var(--primary-blue) !important;
    font-weight: 700;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* -------------------------------------------------------------
   Buttons
------------------------------------------------------------- */
.btn-primary-blue {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 22px rgba(0, 86, 214, 0.35);
}

.btn-primary-blue:hover {
    background-color: #0043a8;
    border-color: #0043a8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 86, 214, 0.45);
}

.btn-primary-blue i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.btn-primary-blue:hover i {
    transform: translateX(4px);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 50px;
    border: 1.5px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary-navy);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-white i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.btn-outline-white:hover i {
    transform: translateX(4px);
}

/* -------------------------------------------------------------
   Hero Section
------------------------------------------------------------- */
.hero-section {
    padding: 60px 0 80px 0;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--primary-navy);
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 15.5px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-card {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 30, 70, 0.12);
    background-color: #f8fafc;
}

.hero-banner-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-angled-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    background: linear-gradient(135deg, rgba(20, 45, 85, 0.35) 0%, rgba(10, 30, 65, 0.65) 100%);
    clip-path: polygon(55% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

/* -------------------------------------------------------------
   Message From Managing Partner Section
------------------------------------------------------------- */
.partner-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.partner-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.partner-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.partner-headline {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.partner-paragraph {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 14px;
    text-align: justify;
}

.partner-quote-block {
    margin-top: 18px;
    margin-bottom: 24px;
}

.partner-quote {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.5;
    margin-bottom: 0;
}

.partner-signature-block {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.partner-signature-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: contrast(1.1);
}

.partner-info-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
}

.partner-info-title {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    line-height: 1.3;
}

.partner-info-sub {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

/* -------------------------------------------------------------
   Section Titles with Accents
------------------------------------------------------------- */
.section-header-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 45px;
}

.section-accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0056d6, #60a5fa);
    border-radius: 2px;
}

.section-accent-line.line-left {
    background: linear-gradient(90deg, #cbd5e1, #0056d6);
}

.section-accent-line.line-right {
    background: linear-gradient(90deg, #0056d6, #cbd5e1);
}

.section-title-main {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0;
    text-align: center;
}

/* -------------------------------------------------------------
   Our Services Section
------------------------------------------------------------- */
.services-section {
    padding: 60px 0 80px 0;
    background-color: #ffffff;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 40, 90, 0.1);
    border-color: #cbd5e1;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 12px rgba(0, 86, 214, 0.25);
}

.service-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 4px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-tagline {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: center;
    margin-bottom: 14px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-desc {
    font-size: 12px;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 14px;
    text-align: left;
}

.service-why-header {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.service-why-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    font-size: 11.5px;
    line-height: 1.45;
    color: #334155;
}

.service-why-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
}

.service-why-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 14px;
}

.service-why-list strong {
    color: var(--primary-navy);
    font-weight: 700;
}

.service-card-btn-wrap {
    text-align: center;
    margin-top: auto;
}

.service-card .btn-primary-blue {
    font-size: 11px;
    padding: 8px 18px;
    width: 85%;
}

/* Consultation Card (Dark Theme) */
.consultation-card {
    background: linear-gradient(145deg, #071a33 0%, #0a254a 100%);
    border: 1px solid #0d3161;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(7, 26, 51, 0.25);
}

.consult-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.consult-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.consult-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 200px;
}

/* -------------------------------------------------------------
   Blog Section
------------------------------------------------------------- */
.blog-section {
    padding: 60px 0 80px 0;
    background-color: #ffffff;
}

.blog-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 40, 90, 0.08);
    border-color: #cbd5e1;
}

.blog-img-container {
    height: 160px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 16px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 42px;
}

.blog-card-date {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 14px;
}

.blog-read-more {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog-read-more:hover {
    color: #003d99;
    gap: 10px;
}

/* -------------------------------------------------------------
   Footer Section
------------------------------------------------------------- */
.site-footer {
    background-color: var(--primary-dark);
    background-image: linear-gradient(rgba(7, 21, 43, 0.94), rgba(7, 21, 43, 0.96)), url('../images/FB Cover Image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 86, 214, 0.12), transparent 70%);
    pointer-events: none;
}

.footer-section-title {
    font-size: 20px;
    letter-spacing: -0.01em;
}

.footer-title-line {
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.35);
}

.footer-brand-main {
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #38bdf8 !important;
}

.footer-brand-sub {
    font-size: 13px;
    letter-spacing: 1px;
    color: #38bdf8 !important;
}

.footer-contact-list {
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-icon-wrapper {
    color: #38bdf8;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-contact-text a {
    color: #f1f5f9;
    transition: color 0.2s ease;
}

.footer-contact-text a:hover {
    color: #38bdf8 !important;
}

.contact-indent {
    margin-left: 62px;
}

.footer-logo-badge {
    background-color: #ffffff;
    border-radius: 6px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 380px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom-bar {
    background-color: rgba(4, 12, 26, 0.7);
}

/* -------------------------------------------------------------
   Mobile Bottom Navigation Bar
------------------------------------------------------------- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 6px 12px 8px 12px;
}

.mobile-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.mobile-nav-icon {
    font-size: 18px;
    margin-bottom: 2px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.mobile-nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary-blue);
}

.mobile-nav-item.active .mobile-nav-icon {
    transform: scale(1.1);
}

.mobile-nav-highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

.mobile-nav-highlight .mobile-nav-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 2px;
    box-shadow: 0 4px 10px rgba(0, 86, 214, 0.35);
}

.mobile-nav-highlight:hover .mobile-nav-icon {
    background-color: #0043a8;
}

/* -------------------------------------------------------------
   Modal and Form Enhancements
------------------------------------------------------------- */
.custom-modal-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    color: #ffffff;
}

/* -------------------------------------------------------------
   Responsive Breakpoints
------------------------------------------------------------- */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 65px;
    }

    .brand-logo {
        width: 120px;
        max-width: 120px;
        height: auto;
        object-fit: contain;
    }

    .hero-title {
        font-size: 32px;
    }
    
    .hero-banner-img {
        height: 300px;
    }
    
    .partner-photo {
        height: 380px;
        margin-bottom: 24px;
    }
    
    .contact-indent {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 120px;
        max-width: 120px;
        height: auto;
        object-fit: contain;
    }

    .hero-section {
        padding: 35px 0 45px 0;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-banner-img {
        height: 240px;
    }
    
    .section-title-main {
        font-size: 26px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
}

/* -------------------------------------------------------------
   Client Testimonials & Scrolling Animation
------------------------------------------------------------- */
.testimonials-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 50%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 86, 214, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonial-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Gradient fade masks on both sides for infinite look */
.testimonial-marquee-wrapper::before,
.testimonial-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.testimonial-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f4f8fc 0%, rgba(244, 248, 252, 0) 100%);
}

.testimonial-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f4f8fc 0%, rgba(244, 248, 252, 0) 100%);
}

.testimonial-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: testimonialScroll 40s linear infinite;
    will-change: transform;
}

.testimonial-marquee-wrapper:hover .testimonial-track,
.testimonial-track.is-paused {
    animation-play-state: paused;
}

@keyframes testimonialScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Testimonial Card Styling */
.testimonial-card {
    width: 380px;
    min-width: 380px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(9, 32, 63, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 214, 0.12);
    border-color: rgba(0, 86, 214, 0.25);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 15px;
    letter-spacing: 2px;
}

.testimonial-service-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: #eff6ff;
    color: var(--primary-blue);
    border: 1px solid rgba(0, 86, 214, 0.15);
}

.testimonial-quote-icon {
    font-size: 26px;
    color: rgba(0, 86, 214, 0.18);
    margin-bottom: 12px;
}

.testimonial-text {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
    font-weight: 400;
    flex-grow: 1;
}

.testimonial-author-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 86, 214, 0.25);
    border: 2px solid #ffffff;
}

.testimonial-author-info {
    flex-grow: 1;
    overflow: hidden;
}

.testimonial-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-verified-badge {
    color: #059669;
    font-size: 13px;
    cursor: help;
}

.testimonial-author-company {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Interactive Controls Bar */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.testimonial-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--primary-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.testimonial-nav-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 214, 0.3);
}

.testimonial-nav-btn:active {
    transform: translateY(0);
}

.testimonial-pause-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.testimonial-pause-toggle:hover {
    background: #f8fafc;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Testimonial Trust Metrics Strip */
.testimonials-trust-strip {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    margin-top: 45px;
}

.trust-metric-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-metric-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 86, 214, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-metric-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
}

.trust-metric-label {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0;
}

/* -------------------------------------------------------------
   Comprehensive Section-Based Scroll Animations
------------------------------------------------------------- */
[data-scroll] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-scroll="fade-up"] {
    transform: translateY(40px);
}

[data-scroll="fade-down"] {
    transform: translateY(-40px);
}

[data-scroll="fade-left"] {
    transform: translateX(-50px);
}

[data-scroll="fade-right"] {
    transform: translateX(50px);
}

[data-scroll="zoom-in"] {
    transform: scale(0.92);
}

[data-scroll="zoom-in-up"] {
    transform: translateY(40px) scale(0.95);
}

[data-scroll="flip-up"] {
    transform: perspective(1000px) rotateX(25deg) translateY(30px);
}

/* When In View */
[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotateX(0);
}

/* Stagger Delays */
[data-scroll-delay="100"], [data-scroll-delay="0.1s"] { transition-delay: 0.1s; }
[data-scroll-delay="150"], [data-scroll-delay="0.15s"] { transition-delay: 0.15s; }
[data-scroll-delay="200"], [data-scroll-delay="0.2s"] { transition-delay: 0.2s; }
[data-scroll-delay="250"], [data-scroll-delay="0.25s"] { transition-delay: 0.25s; }
[data-scroll-delay="300"], [data-scroll-delay="0.3s"] { transition-delay: 0.3s; }
[data-scroll-delay="350"], [data-scroll-delay="0.35s"] { transition-delay: 0.35s; }
[data-scroll-delay="400"], [data-scroll-delay="0.4s"] { transition-delay: 0.4s; }
[data-scroll-delay="500"], [data-scroll-delay="0.5s"] { transition-delay: 0.5s; }
[data-scroll-delay="600"], [data-scroll-delay="0.6s"] { transition-delay: 0.6s; }

/* Durations */
[data-scroll-duration="fast"] { transition-duration: 0.45s; }
[data-scroll-duration="slow"] { transition-duration: 1.1s; }

/* Section Header Accent Line Expansion on Scroll */
.section-header-accent .section-accent-line {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    transform-origin: center;
}

.section-header-accent:not(.is-visible) .section-accent-line.line-left {
    transform: scaleX(0);
    transform-origin: right;
}

.section-header-accent:not(.is-visible) .section-accent-line.line-right {
    transform: scaleX(0);
    transform-origin: left;
}

.section-header-accent.is-visible .section-accent-line {
    transform: scaleX(1);
    opacity: 1;
}

/* Backward compatibility classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 767.98px) {
    .testimonial-card {
        width: 300px;
        min-width: 300px;
        padding: 22px 18px;
    }
    
    .testimonial-marquee-wrapper::before,
    .testimonial-marquee-wrapper::after {
        width: 40px;
    }
    
    .testimonials-section {
        padding: 50px 0;
    }
}


