* {
    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;
}


  
      /* Main Content Styling */
  .main-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
  }
  
  /* Sidebar Styling */
  .sidebar {
    width: 250px;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 1rem;
    height: fit-content;
  }
  
  .sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #161549;
  }
  
  .filter-section label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: #444;
  }
  
  .filter-section input[type="checkbox"] {
    margin-right: 0.5rem;
  }
  
  /* Internship Cards Section */
  .internship-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .internship-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px; /* Allow flexible height */
    position: relative;
  }

  .internship-card a {
  display: inline-block;
}
  
  .btn-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 1rem;
  }
  
 .btn {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #0b1536;
  color: white;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  width: auto;    /* prevent full width */
  max-width: 150px; /* optional limit */
}

  
  .btn:hover {
    background-color: #112449;
  }
  
  
  
  /* Internship Card Title */
  .internship-card h4 {
    color: #161549;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* Internship Card Description */
  .internship-card p {
    color: #555;
    margin-bottom: 0.25rem;
  }
  
  
  
  
  /* No results message */
  #no-results {
    display: none;
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    font-weight: bold;
  }

  .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;
  }

  .main-content {
    flex-direction: column;
    padding: 1rem;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: unset;
    box-shadow: none;
    margin-bottom: 1.5rem;
  }

  .sidebar h3 {
    font-size: 1rem;
  }

  .filter-section label {
    font-size: 0.95rem;
  }

  .internship-section {
    padding: 1rem;
    gap: 1.5rem;
  }

  .internship-card {
    padding: 1rem;
    border-radius: 8px;
    font-size: 14px;
  }

  .internship-card h4 {
    font-size: 1.2rem;
  }

  .internship-card p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  #no-results {
    font-size: 1rem;
    padding: 1rem;
  }

  
}


/* --------- 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%;
  }

  .main-content {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.5rem;
  }

  .sidebar {
    width: 220px;
    position: relative;
    top: unset;
    margin-bottom: 1.5rem;
  }

  .sidebar h3 {
    font-size: 1.1rem;
  }

  .filter-section label {
    font-size: 1rem;
  }

  .internship-section {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
  }

  .internship-card {
    width: 48%;
    padding: 1.25rem;
    font-size: 15px;
  }

  .internship-card h4 {
    font-size: 1.3rem;
  }

  .internship-card p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
  }

  
}


/* --------- 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;
  }

  .main-content {
    flex-direction: row;
    padding: 2rem 3rem;
  }

  .sidebar {
    width: 250px;
    position: sticky;
    top: 1rem;
  }

  .internship-section {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .internship-card {
    width: 31%;
    padding: 1.5rem;
  }


}