/*
 * KKBPJ Corporate Theme - Custom CSS
 */

:root {
  --primary: #1B3A5C;
  --secondary: #2C5F8A;
  --accent: #F5A623;
  --dark: #1a1a2e;
  --light: #f4f7f6;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary); margin-bottom: 1rem; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius-sm); font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); gap: 10px; border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--secondary); color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(27, 58, 92, 0.2); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--light); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); transform: translateY(-3px); }

/* Header & Nav */
.header-top-bar { background: var(--primary); color: var(--white); padding: 8px 0; font-size: 0.9rem; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left span { margin-right: 20px; display: inline-flex; align-items: center; gap: 8px; }
.top-bar-right a { color: var(--white); margin-left: 15px; }
.top-bar-right a:hover { color: var(--accent); }

.kkbpj-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: var(--transition); }
.main-nav { padding: 15px 0; transition: var(--transition); }
.main-nav.scrolled { padding: 10px 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 50px; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--primary); line-height: 1.2; }
.logo-subtitle { font-size: 0.8rem; color: var(--text-light); }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-family: var(--font-heading); font-weight: 600; color: var(--primary); font-size: 0.95rem; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }
.nav-menu a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 20px; border-radius: var(--radius-sm); }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--secondary); color: var(--white) !important; transform: translateY(-2px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.hamburger-line { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px 0; transition: var(--transition); }

/* Hero Section */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(27, 58, 92, 0.9) 0%, rgba(27, 58, 92, 0.6) 100%); }
.hero-container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 650px; color: var(--white); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; margin-bottom: 20px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); }
.hero-title { font-size: 4rem; margin-bottom: 20px; color: var(--white); }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; }

.hero-stats { display: flex; gap: 30px; margin-top: 60px; }
.stat-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 25px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); text-align: center; color: var(--white); flex: 1; transition: var(--transition); }
.stat-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.2); }
.stat-icon { font-size: 2rem; color: var(--accent); margin-bottom: 15px; }
.stat-number { font-size: 2.5rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

.hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--white); display: flex; flex-direction: column; align-items: center; cursor: pointer; animation: bounce 2s infinite; }
.hero-scroll-indicator span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-10px) translateX(-50%); } 60% { transform: translateY(-5px) translateX(-50%); } }

/* Section Generic */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-inline: auto; }
.section-header-left { text-align: left; margin-inline: 0; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; background: rgba(245, 166, 35, 0.1); padding: 6px 15px; border-radius: 30px; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; }
.section-desc { font-size: 1.1rem; color: var(--text-light); }

/* About Preview Grid */
.home-about { background-color: var(--light); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); text-align: center; position: relative; overflow: hidden; }
.about-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transition: var(--transition); }
.about-card:hover::before { height: 100%; opacity: 0.05; }
.about-card-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 25px; color: var(--white); }
.about-card-icon.visi { background: linear-gradient(135deg, #1B3A5C, #2C5F8A); }
.about-card-icon.misi { background: linear-gradient(135deg, #F5A623, #ffc052); }
.about-card-icon.piagam { background: linear-gradient(135deg, #1a1a2e, #2a2a4a); }
.about-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.about-card p { color: var(--text-light); margin-bottom: 20px; }
.misi-list-preview { text-align: left; margin-bottom: 20px; color: var(--text-light); font-size: 0.9rem; }
.misi-list-preview li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.misi-list-preview li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--accent); }
.about-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); }
.about-link:hover { color: var(--accent); gap: 12px; }

/* Courses Grid */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.course-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.course-card-img { position: relative; height: 250px; overflow: hidden; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.course-card:hover .course-card-img img { transform: scale(1.05); }
.course-badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--white); font-weight: 700; padding: 8px 20px; border-radius: 30px; font-family: var(--font-heading); z-index: 2; box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3); }
.course-card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.course-date { color: var(--secondary); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.course-card-body h3 { font-size: 1.3rem; margin-bottom: 15px; }
.course-card-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.course-contact { margin-top: auto; padding-top: 20px; border-top: 1px solid #eee; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.section-cta { text-align: center; }

/* Home CTA */
.home-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 80px 0; color: var(--white); text-align: center; position: relative; overflow: hidden; }
.home-cta::after { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); border-radius: 50%; transform: translate(30%, -30%); }
.cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-icon { font-size: 4rem; color: var(--accent); margin-bottom: 20px; }
.home-cta h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }
.home-cta p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }

/* Page Hero */
.page-hero { position: relative; padding: 120px 0 80px; text-align: center; color: var(--white); background: var(--primary); }
.page-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; }
.page-hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(27, 58, 92, 0.85); }
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 20px; font-weight: 500; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.7rem; opacity: 0.7; }
.page-hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 15px; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Visi & Misi Page */
.vm-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.vm-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.vm-card-header { padding: 40px 40px 20px; text-align: center; }
.vm-icon { width: 70px; height: 70px; background: var(--light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; transition: var(--transition); }
.vm-card:hover .vm-icon { background: var(--primary); color: var(--white); transform: scale(1.1); }
.vm-card h3 { font-size: 1.8rem; margin: 0; letter-spacing: 1px; }
.vm-card-body { padding: 0 40px 40px; }
.vm-quote { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--primary); text-align: center; font-style: italic; position: relative; padding: 20px 0; line-height: 1.4; }
.vm-misi-list { display: grid; gap: 20px; }
.vm-misi-list li { display: flex; align-items: flex-start; gap: 20px; background: var(--light); padding: 20px; border-radius: var(--radius-sm); transition: var(--transition); border-left: 4px solid transparent; }
.vm-misi-list li:hover { background: var(--white); box-shadow: var(--shadow); border-left-color: var(--accent); transform: translateX(10px); }
.misi-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: rgba(27, 58, 92, 0.1); line-height: 1; }
.vm-misi-list li:hover .misi-number { color: var(--accent); }
.vm-misi-list p { margin: 0; font-weight: 500; }
.vm-visi { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #f8f9fa, #e9ecef); }

/* Piagam Pelanggan */
.piagam-section { background-color: var(--dark); color: var(--white); }
.section-title-light { color: var(--white); }
.section-desc-light { color: #aaaaaa; }
.section-tag-light { background: rgba(245, 166, 35, 0.2); }
.piagam-table-wrapper { background: rgba(255,255,255,0.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); overflow-x: auto; }
.piagam-table { width: 100%; border-collapse: collapse; text-align: left; }
.piagam-table th, .piagam-table td { padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.piagam-table th { background: rgba(0,0,0,0.2); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; color: var(--accent); }
.piagam-table tr:last-child td { border-bottom: none; }
.piagam-table tr:hover td { background: rgba(255,255,255,0.02); }
.piagam-service { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; width: 30%; color: var(--white); }
.piagam-service i { color: var(--accent); margin-right: 15px; width: 20px; text-align: center; }
.piagam-list { list-style: disc; padding-left: 20px; }
.piagam-list li { margin-bottom: 10px; }
.piagam-list li:last-child { margin-bottom: 0; }
.piagam-table strong { color: var(--accent); font-weight: 700; }

/* Kursus Sepenuh Masa */
.fulltime-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 50px; }
.fulltime-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; transition: var(--transition); border: 1px solid #eee; }
.fulltime-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.fulltime-card-icon { width: 120px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.fulltime-card-content { padding: 40px 30px; flex-grow: 1; }
.fulltime-badge { display: inline-block; background: var(--light); color: var(--secondary); font-weight: 600; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 15px; }
.fulltime-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.fulltime-card p { color: var(--text-light); margin-bottom: 20px; }
.fulltime-features { display: grid; gap: 10px; }
.fulltime-features li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; }
.fulltime-features i { color: #28a745; }
.shortcourse-section { background: var(--light); }

/* Maklumat Kursus Pendek */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.info-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border-top: 4px solid var(--accent); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.info-icon { width: 50px; height: 50px; background: rgba(245, 166, 35, 0.1); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.info-card h4 { font-size: 1.2rem; margin-bottom: 15px; }
.info-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Organisasi */
.org-chart-wrapper { max-width: 1000px; margin: 0 auto 60px; background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.org-chart-img { border-radius: var(--radius-sm); cursor: zoom-in; transition: var(--transition); }
.org-chart-img:hover { opacity: 0.9; }
.org-chart-hint { margin-top: 15px; color: var(--text-light); font-size: 0.9rem; }
.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; max-width: 1000px; margin-inline: auto; }
.leader-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border-bottom: 4px solid var(--primary); transition: var(--transition); }
.leader-card:hover { transform: translateY(-5px); }
.leader-icon { width: 60px; height: 60px; background: var(--light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 15px; }
.leader-card h4 { font-size: 1.1rem; color: var(--text-light); margin-bottom: 5px; font-family: var(--font-body); font-weight: 500; }
.leader-card p { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 0; }
.units-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; max-width: 900px; margin: 0 auto; }
.unit-badge { background: var(--light); color: var(--primary); padding: 12px 20px; border-radius: 30px; font-weight: 500; display: flex; align-items: center; gap: 10px; border: 1px solid #e0e0e0; transition: var(--transition); }
.unit-badge:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-cards { display: grid; gap: 20px; margin-bottom: 30px; }
.contact-card { display: flex; align-items: flex-start; gap: 20px; background: var(--white); padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.contact-card:hover { transform: translateX(10px); box-shadow: var(--shadow-hover); border-left: 4px solid var(--accent); }
.contact-card-icon { width: 50px; height: 50px; background: rgba(27, 58, 92, 0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-card h4 { margin-bottom: 5px; font-size: 1.1rem; }
.contact-card p { color: var(--text-light); margin: 0; }
.contact-note { padding: 15px 20px; background: rgba(245, 166, 35, 0.1); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.95rem; font-weight: 500; }
.contact-map { height: 100%; min-height: 500px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrapper { width: 100%; height: 100%; }

/* Footer */
.kkbpj-footer { background: var(--dark); color: var(--white); position: relative; pt: 50px; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; color: var(--white); line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-main { padding: 100px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.footer-logo img { background: var(--white); padding: 5px; border-radius: 8px; }
.footer-logo h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.footer-desc { color: #aaaaaa; margin-bottom: 25px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #aaaaaa; display: flex; align-items: center; gap: 10px; }
.footer-links a i { font-size: 0.7rem; color: var(--accent); transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; color: #aaaaaa; }
.footer-contact i { color: var(--accent); margin-top: 5px; }
.footer-under p { color: #aaaaaa; margin-bottom: 10px; font-weight: 500; }
.footer-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--white); padding: 12px 25px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 15px; transition: var(--transition); }
.footer-cta:hover { background: #d98f1b; color: var(--white); transform: translateY(-3px); }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 25px 0; text-align: center; }
.footer-bottom p { margin: 0; color: #888888; font-size: 0.9rem; }
.footer-kpt { margin-top: 5px !important; font-weight: 600; }

/* Lightbox & Back to Top */
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(5px); }
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90%; max-height: 90vh; border-radius: var(--radius-sm); box-shadow: 0 0 30px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox-overlay.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: var(--white); font-size: 3rem; cursor: pointer; line-height: 1; transition: var(--transition); }
.lightbox-close:hover { color: var(--accent); transform: scale(1.1); }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: var(--white); border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); z-index: 998; opacity: 0; visibility: hidden; transition: var(--transition); transform: translateY(20px); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); transform: translateY(-5px); }

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .courses-grid, .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar-left span:nth-child(2) { display: none; }
  .mobile-toggle { display: block; }
  .nav-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--white); flex-direction: column; padding: 100px 30px 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: 0.4s ease-in-out; align-items: flex-start; }
  .nav-menu.open { right: 0; }
  .mobile-toggle.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
  .mobile-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { flex-direction: column; gap: 15px; }
  .about-grid, .courses-grid, .fulltime-grid, .contact-grid { grid-template-columns: 1fr; }
  .fulltime-card { flex-direction: column; }
  .fulltime-card-icon { width: 100%; height: 120px; }
  .contact-map { min-height: 400px; margin-top: 30px; }
  .page-hero { padding: 100px 0 60px; }
  .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .leadership-grid { grid-template-columns: 1fr; }
}
