/**
 * KMVLN AND CO - Premium Stylesheet
 * Chartered Accountants
 * Version: 1.0
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors - Navy Blue from Logo */
    --primary: #1a2b5f;
    --primary-light: #2a3f7a;
    --primary-dark: #0f1a3d;
    --primary-glow: rgba(26, 43, 95, 0.2);

    /* Accent Colors - Green from Logo */
    --accent: #2e7d32;
    --accent-light: #4caf50;
    --accent-dark: #1b5e20;

    /* Secondary Colors - Teal */
    --secondary: #0d7377;
    --secondary-light: #12969b;
    --secondary-dark: #095456;

    /* Background Colors - Light Theme */
    --bg-light: #ffffff;
    --bg-lighter: #f8fafc;
    --bg-section: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(26, 43, 95, 0.03);
    --bg-glass-hover: rgba(26, 43, 95, 0.06);

    /* Navy Blue Shades for Dark Sections */
    --navy-900: #0a1628;
    --navy-800: #0f1f35;
    --navy-700: #152a45;
    --navy-600: #1c3656;

    /* Text Colors — High Contrast */
    --text-primary: #111827;
    --text-secondary: #1f2937;
    --text-muted: #374151;
    --text-light: #6b7280;
    --text-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 43, 95, 0.95) 0%, rgba(15, 26, 61, 0.9) 50%, rgba(26, 43, 95, 0.95) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
    --gradient-dark: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);

    /* Borders */
    --border-light: rgba(26, 43, 95, 0.1);
    --border-medium: rgba(26, 43, 95, 0.2);
    --border-accent: rgba(46, 125, 50, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 43, 95, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 43, 95, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 43, 95, 0.15);
    --shadow-primary: 0 4px 30px rgba(26, 43, 95, 0.2);
    --shadow-glow: 0 0 40px rgba(26, 43, 95, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 60px;
    --section-padding-mobile: 40px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-section);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 40px rgba(26, 43, 95, 0.35);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--text-white);
    background: var(--primary);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1rem;
}

.btn i {
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(5px);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--bg-light);
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.header.scrolled .logo-img {
    height: 40px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: -5px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-link i {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown li a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.dropdown li a:hover {
    background: var(--bg-glass-hover);
    color: var(--primary);
}

/* Nav CTA */
.nav-cta {
    padding: 12px 28px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(26, 43, 95, 0.08);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: #111827;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 20px;
    color: #111827;
}

.section-title span {
    color: var(--accent);
}

.section-desc {
    font-size: 1.1rem;
    color: #374151;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 43, 95, 0.03) 0%, rgba(46, 125, 50, 0.02) 50%, rgba(26, 43, 95, 0.03) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(46, 125, 50, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 43, 95, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(46, 125, 50, 0.04) 0%, transparent 70%);
    animation: heroPattern 20s ease-in-out infinite;
}

@keyframes heroPattern {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Animated Circles */
.hero-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(46, 125, 50, 0.2);
    animation: floatCircle 15s ease-in-out infinite;
}

.hero-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
    animation-delay: -5s;
}

.hero-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    display: block;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    padding: 35px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: var(--transition-base);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.service-card:hover .service-icon {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.service-card:hover .service-icon i {
    color: var(--text-white);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #111827;
}

.service-desc {
    color: #374151;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: #374151;
    font-size: 0.95rem;
}

.service-features li i {
    color: #2e7d32;
    margin-top: 4px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 12px;
    color: #1b5e20;
}

/* ===== STATS SECTION ===== */
.stats {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(46, 125, 50, 0.15) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ABOUT PREVIEW / WHY CHOOSE US ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 25px 35px;
    background: var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 600;
}

.about-content .section-label {
    display: inline-flex;
}

.about-list {
    list-style: none;
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.about-list-icon i {
    font-size: 1.2rem;
    color: #2e7d32;
}

.about-list-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 5px;
}

.about-list-desc {
    font-size: 0.9rem;
    color: #374151;
    margin: 0;
}

/* ===== CLIENTS SECTION ===== */
.clients {
    background: var(--bg-section);
    padding: 60px 0;
    overflow: hidden;
}

.clients-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: max-content;
    align-items: center;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.client-item img {
    height: 45px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(30%);
    transition: var(--transition-base);
}

.client-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.client-fallback {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CTA SECTION ===== */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    padding: 80px 60px;
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 43, 95, 0.05) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: var(--navy-900);
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    color: var(--bg-light);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 100px;
}

.footer-main {
    padding: 120px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    color: var(--text-white);
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform var(--transition-base);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact li i {
    width: 20px;
    color: var(--accent);
    margin-top: 4px;
}

.footer-contact li div {
    flex: 1;
}

.footer-contact strong {
    display: block;
    color: var(--text-white);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-contact p,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    display: block;
    line-height: 1.6;
}

.footer-contact a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright,
.credits {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.credits {
    color: var(--accent);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-base);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-5px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(46, 125, 50, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 43, 95, 0.05) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.page-title .text-primary {
    color: var(--accent) !important;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb span {
    color: var(--accent);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 43, 95, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===== BLOG STYLES ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-meta i {
    color: var(--primary);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-primary);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-link:hover {
    gap: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-base);
}

.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Full width cards for address and working hours */
.contact-card.full-width {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 16px;
}

.contact-card-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 43, 95, 0.08);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-card-title {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-card-text a {
    color: var(--text-secondary);
    display: block;
}

.contact-card-text a:hover {
    color: var(--primary);
}

/* Map */
.map-container {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ===== ABOUT PAGE ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-base);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.team-quals {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(26, 43, 95, 0.08);
    border: 1px solid var(--border-light);
    border-radius: 50%;
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.value-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== SERVICES PAGE ===== */
.service-detail {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-light);
}

.service-detail:nth-child(even) {
    background: var(--bg-section);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-detail-content {
    flex: 1;
    min-width: 0;
}

.service-detail:nth-child(even) .service-detail-grid {
    flex-direction: row-reverse;
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 43, 95, 0.08);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.service-detail-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.service-detail-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.service-detail-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-detail-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.service-detail-features li:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.service-detail-features li i {
    color: var(--primary);
}

.service-visual {
    position: relative;
    flex: 0 0 380px;
    max-width: 380px;
}

.service-visual-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.service-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(26, 43, 95, 0.08) 0%, transparent 70%);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .about-preview,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-detail:nth-child(even) .service-detail-grid {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100%;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 100px 40px;
        transition: right var(--transition-base);
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid var(--border-light);
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .has-dropdown.open .dropdown {
        max-height: 500px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .hero-stat {
        min-width: 120px;
    }

    /* Cards */
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-features {
        grid-template-columns: 1fr;
    }

    .service-detail-grid {
        flex-direction: column !important;
    }

    .service-visual {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: 30px;
    }

    /* Float buttons */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        right: 85px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-badge {
        position: static;
        margin-top: 30px;
        display: inline-block;
    }

    /* Services page - 480px */
    .service-detail-features {
        grid-template-columns: 1fr;
    }

    .service-detail-features li {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .service-detail-title {
        font-size: 1.5rem;
    }

    .service-visual-card {
        padding: 25px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    /* About page - 480px */
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-image {
        height: 280px;
    }

    .value-card {
        padding: 25px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .cta-inner {
        padding: 50px 25px;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* Service detail scroll offset */
.service-detail {
    scroll-margin-top: 100px;
}

/* ===== REDESIGNED SERVICES PAGE ===== */

.section-padding {
    padding: 100px 0;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Service Overview Cards */
.svc-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.svc-overview-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.svc-overview-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.svc-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.svc-overview-card:hover::before {
    transform: scaleX(1);
}

.svc-overview-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.svc-overview-icon i {
    font-size: 1.6rem;
}

.svc-overview-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.svc-overview-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.svc-overview-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.svc-overview-card:hover .svc-overview-link {
    gap: 12px;
}

/* Service Detail Sections */
.svc-detail-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
    scroll-margin-top: 80px;
}

.svc-detail-alt {
    background: var(--bg-section);
}

.svc-detail-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.svc-detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.svc-detail-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    border: 1px solid;
}

.svc-detail-icon i {
    font-size: 2rem;
}

.svc-detail-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.svc-detail-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.svc-detail-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Feature Tiles */
.svc-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.svc-feature-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.svc-detail-alt .svc-feature-tile {
    background: var(--bg-lighter);
}

.svc-feature-tile:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.08);
    transform: translateY(-2px);
}

.svc-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 10px;
}

.svc-feature-icon i {
    font-size: 1rem;
    color: var(--accent);
}

.svc-feature-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}

/* Service Detail Footer */
.svc-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.svc-industries {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.svc-industries-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.svc-industries-label i {
    color: var(--primary);
}

.svc-industry-tag {
    padding: 5px 14px;
    background: rgba(26, 43, 95, 0.06);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.process-step-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.process-step-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step-icon i {
    font-size: 1.4rem;
    color: var(--accent);
}

.process-step:hover .process-step-icon {
    background: var(--accent);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.process-step:hover .process-step-icon i {
    color: #ffffff;
}

.process-step-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.process-step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== REDESIGNED ABOUT PAGE ===== */

/* About Story Grid */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.about-story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-est-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 15px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-est-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

.about-est-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.about-story-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Mission & Vision Cards */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mv-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 45px 40px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.mv-card:first-child::before {
    background: linear-gradient(180deg, var(--accent), #059669);
}

.mv-card:last-child::before {
    background: linear-gradient(180deg, var(--primary), #2563eb);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mv-card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
}

.mv-card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.mv-mission {
    background: linear-gradient(135deg, var(--accent), #059669);
}

.mv-vision {
    background: linear-gradient(135deg, var(--primary), #2563eb);
}

.mv-card-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.mv-card-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Founder Card */
.founder-card {
    display: flex;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 50px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.founder-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.founder-image {
    width: 300px;
    min-width: 300px;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.founder-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-name {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.founder-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.founder-quals {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.founder-quals i {
    color: var(--primary);
    margin-right: 5px;
}

.founder-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Team Stats Grid */
.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-stat-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.team-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.team-stat-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
}

.team-stat-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.team-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.team-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.expertise-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.expertise-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expertise-card:hover::after {
    transform: scaleX(1);
}

.expertise-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: rgba(26, 43, 95, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.expertise-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.expertise-card:hover .expertise-icon {
    background: var(--primary);
}

.expertise-card:hover .expertise-icon i {
    color: #ffffff;
}

.expertise-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.expertise-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.credential-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 45px 35px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.credential-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--navy-800));
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(26, 43, 95, 0.2);
}

.credential-badge i {
    font-size: 2rem;
    color: #ffffff;
}

.credential-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.credential-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.credential-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(46, 125, 50, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
}

.credential-verified i {
    font-size: 0.85rem;
}

/* ===== RESPONSIVE — REDESIGNED COMPONENTS ===== */
@media (max-width: 1024px) {
    .svc-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-image img {
        height: 400px;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .svc-overview-grid {
        grid-template-columns: 1fr;
    }

    .svc-features-grid {
        grid-template-columns: 1fr;
    }

    .svc-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .svc-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        flex-direction: column;
    }

    .founder-image {
        width: 100%;
        min-width: 100%;
        height: 300px;
    }

    .founder-image img {
        min-height: auto;
        height: 300px;
    }

    .team-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-stat-item {
        flex: 1;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 50px 0;
    }

    .svc-detail-section {
        padding: 50px 0;
    }

    .svc-detail-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .svc-detail-icon i {
        font-size: 1.5rem;
    }

    .svc-detail-title {
        font-size: 1.4rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mv-card {
        padding: 30px 25px;
    }

    .founder-info {
        padding: 25px;
    }

    .team-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .team-stat-card {
        padding: 20px 15px;
    }

    .credential-card {
        padding: 30px 20px;
    }

    .about-story-image img {
        height: 300px;
    }

    .about-stats-row {
        justify-content: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}


.text-primary {
    color: var(--primary) !important;
}

.text-white {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* ===== DARK BACKGROUND SECTIONS ===== */
.bg-dark {
    background: #0f1a2e !important;
    color: rgba(255, 255, 255, 0.9);
}

.bg-navy {
    background: #0f1a2e !important;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Dark bg: Section headers white --- */
.bg-dark .section-label,
.bg-navy .section-label {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-dark .section-label i,
.bg-navy .section-label i {
    color: #4caf50 !important;
}

.bg-dark .section-title,
.bg-navy .section-title {
    color: #ffffff !important;
}

.bg-dark .section-title span,
.bg-navy .section-title span {
    color: #4caf50 !important;
}

.bg-dark .section-desc,
.bg-navy .section-desc {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- Dark bg: White cards with dark text --- */
.bg-dark .service-card,
.bg-navy .service-card {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

.bg-dark .value-card,
.bg-navy .value-card {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

.bg-dark .service-card:hover,
.bg-dark .value-card:hover,
.bg-navy .service-card:hover,
.bg-navy .value-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Card text MUST be dark on white cards */
.bg-dark .service-card .service-title,
.bg-navy .service-card .service-title {
    color: #111827 !important;
}

.bg-dark .service-card .service-desc,
.bg-navy .service-card .service-desc {
    color: #374151 !important;
}

.bg-dark .service-card .service-features li,
.bg-navy .service-card .service-features li {
    color: #374151 !important;
}

.bg-dark .service-card .service-features li i,
.bg-navy .service-card .service-features li i {
    color: #2e7d32 !important;
}

.bg-dark .service-card .service-link,
.bg-navy .service-card .service-link {
    color: #2e7d32 !important;
}

/* --- Dark bg: About/Why-Choose section --- */
.bg-dark .about-title,
.bg-navy .about-title {
    color: #ffffff !important;
}

.bg-dark .about-desc,
.bg-dark .about-text,
.bg-dark .about-content p,
.bg-navy .about-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-dark .about-list li,
.bg-navy .about-list li {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-dark .about-list-icon,
.bg-navy .about-list-icon {
    background: rgba(46, 125, 50, 0.2) !important;
}

.bg-dark .about-list-icon i,
.bg-navy .about-list-icon i {
    color: #4caf50 !important;
}

.bg-dark .about-list-title,
.bg-navy .about-list-title {
    color: #ffffff !important;
}

.bg-dark .about-list-desc,
.bg-navy .about-list-desc {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- Dark bg: Value cards text --- */
.bg-dark .value-card .value-icon {
    background: rgba(46, 125, 50, 0.12) !important;
}

.bg-dark .value-card .value-icon i {
    color: #2e7d32 !important;
}

.bg-dark .value-card .value-title {
    color: #111827 !important;
}

.bg-dark .value-card .value-desc {
    color: #374151 !important;
}

/* --- Dark bg: breadcrumbs, buttons --- */
.bg-dark .breadcrumb a,
.bg-navy .breadcrumb a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-dark .breadcrumb span,
.bg-navy .breadcrumb span {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-dark .btn-outline,
.bg-navy .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.bg-dark .btn-outline:hover,
.bg-navy .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* --- Dark bg: About badge --- */
.bg-dark .about-badge,
.bg-navy .about-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

.bg-dark .about-badge-number,
.bg-dark .about-badge-text {
    color: #ffffff !important;
}

/* --- Dark bg: Generic text overrides --- */
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy h5,
.bg-navy h6 {
    color: #ffffff;
}

.bg-dark p,
.bg-navy p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Dark bg: Contact cards --- */
.bg-dark .contact-card {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #334155 !important;
}

.bg-dark .contact-card-icon {
    background: rgba(46, 125, 50, 0.1) !important;
    border-color: rgba(46, 125, 50, 0.2) !important;
}

.bg-dark .contact-card-icon i {
    color: #2e7d32 !important;
}

.bg-dark .contact-card-title {
    color: #111827 !important;
}

.bg-dark .contact-card-text {
    color: #475569 !important;
}

.bg-dark .contact-card-text a {
    color: #334155 !important;
}

.bg-dark .contact-card-text a:hover {
    color: #2e7d32 !important;
}

.bg-dark .contact-card h3,
.bg-dark .contact-card p {
    color: #334155 !important;
}

/* --- Dark bg: Forms --- */
.bg-dark .contact-form-wrapper {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #334155 !important;
}

.bg-dark .form-label,
.bg-dark label {
    color: #111827 !important;
}

.bg-dark .form-input,
.bg-dark .form-textarea,
.bg-dark input[type="text"],
.bg-dark input[type="email"],
.bg-dark input[type="tel"],
.bg-dark select,
.bg-dark textarea {
    color: #111827 !important;
    background: #ffffff !important;
    border-color: #d1d5db !important;
}

.bg-dark .contact-form-wrapper h3,
.bg-dark .contact-form-wrapper h2,
.bg-dark .contact-form-wrapper p {
    color: #334155 !important;
}

/* --- Dark bg: Blog cards --- */
.bg-dark .blog-card {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #334155 !important;
}

.bg-dark .blog-card h3,
.bg-dark .blog-title {
    color: #111827 !important;
}

.bg-dark .blog-title a,
.bg-dark .blog-card h3 a,
.bg-dark .blog-card a {
    color: #111827 !important;
}

.bg-dark .blog-title a:hover,
.bg-dark .blog-card h3 a:hover {
    color: #2e7d32 !important;
}

.bg-dark .blog-card p,
.bg-dark .blog-excerpt {
    color: #475569 !important;
}

.bg-dark .blog-link {
    color: #2e7d32 !important;
}

.bg-dark .blog-meta span {
    color: #6b7280 !important;
}

.bg-dark .blog-meta i {
    color: #2e7d32 !important;
}

.bg-dark .blog-meta,
.bg-dark .blog-date,
.bg-dark .blog-author {
    color: #6b7280 !important;
}

/* Blog card content area (inside card) */
.bg-dark .blog-card .blog-content {
    background: transparent !important;
    color: #334155 !important;
}

.bg-dark .blog-card .blog-content h3,
.bg-dark .blog-card .blog-content p {
    color: #334155 !important;
}

.bg-dark .blog-card .blog-content h3 a {
    color: #111827 !important;
}

/* --- Dark bg: Career cards --- */
.bg-dark .job-card {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    color: #334155 !important;
}

.bg-dark .job-card h3 {
    color: #111827 !important;
}

.bg-dark .job-card p {
    color: #475569 !important;
}

.bg-dark .job-meta span {
    color: #6b7280 !important;
}

/* --- Dark bg: CTA --- */
.bg-dark .cta-content h2 {
    color: #ffffff !important;
}

.bg-dark .cta-content p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* --- Dark bg: FAQ --- */
.bg-dark .faq-item {
    background: #ffffff !important;
    border-color: rgba(200, 200, 200, 0.3) !important;
    color: #334155 !important;
}

.bg-dark .faq-question {
    color: #111827 !important;
}

.bg-dark .faq-answer,
.bg-dark .faq-answer p {
    color: #475569 !important;
}

/* --- Dark bg: Industry --- */
.bg-dark .industry-card,
.bg-dark .industry-item {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-dark .industry-card:hover,
.bg-dark .industry-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.bg-dark .industry-card h4,
.bg-dark .industry-name {
    color: #ffffff !important;
}

.bg-dark .industry-icon i {
    color: #4caf50 !important;
}

/* --- Dark bg: Page header & map --- */
.bg-dark .page-title {
    color: #ffffff !important;
}

.bg-dark .page-header__desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-dark .map-container {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--radius-md);
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.value-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.team-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-base);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-quals {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== SERVICE DETAIL STYLES ===== */
.service-detail {
    padding: 40px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
}

.service-detail-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.service-detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.service-feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    padding: 8px 16px;
    background: rgba(26, 43, 95, 0.08);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
}