* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    padding-top: 4rem;
    margin: 0;
    padding: 0;
  }
  
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 3px 2px rgba(12, 12, 12, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
  }
  
  .menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #161549;
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 1px;
  }
  
  .logo img {
    width: 120px;
    height: 90px;
  }
  
  .brand {
    font-family: 'Stencil', 'Impact', sans-serif;
    font-size: 2rem;
    color: #1b1b1b;
  }
  
  nav {
    display: flex;
    gap: 1.5rem;
  }
  
  nav a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #393939;
    transition: color 0.3s ease;
    margin-right: 10px;
  }
  
  nav a:hover {
    color: #000;
  }
  
  .actions {
    display: flex;
    gap: 0.75rem;
  }
  
  .actions a {
    text-decoration: none;
  }
  
  .actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .login-btn {
    background: transparent;
    font-size: 1.3rem;
    color: #161549;
    font-weight: bold;
    padding: 0.6rem 0.6rem;
  }
  
  .register-btn {
    background: #161549;
    font-size: 1.3rem;
    color: white;
    padding: 0.6rem 0.6rem;
  }
  
  
  
  /* === E-Courses Dropdown === */
  .dropdown {
    position: relative;
  }
  
  .dropdown:hover .dropdown-menu {
    display: grid;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.6rem;
    min-width: 520px;
    border-radius: 6px;
    z-index: 100;
  }
  
  .dropdown-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
  }
  
  .dropdown-menu a {
    padding: 0.5rem;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
  }
  
  .dropdown-menu a:hover {
    background-color: #f0f0f0;
  }
  
  
  /* === Internship Dropdown === */
  .dropdownn {
    position: relative;
  }
  
  .dropdownn:hover .dropdownn-menu {
    display: block;
  }
  
  .dropdownn-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 180px;
    border-radius: 6px;
    z-index: 100;
  }
  
  .dropdownn-menu a {
    display: block;
    padding: 0.6rem 0.8rem;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.3s ease;
  }
  
  .dropdownn-menu a:hover {
    background-color: #f5f5f5;
  }
  
  
  /* === Common Styles === */
  .arrow {
    font-size: 0.7rem;
    margin-left: 6px;
    vertical-align: middle;
  }
  
  .e-courses-link {
    background: #161549;
    color: white;
    margin-top: -10px;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    text-decoration: none;
  }
  
  .e-courses-link:hover {
    background: transparent;
    color: #161549;
    border: 1px solid #161549;
  }
  
  .internship-link {
    color: #161549;
    padding: 0.4rem 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
  }

  /* === Toggle Button (Hamburger Menu) === */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #161549;
  cursor: pointer;
}
  
  .swiper {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #fff;
  }
  
  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #161549;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .slide-button:hover {
    background: #0f0e33;
  }
  
  
  .slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    gap: 2rem;
  }
  
  .slide-text {
    flex: 1;
  }
  
  .slide-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1b1b1b;
    line-height: 1.3;
  }
  
  .slide-text p {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: #444;
  }
  
  .slide-text button {
    padding: 0.75rem 2rem;
    background: #161549;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slide-text button:hover {
    background: #161549;
  }
  
  .slide-image {
    flex: 1.0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slide-image img {
    width: 100%;
    height: auto;
    max-width: 800px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .swiper-pagination {
    margin-top: 1rem;
  }
  
  .section-heading {
    display: flex;
    align-items: center;
    padding: 2rem;
    padding-top: 0;
  }
  
  .section-heading h2 {
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(90deg, #1e3c72, #9b59b6, #ef4c82);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-align: center;
  
  }
  
  .section-heading::after {
    content: " ";
    flex-grow: 1;
    height: 1.3px;
    background-color: #272727;
  }
  
  .courses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .auto-flip-card {
    width: calc(25% - 1.5rem);
    height: 200px;
    perspective: 1000px;
    margin-bottom: 1.5rem;
  }
  
  .flip-front {
    position: relative;
  }
  
  .course-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 6px;
  }
  
  .flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.8s ease;
  }
  
  .flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .flip-back {
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateX(180deg);
    padding: 20px;
    box-sizing: border-box;
  }
  
  .flip-back button {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .auto-flip-card:hover .flip-inner {
    transform: rotateX(180deg);
  }
  
  .explore-btn {
    display: inline-block;
    background-color: #161549;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .explore-btn:hover {
    background-color: #29278a;
  }
  
  .cert-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #161549;
  }
  
  .cert-steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    max-width: 1500px;
    margin: 0 auto;
  }
  
  .cert-step, .cert-arrow {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .cert-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .cert-circle {
    width: 70px;
    height: 70px;
    border: 2px solid #4361ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #4361ee;
    margin: 0 auto 20px;
  }
  
  .cert-step-title {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .cert-step-description {
    font-size: 1rem;
    color: #555;
    text-align: center;
  }
  
  .cert-arrow {
    font-size: 3rem;
    color: #bbb;
  }
  
  .whychoose-section {
        padding: 60px 20px;
        text-align: center;
        overflow-x: hidden;
      }
  
      h2#why-choose-heading {
        font-size: 2.5rem;
        font-weight: 700;
        color: #161549;
        margin-bottom: 50px;
      }
  
      .whychoose-carousel-container {
    overflow: hidden; /* disables manual scrolling */
    max-width: 100%;
    perspective: 1500px;
    pointer-events: none; /* disables drag and scroll */
  }
  
  
  .whychoose-carousel-track {
    display: flex;
    gap: 40px;
    transform-style: preserve-3d;
    will-change: transform;
    animation: none;
  }
  
  .whychoose-card {
    flex: 0 0 280px;
    height: 340px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: rotateY(10deg);
    transition: transform 0.3s ease, opacity 0.9s ease;
  }
  
  
      .whychoose-card:hover {
        transform: rotateY(0deg) scale(1.05);
      }
  
      .whychoose-card img {
    width: 100%;
    max-width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
  }
  
  
      .whychoose-card p {
        font-size: 1rem;
        color: #555;
        margin: 0;
        line-height: 1.4;
        font-weight: 500;
      }
  
      @keyframes whychoose-scrollLeft {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        }
      }

      
      .section-wrapper {
        text-align: center;
        padding: 80px 20px;
        max-width: 1000px;
        margin: 0 auto;
      }
      
      .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #162c4d;
      }

      
      .section-text {
        font-size: 2.5rem;
        line-height: 1.6;
        margin-top: 20px;
        color: #000;
      }
      
      .page-container {
        height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
      }
      
      .section {
        scroll-snap-align: start;
        height: 70vh;
        position: sticky;
        top: 0;
        background: white;
        padding: 40px;
        box-sizing: border-box;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        z-index: 1;
      
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center content vertically */
        align-items: center;     /* Center content horizontally */
      }
        
        .section-title {
          font-size: 40px;
          margin-bottom: 20px;
          color: #1a237e;
        }
        
        .slider-container {
          position: relative;
          overflow: hidden;
          margin: 20px 0;
          width: 100%;
          max-width: 1000px;
          display: flex;
          justify-content: center;
          align-items: center;
        }
        
        .card-slider {
          display: flex;
          overflow-x: auto;
          scroll-behavior: smooth;
          scroll-snap-type: x mandatory;
          -webkit-overflow-scrolling: touch;
          gap: 20px;
          padding: 0 10px;
        }
        
        .card {
          flex: 0 0 auto;
          width: 270px;
          margin-right: 20px;
          scroll-snap-align: start;
          background: #fff;
          border-radius: 8px;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          padding: 16px;
          box-sizing: border-box;
        }
      
        
        
        .image-container {
          position: relative;
          overflow: hidden;
        }
        
        .image-container img {
          display: block;
          width: 100%;
          height: auto;
          transition: opacity 0.3s ease;
        }
        
        .image-container .hover-image {
          position: absolute;
          top: 0;
          left: 0;
          opacity: 0;
        }
        
        .image-container:hover .hover-image {
          opacity: 1;
        }
        
        .image-container:hover img:first-child {
          opacity: 0;
        }
        
        
        .card h3 {
          font-size: 18px;
          margin-bottom: 8px;
          color: #111;
        }
        
        .card p {
          font-size: 14px;
          color: #555;
        }
        
        .slider-btn {
          position: absolute;
          top: 40%;
          transform: translateY(-50%);
          background-color: #ffffff;
          border: none;
          font-size: 24px;
          cursor: pointer;
          padding: 14px;
          z-index: 1;
          box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
          border-radius: 50%;
        }
        
        .slider-btn.prev {
          left: 5px;
        }
        
        .slider-btn.next {
          right: 5px;
        }
        
        .slider-btn:hover {
          background-color: #f0f0f0;
        }
        
      
      
      
        
        
      
      
        /* Section styles */
      .industry-section {
        text-align: center;
        padding: 60px 20px;
        max-width: 1200px;
        margin: auto;
      }
      
      .industry-section h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: #0a0a23;
      }
      
      .industry-section p {
        font-size: 1rem;
        color: #444;
        margin-bottom: 40px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
      }
      
      /* Grid layout */
      .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
      }
      
      /* Card styles */
      .card1 {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 70px;
      }
      
      .card1:hover {
        transform: translateY(-4px);
        box-shadow: 0 5px 12px rgba(0,0,0,0.08);
      }
      
      .card1 i {
        font-size: 24px;
        margin-bottom: 10px;
        color: #111;
      }
      
      .card1 span {
        font-size: 0.95rem;
        font-weight: 500;
      }
  



      .logoo {
        width: 150px;  /* Adjust as needed */
        height: auto;  /* Maintains aspect ratio */
      }


.footer {
    background-color:#00072D;
    color: #fff;
    padding: 40px 20px;
   
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-column {
    flex: 1 1 30%;
    margin: 20px;
    min-width: 250px;
  }
  
  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 8px;
  }
  
  .footer-column ul li a {
    color: #ccc;
    text-decoration: none;
  }
  
  .footer-column ul li a:hover {
    text-decoration: underline;
    color: #fff;
  }
  

  .contact-section p {
    margin: 6px 0;
    color: #ccc;
  }
  
  .contact-section strong {
    color: #fff;
  }
  
  .social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 0;
  margin-top: 10px;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

  

  .footer-bottom-full {
    background-color: #00072D;
    color: #ccc;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    border-top: 1px solid #ffffff;
  }
  
  .footer-bottom-left {
    max-width: 60%;
    flex: 1 1 300px;
  }
  
  .policy-links {
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .policy-links a {
    color: white;
    text-decoration: none;
    margin-right: 8px;
  }
  
  .policy-links a:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  .policy-links span {
    margin: 0 4px;
    color: white;
  }
  
  .footer-bottom-left .copyright {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .footer-bottom-right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  
  .app-button {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    background-color: transparent;
  }
  
  .app-icon {
    width: 30px;  /* Adjust size of the icon */
    margin-right: 10px;  /* Space between the icon and text */
    vertical-align: middle;  /* Align icon with text */
}

  .app-button i {
    font-size: 18px;
    margin-right: 8px;
  }
  
  .app-button:hover {
    background-color: #333;
  }
  


  
/* --------- Mobile Devices (≤768px) --------- */

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .logo-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #161549;
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  nav, .actions {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
  }

  nav.active, .actions.active {
    display: flex;
  }

  nav a, .e-courses-link, .internship-link {
    padding: 0.6rem 1rem;
    text-align: left;
    width: 100%;
  }

  .dropdown-menu, .dropdownn-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-menu,
  .dropdownn:hover .dropdownn-menu {
    display: block;
  }

  .login-btn, .register-btn {
    width: 100%;
    text-align: left;
  }

  .swiper {
      padding: 0;
  }
  .swiper-slide {
      flex-direction: column;
      width: 100vw;
  }
  .slide-content {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
      padding: 1rem;
      width: 100%;
  }
  .slide-text h1 {
      font-size: 1.8rem;
  }
  .slide-text p {
      font-size: 1rem;
      margin: 1rem 0;
  }
  .slide-button {
      font-size: 0.95rem;
      padding: 0.6rem 1.2rem;
  }
  .slide-image img {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: contain;
  }
  .swiper-pagination {
      margin-top: 1.5rem;
  }
  .section-heading h2 {
      font-size: 1rem;
  }
  .courses-container {
      flex-direction: column;
      align-items: center;
      padding: 1rem;
      gap: 1rem;
  }
  .auto-flip-card {
      width: 90%;
      height: 220px;
  }
  .course-name {
      font-size: 1rem;
      padding: 4px 8px;
  }
  .flip-back p {
      font-size: 0.9rem;
      text-align: center;
  }
  .explore-btn {
      padding: 8px 16px;
      font-size: 0.9rem;
  }
  .section-heading h2 {
      font-size: 1rem;
      text-align: center;
      width: 100%;
  }
  .cert-steps-container {
      flex-direction: column;
      gap: 30px;
      padding: 0 1rem;
  }
  .cert-arrow {
      display: none;
  }
  .cert-circle {
      width: 60px;
      height: 60px;
      font-size: 1.4rem;
      margin-bottom: 10px;
  }
  .cert-step-title {
      font-size: 1.1rem;
  }
  .cert-step-description {
      font-size: 0.95rem;
  }
  .cert-heading {
      font-size: 2rem;
      margin-bottom: 40px;
  }
  h2#why-choose-heading {
      font-size: 2rem;
      margin-bottom: 30px;
  }
  .whychoose-carousel-container {
      pointer-events: auto;
      /* Enable touch scroll on mobile */
      padding-left: 10px;
  }
  .whychoose-carousel-track {
      gap: 20px;
  }
  .whychoose-card {
      flex: 0 0 220px;
      height: auto;
      padding: 20px 15px;
  }
  .whychoose-card img {
      height: 180px;
      max-width: 160px;
  }
  .whychoose-card p {
      font-size: 0.95rem;
  }
  .section-wrapper {
      padding: 60px 15px;
  }
  .section-title {
      font-size: 24px;
  }
  .section-text {
      font-size: 16px;
      line-height: 1.5;
  }
  .section {
      padding: 20px;
      height: auto;
  }
  .section-title {
      font-size: 20px;
      text-align: center;
  }
  .slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* optional for smoother scroll */
    -webkit-overflow-scrolling: touch;
  }

  .card-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding: 0 10px;
    width: max-content;
  }

  .card {
    flex: 0 0 auto; /* Prevent shrinking, fix width */
    width: 220px;
    scroll-snap-align: start; /* optional */
  }
  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }

  .slider-btn {
    font-size: 20px;
    padding: 10px;
    top: 35%;
  }
  .industry-section {
      padding: 40px 16px;
  }
  .industry-section h1 {
      font-size: 1.8rem;
  }
  .industry-section p {
      font-size: 0.95rem;
  }
  .grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
  }
  .card1 {
      padding: 12px;
      min-height: 60px;
  }
  .card1 span {
      font-size: 0.85rem;
  }
  .footer {
      padding: 30px 15px;
  }
  .footer-container {
      flex-direction: column;
      align-items: flex-start;
      padding: 0;
  }
  .footer-column {
      width: 100%;
      margin: 15px 0;
  }
  .footer-column h3 {
      font-size: 16px;
  }
  .footer-column ul li {
      margin-bottom: 6px;
  }
  .social-icons {
      justify-content: flex-start;
  }
  .footer-bottom-full {
      flex-direction: column;
      padding: 30px 15px;
      align-items: flex-start;
      gap: 0;
  }
  .footer-bottom-left {
      max-width: 100%;
      margin-bottom: 0;
      padding: 0;
      /* Slight space before buttons */
  }
  .footer-bottom-left * {
      margin: 0 !important;
      /* Force all children to remove margin */
      padding: 0 !important;
      line-height: 1.4;
      /* Optional: tighten line height */
  }
  .footer-bottom-right {
      width: 100%;
      flex-direction: column;
      gap: 10px;
      margin-top: 0;
      padding: 0;
      /* Remove default margin if applied */
  }
  .app-button {
      width: 100%;
      justify-content: center;
      margin-bottom: 10px;
  }
}



/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  .brand {
    font-size: 1.4rem;  /* Adjust font size for mobile */
    text-align: center;  /* Center align on small screens */
    margin-bottom: 20px;  /* Add some space below */
    margin-top: 24px;
    white-space: nowrap;  /* Prevent text from wrapping */
    overflow: hidden;  /* Prevent any overflow */
    text-overflow: ellipsis;  /* Optional: Add ellipsis if text is too long */
    margin-right: 120px;
  }
}


/* --------- Tablets (768px to 1024px) --------- */
@media (min-width: 768px) and (max-width: 1024px) {
  header {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
  }

  .logo-toggle-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
  }


  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #161549;
    cursor: pointer;
    margin: 0; /* Prevent margin from pushing */
    padding: 0;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }

  .logo img {
    width: 50px;
    height: auto;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  nav.active {
    display: flex;
  }

  .actions {
    display: none;
    flex-direction: column;
    margin-top: 1rem;
  }

  .actions.active {
    display: flex;
  }

  .dropdown-menu,
  .dropdownn-menu {
    min-width: 100%;
  }

  .swiper {
      padding: 0;
  }
  .slide-content {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 2rem;
  }
  .slide-text {
      flex: 1 1 100%;
      text-align: center;
  }
  .slide-image {
      flex: 1 1 100%;
      justify-content: center;
  }
  .slide-text h1 {
      font-size: 2.2rem;
  }
  .slide-text p {
      font-size: 1.1rem;
  }
  .slide-button {
      font-size: 1rem;
      padding: 0.7rem 1.5rem;
  }
  .slide-image img {
      max-width: 100%;
      height: auto;
  }
  .courses-container {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
  }
  .auto-flip-card {
      width: calc(50% - 1.5rem);
      height: 220px;
  }
  .course-name {
      font-size: 1.1rem;
      padding: 6px 10px;
  }
  .flip-back p {
      font-size: 1rem;
      text-align: center;
  }
  .explore-btn {
      padding: 10px 20px;
      font-size: 1rem;
  }
  .section-heading h2 {
      font-size: 1.1rem;
  }
  .cert-steps-container {
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 40px;
      padding: 0 2rem;
  }
  .cert-step {
      flex: 1 1 40%;
      min-width: 250px;
  }
  .cert-arrow {
      font-size: 2.5rem;
  }
  .cert-circle {
      width: 65px;
      height: 65px;
      font-size: 1.5rem;
  }
  .cert-step-title {
      font-size: 1.2rem;
  }
  .cert-step-description {
      font-size: 1rem;
  }
  .cert-heading {
      font-size: 2.2rem;
  }
  h2#why-choose-heading {
      font-size: 2.2rem;
  }
  .whychoose-carousel-container {
      pointer-events: auto;
      /* Allow manual scroll on tablets */
      padding-left: 20px;
  }
  .whychoose-carousel-track {
      gap: 30px;
  }
  .whychoose-card {
      flex: 0 0 240px;
      height: 320px;
      padding: 22px 18px;
  }
  .whychoose-card img {
      height: 220px;
      max-width: 180px;
  }
  .whychoose-card p {
      font-size: 1rem;
  }
  .section-wrapper {
      padding: 70px 20px;
      max-width: 90%;
  }
  .section-title {
      font-size: 30px;
  }
  .section-text {
      font-size: 17px;
      line-height: 1.6;
  }
  .section {
      padding: 30px;
      height: auto;
  }
  .section-title {
      font-size: 22px;
      text-align: center;
  }
  .slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .card-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 10px;
    width: max-content;
  }

  .card {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: start;
  }
  .card h3 {
      font-size: 17px;
  }
  .card p {
      font-size: 14px;
  }
  .slider-btn {
      font-size: 22px;
      padding: 12px;
  }
  .industry-section {
      padding: 50px 20px;
  }
  .industry-section h1 {
      font-size: 2.2rem;
  }
  .industry-section p {
      font-size: 1rem;
  }
  .grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
  }
  .card1 {
      padding: 14px;
      min-height: 65px;
  }
  .card1 span {
      font-size: 0.9rem;
  }
  .footer {
      padding: 40px 20px;
  }
  .footer-container {
      flex-wrap: wrap;
      justify-content: space-between;
  }
  .footer-column {
      flex: 1 1 45%;
      margin: 15px 10px;
  }
  .footer-bottom-full {
      padding: 40px 20px;
      flex-wrap: wrap;
      justify-content: space-between;
  }
  .footer-bottom-left {
      flex: 1 1 60%;
  }
  .footer-bottom-right {
      flex: 1 1 35%;
      justify-content: flex-end;
  }
  .app-button {
      font-size: 13px;
  }
  .app-icon {
      width: 26px;
  }
}


/* --------- Large Screens (≥1025px) --------- */

@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }

  nav {
    display: flex;
    gap: 1.5rem;
  }

  .dropdown-menu, .dropdownn-menu {
    display: none;
    position: absolute;
  }

  .dropdown:hover .dropdown-menu,
  .dropdownn:hover .dropdownn-menu {
    display: grid;
  }

  .actions {
    display: flex;
  }

  .swiper {
      padding: 4rem 2rem;
  }
  .slide-content {
      flex-direction: row;
  }
  .slide-text h1 {
      font-size: 3rem;
  }
  .slide-text p {
      font-size: 1.2rem;
  }
  .slide-button {
      font-size: 1rem;
      padding: 0.75rem 2rem;
  }
  .slide-image img {
      max-width: 800px;
  }
  .courses-container {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      padding: 2rem 1rem;
  }
  .auto-flip-card {
      width: calc(25% - 1.5rem);
      height: 250px;
  }
  .course-name {
      font-size: 1.2rem;
  }
  .flip-back p {
      font-size: 1.05rem;
  }
  .explore-btn {
      font-size: 1rem;
      padding: 10px 22px;
  }
  .section-heading h2 {
      font-size: 1.2rem;
  }
  .cert-steps-container {
      flex-direction: row;
      justify-content: center;
      gap: 40px;
  }
  .cert-step {
      flex: 1 1 auto;
      max-width: 300px;
  }
  .cert-arrow {
      font-size: 3rem;
      display: block;
  }
  .cert-heading {
      font-size: 2.5rem;
  }
  h2#why-choose-heading {
      font-size: 2.5rem;
  }
  .whychoose-carousel-container {
      pointer-events: none;
      /* Keep auto scroll, no touch drag */
      padding-left: 0;
  }
  .whychoose-carousel-track {
      gap: 40px;
  }
  .whychoose-card {
      flex: 0 0 280px;
      height: 340px;
      padding: 25px 20px;
  }
  .whychoose-card img {
      height: 300px;
      max-width: 200px;
  }
  .whychoose-card p {
      font-size: 1rem;
  }
  .section-wrapper {
      padding: 80px 20px;
      max-width: 1000px;
  }
  .section-title {
      font-size: 36px;
  }
  .section-text {
      font-size: 18px;
      line-height: 1.6;
  }
  .section {
      padding: 40px;
      height: 70vh;
  }
  .section-title {
      font-size: 24px;
  }
  .card {
      width: 270px;
      padding: 16px;
  }
  .card h3 {
      font-size: 18px;
  }
  .card p {
      font-size: 14px;
  }
  .slider-btn {
      font-size: 24px;
      padding: 14px;
  }
  .industry-section {
      padding: 60px 40px;
  }
  .industry-section h1 {
      font-size: 2.5rem;
  }
  .industry-section p {
      font-size: 1.05rem;
  }
  .grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
  }
  .card1 {
      padding: 16px;
      min-height: 70px;
  }
  .card1 span {
      font-size: 1rem;
  }
  .footer {
      padding: 50px 40px;
  }
  .footer-container {
      flex-wrap: nowrap;
  }
  .footer-column {
      flex: 1 1 30%;
      margin: 20px;
  }
  .footer-bottom-full {
      padding: 60px 40px;
      flex-wrap: nowrap;
  }
  .footer-bottom-left {
      max-width: 60%;
  }
  .footer-bottom-right {
      flex-direction: row;
      justify-content: flex-end;
  }
  .app-button {
      font-size: 14px;
      padding: 12px 20px;
  }
}
  