/* =============================================
   KEERTHANA CONCEPTS - ENHANCED DESIGN SYSTEM
   Training & Consultancy Website
   Mobile-first, Tablet, Desktop Responsive
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    --primary: #0A7F8F;
    --primary-dark: #066a77;
    --primary-light: #0ea5b7;
    --secondary: #D4AF37;
    --secondary-light: #e6c75a;
    --accent: #FF6B35;
    --navy: #001F3F;
    --charcoal: #333333;
    --text: #2d2d2d;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-gray: #F7F8FA;
    --border: #e2e5ea;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.18);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1100;
    width: 0;
    transition: width 0.1s linear;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 30px rgba(10, 127, 143, 0.4);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.small-text {
    font-size: 0.9rem;
    margin: 0;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    background: rgba(10, 127, 143, 0.08);
    padding: 8px 18px;
    border-radius: 24px;
}

.section-label--dark {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s;
}

.btn:active::after {
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(10, 127, 143, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10, 127, 143, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10, 127, 143, 0.2);
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary), #c9a230);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn .arrow {
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* --- HEADER / NAV --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 900;
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.footer-logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-logo .logo-accent,
.logo-accent {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 24px !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(10, 127, 143, 0.2);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 127, 143, 0.35);
}

/* Mobile Nav */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 6px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(10, 127, 143, 0.06);
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
    background: var(--primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
    background: var(--primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: right 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    transition: all 0.25s;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-nav a:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-nav a:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-nav a:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-nav a:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-nav a:nth-child(6) {
    transition-delay: 0.3s;
}

.mobile-nav a:nth-child(7) {
    transition-delay: 0.35s;
}

.mobile-nav a:hover {
    color: var(--primary);
    background: rgba(10, 127, 143, 0.06);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(160deg, #f0fafb 0%, #e8f4f5 40%, #fdf8ec 100%);
    padding-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 127, 143, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {

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

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-12px);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 127, 143, 0.1);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    border: 1px solid rgba(10, 127, 143, 0.1);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

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

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border);
}

.hero-stat .num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.hero-stat .label {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrapper {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: scrollCarousel 8s ease-in-out infinite;
}

/* Pause scroll on hover */
.hero-img-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-track img {
    width: 25%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.hero-img-wrapper:hover .carousel-track img {
    transform: scale(1.05);
}

@keyframes scrollCarousel {

    0%,
    20% {
        transform: translateX(0);
    }

    25%,
    45% {
        transform: translateX(-25%);
    }

    50%,
    70% {
        transform: translateX(-50%);
    }

    75%,
    95% {
        transform: translateX(-75%);
    }

    100% {
        transform: translateX(0);
    }
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 1s;
}

.floating-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card .card-icon.teal {
    background: rgba(10, 127, 143, 0.1);
    color: var(--primary);
}

.floating-card .card-icon.gold {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary);
}

.floating-card .card-text .card-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
}

.floating-card .card-text .card-sub {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* --- SERVICES --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-3deg);
}

.service-icon.icon-1 {
    background: rgba(10, 127, 143, 0.1);
    color: var(--primary);
}

.service-icon.icon-2 {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary);
}

.service-icon.icon-3 {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
}

.service-icon.icon-4 {
    background: rgba(0, 31, 63, 0.08);
    color: var(--navy);
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Activity Cards */
.activities-section {
    margin-top: 64px;
}

.activities-title {
    margin-bottom: 28px;
    color: var(--navy);
}

.activities-grid {
    grid-template-columns: repeat(4, 1fr);
}

.activity-card {
    text-align: center;
}

.activity-icon {
    margin: 0 auto 16px;
}

/* --- ABOUT / EXPERTISE --- */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    transition: transform 8s ease;
}

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

.about-img .exp-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.about-img .exp-badge .big {
    font-family: 'Poppins';
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.about-img .exp-badge .small {
    font-size: 0.8rem;
    color: var(--text-light);
}

.about-content h2 {
    margin-bottom: 16px;
}

.about-content>p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.cred-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 28px;
}

.cred-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(10, 127, 143, 0.08);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.25s;
}

.cred-tag:hover {
    background: rgba(10, 127, 143, 0.15);
    transform: translateY(-1px);
}

/* --- PROCESS --- */
.process {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(10, 127, 143, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.process .container {
    position: relative;
    z-index: 1;
}

.process h2 {
    color: var(--white);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
    padding: 32px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
    border-color: rgba(10, 127, 143, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    transition: transform 0.3s;
}

.step:hover .step-num {
    transform: scale(1.1);
}

.step h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -22px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
}

.step-connector--primary {
    background: var(--primary);
}

.step:last-child .step-connector {
    display: none;
}

/* --- PROGRAMS --- */
.programs {
    padding: 100px 0;
    background: var(--white);
}

.programs-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(10, 127, 143, 0.2);
}

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

/* Hide program cards beyond first 6 by default */
.programs-grid .program-card:nth-child(n+7) {
    display: none;
}

/* When expanded, show all */
.programs-grid.expanded .program-card:nth-child(n+7) {
    display: block;
}

/* View More / View Less toggle button */
.programs-toggle-wrap {
    margin-top: 36px;
}

.programs-toggle-btn {
    min-width: 200px;
}

.program-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.program-header {
    background: linear-gradient(135deg, var(--primary), var(--navy));
    padding: 24px;
    color: var(--white);
    position: relative;
}

.program-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}

.program-header h3 {
    color: var(--white);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.program-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.program-body {
    padding: 24px;
}

.program-body p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.program-topics {
    margin-bottom: 20px;
}

.program-topics li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-topics li::before {
    content: '\2713';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.program-card .btn {
    width: 100%;
    justify-content: center;
}

/* --- STATS --- */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat-num {
    font-family: 'Poppins';
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}

.stat-label {
    font-size: 0.92rem;
    opacity: 0.85;
    margin-top: 4px;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(10, 127, 143, 0.1);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 12px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info .name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.testimonial-info .role {
    font-size: 0.83rem;
    color: var(--text-light);
}

.stars {
    color: var(--secondary);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* --- CTA BANNER --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy), #0a3055);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(10, 127, 143, 0.2), transparent 60%);
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-banner .btn-gold {
    font-size: 1.05rem;
    padding: 16px 40px;
}

/* --- BLOG --- */
.blog {
    padding: 100px 0;
    background: var(--white);
}

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

.blog-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-body {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(10, 127, 143, 0.1);
    color: var(--primary);
    margin-bottom: 12px;
}

.blog-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.blog-card:hover .blog-body h3 {
    color: var(--primary);
}

.blog-body p {
    font-size: 0.9rem;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.35s;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(10, 127, 143, 0.1);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    transition: all 0.25s;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 1.3rem;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    color: var(--primary);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 127, 143, 0.06);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(10, 127, 143, 0.12);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- CONTACT --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.contact-info-card:hover {
    border-color: rgba(10, 127, 143, 0.15);
    background: rgba(10, 127, 143, 0.03);
    transform: translateX(4px);
}

.contact-info-card.compact {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(10, 127, 143, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card h4 {
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-social-wrap {
    margin-top: 24px;
}

.contact-social-title {
    margin-bottom: 12px;
    color: var(--navy);
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group label .req {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 127, 143, 0.08);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group .error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.form-group.error .error-msg {
    display: block;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.05rem;
}

/* --- FOOTER --- */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* Social Icons in Contact Section (dark theme on light bg) */
.contact .footer-social a {
    border-color: var(--border);
    color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact .footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* --- RECRUITMENT SECTION --- */
.recruitment {
    padding: 100px 0;
    background: var(--white);
}

.recruitment .section-label {
    display: inline-block;
}

.recruitment-layout {
    margin-top: 48px;
}

.recruitment-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.recruitment-heading {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 1.4rem;
}

.recruitment-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

.recruitment-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.recruitment-cta {
    margin-top: 28px;
}

.recruitment-process-section {
    margin-top: 60px;
}

.recruitment-process-title {
    margin-bottom: 32px;
    color: var(--navy);
}

.recruitment-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Light variant of process steps used inside white sections */
.step--light {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.step--light:hover {
    background: var(--white);
    border-color: rgba(10, 127, 143, 0.3);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.step--light h4 {
    color: var(--navy);
}

.step--light p {
    color: var(--text-light);
}

.recruitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.recruitment-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.recruitment-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.recruitment-feature:hover {
    background: rgba(10, 127, 143, 0.06);
    transform: translateY(-2px);
}

.recruitment-feature .feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(10, 127, 143, 0.1);
    flex-shrink: 0;
}

.recruitment-feature h4 {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.recruitment-feature p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.recruitment-process {
    margin-top: 60px;
}

.recruitment-process h3 {
    margin-bottom: 32px;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.process-flow-step {
    text-align: center;
    padding: 24px 12px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition);
}

.process-flow-step:hover {
    background: rgba(10, 127, 143, 0.06);
    transform: translateY(-3px);
}

.process-flow-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-flow-step h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.process-flow-step p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.process-flow-step .step-arrow {
    position: absolute;
    top: 50%;
    right: -14px;
    color: var(--primary);
    font-weight: 700;
    z-index: 1;
}

/* --- EMPLOYEE ENGAGEMENT SECTION --- */
.engagement {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.engagement-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(10, 127, 143, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.engagement-container {
    position: relative;
    z-index: 1;
}

.engagement-title {
    color: var(--white);
}

.engagement-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.engagement-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.engagement-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
    border-color: rgba(10, 127, 143, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.engagement-card:hover::before {
    transform: scaleX(1);
}

.engagement-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.engagement-card:hover .engagement-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.engagement-card-icon--teal {
    background: rgba(10, 127, 143, 0.2);
    color: var(--primary-light);
}

.engagement-card-icon--gold {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-light);
}

.engagement-card-icon--accent {
    background: rgba(255, 107, 53, 0.2);
    color: #ff8a5c;
}

.engagement-card-icon--indigo {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.engagement-card-icon--pink {
    background: rgba(236, 72, 153, 0.2);
    color: #f9a8d4;
}

.engagement-card-icon--emerald {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
}

.engagement-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.engagement-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.engagement-cta-wrap {
    margin-top: 40px;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 600;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* --- TABLET LANDSCAPE (1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 28px;
    }

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

    .services-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-connector {
        display: none !important;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }

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

    .blog-grid .blog-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .recruitment-content {
        grid-template-columns: 1fr;
    }

    .recruitment-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .recruitment-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-flow {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .hero .container {
        gap: 40px;
    }

    .hero-img-wrapper {
        max-width: 400px;
    }
}

/* --- TABLET PORTRAIT (768px) --- */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 0;
    }

    .hero-img-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .services-grid,
    .services-grid--3col {
        grid-template-columns: 1fr;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img img {
        height: 300px;
    }

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

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid .blog-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section-label {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 36px;
    }

    .recruitment-features-grid {
        grid-template-columns: 1fr;
    }

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

    .recruitment-img {
        height: 280px;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-flow-step .step-arrow {
        display: none;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    /* Section padding reduction */
    .services,
    .about,
    .programs,
    .testimonials,
    .blog,
    .faq,
    .contact,
    .recruitment,
    .engagement {
        padding: 72px 0;
    }

    .process,
    .stats,
    .cta-banner {
        padding: 60px 0;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .toast {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

/* --- MOBILE (480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-stat:not(:last-child)::after {
        display: none;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat .num {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 16px 8px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .recruitment-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .cta-banner .btn-gold {
        padding: 14px 32px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .service-card {
        padding: 28px 20px;
    }

    .hero-badge {
        font-size: 0.76rem;
        padding: 6px 14px;
    }

    .mobile-nav a {
        font-size: 1.1rem;
    }
}

/* --- Small Mobile (360px) --- */
@media (max-width: 360px) {
    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        justify-content: center;
    }

    .hero-img-wrapper {
        max-width: 260px;
    }

    .programs-filter {
        gap: 8px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Print Styles --- */
@media print {

    .header,
    .mobile-nav,
    .back-to-top,
    .scroll-progress,
    .hero::before,
    .hero::after {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }
}