/* ============================================
   BLUESEC GROUP LTD – Corporate Website Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    --primary: #ffffff;
    --primary-light: #f7f8fa;
    --secondary: #e9ecef;
    --accent: #2e86de;
    --accent-light: #54a0ff;
    --accent-glow: rgba(46, 134, 222, 0.25);
    --gold: #d4a843;
    --gold-light: #e8c46e;
    --text-white: #1a202c;
    --text-muted: #4a5568;
    --text-dark: #1a202c;
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);
    --shadow-blue: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: #f0f4f8;
    /* Soft background to show spacing */
    color: #1a202c;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Defaults --- */
section:not(.hero) {
    padding: 100px 0;
    position: relative;
    margin: 40px 24px;
    border-radius: 40px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.section-label::before {
    left: -20px;
}

.section-label::after {
    right: -20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(46, 134, 222, 0.08);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a202c;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.3);
}

/* --- Top Bar --- */
.top-bar {
    background: #0a1628;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #a0aec0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a0aec0;
}

.top-bar-left a:hover {
    color: var(--accent);
}

.top-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1260px;
    z-index: 1000;
    padding: 14px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    padding: 12px 28px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a202c;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a202c;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #1a202c;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 100px;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(6, 13, 24, 0.7) 0%,
            rgba(10, 22, 40, 0.55) 40%,
            rgba(26, 58, 92, 0.4) 100%);
    z-index: 1;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    z-index: 2;
    max-width: 700px;
    min-height: 280px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-slide.slide-out-left {
    opacity: 0;
    transform: translateX(-80px);
}

.hero-slide.slide-in-right {
    transform: translateX(80px);
    opacity: 0;
}

.hero-slide.slide-out-right {
    opacity: 0;
    transform: translateX(80px);
}

.hero-slide.slide-in-left {
    transform: translateX(-80px);
    opacity: 0;
}

/* Staggered child animations */
.hero-slide.active .hero-title {
    animation: slideChildIn 0.6s ease 0.1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide.active .hero-description {
    animation: slideChildIn 0.6s ease 0.25s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide.active .hero-buttons {
    animation: slideChildIn 0.6s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideChildIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #f0f2f5;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: #c0c8d4;
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Slider Controls --- */
.hero-slider-controls {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    backdrop-filter: blur(6px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, width 0.3s;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.15);
    width: 28px;
    border-radius: 6px;
}



.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s ease infinite;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a0aec0;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-dot 1.5s ease infinite;
}

@keyframes scroll-dot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- About Section --- */
#about {
    background: #f7f8fa;
    padding-top: 30px;
    /* Reduced further to 30px */
    margin-top: 40px;
    /* Reduced from 40px to pull it closer to the hero */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e2e8f0;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px var(--accent-glow);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a202c;
}

.about-feature .icon {
    width: 36px;
    height: 36px;
    background: rgba(46, 134, 222, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.about-header-img {
    text-align: center;
    margin-bottom: 32px;
    margin-top: 0px;
}

.flag-img {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- Stat Counters --- */
.stats-bar {
    background: linear-gradient(135deg, #0a1628, #1a3a5c);
    padding: 48px 40px;
    border-radius: 40px;
    margin: 40px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.stat-item p {
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Services Section --- */
#services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 134, 222, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(46, 134, 222, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
    color: var(--accent);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 8px 24px var(--accent-glow);
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a202c;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card .learn-more:hover {
    gap: 10px;
}

/* --- Why Choose Us --- */
#why-us {
    background: #f7f8fa;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.why-card:hover {
    background: #ffffff;
    border-color: rgba(46, 134, 222, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(46, 134, 222, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    box-shadow: 0 8px 24px var(--accent-glow);
    color: #fff;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a202c;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Training Section --- */
#training {
    background: #ffffff;
}

.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.training-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 24px;
    color: #1a202c;
}

.training-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.training-list {
    margin-top: 16px;
}

.training-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.training-list li:last-child {
    border-bottom: none;
}

.training-list .checkmark {
    width: 24px;
    height: 24px;
    background: rgba(46, 134, 222, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cert-badge:hover {
    border-color: rgba(46, 134, 222, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 67, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cert-badge h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a202c;
}

.cert-badge p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Clients / Testimonials --- */
#clients {
    background: #f7f8fa;
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 64px;
}

.client-logo {
    width: 140px;
    height: 60px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.client-logo:hover {
    background: rgba(46, 134, 222, 0.06);
    border-color: rgba(46, 134, 222, 0.2);
    color: #1a202c;
}

.testimonial-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    overflow: hidden;
}

.testimonial-card {
    text-align: center;
    padding: 40px;
    display: none;
}

.testimonial-card.active {
    display: block;
}

.testimonial-card .quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-card .quote::before {
    content: '"';
    font-family: serif;
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonial-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* --- Careers Section --- */
#careers {
    background: #ffffff;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.careers-text p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.careers-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a202c;
}

.perk .icon {
    color: var(--accent);
    font-size: 1rem;
}

.job-listings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    transition: var(--transition);
}

.job-card:hover {
    border-color: rgba(46, 134, 222, 0.2);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.job-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
}

.job-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Contact Section --- */
#contact {
    background: #f7f8fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
}

.contact-form-wrapper>p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a202c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    color: #1a202c;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: #ffffff;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(74, 85, 104, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(46, 134, 222, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(46, 134, 222, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a202c;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-placeholder {
    width: 100%;
    height: 220px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

/* --- Footer --- */
.footer {
    background: #0a1628;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 64px 0 0;
    color: #f0f2f5;
    margin: 40px 24px 20px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about .logo-text {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #f0f2f5;
}

.footer-about p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer .social-link {
    background: rgba(255, 255, 255, 0.08);
    color: #a0aec0;
}

.footer .social-link:hover {
    background: var(--accent);
    color: #fff;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #f0f2f5;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-contact .icon {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px var(--accent-glow);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
    display: flex;
    opacity: 1;
}

.mobile-nav-overlay .nav-links {
    flex-direction: column;
    gap: 28px;
    text-align: center;
}

.mobile-nav-overlay .nav-links a {
    font-size: 1.4rem;
    color: #1a202c;
}

/* ========================
   RESPONSIVE BREAKPOINTS
   ======================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .top-bar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .about-grid,
    .training-grid,
    .contact-grid,
    .careers-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .careers-perks {
        grid-template-columns: 1fr;
    }

    .certifications {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .experience-badge {
        right: 10px;
        bottom: -10px;
        width: 100px;
        height: 100px;
    }

    .experience-badge .number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .clients-logos {
        gap: 16px;
    }

    .client-logo {
        width: 110px;
        height: 50px;
        font-size: 0.75rem;
    }
}