* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
  
  }
  
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #ffffff;
    box-shadow: 0 3px 2px rgba(12, 12, 12, 0.1);
    position: relative;
    z-index: 10;
  }
  
  .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;
}


  
      .testimonial-section {
        padding: 40px;
        max-width: 1200px;
        margin: auto;
      }
  
      h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 20px;
        color: #161549;
      }
  
      .filter-bar {
        text-align: center;
        margin-bottom: 40px;
      }
  
  
  
      select{
        padding: 8px 12px;
        font-size: 1rem;
        margin-left: 10px;
        color:#393939;
        
      }
  
      button {
        padding: 8px 12px;
        font-size: 1rem;
        margin-left: 10px;
        background-color:#161549;
        color:#f0f0f0;
  
      }
  
      .cards-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
      }
  
      .card {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        padding: 20px;
        width: 300px;
        position: relative;
      }
  
      .card-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
      }
  
      .card-header img {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        margin-right: 15px;
        object-fit: cover;
        border: 2px solid #161549;
      }
  
      .card-header h3 {
        margin: 0;
        font-size: 1.1rem;
      }
  
      .card-header span {
        font-size: 0.9rem;
        color: gray;
      }
  
      .card p {
        font-size: 0.95rem;
        color: #333;
        line-height: 1.6;
        max-height: 100px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.3s ease;
      }
  
      .card.expanded p {
        max-height: 1000px;
      }
  
      .read-more {
        color: #161549;
        font-weight: bold;
        cursor: pointer;
        display: inline-block;
        margin-top: 8px;
      }

      .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;
      }

      .logoo {
        width: 150px;  /* Adjust as needed */
        height: auto;  /* Maintains aspect ratio */
      }




/* --------- 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;
  }

  .testimonial-section {
    padding: 20px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .filter-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  select,
  button {
    width: 100%;
    margin: 0;
  }

  .cards-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 100%;
  }

  .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;
  }
}



/* --------- 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.5rem;
  }

  .logo img {
    width: 100px;
    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%;
  }

  .testimonial-section {
    padding: 30px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .cards-container {
    justify-content: center;
    gap: 25px;
  }

  .card {
    width: 45%;
  }

  .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;
  }

  .cards-container {
    gap: 30px;
    justify-content: center;
  }

  .card {
    width: 300px;
  }

  .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;
  }
}