@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-color: #f8fafc; /* Light Canvas Background */
  --bg-gradient: none;
  --card-bg: #090d16; /* Dark/Black cards to match brand division cards */
  --card-hover-bg: #111827;
  --text-main: #090d16; /* Deep navy text for light background headings */
  --text-secondary: #334155; /* Muted Slate for body text */
  --border-color: rgba(197, 160, 89, 0.15); /* Gold border tint */
  --border-hover-color: rgba(197, 160, 89, 0.5); /* Gold hover border */
  --accent-color: #c5a059; /* Warm Gold */
  --accent-glow: rgba(197, 160, 89, 0.15);
  --accent-gradient: linear-gradient(135deg, #c5a059, #f3d090); /* Champagne Gold Gradient */
  --button-hover-gradient: linear-gradient(135deg, #a7823b, #c5a059);
  --shadow-color: rgba(0, 0, 0, 0.15);
  --blue-accent: #0077b6; /* Royal Blue for contacts and links */
  --header-bg: #090d16; /* Solid dark navbar header */
  --grid-color: rgba(197, 160, 89, 0.03); /* Golden grid overlay lines */
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-color);
  color: var(--text-secondary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  line-height: 1.7;
  position: relative;
}

/* Background Tech Grid Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--grid-color) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  z-index: 2;
  pointer-events: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080c14;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Animated Background Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.04; /* Very subtle glow on light canvas */
  animation: floatOrb 28s infinite alternate ease-in-out;
}

.orb-1 { width: 450px; height: 450px; background: #0077b6; top: -100px; left: -100px; animation-duration: 20s; }
.orb-2 { width: 500px; height: 500px; background: #0284c7; bottom: -150px; right: -150px; animation-duration: 28s; animation-delay: -5s; }
.orb-3 { width: 350px; height: 350px; background: #c5a059; top: 40%; left: 50%; transform: translate(-50%, -50%); animation-duration: 22s; animation-delay: -10s; }

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.05); }
  100% { transform: translate(-30px, -60px) scale(0.95); }
}

/* Sticky Navbar Header */
.navbar {
  width: 100%;
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  border-bottom: 1.5px solid var(--border-color);
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-color); /* Gold branding text */
}

.nav-brand img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #94a3b8; /* Muted light grey text */
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: var(--accent-color); /* Gold active links */
}

/* Contact Info Header Bar (Royal Blue) */
.contact-header-bar {
  width: 100%;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 0;
  z-index: 10;
}

.contact-bar-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-left, .contact-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-item i {
  color: var(--blue-accent);
}

.contact-item a {
  color: var(--blue-accent);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Open Admission Ticker Bar */
.ticker-bar {
  width: 100%;
  background: var(--accent-gradient);
  border-bottom: 1.5px solid var(--border-color);
  padding: 6px 0;
  z-index: 99;
}

.ticker-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.ticker-badge {
  background: #090d16;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-right: 15px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.ticker-marquee {
  color: #090d16;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Premium Main Layout Grid Container */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 60px 0;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Subpages Hero Title Header Section */
.sub-hero {
  width: 100%;
  background: linear-gradient(rgba(9, 13, 22, 0.8), rgba(9, 13, 22, 0.85)), url('../image/Slider.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
  padding: 70px 20px;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sub-hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 600px;
  font-weight: 300;
}

/* Main Hero Area (Custom 2-Column format) */
.hero-area {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  background: rgba(0, 119, 182, 0.08);
  border: 1px solid rgba(0, 119, 182, 0.2);
  color: var(--blue-accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-left h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.hero-left h1 span {
  color: var(--blue-accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #0077b6, #0096c7);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #005f9e, #0077b6);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.45);
}

.cta-btn.secondary {
  background: var(--accent-gradient);
  color: #090d16;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.cta-btn.secondary:hover {
  background: var(--button-hover-gradient);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}

.cta-btn.outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--accent-color);
}

.cta-btn.outline:hover {
  background: var(--accent-gradient);
  color: #090d16;
  border-color: transparent;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-frame {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 380px;
}

.hero-frame-logo {
  height: 90px;
  width: auto;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 119, 182, 0.05);
  border: 1px solid rgba(0, 119, 182, 0.15);
  padding: 12px 16px;
  border-radius: 6px;
  width: 100%;
}

.hero-badge-item i {
  color: var(--blue-accent);
  font-size: 1.4rem;
}

.hero-badge-item div {
  display: flex;
  flex-direction: column;
}

.hero-badge-item div strong {
  font-size: 0.85rem;
  color: var(--blue-accent);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-badge-item div span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Notice Board & Announcement Section Grid */
.notice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.notice-board-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px;
  box-shadow: 0 8px 24px var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-tag {
  color: var(--blue-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--blue-accent);
  width: fit-content;
  padding-bottom: 2px;
  margin-bottom: 5px;
}

.notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.notice-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.notice-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Section Title Styling */
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 600;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  color: var(--text-main);
}

.section-title span {
  color: var(--blue-accent);
  font-style: italic;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2.5px;
  background: var(--blue-accent);
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 80px;
}

.section-title[style*="text-align: left"]::after,
.section-title[style*="text-align:left"]::after {
  left: 0;
  transform: none;
}

/* Premium Dark Card Grids (for Courses and Pages) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.premium-card {
  background: var(--card-bg); /* Dark navy/black background */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.premium-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-glow);
}

.card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--accent-color);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title-bar i {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.card-title-bar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-color);
  line-height: 1.3;
}

.premium-card p {
  font-size: 0.92rem;
  color: #94a3b8; /* Muted light text for readability */
  font-weight: 300;
}

.card-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

.card-details-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.card-details-list li i {
  color: var(--accent-color);
  font-size: 0.85rem;
}

/* About & Biography / Video Block */
.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-visual {
  height: 380px;
  background: linear-gradient(rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.3)), url('../image/about.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.4);
  transition: all 0.3s;
  border: none;
  outline: none;
}

.play-button:hover {
  transform: scale(1.08);
  background: var(--accent-color);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content h2 {
  font-size: 2.4rem;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.about-checklist li i {
  color: var(--blue-accent);
}

/* Team Grid styling */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1.5px solid var(--border-color);
}

.team-info {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.team-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
}

.team-info p {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 300;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-desc {
  padding: 15px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Clean Muted Baseline Footer Section */
footer {
  width: 100%;
  background: #090d16; /* Solid dark color */
  border-top: 1.5px solid var(--border-color);
  padding: 60px 0 30px;
  color: #94a3b8;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 65px;
  width: auto;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  align-self: flex-start;
}

.footer-column h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--accent-color); /* Gold Column headings */
  font-weight: 600;
}

.footer-column p {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer-hours-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-hours-box p {
  margin: 0;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.footer-column a.location-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-column a.location-link i {
  color: var(--accent-color);
  margin-top: 4px;
}

.footer-phone-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-phone-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
}

.footer-socials a:hover {
  background: var(--accent-gradient);
  color: #090d16;
  transform: translateY(-2px);
  border-color: transparent;
}

.copyright-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
}

.copyright-section a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.copyright-section a:hover {
  text-decoration: underline;
}

/* Floating Action widget */
.floating-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.floating-btn.whatsapp {
  background: #25d366;
}

.floating-btn.phone {
  background: var(--card-bg);
  color: var(--accent-color);
  border: 1px solid var(--border-color);
}

.floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Blinking elements (Notice badges) */
@-webkit-keyframes blinker {
  from { opacity: 1; }
  to { opacity: 0.4; }
}
.blink {
  color: #fff;
  font-weight: bold;
  -webkit-animation-name: blinker;
  -webkit-animation-duration: 0.8s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-direction: alternate;
}

/* Animations */
.wow {
  animation-duration: 1s !important;
}

/* Mobile Responsiveness media queries */
@media (max-width: 992px) {
  .nav-links {
    display: none; /* simple hidden layout for mobile nav */
  }
  .hero-area {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }
  .hero-badge, .hero-actions {
    margin: 0 auto;
    justify-content: center;
  }
  .hero-frame {
    margin: 0 auto;
  }
  .notice-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }
  .about-checklist {
    justify-content: center;
  }
}
