/* ============================================
   MEDI COLLEGE — Premium Design System
   All pages share this single stylesheet
   ============================================ */

/* ── CSS Variables ── */
:root {
    --navy: #1a2d5e;
    --navy-dark: #0f1d40;
    --navy-light: #2a4580;
    --orange: #f37021;
    --orange-light: #ff8c42;
    --orange-dark: #d45e15;
    --teal: #17a2b8;
    --green: #28a745;
    --white: #ffffff;
    --off-white: #f7f8fc;
    --bg: #f4f6fb;
    --text: #2d3748;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --dark: #0b1120;
    --dark-2: #111b30;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
    --transition-slow: 0.6s cubic-bezier(.4,0,.2,1);
}

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

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

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition: var(--transition); }
ul { list-style:none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Preloader ── */
#preloader {
    position:fixed; inset:0; background:var(--navy-dark);
    z-index:99999; display:flex; align-items:center; justify-content:center;
    transition: opacity .5s, visibility .5s;
}
#preloader.loaded { opacity:0; visibility:hidden; }
.preloader-inner { text-align:center; }
.preloader-logo-img { height:50px; animation: pulse 1.2s ease-in-out infinite; margin:0 auto 12px; }
.preloader-text { color:rgba(255,255,255,.7); font-size:.85rem; letter-spacing:2px; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

/* ── Top Bar ── */
.top-bar {
    background: var(--navy-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
    z-index: 1001;
}
.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-item {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,.75); font-size:.8rem;
}
.top-bar-item i { color: var(--orange); font-size:.72rem; }
.top-bar-item:hover { color: var(--white); }
.top-bar-right {
    display: flex; align-items: center; gap: 8px;
}
.top-bar-right a {
    width:30px; height:30px; border-radius:50%;
    background: rgba(255,255,255,.08);
    display:flex; align-items:center; justify-content:center;
    color: rgba(255,255,255,.65); font-size:.78rem;
}
.top-bar-right a:hover {
    background: var(--orange); color:var(--white); transform:translateY(-2px);
}

/* ── Navbar ── */
.navbar {
    position: sticky; top:0; z-index:1000;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-content {
    display:flex; align-items:center; justify-content:space-between;
    padding: 10px 0;
}
.nav-logo { display:flex; align-items:center; gap:0; }
.nav-logo img { height:48px; }
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-link {
    padding:8px 15px; font-size:.88rem; font-weight:500;
    color: var(--text); border-radius: var(--radius-sm);
    position: relative;
}
.nav-link::after {
    content:''; position:absolute; bottom:4px; left:50%; transform:translateX(-50%);
    width:0; height:2.5px; background:var(--orange); border-radius:2px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width:22px; }
.nav-actions { display:flex; align-items:center; gap:14px; }

/* ── Buttons ── */
.btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 28px; font-family:var(--font); font-size:.88rem; font-weight:600;
    border-radius:var(--radius-full); cursor:pointer; border:none;
    transition:var(--transition); position:relative; overflow:hidden;
}
.btn::before {
    content:''; position:absolute; top:0; left:-100%;
    width:100%; height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
    transition:.5s;
}
.btn:hover::before { left:100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color:var(--white); box-shadow:0 4px 15px rgba(26,45,94,.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 25px rgba(26,45,94,.4); }
.btn-accent {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color:var(--white); box-shadow:0 4px 15px rgba(243,112,33,.3);
}
.btn-accent:hover { transform:translateY(-2px); box-shadow:0 6px 25px rgba(243,112,33,.4); }
.btn-outline {
    background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.45);
}
.btn-outline:hover { background:rgba(255,255,255,.1); border-color:var(--white); transform:translateY(-2px); }
.btn-outline-dark {
    background:transparent; color:var(--navy); border:2px solid var(--border);
}
.btn-outline-dark:hover { border-color:var(--navy); background:rgba(26,45,94,.04); }
.btn-white {
    background:var(--white); color:var(--navy); box-shadow:0 4px 15px rgba(0,0,0,.1);
}
.btn-white:hover { transform:translateY(-2px); box-shadow:0 6px 25px rgba(0,0,0,.15); }
.btn-outline-white {
    background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { background:rgba(255,255,255,.1); border-color:var(--white); }
.btn-lg { padding:14px 34px; font-size:.92rem; }
.btn-block { display:flex; justify-content:center; width:100%; }
.btn-nav { padding:9px 22px; font-size:.82rem; }

/* ── Mobile Toggle ── */
.mobile-toggle {
    display:none; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:4px;
}
.mobile-toggle .bar {
    display:block; width:24px; height:2.5px; background:var(--dark);
    border-radius:2px; transition:var(--transition);
}

/* ── Mobile Menu ── */
.mobile-menu {
    position:fixed; top:0; right:-340px; width:320px; height:100vh;
    background:var(--white); z-index:9999;
    transition:var(--transition-slow);
    display:flex; flex-direction:column;
    box-shadow:-10px 0 40px rgba(0,0,0,.15);
}
.mobile-menu.open { right:0; }
.mobile-menu-header {
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 20px; border-bottom:1px solid var(--border);
}
.mobile-menu-header img { height:36px; }
.mobile-close {
    width:36px; height:36px; border-radius:50%; border:none;
    background:var(--bg); color:var(--text); font-size:1rem;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.mobile-close:hover { background:#fee2e2; color:#dc2626; }
.mobile-nav-links { flex:1; padding:20px; overflow-y:auto; }
.mobile-nav-links li { margin-bottom:2px; }
.mobile-link {
    display:block; padding:13px 16px; font-size:.95rem; font-weight:500;
    color:var(--text); border-radius:var(--radius-sm);
}
.mobile-link:hover { background:rgba(26,45,94,.06); color:var(--navy); padding-left:22px; }
.mobile-menu-footer {
    padding:20px; border-top:1px solid var(--border);
}
.mobile-contact { margin-top:14px; display:flex; flex-direction:column; gap:6px; }
.mobile-contact a { display:flex; align-items:center; gap:7px; font-size:.82rem; color:var(--text-light); }
.mobile-contact a i { color:var(--navy); }
.mobile-overlay {
    position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:9998;
    opacity:0; visibility:hidden; transition:var(--transition);
}
.mobile-overlay.active { opacity:1; visibility:visible; }

/* ── Page Banner ── */
.page-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--navy);
}
.page-banner-bg {
    position:absolute; inset:0; background-size:cover; background-position:center;
    opacity:.25;
}
.page-banner-overlay {
    position:absolute; inset:0;
    background: linear-gradient(135deg, rgba(26,45,94,.92), rgba(15,29,64,.88));
}
.page-banner-content {
    position:relative; z-index:2; padding:40px 20px;
}
.page-banner h1 {
    font-family:var(--font-heading); font-size:2.8rem; font-weight:800;
    color:var(--white); margin-bottom:12px;
}
.page-banner .breadcrumb {
    display:flex; align-items:center; justify-content:center; gap:8px;
    font-size:.9rem; color:rgba(255,255,255,.75);
}
.page-banner .breadcrumb a { color:var(--orange); }
.page-banner .breadcrumb a:hover { color:var(--white); }

/* ── Hero (Home only) ── */
.hero {
    position:relative; min-height:100vh; display:flex; align-items:center;
    overflow:hidden;
}
.hero-slider { position:absolute; inset:0; }
.hero-slide {
    position:absolute; inset:0; background-size:cover; background-position:center;
    opacity:0; transform:scale(1.08); transition:opacity 1.5s ease, transform 8s ease;
}
.hero-slide.active { opacity:1; transform:scale(1); }
.hero-overlay {
    position:absolute; inset:0;
    background: linear-gradient(135deg,rgba(26,45,94,.88),rgba(15,29,64,.82));
}
.hero-container { position:relative; z-index:2; }
.hero-content { max-width:720px; padding:40px 0; }
.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(255,255,255,.1); backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.18);
    padding:7px 18px; border-radius:var(--radius-full);
    color:var(--white); font-size:.78rem; font-weight:500;
    margin-bottom:22px; animation:fadeInDown .8s ease;
}
.hero-badge i { color:var(--orange); }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
.hero-title {
    font-family:var(--font-heading); font-size:3.4rem; font-weight:800;
    color:var(--white); line-height:1.15; margin-bottom:18px;
    animation:fadeInUp .8s ease .2s both;
}
.accent-text { color:var(--orange); }
.hero-subtitle {
    font-size:1.05rem; color:rgba(255,255,255,.82); line-height:1.8;
    margin-bottom:30px; max-width:580px; animation:fadeInUp .8s ease .4s both;
}
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero-stats {
    display:flex; align-items:center; gap:30px;
    margin-bottom:36px; animation:fadeInUp .8s ease .6s both;
}
.stat-item { text-align:center; }
.stat-number {
    font-family:var(--font-heading); font-size:2.4rem; font-weight:800; color:var(--white);
}
.stat-suffix { font-family:var(--font-heading); font-size:1.8rem; font-weight:800; color:var(--orange); }
.stat-label { display:block; font-size:.78rem; font-weight:500; color:rgba(255,255,255,.65); margin-top:3px; }
.stat-divider { width:1px; height:48px; background:rgba(255,255,255,.18); }
.hero-cta { display:flex; align-items:center; gap:14px; flex-wrap:wrap; animation:fadeInUp .8s ease .8s both; }
.hero-slider-controls {
    position:absolute; bottom:90px; left:50%; transform:translateX(-50%);
    display:flex; gap:10px; z-index:3;
}
.slider-dot {
    width:12px; height:12px; border-radius:50%; border:2px solid rgba(255,255,255,.45);
    background:transparent; cursor:pointer; transition:var(--transition);
}
.slider-dot.active { background:var(--orange); border-color:var(--orange); transform:scale(1.15); }
.scroll-indicator {
    position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:7px; z-index:3;
    color:rgba(255,255,255,.55); font-size:.68rem; font-weight:500;
    letter-spacing:2px; text-transform:uppercase;
}
.mouse { width:22px; height:36px; border:2px solid rgba(255,255,255,.35); border-radius:11px; position:relative; }
.wheel {
    width:3px; height:7px; background:var(--orange); border-radius:2px;
    position:absolute; top:6px; left:50%; transform:translateX(-50%);
    animation:scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel { 0%,100%{opacity:1;transform:translate(-50%,0)} 50%{opacity:.2;transform:translate(-50%,12px)} }

/* ── Trusted Strip ── */
.trusted-strip {
    background:var(--white); padding:48px 0; position:relative; z-index:5;
    margin-top:-36px; border-radius:var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow:0 -10px 40px rgba(0,0,0,.06);
}
.trusted-content { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.trusted-item { display:flex; align-items:flex-start; gap:14px; padding:18px; border-radius:var(--radius-md); transition:var(--transition); }
.trusted-item:hover { background:var(--bg); }
.trusted-icon {
    width:52px; height:52px; border-radius:var(--radius-md); flex-shrink:0;
    overflow:hidden; display:flex; align-items:center; justify-content:center;
    background:rgba(26,45,94,.06);
}
.trusted-icon img { width:32px; height:32px; object-fit:contain; }
.trusted-icon i { font-size:1.2rem; color:var(--navy); }
.trusted-text h3 { font-size:.98rem; font-weight:700; color:var(--dark); margin-bottom:3px; }
.trusted-text p { font-size:.82rem; color:var(--text-light); line-height:1.5; }

/* ── Section Header ── */
.section-header { text-align:center; max-width:680px; margin:0 auto 50px; }
.section-tag {
    display:inline-flex; align-items:center; gap:6px;
    background:rgba(26,45,94,.07); color:var(--navy);
    padding:5px 16px; border-radius:var(--radius-full);
    font-size:.78rem; font-weight:600; margin-bottom:14px; letter-spacing:.5px;
}
.section-title {
    font-family:var(--font-heading); font-size:2.3rem; font-weight:800;
    color:var(--dark); line-height:1.2; margin-bottom:14px;
}
.section-desc { font-size:1rem; color:var(--text-light); line-height:1.7; }

/* ── About Section ── */
.about-section { padding:90px 0; background:var(--bg); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-image { position:relative; }
.about-img-main {
    border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg);
}
.about-img-main img { width:100%; height:400px; object-fit:cover; }
.about-img-badge {
    position:absolute; bottom:24px; right:-24px;
    background:linear-gradient(135deg,var(--orange),var(--orange-light));
    color:var(--white); padding:18px 22px; border-radius:var(--radius-md);
    text-align:center; box-shadow:var(--shadow-lg); z-index:2;
}
.badge-number { font-family:var(--font-heading); font-size:1.9rem; font-weight:800; display:block; line-height:1; }
.badge-text { font-size:.68rem; font-weight:500; line-height:1.3; }
.about-img-secondary {
    position:absolute; bottom:-20px; left:-20px;
    width:180px; border-radius:var(--radius-md);
    overflow:hidden; box-shadow:var(--shadow-md); border:4px solid var(--white);
}
.about-img-secondary img { width:100%; height:140px; object-fit:cover; }
.about-heading {
    font-family:var(--font-heading); font-size:1.6rem; font-weight:700;
    color:var(--dark); margin-bottom:18px;
}
.about-text { font-size:.92rem; color:var(--text-light); line-height:1.8; margin-bottom:14px; }
.about-features { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:22px 0 28px; }
.feature-item { display:flex; align-items:center; gap:9px; }
.feature-item i { color:var(--orange); font-size:.9rem; flex-shrink:0; }
.feature-item span { font-size:.85rem; font-weight:500; color:var(--text); }

/* ── Mission & Vision ── */
.mission-section { padding:80px 0; background:var(--white); }
.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.mission-card {
    padding:42px 36px; background:var(--bg); border-radius:var(--radius-lg);
    border:1px solid var(--border); transition:var(--transition); position:relative; overflow:hidden;
}
.mission-card::before {
    content:''; position:absolute; top:0; left:0; width:100%; height:4px;
    background:linear-gradient(90deg,var(--navy),var(--navy-light));
}
.mission-card.vision-card::before {
    background:linear-gradient(90deg,var(--orange),var(--orange-light));
}
.mission-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:transparent; }
.mission-icon {
    width:58px; height:58px; border-radius:var(--radius-md);
    background:linear-gradient(135deg,var(--navy),var(--navy-light));
    display:flex; align-items:center; justify-content:center;
    color:var(--white); font-size:1.4rem; margin-bottom:18px;
}
.vision-card .mission-icon {
    background:linear-gradient(135deg,var(--orange),var(--orange-light));
}
.mission-card h3 {
    font-family:var(--font-heading); font-size:1.4rem; font-weight:700;
    color:var(--dark); margin-bottom:14px;
}
.mission-card p { font-size:.88rem; color:var(--text-light); line-height:1.8; }

/* ── Courses ── */
.courses-section { padding:90px 0; background:var(--bg); }
.courses-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.course-card {
    background:var(--white); border-radius:var(--radius-lg);
    overflow:hidden; border:1px solid var(--border);
    transition:var(--transition); display:flex; flex-direction:column;
}
.course-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-xl); border-color:transparent; }
.course-img {
    width:100%; height:200px; overflow:hidden; position:relative;
}
.course-img img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.course-card:hover .course-img img { transform:scale(1.06); }
.course-badge {
    position:absolute; top:12px; left:12px;
    background:var(--orange); color:var(--white);
    padding:3px 12px; border-radius:var(--radius-full);
    font-size:.68rem; font-weight:700; letter-spacing:.3px;
}
.course-body { padding:20px; flex:1; display:flex; flex-direction:column; }
.course-title {
    font-family:var(--font-heading); font-size:1.05rem; font-weight:700;
    color:var(--dark); margin-bottom:10px; line-height:1.3;
}
.course-desc {
    font-size:.82rem; color:var(--text-light); line-height:1.7;
    flex:1; margin-bottom:16px;
}
.course-footer {
    border-top:1px solid var(--border); padding-top:14px;
    display:flex; align-items:center; justify-content:space-between;
}
.course-meta { display:flex; gap:12px; }
.course-meta span { display:flex; align-items:center; gap:4px; font-size:.72rem; color:var(--text-lighter); }
.course-meta span i { color:var(--navy); font-size:.65rem; }
.course-link {
    display:inline-flex; align-items:center; gap:5px;
    font-size:.8rem; font-weight:600; color:var(--navy);
}
.course-link:hover { color:var(--orange); gap:8px; }

/* ── Why Section ── */
.why-section { padding:90px 0; background:var(--white); }
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-card {
    padding:36px 28px; background:var(--bg); border-radius:var(--radius-lg);
    border:1px solid var(--border); transition:var(--transition);
    position:relative; overflow:hidden;
}
.why-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:transparent; background:var(--white); }
.why-number {
    position:absolute; top:12px; right:18px;
    font-family:var(--font-heading); font-size:2.8rem; font-weight:900;
    color:rgba(26,45,94,.04); line-height:1;
}
.why-icon {
    width:52px; height:52px; border-radius:var(--radius-md);
    background:linear-gradient(135deg,var(--navy),var(--navy-light));
    display:flex; align-items:center; justify-content:center;
    color:var(--white); font-size:1.15rem; margin-bottom:18px;
}
.why-card h3 {
    font-family:var(--font-heading); font-size:1.08rem; font-weight:700;
    color:var(--dark); margin-bottom:10px; line-height:1.3;
}
.why-card p { font-size:.85rem; color:var(--text-light); line-height:1.7; }

/* ── Stats ── */
.stats-section {
    position:relative; padding:80px 0; overflow:hidden;
}
.stats-bg {
    position:absolute; inset:0; background-size:cover; background-position:center;
}
.stats-overlay {
    position:absolute; inset:0;
    background:linear-gradient(135deg,rgba(26,45,94,.92),rgba(15,29,64,.88));
}
.stats-grid {
    display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
    position:relative; z-index:2;
}
.stats-card {
    text-align:center; padding:36px 18px;
    background:rgba(255,255,255,.07); backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.12); border-radius:var(--radius-lg);
    transition:var(--transition);
}
.stats-card:hover { background:rgba(255,255,255,.14); transform:translateY(-3px); }
.stats-icon { font-size:1.8rem; color:var(--orange); margin-bottom:14px; }
.stats-number { font-family:var(--font-heading); font-size:2.6rem; font-weight:800; color:var(--white); margin-bottom:6px; }
.stats-label { font-size:.82rem; font-weight:500; color:rgba(255,255,255,.75); }

/* ── Gallery ── */
.gallery-section { padding:90px 0; background:var(--white); }
.gallery-grid {
    display:grid; grid-template-columns:repeat(4,1fr);
    gap:14px;
}
.gallery-item {
    position:relative; border-radius:var(--radius-md);
    overflow:hidden; cursor:pointer; aspect-ratio:1/1;
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to top,rgba(26,45,94,.6),transparent);
    opacity:0; transition:var(--transition);
    display:flex; align-items:flex-end; padding:16px;
}
.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-caption { color:var(--white); font-weight:600; font-size:.85rem; }

/* ── CTA ── */
.cta-section {
    padding:70px 0;
    background:linear-gradient(135deg,var(--navy),var(--navy-light));
    position:relative; overflow:hidden;
}
.cta-section::before {
    content:''; position:absolute; top:-50%; right:-15%;
    width:400px; height:400px; border-radius:50%;
    background:rgba(255,255,255,.04);
}
.cta-content { text-align:center; position:relative; z-index:2; }
.cta-content h2 {
    font-family:var(--font-heading); font-size:2.2rem; font-weight:800;
    color:var(--white); margin-bottom:14px;
}
.cta-content p {
    font-size:1rem; color:rgba(255,255,255,.82);
    max-width:560px; margin:0 auto 28px; line-height:1.7;
}
.cta-buttons { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ── Contact ── */
.contact-section { padding:90px 0; background:var(--bg); }
.contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:36px; margin-bottom:50px; }
.contact-info { display:flex; flex-direction:column; gap:14px; }
.contact-card {
    display:flex; align-items:flex-start; gap:14px;
    padding:22px; background:var(--white); border-radius:var(--radius-md);
    border:1px solid var(--border); transition:var(--transition);
}
.contact-card:hover { transform:translateX(4px); box-shadow:var(--shadow-md); }
.contact-card-icon {
    width:46px; height:46px; border-radius:var(--radius-sm);
    background:rgba(26,45,94,.07);
    display:flex; align-items:center; justify-content:center;
    color:var(--navy); font-size:1rem; flex-shrink:0;
}
.contact-card-content h3 {
    font-size:.98rem; font-weight:700; color:var(--dark); margin-bottom:4px;
}
.contact-card-content p,
.contact-card-content a { font-size:.85rem; color:var(--text-light); line-height:1.6; }
.contact-card-content a:hover { color:var(--navy); }
.contact-socials { display:flex; gap:8px; margin-top:4px; }
.contact-socials a {
    width:36px; height:36px; border-radius:50%;
    background:rgba(26,45,94,.07);
    display:flex; align-items:center; justify-content:center;
    color:var(--navy); font-size:.85rem;
}
.contact-socials a:hover { background:var(--navy); color:var(--white); transform:translateY(-2px); }
.contact-form-wrap {
    background:var(--white); border-radius:var(--radius-lg);
    padding:36px; border:1px solid var(--border); box-shadow:var(--shadow-xs);
}
.contact-form h3 {
    font-family:var(--font-heading); font-size:1.4rem; font-weight:700;
    color:var(--dark); margin-bottom:4px;
}
.contact-form > p { font-size:.85rem; color:var(--text-light); margin-bottom:24px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:.8rem; font-weight:600; color:var(--text); margin-bottom:5px; }
.form-group input,
.form-group select,
.form-group textarea {
    width:100%; padding:11px 14px; font-family:var(--font); font-size:.88rem;
    color:var(--text); background:var(--bg); border:1px solid var(--border);
    border-radius:var(--radius-sm); transition:var(--transition); outline:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color:var(--navy); box-shadow:0 0 0 3px rgba(26,45,94,.1); background:var(--white);
}
.form-group textarea { resize:vertical; min-height:90px; }
.form-group select {
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 14px center;
}
.map-container { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); }

/* ── Footer ── */
.footer {
    background:var(--dark); color:rgba(255,255,255,.8);
    background-image:url('images/bg-footer.jpg'); background-size:cover; background-position:center;
    position:relative;
}
.footer::before {
    content:''; position:absolute; inset:0;
    background:linear-gradient(135deg,rgba(11,17,32,.94),rgba(17,27,48,.96));
}
.footer > .container { position:relative; z-index:2; }
.footer-top {
    padding:56px 0 36px;
    display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:36px;
}
.footer-logo { display:flex; align-items:center; gap:0; margin-bottom:18px; }
.footer-logo img { height:44px; background:var(--white); padding:6px 12px; border-radius:var(--radius-sm); }
.footer-about p { font-size:.85rem; line-height:1.7; color:rgba(255,255,255,.55); margin-bottom:18px; }
.footer-socials { display:flex; gap:8px; }
.footer-socials a {
    width:38px; height:38px; border-radius:50%;
    background:rgba(255,255,255,.07);
    display:flex; align-items:center; justify-content:center;
    color:rgba(255,255,255,.65); font-size:.85rem;
}
.footer-socials a:hover { background:var(--orange); color:var(--white); transform:translateY(-2px); }
.footer h4 {
    font-family:var(--font-heading); font-size:1.05rem; font-weight:700;
    color:var(--white); margin-bottom:18px; position:relative; padding-bottom:10px;
}
.footer h4::after {
    content:''; position:absolute; bottom:0; left:0;
    width:28px; height:2px; background:var(--orange); border-radius:2px;
}
.footer ul li { margin-bottom:8px; }
.footer ul li a {
    display:flex; align-items:center; gap:7px;
    font-size:.82rem; color:rgba(255,255,255,.55);
}
.footer ul li a i { font-size:.58rem; color:var(--orange); }
.footer ul li a:hover { color:var(--white); padding-left:3px; }
.footer-contact-item { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; }
.footer-contact-item i { color:var(--orange); font-size:.85rem; margin-top:3px; }
.footer-contact-item span,
.footer-contact-item a { font-size:.82rem; color:rgba(255,255,255,.55); line-height:1.6; }
.footer-contact-item a:hover { color:var(--white); }
.footer-bottom {
    border-top:1px solid rgba(255,255,255,.07);
    padding:20px 0;
    display:flex; justify-content:space-between; align-items:center;
}
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.4); }

/* ── Back to Top ── */
.back-to-top {
    position:fixed; bottom:28px; right:28px;
    width:46px; height:46px; border-radius:50%;
    background:linear-gradient(135deg,var(--navy),var(--navy-light));
    color:var(--white); border:none; cursor:pointer; font-size:1rem;
    display:flex; align-items:center; justify-content:center;
    opacity:0; visibility:hidden; transform:translateY(18px);
    transition:var(--transition); z-index:100;
    box-shadow:0 4px 15px rgba(26,45,94,.3);
}
.back-to-top.visible { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover { transform:translateY(-3px); box-shadow:0 6px 25px rgba(26,45,94,.4); }

/* ── WhatsApp Float ── */
.whatsapp-float {
    position:fixed; bottom:84px; right:28px;
    width:52px; height:52px; border-radius:50%;
    background:#25d366; color:var(--white); font-size:1.5rem;
    display:flex; align-items:center; justify-content:center; z-index:100;
    box-shadow:0 4px 18px rgba(37,211,102,.4);
    transition:var(--transition); animation:waPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.6); }
@keyframes waPulse { 0%,100%{box-shadow:0 4px 18px rgba(37,211,102,.4)} 50%{box-shadow:0 4px 28px rgba(37,211,102,.7)} }
.whatsapp-tooltip {
    position:absolute; right:62px; background:var(--dark); color:var(--white);
    padding:6px 14px; border-radius:var(--radius-sm); font-size:.76rem; font-weight:500;
    white-space:nowrap; opacity:0; visibility:hidden; transform:translateX(8px);
    transition:var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity:1; visibility:visible; transform:translateX(0); }

/* ── Scroll Animations ── */
.animate-on-scroll {
    opacity:0; transform:translateY(35px);
    transition:opacity .7s ease, transform .7s ease;
}
.animate-on-scroll.animated { opacity:1; transform:translateY(0); }

/* ── Services Page ── */
.services-section { padding:90px 0; background:var(--bg); }

/* ── Responsive ── */
@media(max-width:1200px){
    .courses-grid { grid-template-columns:repeat(3,1fr); }
    .footer-top { grid-template-columns:1.5fr 1fr 1fr; }
    .footer-top > *:last-child { grid-column:1/-1; }
}
@media(max-width:1024px){
    .hero-title { font-size:2.8rem; }
    .section-title { font-size:2rem; }
    .courses-grid { grid-template-columns:repeat(2,1fr); }
    .why-grid { grid-template-columns:repeat(2,1fr); }
    .about-grid { gap:40px; }
}
@media(max-width:900px){
    .nav-links { display:none; }
    .btn-nav { display:none; }
    .mobile-toggle { display:flex; }
    .about-grid { grid-template-columns:1fr; }
    .mission-grid { grid-template-columns:1fr; }
    .contact-grid { grid-template-columns:1fr; }
    .footer-top { grid-template-columns:1fr 1fr; }
    .top-bar-left .location-item { display:none; }
}
@media(max-width:768px){
    .container { padding:0 16px; }
    .hero-title { font-size:2.2rem; }
    .hero-subtitle { font-size:.95rem; }
    .hero-stats { flex-wrap:wrap; gap:18px; }
    .stat-divider { display:none; }
    .stat-number { font-size:1.9rem; }
    .section-title { font-size:1.8rem; }
    .trusted-content { grid-template-columns:1fr; }
    .gallery-grid { grid-template-columns:repeat(2,1fr); }
    .stats-grid { grid-template-columns:repeat(2,1fr); }
    .courses-grid { grid-template-columns:1fr; }
    .why-grid { grid-template-columns:1fr; }
    .cta-content h2 { font-size:1.7rem; }
    .form-row { grid-template-columns:1fr; }
    .footer-top { grid-template-columns:1fr; gap:28px; }
    .footer-bottom { flex-direction:column; gap:6px; text-align:center; }
    .about-img-badge { right:auto; left:16px; bottom:16px; }
    .about-img-secondary { position:relative; left:auto; bottom:auto; width:100%; margin-top:14px; }
    .about-img-secondary img { height:180px; }
    .page-banner h1 { font-size:2rem; }
    .scroll-indicator { display:none; }
    .hero-slider-controls { bottom:55px; }
}
@media(max-width:480px){
    .hero { min-height:90vh; }
    .hero-title { font-size:1.8rem; }
    .hero-badge { font-size:.72rem; padding:5px 12px; }
    .hero-cta { flex-direction:column; }
    .hero-cta .btn { width:100%; justify-content:center; }
    .section-title { font-size:1.5rem; }
    .gallery-grid { grid-template-columns:1fr; }
    .stats-number { font-size:2rem; }
    .contact-form-wrap { padding:22px 18px; }
    .top-bar-item span { display:none; }
    .top-bar-item i { font-size:.88rem; }
    .whatsapp-float { bottom:74px; right:14px; width:46px; height:46px; font-size:1.2rem; }
    .back-to-top { bottom:20px; right:14px; width:40px; height:40px; }
    .page-banner { min-height:220px; }
    .page-banner h1 { font-size:1.6rem; }
}

/* ── Certificates Section ── */
.certificates-section {
    padding: 90px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.certificates-slider-wrapper {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.certificates-slider {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}
.certificates-track {
    display: flex;
    gap: 24px;
    transition: transform var(--transition-slow);
}
.certificate-card {
    flex: 0 0 calc((100% - 72px) / 4); /* default 4 cards */
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.certificate-card img {
    height: 160px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 4px;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    padding: 6px;
    transition: var(--transition);
}
.certificate-card h4 {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.3;
}
.certificate-card p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
}
.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(243,112,33,0.3); /* Subtle Orange glow */
}
.certificate-card:hover img {
    transform: scale(1.03);
    border-color: rgba(243,112,33,0.2);
}

/* Slider Controls */
.cert-prev-btn, .cert-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
}
.cert-prev-btn:hover, .cert-next-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-50%) scale(1.08);
}
.cert-prev-btn {
    left: -24px;
}
.cert-next-btn {
    right: -24px;
}

.certificates-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.cert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.cert-dot.active {
    background: var(--orange);
    transform: scale(1.2);
}

/* Responsiveness for Certificates */
@media (max-width: 1200px) {
    .certificate-card {
        flex: 0 0 calc((100% - 48px) / 3);
    }
}
@media (max-width: 900px) {
    .certificate-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
    .cert-prev-btn { left: -12px; }
    .cert-next-btn { right: -12px; }
}
@media (max-width: 600px) {
    .certificate-card {
        flex: 0 0 100%;
    }
    .cert-prev-btn { left: 0px; }
    .cert-next-btn { right: 0px; }
}

@media print {
    .top-bar,.navbar,.hero-slider-controls,.scroll-indicator,.back-to-top,.whatsapp-float,.mobile-menu,.mobile-overlay,#preloader { display:none!important; }
}
