* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}



.slider-container {
  /* header ki height ke barabar */
  position: relative;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
  
  
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 50px;
  color: #fff;
  background-color: rgba(0,0,0,0.6);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 20px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

/* ===== Director Message Section ===== */
.director-section {
  background-color: #f2f6ff;
  padding: 60px 10%;
}

.director-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.director-image {
  flex: 1;
  text-align: center;
}

.director-image img {
  width: 100%;
  max-width: 500px;   /* 👈 पहले 380px था, अब बड़ा कर दिया */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.director-message {
  flex: 2;
}

.director-message h2 {
  font-size: 30px;
  color: #003366;
  margin-bottom: 20px;
  border-left: 5px solid #004aad;
  padding-left: 12px;
}

.director-message p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 15px;
}

.director-message h4 {
  margin-top: 25px;
  font-weight: 600;
  color: #004aad;
  font-size: 18px;
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
  .director-container {
    flex-direction: column;
    text-align: center;
  }

  .director-message {
    text-align: center;
  }

  .director-message h2 {
    border: none;
  }

  .director-image img {
    max-width: 380px; /* Mobile view me thoda chhota */
  }
}

/* ===== Our Team / Membership Section ===== */
.team-section {
  background-color: #f9fbff;
  padding: 70px 10%;
  text-align: center;
}

.team-container h2 {
  font-size:40px;
  color: #003366;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}

.team-container h2::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background-color:#004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.team-member {
  width: 220px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
 
}

.team-member h4 {
  font-size: 18px;
  color: #003366;
  margin-bottom: 5px;
  font-weight: 600;
}

.team-member p {
  font-size: 15px;
  color: #666;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .team-row {
    gap: 30px;
  }

  .team-member {
    width: 180px;
  }

  .team-member img {
    height: 250px;
  }
  
  .team-container h2 {
  font-size:25px;
  color: #003366;
  
}

.team-container h2::after {
  
  width: 80%;
  height: 3px;
  
}
}


@media (max-width: 720px) {
  .team-member {
    width: 100%;
    height:400px;
    margin: auto;
  }
.team-member img {
  width: 100%;
   object-fit: cover;
   height:300px;
   border-radius: 8px;
  margin-bottom: 15px;
 
}
  .team-container h2 {
  font-size:25px;
  color: #003366;
  
}

.team-container h2::after {
  
  width: 80%;
 
}
}

/* ===== Gallery Section ===== */
.gallery-section {
  background-color: #f9fbff;
  padding: 70px 10%;
  text-align: center;
}

.gallery-container h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

.gallery-container h2::after {
  content: "";
  display: block;
  width: 30%;
  height: 3px;
  background-color: #004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Modal (popup) */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* "Click Here" Button */
.gallery-button {
  margin-top: 40px;
}

.click-btn {
  background-color: #004aad;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.click-btn:hover {
  background-color: #002f6c;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    width: 90%;
  }
}


/* ===== Courses Section ===== */
.courses-section {
  background-color: #ffffff;
  padding: 70px 10%;
  text-align: center;
}

.courses-container h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}

.courses-container h2::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background-color: #004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Row of course boxes */
.courses-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Colorful Boxes */
.course-box {
  width: 230px;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 600;
}

/* Individual Colors */
.course-box:nth-child(1) {
  background: #ff6b6b; /* Red */
}

.course-box:nth-child(2) {
  background: #4dabf7; /* Blue */
}

.course-box:nth-child(3) {
  background: #51cf66; /* Green */
}

.course-box:nth-child(4) {
  background: #fcc419; /* Yellow/Orange */
}

/* Hover Effect */
.course-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  filter: brightness(1.1);
}

.course-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.course-box p {
  font-size: 15px;
  line-height: 1.5;
}

/* Courses Button */
.courses-button {
  margin-top: 40px;
}

.view-courses-btn {
  background-color: #004aad;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.view-courses-btn:hover {
  background-color: #003070;
  transform: translateY(-3px);
}


/* Responsive Design */
@media (max-width: 900px) {
  .course-box {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .course-box {
    width: 100%;
  }
}

/* ===== Student Testimonial Section ===== */
.testimonial-section {
  background-color: #f9fbff;
  padding: 70px 10%;
  text-align: center;
}

.testimonial-container h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}

.testimonial-container h2::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background-color: #004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Row of testimonial boxes */
.testimonial-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Individual testimonial box */
.testimonial-box {
  width: 270px; /* size bada */
  min-height: 400px; /* box height bada */
  background-color: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Student photo */
.testimonial-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Message with vertical line and scroll */
.testimonial-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  height: 150px; /* fixed height for scroll */
  overflow-y: auto; /* vertical scroll */
  padding-right: 5px; /* scroll padding */
}

/* Stylish thin scrollbar - for Webkit browsers (Chrome, Edge, Safari) */
.testimonial-message::-webkit-scrollbar {
  width: 6px; /* thin scrollbar */
}

.testimonial-message::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 3px;
}

.testimonial-message::-webkit-scrollbar-thumb {
  background-color: #004aad; /* color of scrollbar */
  border-radius: 3px;
  border: 1px solid #f1f1f1; /* space around thumb */
}

.testimonial-message::-webkit-scrollbar-thumb:hover {
  background-color: #002f6c; /* hover color */
}

/* Firefox scrollbar */
.testimonial-message {
  scrollbar-width: thin;
  scrollbar-color: #004aad #f1f1f1; /* thumb color track color */
}

.testimonial-message p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Vertical line */
.vertical-line {
  width: 3px;
  background-color: #004aad;
  display: inline-block;
  border-radius: 2px;
}

/* Student name */
.testimonial-box h4 {
  font-size: 16px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 10px;
  text-align: center;
}

/* Single button for all testimonials */
.testimonial-button {
  margin-top: 40px;
  text-align: center;
}

.view-testimonials-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.view-testimonials-btn:hover {
  background-color: #002f6c;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-box {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .testimonial-box {
    width: 100%;
  }
}


/* ===== Sports Activity Section ===== */
.sports-section {
  background-color: #f2f6ff;
  padding: 70px 10%;
  text-align: center;
}

.sports-container h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}

.sports-container h2::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background-color: #004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Row of sports activities */
.sports-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Individual sports activity box */
.sports-activity {
  width: 250px;
  background-color: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.sports-activity img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.sports-activity p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.sports-activity:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* View More Button */
.sports-button {
  margin-top: 40px;
}

.view-sports-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.view-sports-btn:hover {
  background-color: #002f6c;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 900px) {
  .sports-activity {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .sports-activity {
    width: 100%;
    max-width: 300px;
    margin: auto;
  }
}


/* ===== Achievements Section ===== */
.achievements-section {
  background-color: #ffffff;
  padding: 70px 10%;
  text-align: center;
}

.achievements-container h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}

.achievements-container h2::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background-color: #004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Row of achievements */
.achievements-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Individual achievement box */
.achievement-item {
  width: 250px;       /* width bada kiya */
  height: 350px;      /* height bada kiya */
  background-color: #f2f6ff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
  border-image: linear-gradient(45deg, #ff6b6b, #4dabf7, #51cf66, #fcc419) 1;
}
.achievement-item img {
  width: 100%;
  height: 200px;      /* image height bhi bada */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.achievement-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  max-height: 80px;    /* description ka space fix */
  overflow: hidden;    /* overflow hide */
}

.achievement-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* View More Button */
.achievements-button {
  margin-top: 40px;
}

.view-achievements-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.view-achievements-btn:hover {
  background-color: #002f6c;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .achievement-item {
    width: 48%;   /* thoda chhota tablet me */
    height: 330px;
  }
}

@media (max-width: 600px) {
  .achievement-item {
    width: 100%;
    height: auto; /* mobile me height automatic */
    margin: auto;
  }
  .achievement-item img {
    height: 220px;
  }
}


/* ===== Footer Section ===== */
.footer-section {
  background-color: #003366;
  color: #fff;
  padding: 60px 10%;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-box {
  flex: 1;
  min-width: 220px;
}

.footer-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #f4d03f;
}

.footer-box p,
.footer-box li,
.footer-box a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a:hover {
  color: #f4d03f;
  transition: 0.3s;
}

/* Social icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1); /* White icons */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(1) invert(0.6); /* Color effect */
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
  color: #ccc;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .footer-box {
    min-width: 100%;
  }
  .social-icons a {
    margin-right: 15px;
  }
}
