/* ========== SERVICE PAGE NAV OVERRIDES ========== */
.navbar .logo {
    color: #fff;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar .nav-link:hover {
    color: #26d367;
}

.navbar .nav-dd-arrow {
    color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .logo {
    color: var(--text-primary);
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
}

.navbar.scrolled .nav-link:hover {
    color: var(--accent-color);
}

.navbar.scrolled .nav-dd-arrow {
    color: var(--text-primary);
}

/* ========== SERVICE HERO ========== */
.svc-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1f13 0%, #0c2e1a 50%, #143d24 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 40px;
}

.svc-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(38, 211, 103, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    pointer-events: none;
}

.svc-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 160px);
}

/* Hero Grid — content left, illustration right */
.svc-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    flex: 1;
}

.svc-hero-content {
    max-width: 650px;
    justify-self: start;
    text-align: left;
}

/* Badge — simple uppercase tracking */
.svc-hero-badge {
    display: inline-block;
    color: #26d367;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Title — large bold uppercase, second line in italic serif */
.svc-hero h1 {
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 900;
    color: #fff;
    line-height: 1.0;
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.svc-hero h1 .highlight-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #26d367;
    display: block;
}

.svc-hero h1 .highlight {
    color: #26d367;
}

/* Description */
.svc-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 36px;
}

/* CTA Buttons — dark pill style */
.svc-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.btn-hero-dark:hover {
    background: rgba(38, 211, 103, 0.15);
    border-color: rgba(38, 211, 103, 0.4);
    color: #26d367;
}

/* Illustration on the right */
.svc-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-hero-visual img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Bottom bar — stats left, scroll center */
.svc-hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.svc-hero-stats {
    display: flex;
    gap: 40px;
}

.svc-stat {
    display: flex;
    flex-direction: column;
}

.svc-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
}

.svc-stat-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Scroll indicator */
.svc-hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.svc-hero-scroll span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.scroll-icon {
    width: 30px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

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

    50% {
        transform: translateY(6px);
    }
}

/* ========== ABOUT / VIDEO SECTION ========== */
.svc-about {
    padding: 60px 0 5px 0;
    background: #fff;
}

.svc-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.svc-about-text .sub-title {
    display: inline-block;
    margin-bottom: 12px;
}

.svc-about-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.svc-about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 16px;
}

.svc-about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.svc-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f5f5f5;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.svc-feature-tag i {
    color: #26d367;
    font-size: 12px;
}

.svc-feature-tag:hover {
    background: rgba(38, 211, 103, 0.1);
    color: #0c2e1a;
}

.svc-about-video {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.svc-about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 350px;
}

/* ========== PORTFOLIO SLIDER ========== */
.svc-portfolio {
    padding: 60px 0;
    background: #f9fafb;
}

.svc-portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.svc-portfolio-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.svc-portfolio-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.svc-portfolio-track {
    display: flex;
    gap: 24px;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}

.svc-portfolio-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.svc-portfolio-item {
    min-width: 350px;
    max-width: 350px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.svc-portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.svc-portfolio-item:hover img {
    transform: scale(1.05);
}

.svc-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.svc-portfolio-item:hover .svc-portfolio-overlay {
    opacity: 1;
}

.svc-portfolio-overlay h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.svc-portfolio-overlay span {
    color: #26d367;
    font-size: 13px;
    font-weight: 600;
}

/* Hide the old prev/next nav buttons */
.svc-slider-nav {
    display: none;
}

/* ========== SERVICES OVERVIEW ========== */
.svc-overview {
    padding: 80px 0;
    background: #fff;
}

.svc-overview-header {
    text-align: center;
    margin-bottom: 50px;
}

.svc-overview-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

/* --- Bento Grid: equal 3 cols, card 1 & 4 tall (left column) --- */
.svc-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    align-items: start;
}

/* Row 1: card 1 tall (spans rows 1-2), cards 2 & 3 small, top-aligned */
.svc-overview-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.svc-overview-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.svc-overview-card:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

/* Row 2: card 4 tall (spans rows 3-4), cards 5 & 6 small, top-aligned */
.svc-overview-card:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 5;
}

.svc-overview-card:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.svc-overview-card:nth-child(6) {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

/* Base card style — matching homepage service cards */
.svc-overview-card {
    padding: 36px 32px;
    border-radius: 20px;
    background: #eef1f5;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(40px);
}

.svc-overview-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for each card */
.svc-overview-card:nth-child(1) {
    transition-delay: 0s;
}

.svc-overview-card:nth-child(2) {
    transition-delay: 0.08s;
}

.svc-overview-card:nth-child(3) {
    transition-delay: 0.16s;
}

.svc-overview-card:nth-child(4) {
    transition-delay: 0.24s;
}

.svc-overview-card:nth-child(5) {
    transition-delay: 0.32s;
}

.svc-overview-card:nth-child(6) {
    transition-delay: 0.40s;
}

/* Large card special styles — taller cards stretch to fill */
.svc-overview-card:nth-child(1),
.svc-overview-card:nth-child(4) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.svc-overview-card:nth-child(1) h3,
.svc-overview-card:nth-child(4) h3 {
    font-size: 28px;
}

.svc-overview-card:nth-child(1) p,
.svc-overview-card:nth-child(4) p {
    font-size: 15px;
}

/* Decorative shimmer line on top (visible on hover) */
.svc-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #26d367, transparent);
    transition: left 0.6s ease;
}

/* Hover effects */
.svc-overview-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(38, 211, 103, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(38, 211, 103, 0.25);
    background: #e8edf3;
}

.svc-overview-card:hover::before {
    left: 100%;
}

/* Card number — matches homepage .card-num style */
.svc-card-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color, #26d367);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 4px;
}

/* Card title — bold, dark */
.svc-overview-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #080808;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Card description */
.svc-overview-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    opacity: 0.85;
}

/* ========== FAQ GRID ========== */
.svc-faq {
    padding: 60px 0;
    background: #fff;
}

.svc-faq-header {
    margin-bottom: 40px;
}

.svc-faq-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.svc-faq-header p {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
    max-width: 500px;
}

.svc-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.svc-faq-card {
    padding: 28px 24px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.svc-faq-card:hover {
    transform: translateY(-4px);
}

.svc-faq-card:nth-child(1) {
    background: #fff0f0;
}

.svc-faq-card:nth-child(2) {
    background: #f0f4ff;
}

.svc-faq-card:nth-child(3) {
    background: #e8ffe8;
}

.svc-faq-card:nth-child(4) {
    background: #fff8e0;
}

.svc-faq-card:nth-child(5) {
    background: #f5f0ff;
}

.svc-faq-card:nth-child(6) {
    background: #f0faff;
}

.svc-faq-num {
    font-size: 13px;
    font-weight: 700;
    color: #999;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-faq-num i {
    font-size: 16px;
    color: #e74c3c;
}

.svc-faq-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
}

.svc-faq-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ========== TESTIMONIALS ========== */
.svc-testimonials {
    padding: 60px 0;
    background: #f9fafb;
}

.svc-testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.svc-testimonials-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.svc-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-testi-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.svc-testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.svc-testi-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.svc-testi-card blockquote {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.svc-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.svc-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.svc-testi-author-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.svc-testi-author-info span {
    font-size: 13px;
    color: #999;
}

/* ========== CTA SECTION ========== */
.svc-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a1f13 0%, #0c2e1a 50%, #143d24 100%);
    position: relative;
    overflow: hidden;
}

.svc-cta .cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.3;
}

.svc-cta .cta-glow-1 {
    width: 400px;
    height: 400px;
    background: #26d367;
    top: -150px;
    right: -100px;
}

.svc-cta .cta-glow-2 {
    width: 300px;
    height: 300px;
    background: #1fa855;
    bottom: -100px;
    left: -80px;
}

.svc-cta .container {
    position: relative;
    z-index: 2;
}

.svc-cta h2 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.svc-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.svc-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== BOOK A CALL MARQUEE ========== */
.book-call-section {
    background: linear-gradient(135deg, #0a1f13 0%, #0c2e1a 50%, #143d24 100%);
    padding: 40px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.book-call-subtitle {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #26d367;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.book-call-marquee {
    overflow: hidden;
    width: 100%;
    margin-bottom: 24px;
}

.book-call-track {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: book-call-scroll 20s linear infinite;
    width: max-content;
}

.book-call-text {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -1px;
    flex-shrink: 0;
}

.book-call-dot {
    font-size: clamp(36px, 6vw, 60px);
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

@keyframes book-call-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.book-call-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.book-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.book-call-btn:hover {
    background: rgba(38, 211, 103, 0.12);
    border-color: rgba(38, 211, 103, 0.5);
    color: #26d367;
}

.book-call-btn i {
    font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .svc-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .svc-hero-visual img {
        max-height: 320px;
    }

    .svc-about-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .svc-portfolio-item {
        min-width: 280px;
        max-width: 280px;
    }

    .svc-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    /* Reset all bento grid placements at tablet */
    .svc-overview-card:nth-child(1),
    .svc-overview-card:nth-child(2),
    .svc-overview-card:nth-child(3),
    .svc-overview-card:nth-child(4),
    .svc-overview-card:nth-child(5),
    .svc-overview-card:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }

    .svc-overview-card:nth-child(1) h3,
    .svc-overview-card:nth-child(4) h3 {
        font-size: 22px;
    }

    .svc-overview-card:nth-child(1) p,
    .svc-overview-card:nth-child(4) p {
        font-size: 14px;
    }

    .svc-faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .svc-hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .svc-hero .container {
        min-height: auto;
    }

    .svc-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .svc-hero-visual {
        display: none;
    }

    .svc-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .svc-hero-scroll {
        align-self: center;
    }

    .svc-portfolio-item {
        min-width: 250px;
        max-width: 250px;
    }

    .svc-overview-grid,
    .svc-faq-grid,
    .svc-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICE PAGE PERFORMANCE OPTIMISATIONS
   ============================================ */
.svc-portfolio-track,
.svc-about-video,
.svc-overview-card,
.svc-testi-card {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .svc-portfolio-track {
        animation: none !important;
    }

    .scroll-icon {
        animation: none !important;
    }

    .svc-overview-card,
    .svc-testi-card {
        transition: none !important;
    }
}