/* * Ambition Classes - Global Production Stylesheet
 * Design System: Modern, Academic, Premium
 */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --primary: #0f172a;       /* Deep Navy */
  --primary-light: #1e293b;
  --accent: #0d9488;        /* Teal */
  --whatsapp: #22c55e;      /* Vibrant Green from image */
  --bg-light: #f8fafc;      /* Off-white */
  --white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   2. TYPOGRAPHY & SECTION HEADERS
   ========================================= */
h1, h2, h3 {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section {
  padding: 100px 5% 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   3. NAVBAR
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
  position: relative;
  background: radial-gradient(circle at 70% 30%, #f1f5f9 0%, #ffffff 100%);
  padding: 120px 6% 80px;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
}

/* =========================================
   5. INFO BLOCKS & GRIDS
   ========================================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-block {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.info-block:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.info-block h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.info-block ul, .details-list {
  list-style: none;
}

.info-block li, .details-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-main);
  font-size: 0.95rem;
}

.info-block li::before, .details-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* =========================================
   6. FACULTY & OWNER BOX
   ========================================= */
.owner-box, .faculty-card {
  background: var(--primary);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.owner-box h3, .faculty-card h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.owner-box p, .faculty-card p {
  color: #cbd5e1;
}

/* =========================================
   7. GALLERY & TABS
   ========================================= */
.gallery {
  background: var(--bg-light);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  color: var(--text-muted);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.gallery-content {
  display: none;
}

.gallery-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* =========================================
   8. CONTACT & MAP
   ========================================= */
#contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

#contact h2 { grid-column: 1 / -1; }

.contact-details p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   9. FINAL CTA (MATCHING SCREENSHOT)
   ========================================= */
.final-cta {
  text-align: center;
  padding: 80px 5%;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.final-cta h2::after { display: none; } /* Removing the line for this specific section header */

.final-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

.btn:first-child {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* =========================================
   10. FOOTER & FLOATING UI
   ========================================= */
.footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 5%;
}

.footer p { opacity: 0.6; font-size: 0.9rem; }

.float-btn {
  position: fixed;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.float-btn:hover { transform: scale(1.1); }
.whatsapp { bottom: 30px; background: var(--whatsapp); }
.call { bottom: 105px; background: var(--primary); }

/* =========================================
   11. LIGHTBOX & ANIMATIONS
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   12. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
  #contact { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-subtext { margin: 0 auto; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; } /* Standard hidden behavior for JS toggle */
  
  .section { padding: 60px 6%; }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .btn { width: 100%; text-align: center; }
  
  .hero-image img { max-width: 280px; }
  
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  
  .float-btn { width: 50px; height: 50px; font-size: 20px; }
  .call { bottom: 90px; }
}


/* ===============================
   GALLERY SLIDER
================================ */

.gallery-slider-wrapper{
  position: relative;
  display:flex;
  align-items:center;
}

.gallery-grid{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-behavior:smooth;
}

.gallery-grid::-webkit-scrollbar{
  display:none;
}

.gallery-grid img{
  min-width:260px;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
}

.gallery-arrow{
  position:absolute;
  background:white;
  border:none;
  font-size:28px;
  cursor:pointer;
  padding:8px 14px;
  border-radius:50%;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
  z-index:5;
}

.gallery-arrow.left{
  left:-10px;
}

.gallery-arrow.right{
  right:-10px;
}


.admission-banner{
  max-width:900px;
  margin:50px auto;
  padding:25px 30px;
  background:#0f172a;
  color:white;
  text-align:center;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.admission-banner h3{
  font-size:26px;
  margin-bottom:12px;
  color: #1cc9d2;
}

.admission-banner p{
  font-size:17px;
  margin:6px 0;
  letter-spacing:0.3px;
}

/* ===============================
   MOBILE HERO FIX
================================ */

.hero-image{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-image img{
  width:100%;
  max-width:380px;
  height:auto;
  object-fit:contain;
}


/* ===============================
   PREVENT HORIZONTAL SCROLL
================================ */

html, body{
  max-width:100%;
  overflow-x:hidden;
}

section{
  max-width:100%;
  overflow-x:hidden;
}

.gallery-slider-wrapper{
  overflow:hidden;
}


/* ===============================
   EXTRA MOBILE TUNING
================================ */

@media (max-width:768px){

.hero{
  padding:100px 20px 60px;
}

.hero-content{
  gap:25px;
}

.hero-image img{
  max-width:240px;
}

.gallery-arrow.left{
  left:5px;
}

.gallery-arrow.right{
  right:5px;
}

}

<!-- /* /* =========================================
   AMBITION CLASSES - MASTER STYLESHEET
   ========================================= */
:root {
  --primary: #0f172a;
  --accent: #0d9488;
  --whatsapp: #22c55e;
  --white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --radius: 16px;
  --transition: all 0.3s ease;
}

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

html, body { 
  max-width: 100%; 
  overflow-x: hidden; /* No more horizontal scrollbar */
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-main);
}

/* SECTION HEADERS */
h2 { 
  font-size: clamp(1.75rem, 5vw, 2.5rem); 
  text-align: center; 
  margin-bottom: 3rem; 
  position: relative; 
}
h2::after { 
  content: ""; display: block; width: 50px; height: 4px; 
  background: var(--accent); margin: 0.75rem auto 0; 
}

/* GALLERY TABS */
.gallery-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.tab-btn { 
  padding: 10px 25px; border-radius: 50px; border: 1px solid #ddd; 
  background: white; cursor: pointer; font-weight: 700; transition: var(--transition); 
}
.tab-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.gallery-content { display: none; }
.gallery-content.active { display: block; animation: fadeIn 0.4s ease; }

/* GALLERY SLIDER & GRID */
.gallery-slider-wrapper { 
  position: relative; width: 100%; overflow: hidden; padding: 10px 0;
}
.gallery-grid { 
  display: flex; gap: 15px; overflow-x: auto; 
  scroll-behavior: smooth; padding: 0 10px;
}
.gallery-grid::-webkit-scrollbar { display: none; } /* Hidden but scrollable */

.gallery-grid img { 
  min-width: 280px; height: 200px; object-fit: cover; 
  border-radius: 12px; cursor: pointer; transition: var(--transition); 
}
.gallery-grid img:hover { transform: scale(1.02); }

.gallery-arrow { 
  position: absolute; top: 50%; transform: translateY(-50%);
  background: white; border: none; width: 40px; height: 40px; 
  border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
  z-index: 10; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gallery-arrow.left { left: 5px; }
.gallery-arrow.right { right: 5px; }

/* LIGHTBOX (FIXED ZOOM & MOBILE) */
.lightbox { 
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.95); 
  display: none; align-items: center; justify-content: center; z-index: 9999; 
}
.lightbox.active { display: flex; }

.lightbox-content { 
  position: relative; width: 95%; max-width: 900px; 
  display: flex; justify-content: center; align-items: center;
}

#lightbox-img { 
  max-width: 100%; max-height: 80vh; /* Prevents overflow/zoom on mobile */
  object-fit: contain; border-radius: 4px; 
}

.lightbox-close { 
  position: absolute; top: -45px; right: 0; font-size: 30px; 
  color: white; cursor: pointer; padding: 10px;
}

/* LIGHTBOX NAVIGATION */
.nav-btn { 
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); color: white; border: none; 
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; 
  font-size: 20px; transition: 0.3s; z-index: 10000;
}
.nav-btn:hover { background: var(--accent); }
.prev-btn { left: -70px; }
.next-btn { right: -70px; }

/* MOBILE RESPONSIVE QUERIES */
@media (max-width: 1024px) {
    .prev-btn { left: 10px; background: rgba(0,0,0,0.5); }
    .next-btn { right: 10px; background: rgba(0,0,0,0.5); }
}

@media (max-width: 768px) {
    .gallery-grid img { min-width: 220px; height: 160px; }
    #lightbox-img { max-height: 70vh; }
    .lightbox-close { top: -40px; right: 10px; }
    .nav-btn { width: 40px; height: 40px; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }  -->