/* ===========================================================
   AL-AMEEN RESIDENTIAL SCHOOL - CUSTOM CSS DESIGN
   =========================================================== */

/* Base Styles and Variables */
:root {
  --primary-color: #1a4b84;
  --secondary-color: #f8b500;
  --accent-color: #e74c3c;
  --light-color: #f5f7fa;
  --dark-color: #2c3e50;
  --text-color: #333;
  --light-text: #f5f7fa;
  --border-radius: 8px;
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(26, 75, 132, 0.2);
}

.btn:hover {
  background-color: #0f3360;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(26, 75, 132, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  box-shadow: 0 4px 6px rgba(248, 181, 0, 0.2);
}

.btn-secondary:hover {
  background-color: #e5a700;
  color: var(--dark-color);
  box-shadow: 0 6px 12px rgba(248, 181, 0, 0.3);
}

img {
  max-width: 100%;
  height: auto;
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-line {
  height: 4px;
  width: 70px;
  background: var(--secondary-color);
  margin: 15px auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--dark-color);
  font-style: italic;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(193, 212, 240, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 10px 0;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 15px;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.9rem;
  color: var(--dark-color);
  margin-bottom: 0;
  font-weight: 500;
  margin-top: 3px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  color: var(--dark-color);
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

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

/* Hero Section - Updated for single full image on right side */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #e9f9ff 0%, #eff1fb 100%);
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 50%;
}

.hero-content h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content .tagline {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.hero-image {
  width: 45%;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;

  box-shadow: var(--box-shadow);
  object-fit: cover;
  transition: var(--transition);
  max-height: 400px; /* Ensure image isn't too tall */
}

.hero-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Updated Media Queries */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-container {
    flex-direction: row; /* Keep as row instead of column */
    align-items: center;
  }
  
  .hero-content {
    width: 55%;
    text-align: left; /* Keep text aligned left */
    padding-right: 20px;
  }
  
  .hero-image {
    width: 40%;
  }
  
  .hero-buttons {
    justify-content: flex-start; /* Align buttons to the left */
  }
}

@media (max-width: 768px) {
  .hero-content {
    width: 50%;
  }
  
  .hero-image {
    width: 45%;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content .tagline {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-container {
    flex-direction: row; /* Maintain row direction */
  }
  
  .hero-content {
    width: 45%;
  }
  
  .hero-image {
    width: 50%;
  }
  
  .hero-image img {
    height: auto;
    max-height: 250px; /* Control image height on smaller screens */
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .hero-content .tagline {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    justify-content: space-between;
  }
  
  .hero-content {
    width: 42%;
  }
  
  .hero-image {
    width: 53%;
  }
  
  .hero-content h2 {
    font-size: 1.3rem;
  }
  
  .hero-content p {
    font-size: 0.85rem;
  }
  
  .hero-buttons .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Hero Decorative Elements */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
}

.decoration-1 {
  width: 200px;
  height: 200px;
  background-color: var(--secondary-color);
  top: -50px;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.decoration-2 {
  width: 150px;
  height: 150px;
  background-color: rgba(26, 75, 132, 0.5);
  bottom: -30px;
  left: 5%;
  animation: float 6s ease-in-out infinite 1s;
}

.decoration-3 {
  width: 100px;
  height: 100px;
  background-color: var(--accent-color);
  top: 60%;
  right: 20%;
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Statistics Banner */
.stats-banner {
  background: linear-gradient(to right, var(--primary-color), #2c5ba6);
  padding: 60px 0;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-item::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.stat-item:last-child::after {
  display: none;
}

.stat-item i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.stat-item p {
  margin-bottom: 0;
  font-size: 1rem;
  opacity: 0.8;
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-image {
  width: 40%;
  position: relative;
}

.image-frame {
  position: relative;
  border: 5px solid rgb(42, 73, 93);
  box-shadow: var(--box-shadow);
  transform: rotate(-3deg);
  transition: var(--transition);
  overflow: hidden;
  border-radius: 10px;
}

.image-frame:hover {
  transform: rotate(0);
}

.image-frame img {
  display: block;
  width: 100%;
  transition: var(--transition);
}

.image-frame:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 120px;
  height: 120px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--dark-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 181, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(248, 181, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 181, 0, 0);
  }
}

.experience-badge span {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
}

.experience-badge h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

.about-text {
  width: 60%;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-features {
  margin: 30px 0;
}

.feature {
  display: flex;
  margin-bottom: 20px;
  background-color: #b1b4ba;
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature i {
  font-size: 2rem;
  color: black;
  margin-right: 15px;
  min-width: 50px;
}

.feature h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: black;
}

.feature p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content .tagline {
    font-size: 1.2rem;
  }
  
  .feature i {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content, .hero-image {
    width: 100%;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image, .about-text {
    width: 100%;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
  
  .logo img {
    height: 45px;
  }
  
  .logo-text h1 {
    font-size: 1rem;
  }
  
  .logo-text p {
    font-size: 0.8rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  nav ul li {
    margin: 10px 0;
    margin-left: 0;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .experience-badge {
    width: 100px;
    height: 100px;
    right: -15px;
    bottom: -15px;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-image {
    grid-template-columns: 1fr;
  }
  
  .hero-image img:first-child,
  .hero-image img:last-child {
    transform: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature i {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Academics Section Styling */
.academics {
  background-color: #e1e4eb;
}

.academics-tabs {
  width: 100%;
  box-shadow: 0 5px 15px rgb(232, 21, 21);
  border-radius: var(--border-radius);
  background-color: rgb(229, 244, 224);
  overflow: hidden;
}

/* Tab Headers */
.tabs-header {
  display: flex;
  border-bottom: 1px solid #ff0b0b;
}

.tab-btn {
  flex: 1;
  padding: 15px;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 1rem;
  color: var(--dark-color);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  background-color: rgba(26, 75, 132, 0.05);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--secondary-color);
  background-color: rgba(26, 75, 132, 0.1);
}

/* Tab Content */
.tabs-content {
  padding: 30px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

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

/* Content Layout */
.academics-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.academics-image {
  width: 40%;
}

.academics-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.academics-image img:hover {
  transform: scale(1.03);
}

.academics-text {
  width: 60%;
}

.academics-text h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.academics-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.academics-features .feature {
  padding: 15px;
  text-align: center;
  height: 100%;
}

.academics-features .feature i {
  font-size: 1.8rem;
  margin-right: 0;
  margin-bottom: 10px;
}

.academics-features .feature h4 {
  margin-bottom: 0;
}

/* School Levels Styling */
.academics-levels {
  margin-top: 15px;
}

.academic-level {
  margin-bottom: 30px;
  background-color: #f9fafc;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.academic-level:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.level-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--primary-color);
  color: white;
}

.level-header i {
  font-size: 1.5rem;
  margin-right: 15px;
}

.level-header h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
}

.level-content {
  padding: 20px;
  display: flex;
  gap: 20px;
}

.level-content img {
  width: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.level-details {
  flex: 1;
}

.level-details p {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.level-details ul {
  padding-left: 20px;
}

.level-details li {
  margin-bottom: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .tabs-header {
    flex-direction: column;
  }
  
  .tab-btn {
    text-align: center;
    padding: 12px;
  }
  
  .academics-content {
    flex-direction: column;
  }
  
  .academics-image, .academics-text {
    width: 100%;
  }
  
  .academics-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tabs-content {
    padding: 20px;
  }
  
  .level-content {
    flex-direction: column;
  }
  
  .level-content img {
    width: 100%;
    height: 200px;
  }
  
  .academics-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .tabs-header {
    padding: 5px;
  }
  
  .tab-btn {
    font-size: 0.9rem;
    padding: 10px 5px;
  }
  
  .academics-text h3 {
    font-size: 1.5rem;
  }
}
/* Additional CSS fixes for tab display */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* Ensure images are displayed consistently */
.level-content img {
  width: 200px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

/* Fix middle school content layout */
.level-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Make sure all buttons are visible */
.button-container {
  clear: both;
  margin-top: 20px;
  text-align: center;
}

/* Additional responsive fixes */
@media (max-width: 768px) {
  .tab-content {
    padding: 15px;
  }
  
  .level-content {
    flex-direction: column;
    align-items: center;
  }
  
  .level-content img {
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
  }
}

/* Enhanced Sports Gallery Styling */
.sports-gallery-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1000px;
}

.sports-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sports-info {
  width: 35%;
  padding-right: 20px;
}

.sports-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  transform-style: preserve-3d;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
  transform: translateY(-10px) rotateY(5deg);
}

.gallery-frame {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 4px solid var(--primary-color);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.gallery-item:nth-child(odd) .gallery-frame {
  transform: rotate(-2deg);
}

.gallery-item:nth-child(even) .gallery-frame {
  transform: rotate(2deg);
}

.gallery-item:hover .gallery-frame {
  border-color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(26, 75, 132, 0.3), 
              0 0 0 2px rgba(248, 181, 0, 0.5), 
              0 0 30px rgba(248, 181, 0, 0.2);
}

/* Common styling for both images and videos */
.gallery-frame img,
.gallery-frame video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-frame img,
.gallery-item:hover .gallery-frame video {
  transform: scale(1.05);
}

/* Video-specific styling */
.gallery-item.video-item .gallery-frame {
  position: relative;
}

.gallery-item.video-item .gallery-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item.video-item:hover .gallery-frame::before {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Image Viewer Modal */
.image-viewer {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-viewer.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.viewer-content {
  position: relative;
  width: 80%;
  max-width: 1000px;
  max-height: 90vh;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.viewer-content img,
.viewer-content video {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 5px solid white;
  border-radius: 5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-viewer {
  position: absolute;
  top: -40px;
  right: 0px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

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

.image-caption {
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 1.2rem;
  background-color: rgba(26, 75, 132, 0.8);
  border-radius: 0 0 5px 5px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: -70px;
}

.next-btn {
  right: -70px;
}

/* Responsive Styling */
@media (max-width: 992px) {
  .sports-content {
    flex-direction: column;
  }
  
  .sports-info, .sports-gallery-container {
    width: 100%;
  }
  
  .sports-gallery-grid {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .gallery-frame img,
  .gallery-frame video {
    height: 180px;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .prev-btn {
    left: -50px;
  }
  
  .next-btn {
    right: -50px;
  }
}

@media (max-width: 576px) {
  .sports-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-frame img,
  .gallery-frame video {
    height: 220px;
  }
  
  .nav-btn {
    top: auto;
    bottom: -70px;
    transform: none;
  }
  
  .prev-btn {
    left: 30%;
  }
  
  .next-btn {
    right: 30%;
  }
  
  .image-caption {
    margin-bottom: 50px;
  }
}
/* Admission Section Styling */
.admission {
  background: linear-gradient(135deg, #d5d9f0 0%, #eeeff1 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.admission .section-header {
  position: relative;
  z-index: 2;
}

.admission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
}

/* Admission Process Steps */
.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgb(255, 255, 255);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 45px;
  height: 45px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.step-content h4 {
  color: #000000;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.step-content p {
  color: #000000;
  line-height: 1.6;
}

/* Eligibility Criteria */
.eligibility-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0,46,109,0.08);
}

.card-header h3 {
  color: #1e3a8a;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
}

.card-body li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.card-body li:last-child {
  border-bottom: none;
}

.card-body li i {
  color: #2563eb;
  font-size: 1.2rem;
}

/* Fee Structure Section */
.fee-details {
  margin-top: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,46,109,0.08);
}

.fee-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.fee-image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.fee-image-container:hover {
  transform: translateY(-5px);
}

.fee-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.download-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255,255,255,0.9);
  padding: 0.5rem 0.8rem;
  border-radius: 25px;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.admission-download {
  grid-column: span 2;
  text-align: center;
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admission-content {
      grid-template-columns: 1fr;
  }
  
  .fee-images {
      grid-template-columns: 1fr;
  }
  
  .admission-download {
      grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .step {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  
  .step-number {
      margin-bottom: 1rem;
  }
}

/* Updated Hostel Gallery */
.hostel-gallery {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.hostel-button-container {
  margin-top: 20px;
  text-align: center;
}
/* Hostel Section Button Update */
.hostel .btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.hostel .btn.btn-secondary i {
  font-size: 1.1rem;
}

.hostel .btn.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .fee-image-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .fee-images {
    flex-direction: column;
    gap: 20px;
  }
}

@media screen and (max-width: 576px) {
  .fee-details {
    padding: 20px 15px;
  }
  
  .download-btn {
    width: 40px;
    height: 40px;
    bottom: 10px;
    right: 10px;
  }
}
/* Hostel Facilities Section Styles */
.hostel {
  padding: 80px 0;
  background-color: white;
}

.hostel-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.hostel-info {
  flex: 1;
  min-width: 300px;
}

.hostel-features {
  margin: 30px 0;
}

.hostel-features .feature {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.hostel-features .feature i {
  color: #000000;
  font-size: 24px;
  margin-right: 15px;
  margin-top: 5px;
}

.hostel-features .feature h4 {
  margin: 0 0 5px 0;
  color: #333;
}

.hostel-gallery {
  flex: 1;
  min-width: 300px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

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

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

/* Hostel Image Viewer */
.hostel-viewer {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hostel-viewer.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.hostel-viewer .viewer-content {
  position: relative;
  width: 80%;
  max-width: 1000px;
  max-height: 90vh;
  animation: zoomIn 0.3s ease;
}

.hostel-viewer .viewer-content img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 5px solid white;
  border-radius: 5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hostel-viewer .close-viewer {
  position: absolute;
  top: -40px;
  right: 0px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

.hostel-viewer .close-viewer:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

.hostel-viewer .image-caption {
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 1.2rem;
  background-color: rgba(26, 75, 132, 0.8);
  border-radius: 0 0 5px 5px;
}

.hostel-viewer .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hostel-viewer .nav-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.hostel-viewer .prev-btn {
  left: -70px;
}

.hostel-viewer .next-btn {
  right: -70px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .fee-image-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .fee-images {
    flex-direction: column;
    gap: 20px;
  }
  
  .hostel-viewer .nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .hostel-viewer .prev-btn {
    left: -50px;
  }
  
  .hostel-viewer .next-btn {
    right: -50px;
  }
}

@media screen and (max-width: 576px) {
  .fee-details {
    padding: 20px 15px;
  }
  
  .download-btn {
    width: 40px;
    height: 40px;
    bottom: 10px;
    right: 10px;
  }
  
  .hostel-viewer .nav-btn {
    top: auto;
    bottom: -70px;
    transform: none;
  }
  
  .hostel-viewer .prev-btn {
    left: 30%;
  }
  
  .hostel-viewer .next-btn {
    right: 30%;
  }
  
  .hostel-viewer .image-caption {
    margin-bottom: 50px;
  }
}

/* Contact Section Styles */
.contact {
  background: linear-gradient(135deg, #d5d9f0 0%, #eeeff1 100%);
  padding: 80px 0;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  background-color: #f0f7ff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-icon i {
  color: #3a7bd5;
  font-size: 20px;
}

.contact-details h3 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: #333;
}

.contact-details p {
  margin: 5px 0;
  color: #666;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-form-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3a7bd5;
  outline: none;
}

.map-container {
  margin-top: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
  background-color: #1a2b4a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-right: 15px;
}

.footer-logo-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

.footer-logo-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
  justify-content: space-around;
}

.footer-column h4 {
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.1rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #3a7bd5;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccd6f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
}

.contact-list li i {
  margin-right: 10px;
  color: #3a7bd5;
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #3a7bd5;
  transform: translateY(-3px);
}

.copyright {
  margin-top: 15px;
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admission-content,
  .hostel-content,
  .contact-content,
  .footer-content,
  .footer-links,
  .footer-bottom {
    flex-direction: column;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    margin-bottom: 15px;
  }
  
  .copyright {
    text-align: center;
  }
}

/* Founder Section Styles */
.founder {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-color: #fff0ea;
  background-position: 40px 0, 40px 0, 0 0, 0 0;
  background-size: 80px 80px;
  background-repeat: repeat;
}

/* Decorative border frame */
.founder::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 6px solid rgba(61, 16, 16, 0.725);
  z-index: 0;
  pointer-events: none;
}

/* Corner decorations */
.founder::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 0% 0%, #2f446f 0%, #4c5c81 10px, transparent 10px),
    radial-gradient(circle at 100% 0%, #414b61 0%, #404b65 10px, transparent 10px),
    radial-gradient(circle at 100% 100%, #435c8f 0%, #5c6270 10px, transparent 10px),
    radial-gradient(circle at 0% 100%, #505a70 0%, #464d5b 10px, transparent 10px);
  background-position: top left, top right, bottom right, bottom left;
  background-repeat: no-repeat;
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

.founder-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  background-color: rgb(215, 206, 206);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgb(255, 106, 106);
  border: 2px solid rgb(0, 0, 0);
}

.founder-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.founder-frame {
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border: 5px solid #ad9d43;
  transition: transform 0.3s ease;
  /* Golden frame for founder image */
  outline: 3px solid rgb(255, 20, 20);
  outline-offset: -8px;
}

.founder-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, 
    rgba(70, 128, 255, 0.2),
    rgba(70, 128, 255, 0.1),
    rgba(218, 165, 32, 0.2),
    rgba(70, 128, 255, 0.1),
    rgba(70, 128, 255, 0.2)
  );
  z-index: -1;
  border-radius: 15px;
  filter: blur(8px);
}

.founder-frame:hover {
  transform: translateY(-10px);
}

.founder-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  filter: contrast(1.05);
}

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

.founder-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(246, 218, 218, 0.95);
  padding: 15px;
  border-top: 3px solid #ffb90a;
}

.founder-quote i {
  color: #4680ff;
  font-size: 24px;
  margin-bottom: 5px;
  display: block;
}

.founder-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.founder-text {
  flex: 2;
  min-width: 300px;
}

.founder-text h3 {
  color: #000000;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 18px;
}



.founder-text p {
  margin-bottom: 20px;
  color: #444;
  line-height: 1.7;
}

.founder-achievements {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  margin: 25px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #4680ff;
  position: relative;
}


.founder-title {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: #ff0606;
  background: linear-gradient(135deg, #000000, rgba(0, 0, 0, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 15px 0 25px 0;
  padding: 10px;
  border: 3px solid #ff1313;
  border-radius: 25px;
  background-color: rgba(70, 128, 255, 0.05);
  position: relative;
}

/* Decorative background pattern for achievements */
.founder-achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgb(255, 255, 255) 2px, transparent 2px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.founder-achievements h4 {
  color: #070707;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.founder-achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.founder-achievements li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-size: 15px;
  color: #444;
}

.founder-achievements li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: #4680ff;
}

/* Section title decoration */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
}

.section-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #4680ff, rgba(218, 165, 32, 0.8));
  margin: 0 auto 15px;
}

.section-subtitle {
  color: #666;
  font-size: 18px;
}

.founder .section-header .section-title::before,
.founder .section-header .section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(70, 128, 255, 0.5));
}

.founder .section-header .section-title::before {
  right: 100%;
  margin-right: 15px;
}

.founder .section-header .section-title::after {
  left: 100%;
  margin-left: 15px;
  background: linear-gradient(90deg, rgba(70, 128, 255, 0.5), transparent);
}

/* Container for better mobile responsiveness */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .founder-content {
    gap: 30px;
    padding: 35px;
  }
}

@media (max-width: 992px) {
  .founder {
    padding: 70px 0;
  }
  
  .founder-content {
    flex-direction: column;
    padding: 30px;
  }
  
  .founder-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
  }
  
  .founder-text {
    width: 100%;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .founder {
    padding: 60px 0;
  }
  
  .founder::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-width: 4px;
  }
  
  .founder-content {
    padding: 25px;
    gap: 25px;
  }
  
  .founder-text h3 {
    font-size: 24px;
    padding-bottom: 15px;
  }
  
  .founder-achievements {
    padding: 20px;
    margin: 20px 0;
  }
  
  .founder-achievements li {
    font-size: 14px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .founder {
    padding: 50px 0;
  }
  
  .founder::before {
    border-width: 3px;
  }
  
  .founder-content {
    padding: 20px;
    gap: 20px;
    border-radius: 8px;
  }
  
  .founder-frame {
    border-width: 3px;
    outline-width: 2px;
  }
  
  .founder-quote {
    padding: 10px;
  }
  
  .founder-quote i {
    font-size: 18px;
  }
  
  .founder-quote p {
    font-size: 12px;
  }
  
  .founder-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .founder-text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .founder-achievements h4 {
    font-size: 16px;
  }
  
  .founder-achievements li {
    margin-bottom: 10px;
    padding-left: 25px;
    font-size: 13px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .founder .section-header .section-title::before,
  .founder .section-header .section-title::after {
    width: 25px;
  }
}

@media (max-width: 400px) {
  .founder-content {
    padding: 15px;
  }
  
  .founder-quote {
    position: relative;
    margin-top: 10px;
  }
  
  .founder-text h3 {
    font-size: 20px;
  }
  
  .founder-achievements {
    padding: 15px;
  }
  
  .founder-achievements li {
    font-size: 12px;
  }
}

/* Kids Carousel Styles */
.kids-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.kids-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.kids-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  opacity: 1;
  background-color: white;
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .kids-carousel {
    height: 300px;
  }
  
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  .kids-carousel {
    height: 250px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}