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

:root {
  /* Color Palette - Deep Maroon & Champagne Gold Theme (Option 7B) */
  --primary-color: #881337;    /* Deep Dusty Maroon */
  --primary-light: #4c0519;    /* Darker Maroon */
  --secondary-color: #fcd34d;  /* Champagne Gold */
  --secondary-hover: #f59e0b;  /* Rich Gold */
  --accent-color: #ffffff;     /* White Accent */
  --bg-color: #fff1f2;         /* Very subtle pink/warm white */
  --surface-color: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  
  /* Layout */
  --container-width: 1200px;
  --nav-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.school-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: inline-block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--secondary-color);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.nav-btn:hover {
  background: var(--secondary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-btn::after {
  display: none !important;
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s ease-out;
}

.hero-content h1 span {
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e2e8f0;
  animation: fadeUp 0.8s ease-out 0.2s backwards;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 211, 77, 0.6);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-image {
  position: relative;
  animation: fadeIn 1s ease-out 0.5s backwards;
  margin-top: -7rem;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.1);
}

/* Glassmorphism Badge */
.glass-badge {
  position: absolute;
  bottom: -35px;
  left: 20px;
  background: var(--primary-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--secondary-color);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(136, 19, 55, 0.4);
  color: white;
}

.glass-badge strong {
  color: var(--secondary-color);
}

.glass-badge .icon {
  background: var(--secondary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

/* --- Sections --- */
.section {
  padding: 6rem 0;
}

/* --- Stats Section --- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 4rem 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  gap: 2rem;
}

.stat-item {
  flex: 1;
  min-width: 180px;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-bg-light {
  background-color: var(--surface-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 2rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--secondary-hover);
  color: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
}

/* --- Internal Pages Headers --- */
.page-header {
  background: var(--primary-color);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: var(--bg-color);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-header h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease-out;
}

.page-header p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease-out 0.2s backwards;
}

/* --- Content Layouts --- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-content img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.split-content img:hover {
  transform: scale(1.02);
}

.content-image-collage {
  position: relative;
  min-height: 400px;
}

.content-image-collage img {
  position: absolute;
  width: 65%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 5px solid white;
  transition: var(--transition);
}

.content-image-collage .img-back {
  top: 0;
  right: 0;
  z-index: 1;
}

.content-image-collage .img-front {
  bottom: 0;
  left: 0;
  z-index: 2;
  transform: translateY(15%);
}

.content-image-collage img:hover {
  transform: scale(1.05);
  z-index: 3;
}

.content-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.content-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* --- Forms --- */
.form-container {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(136, 19, 55, 0.15); /* Soft Maroon Border */
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--primary-color);
  background-color: var(--surface-color);
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:hover {
  border-color: rgba(136, 19, 55, 0.3);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.25);
  background-color: #fffaf0; /* Subtle warm gold tint on focus */
}

/* Premium Select Dropdown */
select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Thicker, more elegant maroon arrow */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23881337' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1.2rem;
  padding-right: 3.5rem; /* Room for the arrow */
  font-weight: 500;
}

select.form-control:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select.form-control option {
  color: var(--primary-color);
  background: white;
  padding: 1rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* --- Gallery & Masonry --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 4 / 3;
}

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

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  padding: 2rem 1rem 1rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0;
}

/* --- Social Media Banner --- */
.social-banner {
  background: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
  border-radius: 20px;
  margin-top: 4rem;
}

.social-icons-large {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-icons-large a {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  transition: var(--transition);
}

.social-icons-large a:hover {
  background: var(--secondary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface-color);
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  transform: translateY(50px) scale(0.9);
  transition: var(--transition);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.branch-box {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.branch-box:hover {
  border-color: var(--secondary-color);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.branch-icon {
  background: var(--primary-color);
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.branch-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.branch-details p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Animations & Dynamics --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Footer --- */
footer {
  background: var(--primary-color);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo .school-logo-img {
  height: 65px;
  background-color: white;
  border-radius: 50%;
  padding: 4px;
}



.footer-col p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1.6;
  text-wrap: pretty;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: #94a3b8;
  align-items: flex-start;
}

.contact-info i {
  color: var(--secondary-color);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #64748b;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin-top: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .glass-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .split-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--surface-color);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Admission Age Criteria --- */
.age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.age-card {
  background: var(--surface-color);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.age-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.age-card-icon {
  background: rgba(252, 211, 77, 0.2);
  color: var(--secondary-hover);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.age-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
}

.age-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Academics Collage --- */
.academics-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.academics-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.academics-collage img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.academics-collage .img-main {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  height: 250px;
}

.academics-collage .img-sub {
  height: 180px;
}

/* --- Photo Cards --- */
.photo-card {
  padding: 0 !important;
  overflow: hidden;
  text-align: left !important;
  display: flex;
  flex-direction: column;
}

.photo-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
}

.photo-card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.photo-card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* --- Founders Dual Image --- */
.founders-dual-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.founder-img-wrapper {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  height: 100%;
  max-height: 450px;
}

.founder-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.founder-img-wrapper:hover img {
  transform: scale(1.05);
}

.img-zoom-anil {
  transform: scale(2.8);
  transform-origin: 48% 52%;
}

.founder-img-wrapper:hover .img-zoom-anil {
  transform: scale(2.9);
}
