/* :root {
    --primary-color: #1a73e8;
    --secondary-color: #ffd700;
    --accent-color: #ff5733;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
  } */
  
  /* Navbar Styles */
  :root {
    --primary-color: #1a73e8;
    --secondary-color: #ffd700;
    --accent-color: #ff5733;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
  }
  
/* body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
} */

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

/* Logo */
.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: var(--transition);
}

/* Navigation Links (Always Horizontal) */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-grow: 1;
}

/* Navigation Links Styling */
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
    padding: 10px 15px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--primary-color);
}

/* CTA Button */
.cta-button {
    padding: 10px 18px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    text-decoration: none;
}

.cta-button:hover {
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 1rem;
    }

    /* Apply Now Button at Top Right on Mobile */
    .cta-button {
      display: none !important;
    }
}


  /* Hero Section */
  .hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('tulsi.PNG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    /* margin-top: 70px; */
  }
  
  .hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease;
  }
  
  .hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
  }
  
  /* Buttons */
  .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
  }
  
  .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    transition: 0.5s;
  }
  
  .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  .cta-button:hover::before {
    left: 100%;
  }
  
  /* Section Styles */
  section {
    padding: 6rem 5%;
  }
  
  section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
  }
  
  section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  }
  
  /* Card Styles */
  .card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  
  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  }
  
  /* Grid Layouts */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  /* Footer */
  footer {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    padding: 4rem 5% 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #FF4500;
  }
  
  .footer-section a {
    color:white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    opacity: 0.8;
    font-size: large;
  }
  
  .footer-section a:hover {
    color: #FF4500;

    opacity: 1;
    transform: translateX(5px);
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(242, 236, 236, 0.1);
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid, white;
    font-size: 0.9rem;
    opacity: 0.8;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Form Styles */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero-content h1 {
      font-size: 3.5rem;
    }
    
    section {
      padding: 4rem 5%;
    }
  }
  
  @media (max-width: 768px) {
   
  
    .hero-content h1 {
      font-size: 2.5rem;
    }
  
    .hero-content p {
      font-size: 1.2rem;
    }
  
    section {
      padding: 3rem 1rem;
    }
  
    .grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .cta-button {
      padding: 0.8rem 2rem;
      font-size: 1rem;
    }
  }
  @keyframes slideFromLeft {
    from {
      opacity: 0;
      transform: translateX(-100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideFromRight {
    from {
      opacity: 0;
      transform: translateX(100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Stripe Animation */
  .stripe-bg {
    background: repeating-linear-gradient(
      45deg,
      var(--primary-color),
      var(--primary-color) 10px,
      var(--secondary-color) 10px,
      var(--secondary-color) 20px
    );
    height: 5px;
    width: 100%;
    animation: stripeMove 20s linear infinite;
  }
  
  @keyframes stripeMove {
    from { background-position: 0 0; }
    to { background-position: 50px 0; }
  }
  
  /* Enhanced Section Styles */
  .vision-mission-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
  }
  
  .vision-card, .mission-card {
    animation: scaleIn 0.8s ease-out;
    transition: transform 0.3s ease;
  }
  
  .vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
  }
  
  /* Timeline Animation */
  .timeline-item {
    opacity: 0;
    animation: slideFromLeft 0.8s ease-out forwards;
  }
  
  .timeline-item:nth-child(even) {
    animation: slideFromRight 0.8s ease-out forwards;
  }
  
  /* Gallery Section */
  .gallery-section {
    padding: 4rem 0;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
  }
  
  .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  /* Map Section */
  .map-container {
    height: 400px;
    margin: 3rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
  }
  
  /* Academic Programs Animation */
  .program-card {
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
    transition: transform 0.3s ease;
  }
  
  .program-card:hover {
    transform: translateY(-10px);
  }
  
  /* Video Section */
  .video-section {
    padding: 4rem 0;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  /* Add these styles to your existing CSS */

/* Academics Hero Section */
.academics-hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('toor4.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  margin-top: 80px;
}

.academics-hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.academics-hero p {
  font-size: 1.5rem;
  animation: fadeInUp 1s ease;
}

/* Programs Section */
.programs-section {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.program-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.program-image {
  height: 200px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.1);
}

.program-content {
  padding: 2rem;
}

.program-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.program-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.program-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.learn-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

.learn-more:hover {
  transform: translateX(10px);
}

/* Curriculum Section */
.curriculum-section {
  position: relative;
  padding: 5rem 2rem;
}

.parallax-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
              url('https://source.unsplash.com/1920x1080/?study') no-repeat center center fixed;
  background-size: cover;
  padding: 5rem 2rem;
  color: var(--white);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.curriculum-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.curriculum-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Facilities Showcase */
.facilities-showcase {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.facility-item {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  transition: bottom 0.3s ease;
}

.facility-item:hover img {
  transform: scale(1.1);
}

.facility-item:hover .facility-overlay {
  bottom: 0;
}

/* Animations */
@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .academics-hero h1 {
      font-size: 2.5rem;
  }
  
  .academics-hero p {
      font-size: 1.2rem;
  }
  
  .programs-grid,
  .curriculum-grid,
  .facilities-grid {
      grid-template-columns: 1fr;
  }
}
/* Add these styles to your existing CSS */

/* Contact Hero Section */
.contact-hero {
  height: 40vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('toor.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  margin-top: 80px;
}

.contact-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Contact Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-card p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.form-group input:focus ~ .form-border,
.form-group select:focus ~ .form-border,
.form-group textarea:focus ~ .form-border {
  width: 100%;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
}

.button-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover .button-effect {
  width: 300px;
  height: 300px;
}

/* Map Section */
.map-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.map-container {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Social Connect Section */
.social-connect {
  padding: 5rem 2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-icon:hover {
  transform: translateY(-10px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
      grid-template-columns: 1fr;
      gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-hero h1 {
      font-size: 2.5rem;
  }

  .form-row {
      grid-template-columns: 1fr;
  }

  .contact-form-container {
      padding: 2rem;
  }

  .social-icons {
      flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .info-cards {
      grid-template-columns: 1fr;
  }

  .contact-hero h1 {
      font-size: 2rem;
  }
}
/* Add these styles to your existing CSS */

/* Achievements Section */
.achievements-section {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.achievement-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.achievement-content {
  position: relative;
  z-index: 1;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.achievement-number .plus {
  font-size: 2rem;
  margin-left: 0.2rem;
}

.achievement-card h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.achievement-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.achievement-hover p {
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.achievement-card:hover .achievement-hover {
  opacity: 0.95;
  transform: scale(1);
}

/* Campus Gallery */
.campus-gallery {
  padding: 5rem 2rem;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  transition: bottom 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

.gallery-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Journey Timeline */
.journey-section {
  padding: 5rem 2rem;
  background: var(--light-bg);
  position: relative;
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: scale(1.05);
}

.timeline-year {
  position: absolute;
  top: -30px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.timeline-body h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Counter Animation */
@keyframes countUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.counter {
  animation: countUp 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline::before {
      left: 30px;
  }

  .timeline-item .timeline-content {
      width: calc(100% - 60px);
      margin-left: 60px !important;
  }

  .timeline-dot {
      left: 30px;
  }

  .gallery-grid {
      grid-template-columns: 1fr;
  }
}
.backonabout{
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('school 42-fotor-ai-art-effects-20250213153846.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  margin-top: 60px;
 
}
.backonabout h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.backonabout p {
  font-size: 1.5rem;
  animation: fadeInUp 1s ease;
}
.testimonials {
  margin-top: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial span {
  font-weight: bold;
  color: #FF4500;
}


.jai {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow-x: hidden;
}

.jai {
  width: 100%;
  min-height: 100vh; /* Ensures section covers full height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: black; /* Optional: For better visibility */
}

.video-slider {
  position: relative;
  width: 100%;
  height: auto; /* Adjust height dynamically based on video */
  overflow: hidden;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.video-wrapper {
  display: flex;
  gap: 10px;
  width: 100%;
  height: auto;
}

.video-wrapper video {
  width: auto; /* Maintain original aspect ratio */
  height: 85vh; /* Adjust height based on video */
  max-height: 100vh; /* Prevent exceeding viewport height */
  object-fit: contain; /* Ensures full video is visible */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-wrapper video:hover {
  transform: scale(1.05);
}

/* Navigation Buttons */
button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 28px;
  border-radius: 50%;
  z-index: 10;
}

button:hover {
  background: rgba(255, 255, 255, 0.5);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}



.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-activea {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-activea p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-activea span {
  font-weight: bold;
  color: #FF4500;
}
.testimonialsi {
  position: relative; /* Change to relative to keep it within the section */
  width: 100%; /* Ensure it covers the section width */
  height: auto; /* Allow it to adapt to content */
  padding: 50px 0; /* Add padding for proper spacing */
  background: linear-gradient(45deg, #FFA07A, #FFD700, #98FB98);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


