/* --- RESET & VARIABLES --- */
:root {
  --cherry-red: #D2042D;    
  --school-blue: #002855;   
  --school-yellow: #FFC72C; 
  --white: #ffffff;         
  --off-white: #f9f9f9;
  --dark-text: #333333;
  --gray-text: #555555;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;
}
/* This targets every image on your website */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark-text); line-height: 1.6; background-color: var(--white); overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- ANIMATIONS --- */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.slide-in-up { animation: slideInUp 0.8s ease-out forwards; opacity: 0; }
.fade-in-element { animation: fadeIn 0.5s ease-out forwards; }

/* --- TICKER (MARQUEE) --- */
.ticker-wrap { display: block; background-color: var(--cherry-red); width: 100%; overflow: hidden; height: 35px; line-height: 35px; color: var(--white); text-decoration: none; font-weight: bold; }
.ticker-content { display: inline-block; white-space: nowrap; padding-right: 100%; animation: ticker 10s linear infinite; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.ticker-content:hover { animation-play-state: paused; text-decoration: underline; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* --- BUTTONS --- */
.btn-primary { display: inline-block; background-color: var(--cherry-red); color: var(--white); padding: 12px 30px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; margin-top: 20px; border: 2px solid var(--cherry-red); cursor: pointer; }
.btn-primary:hover { background-color: var(--school-blue); border-color: var(--school-blue); }

/* --- HEADERS --- */
.section-tagline { display: block; color: var(--cherry-red); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 10px; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; color: var(--school-blue); margin-bottom: 15px; }
.title-underline, .center-underline { width: 60px; height: 4px; background-color: var(--school-yellow); }
.center-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; text-align: center; }
.intro-paragraph { font-size: 1.1rem; color: var(--gray-text); line-height: 1.8; max-width: 900px; margin: 0 auto; }

/* --- TOP BAR & NAV --- */
.top-bar { background-color: var(--school-blue); color: var(--gray); font-size: 0.85rem; padding: 8px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-links a, .top-socials a { color: var(--white); margin-left: 15px; font-weight: 600; }
.top-cta { background-color: var(--white); color: var(--cherry-red) !important; padding: 4px 10px; border-radius: 4px; font-weight: bold; text-transform: uppercase; font-size: 0.75rem; margin-left: 15px; }
.main-header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--school-blue); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo img { height: 65px; }
.logo-text h1 { font-family: var(--font-heading); color: var(--school-blue); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; }
.nav-links ul { display: flex; gap: 25px; }
.nav-links a { color: var(--school-blue); font-weight: 600; font-size: 0.95rem; padding: 10px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--cherry-red); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--school-blue); cursor: pointer; }

/* --- HERO SECTION (UPDATED FOR TRANSPARENCY) --- */
.hero-section { position: relative; height: 80vh; min-height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

.hero-slide { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-size: cover; 
  background-position: center; 
  opacity: 0; 
  transition: opacity 1s ease-in-out; 
}
.hero-slide.active { opacity: 1; }

.hero-overlay { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 2; 
  display: flex; 
  align-items: center; 
  /* No background color, fully transparent */
}

.hero-content { 
  position: relative; 
  z-index: 3; 
  text-align: center; 
  width: 100%; 
  /* UPDATED: Transparent background */
  background: transparent; 
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  max-width: 900px; 
  margin: 0 auto;
}

/* UPDATED: Strong text shadow for readability on bright images */
.hero-subtitle { 
  display: block; 
  color: var(--school-yellow); 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 3px; 
  margin-bottom: 15px; 
  font-size: 1.2rem; 
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9); /* Strong shadow */
}

.hero-title { 
  font-family: var(--font-heading); 
  color: var(--white); 
  font-size: 4rem; 
  margin-bottom: 0; 
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.9); /* Strong shadow */
  line-height: 1.1;
}

/* --- PAGE LAYOUTS --- */
.page-header {
  background-image: linear-gradient(rgba(0, 40, 85, 0.9), rgba(0, 40, 85, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 100px 0 60px;
  text-align: center;
  color: white;
  margin-bottom: 60px;
}
.page-header h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 10px; color: var(--school-yellow); }
.page-header p { font-size: 1.2rem; opacity: 0.9; }

.page-section { padding-bottom: 80px; }
.sidebar-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Content Left, Sidebar Right */
  gap: 50px;
}

/* Right Sidebar Menu */
.sidebar-menu {
  background: var(--off-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  align-self: start;
  border-top: 5px solid var(--school-blue);
}
.sidebar-menu h3 { color: var(--school-blue); margin-bottom: 20px; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
.sidebar-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 10px;
  background: white;
  border: 1px solid #eee;
  border-left: 4px solid transparent;
  text-align: left;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  transition: 0.3s;
}
.sidebar-btn:hover { background: white; color: var(--cherry-red); border-left-color: var(--cherry-red); transform: translateX(5px); }
.sidebar-btn.active { background: var(--cherry-red); color: white; border-left-color: var(--school-blue); }
.sidebar-btn i { font-size: 0.8rem; }

/* Content Area Tabs */
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active-tab { display: block; }
.content-main-img { width: 100%; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.quote-box { background: var(--school-yellow); color: var(--school-blue); padding: 20px; font-weight: bold; font-style: italic; border-left: 5px solid var(--school-blue); margin-top: 20px; }
.vision-box, .mission-box { background: #fff; padding: 25px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.05); }
.vision-box h3, .mission-box h3 { color: var(--cherry-red); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.mission-box ul { padding-left: 20px; list-style-type: disc; }
.mission-box li { margin-bottom: 10px; }
.address-card { display: flex; gap: 15px; align-items: flex-start; background: var(--off-white); padding: 20px; margin: 20px 0; border-radius: 8px; }
.address-card i { color: var(--cherry-red); font-size: 1.5rem; margin-top: 5px; }
.map-container { border: 5px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- SECTIONS --- */
.welcome-section { padding: 80px 0; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.welcome-image-box img { width: 100%; border-radius: 4px; box-shadow: 15px 15px 0px var(--school-blue); }
.lead-text { font-size: 1.25rem; font-weight: 600; color: var(--cherry-red); font-family: var(--font-heading); font-style: italic; }
.signature-block { margin-top: 40px; }
.signature-text { font-family: 'Cursive', serif; color: var(--cherry-red); font-size: 1.1rem; margin-bottom: 5px; }

/* --- LEADERSHIP SECTION (ANIMATED) --- */
.leadership-section { padding: 80px 0; background-color: var(--off-white); }
.leadership-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-top: 40px; }
.leader-card { 
  background: var(--white); 
  border-radius: 8px; 
  overflow: hidden; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
  text-align: center; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  border-top: 4px solid var(--school-blue); 
  cursor: pointer; 
  position: relative; 
}
/* New Hover Animations */
.leader-card:hover { 
  transform: translateY(-15px) scale(1.02); 
  box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
  border-top-color: var(--cherry-red); 
}
.leader-img { width: 100%; height: 300px; overflow: hidden; position: relative; }
.leader-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.view-profile-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(210, 4, 45, 0.7); display: flex; justify-content: center; align-items: center; color: #fff; font-weight: bold; opacity: 0; transition: 0.3s; }
.leader-card:hover .view-profile-overlay { opacity: 1; }
.leader-card:hover .leader-img img { transform: scale(1.05); }
.leader-info { padding: 20px; }
.leader-info h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--school-blue); margin-bottom: 5px; }
.leader-role { font-size: 0.85rem; color: var(--cherry-red); font-weight: 700; text-transform: uppercase; }

/* --- SQUARE IMAGES FOR ABOUT PAGE --- */
.square-img { height: 250px; } /* Explicit height to ensure square look when width is flexible or constrained */
.square-img img { aspect-ratio: 1 / 1; }

/* --- SPOTLIGHT SECTION (Updated Padding) --- */
.spotlight-section { padding: 80px 0; } /* Increased padding */
.spotlight-separator { height: 1px; background-color: #e0e0e0; width: 100%; margin: 40px 0; }
.spotlight-grid { display: flex; align-items: center; gap: 40px; max-width: 900px; margin: 0 auto; }
.spotlight-badge img { width: 150px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }
.spotlight-year { display: block; font-size: 1.5rem; font-weight: 700; color: var(--cherry-red); margin-bottom: 15px; }
.spotlight-content p { color: var(--gray-text); margin-bottom: 15px; }

/* --- INTRO TEXT SECTION (Updated Padding) --- */
.intro-text-section { padding: 80px 0; text-align: center; } /* Increased padding */
.feature-columns-section { display: flex; min-height: 450px; }
.feature-column { flex: 1; position: relative; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center; padding: 40px 20px; }
.left-column { background-image: url('https://images.unsplash.com/photo-1546410531-bb4696181180?q=80&w=2070&auto=format&fit=crop'); }
.right-column { background-image: url('https://images.unsplash.com/photo-1560523091-ce7311100f91?q=80&w=2070&auto=format&fit=crop'); }
.column-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 40, 85, 0.85); display: flex; align-items: center; justify-content: center; }
.column-content { max-width: 450px; padding: 20px; position: relative; }
.column-content h2 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 15px; }
.column-btn { display: inline-block; background-color: var(--cherry-red); color: var(--white); padding: 12px 30px; font-weight: 600; border-radius: 4px; }

.legacy-section { padding: 80px 0; text-align: center; }
.stats-section { display: flex; background-color: var(--cherry-red); color: var(--white); }
.stat-box { flex: 1; text-align: center; padding: 40px 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-box h3 { font-family: var(--font-heading); font-size: 3rem; color: var(--school-yellow); }
.varanasi-overlay { background-color: rgba(65, 93, 126, 0.8); padding: 100px 0; text-align: center; color: var(--white); }

.explore-section { padding: 80px 0; background-color: var(--off-white); }
.explore-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.explore-card { position: relative; height: 350px; overflow: hidden; border-radius: 4px; }
.explore-card img, .news-card img { width: 100%; object-fit: cover; transition: 0.4s; }
.explore-card img { height: 100%; }
.news-card img { height: 200px; }
.explore-card .card-title { position: absolute; bottom: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: var(--white); padding: 20px; font-weight: 700; font-family: var(--font-heading); border-bottom: 5px solid var(--cherry-red); transition: 0.3s; }
.explore-card:hover .card-title { background: rgba(0,40,85,0.9); border-bottom-color: var(--school-yellow); }
.news-card { border: 1px solid #eee; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.news-content { padding: 25px; }
.news-date { font-size: 0.8rem; color: var(--cherry-red); font-weight: 600; text-transform: uppercase; }
.news-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--school-blue); margin: 10px 0; }

.contact-section { padding: 80px 0; background-color: var(--off-white); }
.contact-grid-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-card { background: var(--white); padding: 20px; border-radius: 8px; display: flex; align-items: center; gap: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-left: 5px solid var(--school-blue); margin-bottom: 20px; }
.icon-box { width: 50px; height: 50px; background: var(--off-white); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--school-blue); font-size: 1.2rem; }
.whatsapp-card { border-left-color: #25D366; }
.whatsapp-card .icon-box { color: #25D366; }
.form-wrapper { background: var(--white); padding: 40px; border-radius: 8px; border-top: 5px solid var(--cherry-red); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
#form-status { margin-top: 15px; font-weight: 600; text-align: center; }
#form-status.success { color: green; }
#form-status.error { color: red; }

/* ... (All previous CSS remains the same, replace the old footer styles with the new ones below) ... */

/* --- NEW PROFESSIONAL FOOTER STYLES --- */
.new-footer {
  background-color: #fff;
  color: var(--dark-text);
  padding-top: 60px;
  border-top: 5px solid var(--school-yellow);
  font-family: var(--font-body);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr; /* Wide left, balanced center/right */
  gap: 60px;
  margin-bottom: 40px;
}

/* Column 1: Logo & About */
.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-lockup img {
  height: 70px;
}

.footer-school-name h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #8B0000; /* Dark Red/Maroon like the image example */
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.footer-school-name span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-desc {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 90%;
}

/* Column 2: Connect */
.footer-col h3 {
  font-family: 'Oswald', sans-serif; /* Or existing heading font */
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
}

.contact-list i {
  color: var(--school-blue);
  font-size: 1.2rem;
  margin-top: 4px; /* Align with text top */
}

.contact-list a {
  color: #333;
  transition: color 0.3s;
}

.contact-list a:hover {
  color: var(--cherry-red);
}

/* Column 3: Socials */
.school-location-title {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--school-blue);
  text-transform: uppercase;
  margin-top: -10px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

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

.footer-social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%; /* Circle */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: white;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer-social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.bg-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.bg-fb { background-color: #1877F2; }
.bg-yt { background-color: #FF0000; }

/* Footer Bottom Bar */
.footer-separator {
  height: 1px;
  background-color: #e0e0e0;
  margin-bottom: 25px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.copyright-info strong {
  color: var(--dark-text);
}

.footer-action-btns {
  display: flex;
  gap: 15px;
}

.footer-cta-btn {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid var(--school-yellow);
  border-radius: 50px; /* Pill shape */
  color: var(--dark-text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-cta-btn:hover {
  background-color: var(--school-yellow);
  color: var(--school-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 199, 44, 0.3);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-col:last-child {
    grid-column: span 2; /* Socials take full width on tablet */
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-top-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .footer-col:last-child {
    grid-column: auto;
    text-align: left;
  }
  .footer-socials {
    justify-content: flex-start;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-action-btns {
    width: 100%;
    flex-direction: column;
  }
  .footer-cta-btn {
    text-align: center;
    width: 100%;
  }
}
/* --- AUTOMATIC POPUP STYLES --- */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); z-index: 5000; display: none; justify-content: center; align-items: center; }
.popup-overlay.show { display: flex; }
.popup-content-wrapper { background: white; position: relative; width: 90%; max-width: 500px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); border: 5px solid var(--school-yellow); overflow: hidden; }
.close-popup-btn { position: absolute; top: 5px; right: 10px; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--school-blue); z-index: 10; }
.popup-banner { display: flex; min-height: 400px; }
.popup-side-strip { background-color: var(--school-yellow); width: 40px; display: flex; align-items: center; justify-content: center; border-right: 2px solid #fff; }
.popup-side-strip span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 800; letter-spacing: 2px; color: var(--school-blue); font-size: 1.2rem; white-space: nowrap; }
.popup-main { flex: 1; padding: 30px 20px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #fff 60%, #f0f8ff 100%); }
.popup-header h3 { color: var(--school-blue); font-size: 1.2rem; margin: 0; }
.popup-header h1 { color: var(--school-yellow); background: var(--school-blue); display: inline-block; padding: 5px 10px; font-size: 1.8rem; margin: 5px 0; font-weight: 900; text-transform: uppercase; }
.popup-header p { font-size: 1.5rem; color: #555; font-weight: bold; }
.popup-header strong { color: var(--school-blue); font-size: 2rem; }
.popup-school-name { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.popup-school-name img { height: 60px; }
.popup-school-name h2 { color: var(--school-blue); font-size: 1.2rem; line-height: 1.1; font-family: var(--font-heading); }
.popup-school-name span { font-size: 0.8rem; color: var(--cherry-red); text-transform: uppercase; font-weight: 700; }
.popup-details { position: relative; margin-bottom: 10px; }
.popup-tag { background: var(--school-yellow); color: var(--school-blue); font-weight: bold; padding: 5px 15px; display: inline-block; transform: skew(-20deg); margin-bottom: 10px; font-size: 0.9rem; }
.popup-info-box p { background: var(--school-blue); color: white; padding: 10px; border-radius: 0 20px 0 20px; font-size: 0.9rem; line-height: 1.4; }
.popup-classes-strip { background: var(--school-yellow); color: var(--school-blue); font-weight: 800; text-align: center; padding: 8px; font-size: 1.2rem; margin: 10px 0; text-transform: uppercase; }
.popup-footer p { text-align: center; font-weight: bold; color: var(--school-blue); margin-bottom: 5px; }
.popup-phone { background: var(--school-blue); color: white; text-align: center; padding: 8px; font-weight: bold; font-size: 1.1rem; }

/* --- UPDATED MODALS (SPLIT LAYOUT) --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; animation: fadeIn 0.3s; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
.modal-content { background: var(--white); width: 95%; max-width: 900px; border-radius: 8px; position: relative; overflow: hidden; max-height: 90vh; overflow-y: auto; }
.close-modal { position: absolute; top: 10px; right: 20px; font-size: 2.5rem; cursor: pointer; color: var(--school-blue); z-index: 100; background: rgba(255,255,255,0.7); border-radius: 50%; width: 40px; height: 40px; line-height: 40px; text-align: center; }
.modal-body { padding: 0; }
.modal-split-layout { display: flex; flex-direction: row; align-items: stretch; min-height: 400px; }
.modal-left-bio { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.modal-left-bio h3 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--school-blue); margin-bottom: 5px; }
.modal-role { font-size: 1rem; color: var(--cherry-red); font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: block; }
.modal-text p { margin-bottom: 15px; color: var(--dark-text); line-height: 1.8; }
.modal-right-img { flex: 1; max-width: 45%; position: relative; }
.modal-right-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- SUCCESS MODAL SPECIFIC STYLES --- */
.success-content-box { max-width: 500px; text-align: center; border-top: 5px solid #25D366; }
.success-body { padding: 30px; display: flex; flex-direction: column; align-items: center; }
.success-circle-img { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid #25D366; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.success-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.success-title { color: #25D366; font-family: var(--font-heading); font-size: 2rem; margin-bottom: 15px; }
.success-long-text { width: 100%; max-height: 250px; overflow-y: auto; text-align: left; background: #f9f9f9; padding: 15px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 20px; font-size: 0.9rem; line-height: 1.5; }
.success-long-text p { margin-bottom: 5px; border-bottom: 1px dashed #eee; padding-bottom: 2px; }

/* --- NEW FLOATING ACTION BUTTONS (FAB) --- */
.fab-container { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 4000; }
.fab-container-left { position: fixed; bottom: 20px; left: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 4000; }
.fab-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 1.8rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.fab-btn:hover { transform: scale(1.1); box-shadow: 0 6px 15px rgba(0,0,0,0.4); }
.fab-call { background-color: #007bff; }
.fab-whatsapp { background-color: #25D366; }
.fab-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
.fab-fb { background-color: #3b5998; }
.fab-tooltip, .fab-tooltip-left { position: absolute; background-color: rgba(0,0,0,0.8); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; opacity: 0; transition: opacity 0.3s; pointer-events: none; white-space: nowrap; }
.fab-tooltip { right: 70px; }
.fab-tooltip-left { left: 70px; }
.fab-btn:hover .fab-tooltip, .fab-btn:hover .fab-tooltip-left { opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
  .top-bar, .hero-subtitle { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
  .nav-links.active { display: flex; }
  .nav-links ul { flex-direction: column; }
  .leadership-grid, .contact-grid-layout, .footer-grid, .explore-grid, .news-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .modal-split-layout { flex-direction: column-reverse; }
  .modal-right-img { max-width: 100%; height: 300px; }
  .modal-left-bio { padding: 30px 20px; }
  .close-modal { top: 10px; right: 10px; color: white; background: rgba(0,0,0,0.5); }
  .fab-container { bottom: 15px; right: 15px; }
  .fab-container-left { bottom: 15px; left: 15px; }
  .fab-btn { width: 50px; height: 50px; font-size: 1.5rem; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar-menu { width: 100%; order: -1; margin-bottom: 30px; }
}
/* ... (All previous CSS remains the same, I am appending new styles at the end) ... */

/* --- ADMISSION PAGE STYLES --- */
.guideline-box {
  background: #fff;
  padding: 25px;
  border-left: 4px solid var(--school-yellow);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  border-radius: 4px;
}
.guideline-box h3 {
  color: var(--school-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guideline-box i {
  color: var(--cherry-red);
}

.bullet-list {
  list-style: none;
  padding: 0;
}
.bullet-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.bullet-list li::before {
  content: "\f00c"; /* FontAwesome checkmark */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--cherry-red);
  font-size: 0.9rem;
}

.contact-list-card {
  background: var(--off-white);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.contact-list-card ul {
  list-style: none;
  padding: 0;
}
.contact-list-card li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.contact-list-card li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-list-card strong {
  display: block;
  font-size: 1.1rem;
  color: var(--school-blue);
  margin-bottom: 5px;
}
.contact-list-card i {
  color: var(--cherry-red);
  margin-right: 8px;
}
.text-center { text-align: center; }
/* ... (All previous CSS remains the same, I am appending new styles at the end) ... */

/* --- GALLERY PAGE STYLES --- */
.gallery-section {
  background-color: #f0f4f8; /* Light background for contrast */
  padding-top: 60px;
}

.gallery-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* FLASHY HOVER EFFECT */
.gallery-item:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1); /* Subtle internal zoom */
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 40, 85, 0.9), transparent); /* Transparent heading background */
  padding: 30px 20px 20px;
  color: white;
  transition: 0.3s;
}

.gallery-item h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.view-icon {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--school-yellow);
  opacity: 0; /* Hidden by default */
  transform: translateY(10px);
  transition: 0.3s;
  display: inline-block;
}

.gallery-item:hover .view-icon {
  opacity: 1;
  transform: translateY(0);
}

/* --- LIGHTBOX STYLES --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 6000;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border: 5px solid white;
  box-shadow: 0 0 50px rgba(255,255,255,0.1);
  border-radius: 4px;
}

.lightbox-caption {
  color: white;
  margin-top: 15px;
  text-align: center;
  font-family: var(--font-heading);
}

#gallery-title {
  display: block;
  font-size: 1.5rem;
  color: var(--school-yellow);
  margin-bottom: 5px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}
.close-lightbox:hover { color: var(--cherry-red); transform: rotate(90deg); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.3);
  color: var(--school-yellow);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Responsive Grid for Gallery */
@media (max-width: 1024px) {
  .gallery-grid-8 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid-8 { grid-template-columns: 1fr; }
}
/* ... (All previous CSS remains the same, appending new styles below) ... */

/* --- FAQ PAGE STYLES --- */
.faq-container {
  margin-top: 20px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  background-color: #fff;
  color: var(--school-blue);
  padding: 18px 20px;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
}

.faq-question:hover {
  background-color: #f9f9f9;
  color: var(--cherry-red);
}

/* Active state styling */
.faq-question.active {
  background-color: var(--off-white);
  color: var(--cherry-red);
  border-bottom: 1px solid #eee;
}

/* Icon rotation when active */
.faq-question i {
  transition: transform 0.3s;
  color: var(--cherry-red);
}
.faq-question.active i {
  transform: rotate(45deg); /* Turns '+' into 'x' style or rotate arrow */
}

/* The Answer Panel */
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer p {
  margin: 15px 0;
  color: var(--gray-text);
  line-height: 1.6;
}

/* Class added via JS to open */
.faq-answer.open {
  max-height: 300px; /* Arbitrary large height */
  /* padding: 15px 20px; handled by p margin usually, but safe to keep padding 0 on parent for smooth collapse */
}
/* --- CTA BUTTONS --- */
.cta-wrapper {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--cherry-red);
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 2px solid var(--cherry-red);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--cherry-red);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(210, 4, 45, 0.3);
}

/* Update btn-primary to match animation */
.btn-primary {
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 40, 85, 0.3);
}
/* ... (All previous CSS remains the same, appending new styles below) ... */

/* --- CONTACT PAGE STYLES --- */
.contact-page-section {
  background-color: #f8f9fa;
  padding-top: 60px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* Left Column Styles */
.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.info-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--school-blue);
  margin-bottom: 15px;
  transition: 0.3s;
}

.info-card:hover .icon-circle {
  background: var(--school-blue);
  color: white;
}

.whatsapp-icon { color: #25D366; }
.info-card:hover .whatsapp-icon { background: #25D366; color: white; }

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-text);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 15px;
}

.card-link-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cherry-red);
  text-transform: uppercase;
  border: 1px solid var(--cherry-red);
  padding: 5px 15px;
  border-radius: 20px;
  transition: 0.3s;
}

.card-link-btn:hover {
  background: var(--cherry-red);
  color: white;
}

.whatsapp-btn-style {
  color: #25D366;
  border-color: #25D366;
}
.whatsapp-btn-style:hover {
  background: #25D366;
  color: white;
}

/* Social Connect Box */
.social-connect-box {
  margin-bottom: 40px;
}
.social-connect-box h3 {
  margin-bottom: 15px;
  font-family: var(--font-heading);
  color: var(--school-blue);
}
.social-big-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.social-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  color: white;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
}
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.social-btn.fb { background: #3b5998; }
.social-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.yt { background: #FF0000; }

/* Map Embed */
.map-embed-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: 5px solid white;
}

/* Right Column Styles (Form) */
.contact-right {
  height: 100%;
}

.form-container-styled {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-top: 5px solid var(--school-yellow);
}

.form-container-styled h2 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  margin-bottom: 10px;
}

.form-container-styled p {
  color: var(--gray-text);
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-text);
  font-size: 0.9rem;
}

.input-group input, 
.input-group select, 
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  transition: 0.3s;
  background: #fdfdfd;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
  border-color: var(--school-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 40, 85, 0.1);
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-main-grid { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .info-cards-grid { grid-template-columns: 1fr; }
}
/* --- TESTIMONIALS PAGE STYLES --- */

/* Google Review CTA Box */
.google-review-cta {
  background-color: var(--off-white);
  padding: 0 0 40px 0;
  margin-top: -30px; /* Pull up to overlap header slightly if desired, or set to 0 */
  position: relative;
  z-index: 10;
}

.review-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  border-left: 8px solid #4285F4; /* Google Blue */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-text h2 {
  font-family: var(--font-heading);
  color: var(--school-blue);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-text p {
  color: var(--gray-text);
  max-width: 600px;
  font-size: 1rem;
}

.google-btn {
  background-color: #4285F4;
  color: white;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.google-btn:hover {
  background-color: #3367d6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
}

.google-btn i {
  font-size: 1.2rem;
}

/* Testimonials Grid */
.testimonial-section {
  background-color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testi-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--school-yellow);
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: rgba(0, 40, 85, 0.05); /* Very faint school blue */
  pointer-events: none;
}

.testi-content p {
  color: var(--gray-text);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.testi-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.testi-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--off-white);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.profile-info h4 {
  color: var(--school-blue);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.profile-info span {
  font-size: 0.8rem;
  color: var(--cherry-red);
  display: block;
  margin-bottom: 5px;
}

.stars {
  color: var(--school-yellow);
  font-size: 0.8rem;
}

/* Scroll Animation Class */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments for Testimonials */
@media (max-width: 768px) {
  .review-cta-box {
    flex-direction: column;
    text-align: center;
  }
  .google-btn {
    width: 100%;
    justify-content: center;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
/* --- MOBILE FIXES (Add to bottom of style.css) --- */
@media (max-width: 768px) {

  /* 1. FIX IMAGE CROPPING (LEADERSHIP & GENERAL) */
  .leader-img {
    height: auto !important;       /* Stop forcing 300px height */
    aspect-ratio: 3/4;             /* Enforce a portrait shape (standard photo size) */
    max-height: 400px;             /* Prevent it from becoming too huge */
  }
  
  .leader-img img {
    object-fit: cover;             /* Keep cover to fill the shape */
    object-position: top center;   /* Focus on the TOP of the image (Faces) */
  }

  /* Fix Square Images in About Page */
  .square-img {
    height: auto !important;
    aspect-ratio: 1/1;
  }
  
  /* Fix Gallery/News Cards on mobile */
  .explore-card img, .news-card img {
    height: 250px;                 /* Give them a bit more room */
    object-position: center top;   /* Focus on top/center */
  }
}
@media (max-width: 768px) {

  /* 2. ORGANIZE INDEX PAGE SECTIONS */
  
  /* Welcome Section: Stack Image and Text */
  .welcome-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  /* Make the welcome image look better */
  .welcome-image-box img {
    box-shadow: 10px 10px 0px var(--school-blue); /* Adjust shadow for mobile */
    margin: 0 auto; /* Center it */
  }

  /* Spotlight Section: Stack Badge and Content */
  .spotlight-grid {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .spotlight-badge img {
    width: 100px; /* Smaller badge on mobile */
    margin: 0 auto;
  }

  /* Stats Section: Stack the numbers */
  .stats-section {
    flex-direction: column;
    gap: 0; /* Remove gap, let borders or padding handle it */
  }
  
  .stat-box {
    border-right: none;          /* Remove side border */
    border-bottom: 1px solid rgba(255,255,255,0.2); /* Add bottom border */
    padding: 30px 15px;
  }

  /* Feature Columns (Legacy/Approach): Stack them */
  .feature-columns-section {
    flex-direction: column;
  }
  
  .feature-column {
    min-height: 300px; /* Ensure they have height */
  }
}
@media (max-width: 768px) {

  /* 3. FIX CONTACT PAGE */
  
  /* Fix the Layout Grid */
  .contact-main-grid {
    grid-template-columns: 1fr; /* Stack Left and Right columns */
    gap: 40px;
  }

  /* Fix the Info Cards Grid (Phone, Email, etc) */
  .info-cards-grid {
    grid-template-columns: 1fr; /* Stack them single file */
  }

  /* CRITICAL: Fix the Map Overflow */
  .map-embed-box iframe {
    width: 100% !important; /* Force map to fit screen width */
    height: 300px;          /* Reasonable height for mobile */
  }

  /* Adjust Social Buttons */
  .social-big-icons {
    flex-direction: column; /* Stack buttons vertically */
  }
  
  .social-btn {
    width: 100%; /* Full width buttons */
  }
}
@media (max-width: 768px) {
  /* Fix for Hero Images on Mobile */
  .hero-section {
    height: 50vh; /* Reduces the height on mobile */
    min-height: 300px; /* Much shorter than the 500px desktop height */
  }

  /* Optional: Keeps the focus on the upper middle of the photo (good for faces/buildings) */
  .hero-slide {
    background-position: center top; 
  }
}