/* Responsive Design */
@media (max-width: 768px) {
  .bilingual-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .content-block {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-container {
    height: 300px;
  }
  
  .image-card {
    width: 120px;
    height: 90px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
   .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .course-card {
        margin: 0 10px;
    }

     .container {
    padding: 0 0.75rem;
    max-width: 100%;
  }

  .header {
    padding: 0.75rem 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.show-menu {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 80px 0 40px;
    min-height: auto;
    overflow-x: hidden;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .certifications {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .cert-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
  }

  .floating-card {
    position: relative;
    margin: 1rem auto;
    animation: none;
    max-width: 180px;
    width: 100%;
  }

  .floating-card:nth-child(1),
  .floating-card:nth-child(2) {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
  }

  .guarantee-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin: 1rem auto;
  }

  /* Course cards responsive */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-card {
    padding: 1.5rem;
  }

  /* Admission form responsive */

  .admission-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
    }
    
    .why-choose, .admission-form {
        width: 100% !important;
        max-width: none !important;
    }
    
    .admission-form {
        padding: 1.5rem;
        margin: 0;
    }
  .admission-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }

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

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  /* About section responsive */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Testimonials responsive */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Contact section responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    text-align: center;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section h3 {
    margin-bottom: 1rem;
  }

  .social-links {
    justify-content: center;
  }

  

  .logo-img {
    width: 50px;
    height: 50px;
  }

  .logo-text-main {
    font-size: 1.4rem;
  }

  .logo-text-sub {
    font-size: 0.7rem;
  }

  .footer-logo-img {
    width: 30px;
    height: 30px;
  }
}