/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary-bg: #f5f6f8; /* Soft Grey background */
  --secondary-bg: #ffffff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --accent-gold: #d4af37; /* Premium Gold */
  --accent-gold-hover: #c19c2f;
  --header-bg: rgba(255, 255, 255, 0.85); /* Glassmorphism base */
  --footer-bg: #111827;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: 1px solid rgba(255, 255, 255, 0.7);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 120px;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
}

/* Ticker Strip */
.ticker-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%;
  background: linear-gradient(90deg, #111827, #1f2937);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  z-index: 1001;
  display: flex;
}
.ticker-content {
  display: flex; white-space: nowrap;
  animation: ticker 35s linear infinite;
}
.ticker-item {
  margin: 0 2rem;
  font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.ticker-item .up { color: #10b981; }
.ticker-item .down { color: #ef4444; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* Header (Solid Black) */
header {
  position: absolute; top: 40px; left: 0; width: 100%;
  background: linear-gradient(180deg, #111827 0%, #172033 100%);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3); /* Stronger gold accent */
  padding: 1.2rem 8%;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 1010;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

header.scrolled {
  padding: 0.8rem 8%;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.8);
  box-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.logo { 
  display: flex; 
  justify-content: center;
  position: relative;
  text-decoration: none; 
  height: 60px;
  width: 130px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
/* Subtle golden aura behind the logo */
.logo::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(17, 24, 39, 0) 70%);
  border-radius: 50%;
  z-index: 1000;
  pointer-events: none;
  transition: all 0.4s ease;
}

.logo img { 
  position: absolute;
  top: -45px; /* Breaks completely through the header into the ticker! */
  left: 0;
  height: 150px; 
  width: auto; 
  object-fit: contain; 
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8)); 
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
  z-index: 1005;
}
.logo img:hover { transform: scale(1.03) translateY(-3px); filter: drop-shadow(0 12px 25px rgba(212, 175, 55, 0.4)); }

header.scrolled .logo {
  width: 80px;
}
header.scrolled .logo::before {
  width: 70px; height: 70px;
}
header.scrolled .logo img {
  height: 80px;
  top: -10px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

nav ul { display: flex; list-style: none; gap: 3rem; align-items: center; }
nav ul li a {
  text-decoration: none; color: #ffffff; font-weight: 600; font-size: 1.05rem;
  transition: all 0.3s ease; position: relative;
  padding: 0.5rem 0;
  opacity: 0.9;
  letter-spacing: 0.5px;
}
nav ul li a:hover { opacity: 1; transform: translateY(-2px); color: var(--accent-gold); }
nav ul li a::after {
  content: ''; position: absolute; width: 0; height: 2px;
  bottom: 0; left: 50%; background-color: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent-gold); /* Neon line effect */
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold), #b8860b);
  color: #000 !important;
  padding: 0.6rem 1.6rem !important;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  opacity: 1 !important;
  text-transform: uppercase;
  font-size: 0.9rem !important;
  letter-spacing: 1px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
  color: #000 !important;
}

.btn {
  padding: 0.75rem 1.75rem; border-radius: var(--border-radius);
  text-decoration: none; font-weight: 600; transition: var(--transition);
  display: inline-block; cursor: pointer; border: none; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #e8c659);
  color: #fff; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
.btn-outline {
  background: transparent; border: 2px solid var(--accent-gold); color: var(--accent-gold);
}
.btn-outline:hover {
  background: var(--accent-gold); color: #fff;
}
.btn-dark {
  background: var(--text-dark); color: white;
}
.btn-dark:hover { background: #000; }

/* Sections */
.container { max-width: 1200px; margin: 0 auto; padding: 5rem 5%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; font-weight: 700; color: var(--text-dark); }
.section-title span { color: var(--accent-gold); }

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 620px;
  overflow: hidden;
  margin-bottom: 5rem;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.slide-bg-1 { background-image: url('https://images.unsplash.com/photo-1642543492481-44e81e3914a7?q=80&w=1920&auto=format'); }
.slide-bg-2 { background-image: url('https://images.unsplash.com/photo-1590283603385-18f15850ab7d?q=80&w=1920&auto=format'); }
.slide-bg-3 { background-image: url('https://images.unsplash.com/photo-1518186285589-2f7649de83e0?q=80&w=1920&auto=format'); }

.slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 3rem;
  max-width: 850px;
  width: 90%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  border-radius: var(--border-radius);
}

.slide-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.slide-content p {
  font-size: 1.25rem;
  color: #d1d5db;
  margin: 0 auto 2.5rem;
  max-width: 700px;
}
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.dot:hover {
  background: rgba(255,255,255,0.8);
}
.dot.active {
  background: var(--accent-gold);
  border-color: #fff;
  transform: scale(1.3);
}

@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.3rem; }
    .slide-content { padding: 3rem 1.5rem; }
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; }

/* Custom Cards */
.course-card {
  padding: 2.5rem; text-align: center; transition: var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.course-card:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, 0.4); }
.course-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.course-card p { color: var(--text-light); margin-bottom: 1.5rem; flex-grow: 1; }
.price-badge {
    background: rgba(212, 175, 55, 0.1); color: var(--accent-gold);
    padding: 0.5rem 1rem; border-radius: 20px; font-weight: 700; display: inline-block; margin-bottom: 1rem;
}

.feature-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.feature-icon {
    width: 45px; height: 45px; border-radius: 12px; background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.feature-text h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.feature-text p { color: var(--text-light); font-size: 0.95rem; }

/* Testimonials */
.testimonial-card { padding: 2rem; position: relative; }
.testimonial-card::before {
    content: '"'; position: absolute; top: 10px; left: 20px; font-size: 4rem;
    color: rgba(212, 175, 55, 0.15); font-family: serif;
}
.testimonial-text { font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { font-weight: 700; color: var(--accent-gold); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.gallery-item {
    border-radius: var(--border-radius); overflow: hidden; position: relative; cursor: pointer; border: var(--glass-border);
}
.gallery-img-wrapper { height: 280px; overflow: hidden; background: #fff; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white;
    transform: translateY(100%); opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }

/* Contact Section */
.contact-wrapper { overflow: hidden; }
.contact-info { padding: 4rem 3rem; background: var(--text-dark); color: white; border-radius: var(--border-radius); }
.contact-info h3 { margin-bottom: 1.5rem; font-size: 1.8rem; }
.contact-info p { color: #9ca3af; margin-bottom: 2rem; }
.contact-details > div { margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.detail-icon {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold); display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.form-control {
    width: 100%; padding: 1rem; border: var(--glass-border); border-radius: 8px;
    background: rgba(255, 255, 255, 0.5); font-family: inherit; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-gold); background: #fff; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1); }
.map-container {
    height: 400px; background: rgba(255, 255, 255, 0.5); border-radius: var(--border-radius);
    margin-top: 3rem; display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-weight: 600; border: var(--glass-border); overflow: hidden;
}

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--text-dark), #111827); color: white; text-align: center; border-radius: var(--border-radius); padding: 5rem 2rem; margin-top: 4rem; box-shadow: var(--shadow-md); }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.2rem; color: #9ca3af; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { background-color: var(--footer-bg); color: #fff; padding: 4rem 5% 2rem; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem;
}
.footer-logo { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; display: block; text-decoration: none; color: white;}
.footer-logo span { color: var(--accent-gold); }
.footer-about { color: #9ca3af; max-width: 350px; }
.footer-links h4 { font-size: 1.2rem; margin-bottom: 1.2rem; color: var(--accent-gold); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links a { color: #9ca3af; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: #fff; transform: translateX(5px); display: inline-block; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icon {
    width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; justify-content: center; align-items: center; text-decoration: none; color: white; transition: var(--transition);
}
.social-icon:hover { background: var(--accent-gold); transform: translateY(-3px); }
.footer-bottom { text-align: center; color: #6b7280; font-size: 0.9rem; }

/* Mobile Menu */
.nav-toggle, .nav-toggle-label { display: none; }
@media (max-width: 768px) {
  header { padding: 1rem 5%; }
  .nav-toggle-label { display: block; width: 30px; height: 24px; position: relative; cursor: pointer; z-index: 1001; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { display: block; background: #ffffff; height: 2px; width: 100%; position: absolute; transition: var(--transition); }
  .nav-toggle-label span { top: 11px; }
  .nav-toggle-label span::before { content: ''; top: -9px; }
  .nav-toggle-label span::after { content: ''; top: 9px; }
  nav {
    position: absolute; top: 100%; left: 0; width: 100%; 
    background: rgba(17, 24, 39, 0.98); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.8);
  }
  nav ul { flex-direction: column; padding: 2rem; gap: 1.5rem; align-items: center; }
  .nav-toggle:checked ~ nav { transform: scaleY(1); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
