* {
    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;
  }



/* Course Container - Full Width */
.course-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 50px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

/* Course Info Section */
.course-info {
    text-align: left;
    padding: 0;
    width: 94%;
}

.course-container img{
    height: 100px; /* Adjust logo size */
    width: 120px;
    max-width: 150px;
}

.course-text {
    font-size: 25px;
    color: #333;
    text-align: left; /* Align with logo */
}

.course-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.course-info p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 10px;
}

.course-info .course-fee {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}


h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

p {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
}

.instructor {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.instructor-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.enroll-btn {
    background-color: #222c43;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.enroll-btn:hover {
    background-color: #222c43;
}

.enrollment-info {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

/* Course Details */
.course-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    margin-left: 40px;
    padding: 20px 0;
    background-color: #f1f3f5;
    border-radius: 10px;
    width: 100%; /* Increased width */
    max-width: 1400px; /* Allow more space on larger screens */
    box-sizing: border-box;
}


.detail-box {
    text-align: center;
    flex: 1 1 22%;
    padding: 15px;
    box-sizing: border-box;
}

.detail-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.detail-box p {
    font-size: 14px;
    color: #666;
}

/* Make sections full width */
.learning-section, .skills-section, .details-section {
    width: 100%;  /* Full width */
    margin: 0;  /* Remove margins */
    padding: 40px 5%;  /* Add padding to avoid touching edges */
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Headings */
.learning-section h2, .skills-section h2, .details-section h2 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

.details-section h2{
    margin-left: 80px;
}


/* Learning Points - Full Width */
.learning-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.point {
    flex: 1 1 48%;
    font-size: 17px;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.point span {
    font-size: 20px;
    margin-right: 10px;
    color: green;
}

/* Skills Section - Fit Full Width */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill {
    background: #EAF2FD;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 17px;
    font-weight: bold;
}

/* Details Section - Full Width */
.details-section {
    width: 100%;
    box-sizing: border-box;
}

.details-container {
    display: flex;
    justify-content: space-around;  /* Spread items evenly */
    flex-wrap: wrap;
    gap: 20px;
}

.detail {
    text-align: center;
    flex: 1 1 250px;  /* Make them equal width */
    padding: 20px;
}

.detail img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.detail strong {
    display: block;
    font-size: 19px;
    margin-bottom: 5px;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;  /* shorthand for top:0; right:0; bottom:0; left:0 */
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;  /* handles content overflow on smaller screens */
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    box-sizing: border-box;
}
.modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}
.modal-content ul {
    font-size: 16px; /* Increase font size */
    text-align: left; /* Align text properly */
    margin: 15px 0; /* Add spacing */
    line-height: 1.6; /* Improve readability */
}


.modal-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-buttons button {
    padding: 12px;
    border: none;
    cursor: pointer;
    background: #f5f5f5;
    font-size: 16px;
    border-radius: 6px;
}

#proceedBtn:disabled {
    background-color: grey;
    color: #fff;
    cursor: not-allowed;
}



.certificate-container {
    width: 100%;
    box-sizing: border-box;
    max-width: 1400px; /* Increased width */
    margin: 10px auto;
    background: #fff;
    padding: 40px; /* Increased padding */
    border-radius: 12px; /* Slightly larger border radius */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}



.certificate-container h1 {
    font-size: 28px; /* Slightly larger text */
    color: #222;
    margin-bottom: 15px;
    text-align: center;
}

.description {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

.certificate-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Adds space below the image */
}

.certificate-image img {
    width: 60%;  /* Reduced width */
    max-width: 500px;  /* Reduced max-width */
    border: 2px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}


.note {
    font-size: 16px;
    color: #777;
    margin-top: 15px;
    text-align: center;
}




















.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 */
  }
/* ---------------------- MEDIA QUERIES ---------------------- */

/* Mobile (Android/iOS) */
@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;
      }

    .course-container {
        padding: 20px 15px;
    }

    .course-info h2 {
        font-size: 20px;
    }

    .course-info p {
        font-size: 14px;
    }

    .enroll-btn {
        width: 106%;
        padding: 14px;
        font-size: 15px;
    }

    .course-details {
        flex-direction: column;
        padding: 0;
        gap: 15px;
        width: 100%;
        margin-left: -4px; /* Add slight left padding */
    }

    .detail-box {
        flex: 1 1 100%;
        padding: 15px 0 15px 5px;
    }
    .detail-box h3 {
        font-size: 17px;
    }

    .detail-box p {
        font-size: 13px;
    }

    .modal-content {
        width: 90%;
        padding: 20px;
    }

    .modal-content ul {
        font-size: 14px;
    }

    .modal-buttons button {
        width: 100%;
        margin: 8px 0;
    }

    .learning-section, .skills-section {
        padding: 25px 4%;
    }

    .point {
        flex: 1 1 100%;
        font-size: 16px;
    }

    .skill {
        font-size: 16px;
        padding: 10px 15px;
    }

    .learning-section h2, .skills-section h2 {
        font-size: 22px;
    }

    .details-container {
        flex-direction: column;
        align-items: center;
    }

    .detail {
        flex: 1 1 90%;
        padding: 15px;
    }

    .certificate-container {
        padding: 25px 15px;
    }

    .certificate-container h1 {
        font-size: 22px;
    }

    .description {
        font-size: 16px;
    }

    .certificate-image img {
        width: 85%;
        max-width: 300px;
    }

    .note {
        font-size: 14px;
    }

    .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 */
@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%;
      }

    .course-container {
        padding: 30px 25px;
    }

    .course-info h2 {
        font-size: 22px;
    }

    .course-info p {
        font-size: 15px;
    }

    .enroll-btn {
        width: auto;
        font-size: 15px;
    }

    .course-details {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        padding-left: 15px; /* Slight left shift */
    }

    .detail-box {
        flex: 1 1 48%;
        margin-bottom: 15px;
        margin-left: 5px; /* Optional: more left alignment */
    }

    .detail-box h3 {
        font-size: 18px;
    }

    .detail-box p {
        font-size: 14px;
    }

    .modal-content {
        width: 80%;
    }

    .modal-content ul {
        font-size: 16px;
    }

    .modal-buttons button {
        width: 45%;
    }

    .learning-section, .skills-section {
        padding: 30px 5%;
    }

    .point {
        flex: 1 1 48%;
        font-size: 17px;
    }

    .skill {
        font-size: 17px;
        padding: 12px 18px;
    }

    .detail {
        flex: 1 1 45%;
        padding: 20px;
    }

    .certificate-container {
        padding: 30px;
    }

    .certificate-container h1 {
        font-size: 24px;
    }

    .certificate-image img {
        width: 70%;
        max-width: 400px;
    }

    .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;
    }
}



/* Laptops */
@media (min-width: 1025px) and (max-width: 1365px) {
    .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;
      }

    .course-container {
        padding: 50px 40px;
    }

    .course-info h2 {
        font-size: 26px;
    }

    .course-info p {
        font-size: 16px;
    }

    .enroll-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    .course-details {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .detail-box {
        flex: 1 1 22%;
    }

    .detail-box h3 {
        font-size: 20px;
    }

    .detail-box p {
        font-size: 15px;
    }

    .modal-content {
        width: 60%;
    }

    .modal-content ul {
        font-size: 17px;
    }

    .modal-buttons button {
        width: auto;
    }

    .learning-section, .skills-section {
        padding: 35px 7%;
    }

    .point {
        flex: 1 1 45%;
    }

    .detail {
        flex: 1 1 30%;
    }

    .certificate-container {
        padding: 40px;
    }

    .certificate-container h1 {
        font-size: 26px;
    }

    .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;
    }
}


/* Large desktops */
@media (min-width: 1366px) {
    .logo-section img {
        height: 120px;
    }
    .logo-text {
        font-size: 28px;
    }
    .associated-text {
        font-size: 16px;
    }
    nav ul li {
        margin: 0 15px;
        font-size: 20px;
    }

    .course-container {
        padding: 60px 50px;
    }

    .course-info h2 {
        font-size: 28px;
    }

    .course-info p {
        font-size: 17px;
    }

    .enroll-btn {
        font-size: 17px;
        padding: 14px 28px;
    }

    .course-details {
        flex-wrap: wrap;
        padding: 30px 20px;
        justify-content: space-between;
        width: 100%;
    }

    .detail-box {
        flex: 1 1 22%;
    }

    .detail-box h3 {
        font-size: 22px;
    }

    .detail-box p {
        font-size: 16px;
    }

    .modal-content {
        width: 40%;
    }

    .modal-content ul {
        font-size: 18px;
    }

    .learning-section, .skills-section {
        padding: 50px 10%;
    }

    .point {
        flex: 1 1 45%;
    }

    .skill {
        font-size: 18px;
    }

    .detail {
        flex: 1 1 30%;
    }

    .certificate-container {
        padding: 50px;
    }

    .certificate-container h1 {
        font-size: 28px;
    }

    .footer-container {
        flex-wrap: nowrap;
        gap: 60px;
    }
}


/* Remove default focus outline and box-shadow from buttons */

/*button:focus, 
.btn:focus, 
.login-btn:focus, 
.register-btn:focus, 
.join-btn:focus {
    outline: none;
    box-shadow: none;
}*/

button:focus,
.btn:focus,
.login-btn:focus,
.register-btn:focus,
.join-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 44, 67, 0.5);
    border-radius: 4px;
}