/* ============================================================
   LNINFOTECH - Main Stylesheet
   Font: Playfair Display (headings) + DM Sans (body)
   Theme: Trustworthy, Academic, Professional - Navy + Gold
   ============================================================ */

:root {
    --navy:      #0d2240;
    --navy-mid:  #173461;
    --gold:      #c9920a;
    --gold-lt:   #f0b429;
    --gold-pale: #fdf3dc;
    --cream:     #faf8f4;
    --text:      #1a1a2e;
    --muted:     #6b7280;
    --border:    #e5e7eb;
    --white:     #ffffff;
    --success:   #15803d;
    --radius:    10px;
    --shadow:    0 4px 24px rgba(13,34,64,0.10);
    --shadow-lg: 0 12px 48px rgba(13,34,64,0.16);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
img { max-width: 100%; height: auto; }

/* ---- Top Bar ---- */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 7px 0;
}
.topbar a { color: rgba(255,255,255,0.8); }
.topbar a:hover { color: var(--gold-lt); }

/* ---- Navbar ---- */
.main-navbar {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(13,34,64,0.08);
    padding: 0;
}
.navbar-brand { padding: 12px 0; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--gold-lt);
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 900;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--gold);
}
.brand-main { display: block; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.nav-link { color: var(--text) !important; font-weight: 500; font-size: 14.5px; padding: 24px 10px !important; border-bottom: 3px solid transparent; transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--navy) !important; border-bottom-color: var(--gold); }
.btn-apply {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
    color: var(--navy) !important;
    font-weight: 600; font-size: 14px;
    padding: 9px 22px !important;
    border-radius: 50px;
    border: none;
    transition: all .25s;
    box-shadow: 0 3px 12px rgba(201,146,10,0.3);
}
.btn-apply:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,146,10,0.4); }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e4a8a 100%);
    color: var(--white);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(201,146,10,0.2);
    border: 1px solid rgba(240,180,41,0.4);
    color: var(--gold-lt);
    font-size: 13px; font-weight: 600;
    padding: 5px 14px; border-radius: 50px;
    margin-bottom: 20px; letter-spacing: .3px;
}
.hero h1 { font-size: clamp(32px, 5vw, 56px); color: var(--white); margin-bottom: 18px; }
.hero h1 span { color: var(--gold-lt); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 520px; margin-bottom: 32px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    color: var(--navy); font-weight: 700; font-size: 15px;
    padding: 13px 30px; border-radius: 50px; border: none;
    box-shadow: 0 6px 24px rgba(201,146,10,0.35);
    transition: all .25s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,146,10,0.45); color: var(--navy); }
.btn-hero-secondary {
    background: transparent;
    color: var(--white); font-weight: 600; font-size: 15px;
    padding: 12px 28px; border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all .25s;
}
.btn-hero-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 28px;
    margin-top: 44px; padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--gold-lt); line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 3px; }

/* Hero right card */
.hero-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 32px;
}
.hero-card h4 { color: var(--white); font-size: 20px; margin-bottom: 20px; }
.course-pill {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; padding: 12px 16px; margin-bottom: 10px;
    transition: background .2s;
}
.course-pill:hover { background: rgba(255,255,255,0.14); }
.course-pill-icon { font-size: 22px; }
.course-pill-name { font-weight: 600; color: var(--white); font-size: 14px; }
.course-pill-dur { font-size: 12px; color: rgba(255,255,255,0.6); }
.hero-card-cta {
    background: var(--gold); color: var(--navy);
    font-weight: 700; font-size: 14px;
    width: 100%; padding: 12px;
    border-radius: 10px; border: none; margin-top: 6px;
    transition: all .2s; cursor: pointer;
}
.hero-card-cta:hover { background: var(--gold-lt); }

/* ---- Section Utilities ---- */
.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--gold-pale); color: var(--gold);
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 3.5vw, 38px); color: var(--navy); margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 550px; }
section { padding: 80px 0; }
section.bg-cream { background: var(--cream); }
.divider { width: 56px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 2px; margin-bottom: 16px; }

/* ---- Course Cards ---- */
.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
    height: 100%;
    box-shadow: 0 2px 8px rgba(13,34,64,0.06);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.course-card-header {
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.course-card-icon { font-size: 36px; margin-bottom: 12px; }
.course-card-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--white); margin-bottom: 4px; }
.course-card-subtitle { font-size: 13px; color: rgba(255,255,255,0.65); }
.course-card-body { padding: 24px 28px; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.course-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.course-meta-item i { color: var(--gold); }
.course-topics { list-style: none; padding: 0; margin-bottom: 20px; }
.course-topics li { font-size: 14px; padding: 5px 0; color: var(--text); border-bottom: 1px dashed var(--border); }
.course-topics li:last-child { border-bottom: none; }
.course-topics li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.course-fee { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.fee-amount { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); font-weight: 700; }
.fee-label { font-size: 12px; color: var(--muted); }
.btn-enroll {
    background: var(--navy); color: var(--white);
    font-size: 13px; font-weight: 600;
    padding: 8px 20px; border-radius: 50px; border: none;
    transition: all .2s; cursor: pointer;
}
.btn-enroll:hover { background: var(--gold); color: var(--navy); }

/* ---- Feature / Why Us Cards ---- */
.feature-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 14px; padding: 28px; text-align: center;
    transition: all .3s; height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--gold); transform: translateY(-3px); }
.feature-icon {
    width: 64px; height: 64px;
    background: var(--gold-pale); color: var(--gold);
    border-radius: 16px; font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.feature-card h5 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---- Service Cards ---- */
.service-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px; height: 100%;
    transition: all .3s;
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--gold-lt); border-radius: 14px; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-card h5 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
    font-size: 12px; background: var(--gold-pale); color: var(--gold);
    padding: 3px 10px; border-radius: 50px; font-weight: 500;
}

/* ---- Testimonial Cards ---- */
.testimonial-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px; height: 100%;
}
.testimonial-stars { color: var(--gold-lt); font-size: 14px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--text); font-style: italic; margin-bottom: 18px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--gold-lt); font-weight: 700; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.testimonial-course { font-size: 12px; color: var(--muted); }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 70px 0; text-align: center; color: var(--white);
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); color: var(--white); margin-bottom: 14px; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.btn-cta-white {
    background: var(--white); color: var(--navy);
    font-weight: 700; font-size: 15px;
    padding: 13px 32px; border-radius: 50px; border: none;
    transition: all .25s; display: inline-block;
}
.btn-cta-white:hover { background: var(--gold-lt); color: var(--navy); transform: translateY(-2px); }
.btn-cta-outline {
    background: transparent; color: var(--white);
    font-weight: 600; font-size: 15px;
    padding: 12px 30px; border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all .25s; display: inline-block; margin-left: 12px;
}
.btn-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* ---- Admission Form ---- */
.admission-form-section {
    background: var(--cream); padding: 80px 0;
}
.form-card {
    background: var(--white); border-radius: 20px;
    padding: 48px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.form-card h2 { color: var(--navy); margin-bottom: 8px; }
.form-card p.lead { color: var(--muted); margin-bottom: 32px; font-size: 16px; }
.form-label { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid var(--border); border-radius: 10px;
    padding: 10px 14px; font-size: 15px; color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,146,10,0.1); outline: none;
}
.btn-submit {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--white); font-weight: 700; font-size: 16px;
    padding: 14px 40px; border-radius: 50px; border: none;
    width: 100%; transition: all .25s; cursor: pointer;
    box-shadow: 0 4px 16px rgba(13,34,64,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,34,64,0.4); }

/* ---- Certificate Verify ---- */
.verify-section { padding: 80px 0; background: var(--cream); }
.verify-card {
    background: var(--white); border-radius: 20px;
    padding: 48px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
    border: 1px solid var(--border);
}
.verify-result {
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 14px; padding: 28px; margin-top: 24px;
}
.verify-result.invalid { background: #fef2f2; border-color: #fecaca; }
.cert-detail { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.cert-detail:last-child { border-bottom: none; }
.cert-detail strong { color: var(--navy); min-width: 140px; }

/* ---- Contact ---- */
.contact-info-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 16px; padding: 36px; color: var(--white); height: 100%;
}
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--gold-lt); font-size: 18px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-title { font-weight: 600; font-size: 14px; color: rgba(255,255,255,0.7); }
.contact-item-value { font-size: 15px; color: var(--white); }

/* ---- About Page ---- */
.about-highlight {
    background: var(--gold-pale); border-left: 4px solid var(--gold);
    padding: 20px 24px; border-radius: 0 10px 10px 0;
    font-size: 15px; color: var(--text); line-height: 1.8;
    margin: 24px 0;
}
.team-card {
    text-align: center; padding: 28px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 16px; transition: all .3s;
}
.team-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.team-avatar {
    width: 88px; height: 88px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--gold-lt); font-size: 32px; font-weight: 900;
    font-family: 'Playfair Display', serif;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    border: 3px solid var(--gold);
}

/* ---- Gallery ---- */
.gallery-img {
    border-radius: 12px; overflow: hidden;
    border: 3px solid var(--border);
    transition: all .3s; cursor: pointer;
}
.gallery-img:hover { border-color: var(--gold); transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-placeholder {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    height: 200px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 13px;
}
.gallery-placeholder i { font-size: 36px; margin-bottom: 8px; color: var(--gold); }

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    padding: 60px 0; color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: 38px; margin-bottom: 8px; }
.breadcrumb-item a { color: var(--gold-lt); }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---- Footer ---- */
.site-footer { background: var(--navy); }
.footer-top { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.brand-icon-footer {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1); border: 1px solid var(--gold);
    color: var(--gold-lt);
    font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 900;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.footer-brand h4 { color: var(--white); font-size: 18px; margin: 0; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.footer-reg { color: var(--gold-lt); font-size: 12px; margin-top: 10px; }
.footer-social a { color: rgba(255,255,255,0.6); font-size: 18px; transition: color .2s; }
.footer-social a:hover { color: var(--gold-lt); }
.footer-heading { color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--gold-lt); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 10px; color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact li i { color: var(--gold-lt); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--gold-lt); }
.btn-footer-cta {
    background: var(--gold); color: var(--navy);
    font-weight: 700; font-size: 13px; padding: 9px 22px;
    border-radius: 50px; transition: all .2s;
}
.btn-footer-cta:hover { background: var(--gold-lt); color: var(--navy); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 13px; margin: 0; }

/* ---- Alert Styles ---- */
.alert-success-custom {
    background: #f0fdf4; border: 1px solid #86efac;
    color: var(--success); border-radius: 10px; padding: 14px 20px; margin-bottom: 20px;
}
.alert-error-custom {
    background: #fef2f2; border: 1px solid #fca5a5;
    color: #dc2626; border-radius: 10px; padding: 14px 20px; margin-bottom: 20px;
}

/* ---- Announcements ---- */
.announcement-bar {
    background: var(--gold-pale); border-bottom: 1px solid rgba(201,146,10,0.2);
    padding: 10px 0; overflow: hidden;
}
.marquee-text { display: flex; gap: 60px; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-text span { font-size: 13.5px; color: var(--navy); font-weight: 500; }
.marquee-text span i { color: var(--gold); margin-right: 5px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   RESPONSIVE — Tablet (max 991px)
   ============================================================ */
@media (max-width: 991px) {
    /* Navbar */
    .nav-link { padding: 10px 0 !important; border-bottom: none !important; }
    .btn-apply { margin-top: 8px; display: inline-block; }
    .main-navbar .navbar-collapse { padding: 12px 0 16px; border-top: 1px solid var(--border); margin-top: 8px; }

    /* Hero */
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero-card { margin-top: 36px; }
    .hero-stats { gap: 18px; padding-top: 24px; margin-top: 28px; }
    .hero-stat-num { font-size: 26px; }

    /* Sections */
    section { padding: 52px 0; }

    /* Course cards — 2 per row */
    .course-card-header { padding: 20px 20px 14px; }
    .course-card-body { padding: 18px 20px; }

    /* Contact info card */
    .contact-info-card { margin-bottom: 24px; }

    /* CTA buttons */
    .btn-cta-outline { margin-left: 0; margin-top: 12px; display: inline-block; }
}

/* ============================================================
   RESPONSIVE — Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Top bar — hide email, show only phone */
    .topbar .ms-3 { display: none !important; }

    /* Hero */
    .hero { padding: 40px 0 32px; }
    .hero h1 { font-size: 28px; line-height: 1.3; }
    .hero p { font-size: 15px; margin-bottom: 24px; }
    .hero-btns { gap: 10px; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; padding: 13px 20px; }
    .hero-stats { gap: 16px; }
    .hero-stat-num { font-size: 24px; }
    .hero-stat-label { font-size: 12px; }
    .hero-card { padding: 20px; margin-top: 28px; }
    .hero-card h4 { font-size: 17px; }
    .course-pill { padding: 10px 12px; }

    /* Sections */
    section { padding: 40px 0; }
    .section-title { font-size: 24px; }
    .section-sub { font-size: 14px; }
    .divider { margin-bottom: 12px; }

    /* Announcement bar */
    .announcement-bar { font-size: 12px; }

    /* Feature cards — 1 per row on small mobile, 2 on larger */
    .feature-card { padding: 20px; }
    .feature-icon { width: 52px; height: 52px; font-size: 22px; }
    .feature-card h5 { font-size: 15px; }
    .feature-card p { font-size: 13px; }

    /* Course cards */
    .course-card-title { font-size: 20px; }
    .course-card-icon { font-size: 28px; }

    /* Service cards */
    .service-card { padding: 22px; }
    .service-card h5 { font-size: 16px; }

    /* Testimonial */
    .testimonial-card { padding: 20px; }
    .testimonial-text { font-size: 14px; }

    /* Forms */
    .form-card { padding: 22px 18px; }
    .form-card h2 { font-size: 22px; }
    .admission-form-section { padding: 40px 0; }

    /* Verify page */
    .verify-card { padding: 20px 16px; }
    .verify-card h3 { font-size: 20px; }
    .cert-detail { flex-direction: column; gap: 2px; }
    .cert-detail strong { min-width: unset; }

    /* Contact */
    .contact-info-card { padding: 24px; }
    .contact-item { gap: 10px; }

    /* About page */
    .team-avatar { width: 72px; height: 72px; font-size: 26px; }
    .about-highlight { padding: 14px 16px; font-size: 14px; }

    /* Gallery */
    .gallery-placeholder { height: 150px; }

    /* Page hero */
    .page-hero { padding: 36px 0; }
    .page-hero h1 { font-size: 26px; }

    /* CTA Banner */
    .cta-banner { padding: 44px 0; }
    .cta-banner h2 { font-size: 22px; }
    .cta-banner p { font-size: 15px; }
    .btn-cta-white, .btn-cta-outline {
        display: block; width: 100%; max-width: 280px;
        margin: 8px auto 0; text-align: center;
    }

    /* Footer */
    .footer-top { padding: 40px 0 28px; }
    .footer-brand h4 { font-size: 16px; }
    .footer-desc { font-size: 13px; }
    .footer-bottom { text-align: center; }
    .footer-bottom .d-flex { flex-direction: column; gap: 4px; }

    /* Tables — horizontal scroll */
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table { min-width: 480px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero-card { display: none; } /* Hide course card on very small screens */
    .hero-stats > div { min-width: 80px; }
    .section-title { font-size: 22px; }
    .brand-main { font-size: 17px; }
    .brand-sub { font-size: 10px; }
    .brand-icon { width: 38px; height: 38px; font-size: 15px; }
    .form-card { padding: 18px 14px; }
    .course-card-body { padding: 14px 16px; }
    .fee-amount { font-size: 18px; }
    .page-hero h1 { font-size: 22px; }

    /* Stack hero buttons */
    .hero-btns { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { display: block; text-align: center; }
}

/* ============================================================
   RESPONSIVE — Large screens / Wide desktop (min 1400px)
   ============================================================ */
@media (min-width: 1400px) {
    .hero h1 { font-size: 58px; }
    .section-title { font-size: 40px; }
    .hero p { font-size: 19px; }
}

/* ---- Animations ---- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Touch-friendly improvements ---- */
@media (hover: none) {
    /* On touch devices remove hover transforms to prevent sticky hover */
    .course-card:hover { transform: none; }
    .feature-card:hover { transform: none; }
    .btn-hero-primary:hover { transform: none; }
    .btn-apply:hover { transform: none; }
}
