/* ============ GOOGLE FONTS (optional) ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1a3a5c;
  --secondary: #c9a33e;
  --accent: #0d6efd;
  --dark-bg: #0b1e33;
  --light-bg: #f8f9fa;
  --text-light: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark: linear-gradient(135deg, #0b1e33 0%, #1a3a5c 100%);
  --border-radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  overflow-x: hidden;
  background: #fff;
}

/* ============ GLASS CARD (light version) ============ */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* ============ NAVBAR ============ */
#mainNavbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: all 0.3s ease;
}

#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  font-size: 2rem;
  color: var(--secondary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333 !important;
  margin: 0 10px;
  position: relative;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--secondary);
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.btn-apply-nav {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-apply-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
  color: #fff;
}

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1562774053-701939374585?w=1600&h=900&fit=crop') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-particles .particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0;
}

.hero-highlight {
  color: var(--secondary);
  display: block;
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-description {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.hero-buttons .btn {
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn-hero-primary {
  background: var(--secondary);
  color: #000;
  box-shadow: 0 10px 25px rgba(201, 163, 62, 0.5);
}

.btn-hero-primary:hover {
  background: #e0b84c;
  transform: translateY(-3px);
}

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero-stats .hero-stat-item {
  text-align: center;
  padding: 15px 10px;
}

.hero-stat-item span {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  animation: bounce 2s infinite;
}

/* ============ NOTICE TICKER ============ */
.notice-ticker-section {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.notice-ticker {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 50px;
  overflow: hidden;
}

.notice-label {
  background: var(--primary);
  color: #fff;
  padding: 8px 24px;
  font-weight: 600;
  white-space: nowrap;
}

.notice-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 0 20px;
}

.notice-marquee span {
  display: inline-block;
  animation: marquee 25s linear infinite;
  color: #333;
}

/* ============ SECTION STYLING ============ */
.section-padding {
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  background: rgba(13, 110, 253, 0.1);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ ABOUT PREVIEW ============ */
.about-image-wrapper {
  position: relative;
}

.about-image-main img {
  border-radius: 20px;
}

.about-image-floating .floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #555;
}

.about-feature-item i {
  color: var(--accent);
}

.btn-primary-custom {
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13,110,253,0.3);
  color: #fff;
}

/* ============ COURSES ============ */
.course-card {
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.course-icon-wrapper {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.course-seats {
  background: rgba(13, 110, 253, 0.1);
  padding: 4px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin: 10px 0;
}

.course-career {
  font-size: 0.8rem;
  color: #666;
  margin: 15px 0;
}

.course-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ============ FACILITIES MINI ============ */
.facility-mini-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.facility-mini-card:hover {
  transform: translateY(-5px);
}

.facility-mini-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

/* ============ PRINCIPAL ============ */
.principal-message-card {
  padding: 40px;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: rgba(255,255,255,0.15);
  position: absolute;
  top: 20px;
  right: 30px;
}

/* ============ EVENTS ============ */
.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.event-date-badge {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
}

.event-content {
  padding: 20px;
}

.event-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  background: #d4edda;
  color: #155724;
}

.event-tag.completed {
  background: #e2e3e5;
  color: #383d41;
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.testimonial-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial-stars {
  color: #f1c40f;
}

/* ============ CTA ============ */
.cta-section {
  background: var(--gradient-dark);
  color: #fff;
}

/* ============ FOOTER ============ */
.footer-section {
  background: #0b1e33;
  color: #ddd;
  padding: 60px 0 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-brand-icon {
  font-size: 2.5rem;
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary);
  width: 20px;
}

.footer-social a {
  color: #fff;
  background: rgba(255,255,255,0.1);
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--secondary);
  color: #000;
}

/* ============ BACK TO TOP & WHATSAPP ============ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.back-to-top.show {
  display: flex;
}

.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background: #25D366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 998;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

/* ============ GALLERY (page) ============ */
.filter-buttons .btn {
  border-radius: 20px;
  margin: 0 5px 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-item img {
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.lightbox.active {
  display: flex;
}

/* ============ ANIMATIONS ============ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
}