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

:root {
  --primary-color: #0c4a6e; /* Deep Navy Blue */
  --primary-hover: #072e44;
  --accent-color: #f97316; /* Energetic Orange */
  --accent-hover: #ea580c;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-light: #64748b;
  --text-white: #f8fafc;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; position: relative; display: inline-block;}
.section-title::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin: 20px auto 50px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.05rem;
}
.btn-primary { background: var(--primary-color); color: var(--text-white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent-color); color: var(--text-white); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: var(--text-white); }

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; background: white; padding: 2px;}
.logo-text { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--primary-color); line-height: 1.1;}
.logo-sub { font-size: 0.85rem; color: var(--accent-color); font-family: var(--font-body);}

@media (max-width: 768px) {
  .logo-img { width: 50px; height: 50px; padding: 1px;}
  .logo-text { font-size: 1.3rem; }
  .logo-sub { font-size: 0.75rem; }
  .logo-container { gap: 10px; }
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 1.05rem; }
.nav-links a:hover { color: var(--accent-color); }

.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 1.8rem; color: var(--primary-color); cursor: pointer; }

/* Hero Section */

/* Classic Hero Section Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(12, 74, 110, 0.8), rgba(12, 74, 110, 0.85)), url('assets/gallery/gallery-2.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--text-white);
  padding-top: 180px; /* Larger offset for fixed header with Trust Bar */
  padding-bottom: 60px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.hero-content {
  margin: auto; /* Safely centers without top-clipping on overflow */
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-white);
  animation: slideUp 1s ease;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.8);
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 1s ease 0.2s;
  animation-fill-mode: both;
  text-shadow: 2px 2px 15px rgba(0,0,0,1), 0 0 5px rgba(0,0,0,0.5);
  font-weight: 500;
}
.hero-badges { 
  display: flex; 
  justify-content: center; 
  gap: 20px; 
  margin-bottom: 40px; 
  animation: slideUp 1s ease 0.4s; 
  animation-fill-mode: both; 
  flex-wrap: wrap;
}
.badge { 
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 24px; 
  border-radius: 50px; 
  font-weight: 700; 
  display: inline-block; 
  text-align: center; 
  line-height: 1.4;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-size: 1.1rem;
}
.badge span { color: var(--accent-color); margin-right: 5px; }

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation: slideUp 1s ease 0.6s;
  animation-fill-mode: both;
}
.hero .btn-outline {
  border-color: white;
  color: white;
}
.hero .btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border-bottom: 4px solid transparent;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--accent-color);
}
.card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 15px; font-size: 1.5rem; }

/* Features & Imagery */
.feature-section {
  display: flex;
  align-items: center;
  gap: 50px;
}
.feature-section.reverse { flex-direction: row-reverse; }
.feature-content { flex: 1; }
.feature-image { flex: 1; width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow-md); overflow: hidden; }
.feature-image img { width: 100%; height: auto; display: block; transition: transform 0.5s;}
.feature-image:hover img { transform: scale(1.05); }
.feature-list { margin-top: 20px; }
.feature-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; font-weight: 500;}
.feature-list i { color: var(--accent-color); font-size: 1.2rem; margin-top: 3px;}

/* Statistics / Slogans banner */
.stats-banner {
  background: var(--primary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.stats-banner h2 { color: white; margin-bottom: 20px; }
.stats-banner blockquote { font-size: 1.5rem; font-style: italic; font-family: var(--font-heading); max-width: 800px; margin: 0 auto; opacity: 0.9;}

/* Contact Form */
.contact-wrapper {
  display: flex;
  gap: 50px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-info {
  flex: 1;
  background: var(--primary-color);
  color: white;
  padding: 50px;
}
.contact-info h3 { color: white; margin-bottom: 30px; font-size: 2rem;}
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: center;}
.contact-item i { font-size: 1.5rem; color: var(--accent-color); }
.contact-form-container { flex: 1.5; padding: 50px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 500; }
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(12, 74, 110, 0.1); }
textarea.form-control { height: 150px; resize: vertical; }

/* Social Sticky CTA */
.sticky-social-bar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10000;
  align-items: center;
}

.social-toggle-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--accent-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(249,115,22,0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249,115,22,0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(249,115,22,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

.sticky-social-bar.active .social-toggle-btn {
  animation: none;
  transform: rotate(45deg); /* Turns the icon to an 'X' */
  background: #ea580c;
  box-shadow: var(--shadow-md);
}

.social-links-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom center;
}

.sticky-social-bar.active .social-links-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.social-sticky-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.social-sticky-btn:hover {
  transform: scale(1.15);
}
.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #1ebe57; }
.btn-youtube { background: #FF0000; }
.btn-youtube:hover { background: #cc0000; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px;}
.footer-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; background: white; padding: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.footer-brand h4 { margin-bottom: 0; border-bottom: none; font-size: 1.4rem; padding-bottom: 0; }
.footer-col h4 { color: white; font-size: 1.2rem; margin-bottom: 20px; border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 5px;}
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.9rem;}
.footer-social { display: flex; gap: 12px; margin-top: 5px; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); }
.footer-social-btn:hover { transform: scale(1.15); filter: brightness(1.1); }

/* Trust Bar */
.trust-bar { 
  background: var(--primary-hover); 
  padding: 12px 0; 
  color: white; 
  font-size: 0.9rem; 
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1001;
}
.trust-content { 
  display: flex; 
  justify-content: center; 
  gap: 60px; 
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.trust-item { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  opacity: 1; 
  font-weight: 600;
  white-space: nowrap;
}

/* Notice Board */
.notice-board { background: var(--card-bg); border-radius: var(--border-radius); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid #e2e8f0; height: 100%;}
.notice-header { background: var(--accent-color); color: white; padding: 15px 20px; font-family: var(--font-heading); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; font-weight: 600;}
.notice-list { padding: 20px; max-height: 350px; overflow-y: auto; }
.notice-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #e2e8f0; }
.notice-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.notice-date { font-size: 0.85rem; color: var(--accent-color); font-weight: 600; margin-bottom: 5px; }

/* Statistics */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; background: white; padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); margin-top: -60px; position:relative; z-index: 11;}
.stat-box { padding: 10px; }
.stat-number { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 800; color: var(--primary-color); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 1.1rem; color: var(--text-light); font-weight: 500; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: white; padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); position: relative; border-top: 4px solid var(--accent-color); transition: var(--transition);}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-text { font-style: italic; color: var(--text-main); margin-bottom: 20px; line-height: 1.8; position: relative; z-index: 2; font-weight: 500;}
.testimonial-author { display: flex; align-items: center; gap: 15px; position: relative; z-index: 2;}
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.author-info h4 { font-size: 1.1rem; margin: 0; color: var(--primary-color); }
.author-info p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.quote-icon { position: absolute; top: 15px; right: 20px; font-size: 5rem; color: #f1f5f9; line-height: 1; z-index: 1; font-family: serif; }

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3rem; }
  .feature-section, .feature-section.reverse { flex-direction: column; }
  .contact-wrapper { flex-direction: column; }
}

@media (max-width: 768px) {
  .trust-bar { display: none; } /* Reclaims screen space */
  .hero { padding-top: 100px; } /* Less padding needed since trust bar is gone */
  .nav-links {
    position: absolute;
    top: 60px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    padding: 30px 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  .nav-links.active { left: 0; }
  .mobile-menu-btn { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1.1rem !important; }
  .hero-badges { flex-direction: column; align-items: center; gap: 10px;}
  .hero-ctas { flex-direction: column; align-items: center; gap: 15px; }
  .btn { width: 100%; max-width: 320px; text-align: center; }
  .section-title { font-size: 1.8rem; }
  .trust-content { gap: 15px; } 
  .trust-item { font-size: 0.8rem; }
}

/* Gallery Snippet Grid */
.gallery-snippet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.snippet-item {
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.snippet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.snippet-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.snippet-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .gallery-snippet-grid {
    grid-template-columns: 1fr;
  }
}

/* Trust Section Styling */
.trust-section {
  background: var(--primary-color);
  color: white;
}
.trust-section .section-title { color: white; }
.trust-section .section-title::after { background: var(--accent-color); }
.trust-section .section-subtitle { color: rgba(255,255,255,0.7); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.trust-card {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  text-align: center;
}
.trust-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
  border-color: var(--accent-color);
}
.trust-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}
.trust-card h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.trust-card p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .trust-card { padding: 30px 20px; }
}
/* 7-Item Grid Logic */
.grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

@media (min-width: 1200px) {
  .grid-7 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Admissions Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 800px;
  margin: 40px auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #e2e8f0;
  z-index: 1;
}

.step-card {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.step-number {
  flex: 0 0 65px;
  height: 65px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px #f1f5f9;
  font-family: var(--font-heading);
}

.step-content {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  flex: 1;
  border-left: 5px solid var(--accent-color);
  transition: var(--transition);
}

.step-card:hover .step-content {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.step-content h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .step-number { flex: 0 0 45px; height: 45px; font-size: 1.1rem; box-shadow: 0 0 0 5px #f1f5f9; }
  .step-card { gap: 15px; }
  .step-content { padding: 20px; }
}

/* Document Checklist */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.doc-item {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e2e8f0;
}

.doc-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Admission CTA */
.admission-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  padding: 80px 40px;
  text-align: center;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.admission-banner h2 { color: white; margin-bottom: 20px; font-size: 2.5rem; }
.admission-banner p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 40px; }
