body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #555;
    margin: 0;
    scroll-behavior: smooth;
}

.navbar-custom, .navbar {
    background-color: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 1050;
    background-color: #000;
}

.navbar-custom .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
    text-decoration: none;
}

.navbar-custom .navbar-brand img,
.navbar-brand img {
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.dropdown-menu-custom, .nav-item.dropdown .dropdown-menu {
    background-color: rgba(18, 18, 18, 0.95);
    border: none;
}

.dropdown-menu-custom .dropdown-item,
.dropdown-menu a.dropdown-item {
    color: white;
    font-size: 0.875rem;
}

.dropdown-menu-custom .dropdown-item:hover,
.dropdown-menu a.dropdown-item:hover {
    background-color: #393939;
    color: #fff;
}

#hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    background: url('https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/7a2f027f-3add-4b4d-a730-06e7d47b2c0d.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.6);
    z-index: 0;
}

#hero .content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #fff;
}

#hero h1 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

#hero .btn-learn-more {
    background-color: #fff;
    color: #121212;
    font-weight: 700;
    padding: 0.7rem 2.2rem;
    border: none;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.3);
    transition: background-color 0.25s ease, color 0.25s ease;
}

#hero .btn-learn-more:hover,
#hero .btn-learn-more:focus {
    background-color: #e0e0e0;
    color: #121212;
    text-decoration: none;
}

#partners {
    background-color: #fff;
    padding: 1rem 0;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 90%;
}

#partners .carousel-item img {
    max-height: 100px;
    margin: 0 15px;
    filter: none;
    vertical-align: middle;
    max-width: 200px;
}

#main-content {
    background-color: #212121;
    padding: 3rem 1rem 4rem;
    color: #e0e0e0;
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.5;
}

#main-content h2 {
    font-family: 'Georgia', serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    color: #fff;
}

#main-content hr {
    width: 90px;
    height: 2px;
    border: 0;
    background: #777;
    margin: 1.5rem auto 2.5rem auto;
}


.gallery img {
    width: 100%;
    display: block;
    margin-bottom: 0.8rem;
    border-radius: 2px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery img:hover,
.gallery img:focus {
    transform: scale(1.03);
    outline: none;
    box-shadow: 0 6px 14px rgba(255, 255, 255, 0.7);
    z-index: 2;
    position: relative;
}

#subscribe {
    background-color: #121212;
    padding: 3rem 1rem;
    text-align: center;
}

#subscribe h3 {
    font-family: 'Georgia', serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.6rem;
}

#subscribe p {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 1.8rem;
}

#subscribe input[type="email"] {
    max-width: 600px;
    width: 100%;
    border: 1px solid #444;
    background: transparent;
    color: #eee;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#subscribe input[type="email"]:focus {
    border-color: #fff;
    outline: none;
    background-color: #222;
    color: #fff;
}

#subscribe button {
    background-color: #fff;
    border: none;
    color: #121212;
    padding: 0.55rem 1.8rem;
    font-weight: 600;
    margin-left: 0.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#subscribe button:hover,
#subscribe button:focus {
    background-color: #e0e0e0;
    color: #121212;
    outline: none;
}

#contact-section {
    background-color: #cad1db;
    color: #242424;
    padding: 3rem 1rem 5rem;
    font-family: 'Georgia', serif;
}

#contact-section h2 {
    font-weight: 600;
    font-size: 1.85rem;
    color: #242424;
    text-align: center;
    margin-bottom: 2rem;
}

#contact-row {
    max-width: 1024px;
    margin: 0 auto;
}


#contact-form label {
    font-weight: 500;
    font-size: 0.95rem;
} 

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    border: 1.5px solid #999;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    margin-top: 0.3rem;
    color: #242424;
    font-family: inherit;
    resize: vertical;
    height: auto;
}

#contact-form textarea {
    min-height: 100px;
    max-height: 160px;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #444;
    background-color: #e7e7e7;
}

#contact-form button {
    margin-top: 1rem;
    background-color: #121212;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover,
#contact-form button:focus {
    background-color: #3a3a3a;
    outline: none;
    color: #fff;
}

#contact-info {
    flex: 1 1 320px;
    min-width: 280px;
}

#contact-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

#contact-info strong {
    font-weight: 600;
    font-size: 1rem;
}

#contact-info address {
    font-style: normal;
    line-height: 1.3;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    color: #2a2a2a;
}

#contact-info a {
    text-decoration: none;
    color: #121212;
    font-weight: 600;
    transition: color 0.3s ease;
}

#contact-info a:hover,
#contact-info a:focus {
    color: #555;
    outline: none;
}

#contact-info small {
    color: #444;
    font-size: 0.75rem;
    margin-top: 0.6rem;
    display: block;
}

#map-container {
    width: 100%;
    height: 400px;
    margin: 0 auto;
}

#map {
    width: 100%;
    height: 100%;
}

footer.footer-main {
    background-color: #121212;
    color: #ccc;
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    padding: 1rem 1rem 2rem;
    text-align: center;
    user-select: none;
    line-height: 1.6;
}

footer.footer-main a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin: 0 6px;
    font-weight: 600;
    font-size: 0.88rem;
}

footer.footer-main a:hover,
footer.footer-main a:focus {
    color: #fff;
    outline: none;
    text-decoration: underline;
}

footer.footer-main .copyright {
    margin: 0.5rem 0 1rem;
    font-size: 0.82rem;
    color: #444;
    user-select: none;
}

.main-section {
    text-align: center;
    padding: 5rem 15px 3rem;
    background-color: white;
}

.main-section h1 {
    font-weight: 500;
    font-size: 2.5rem;
    color: #3b3b3b;
    position: relative;
    display: inline-block;
    margin-bottom: 0.7rem;
}

.main-section h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #b0b0b0;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.main-section .join-text {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #222;
}

.main-section p.description {
    font-size: 0.9rem;
    max-width: 420px;
    margin: 0 auto 2.5rem;
    color: #666;
}

form.apply-form {
    max-width: 480px;
    margin: 0 auto 5rem;
    text-align: left;
}

form.apply-form .form-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    color: #222;
    display: block;
    text-align: left;
}

.form-file-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #5a5a5a;
    margin-top: 0.15rem;
    user-select: none;
}

.form-file-group label {
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    color: #3a3a3a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-file-group label:hover {
    text-decoration: underline;
    color: #1a1a1a;
}

.form-file-group svg {
    fill: #6c757d;
    width: 16px;
    height: 16px;
}

.attachments-count {
    font-style: italic;
    color: #888;
    font-size: 0.85rem;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

button.btn-submit {
    background-color: black;
    color: white;
    border: none;
    font-weight: 700;
    padding: 0.575rem 1.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 0.25s ease;
    display: block;
    margin: 1.5rem auto 3rem;
}

button.btn-submit:hover,
button.btn-submit:focus {
    background-color: #333;
    outline: none;
}

.online-certificate-portal .heading-div{
    background: url('/assets/pathway/academic/img1.png');
}
.online-certificate-portal .heading-div a{
    background-color: #000;
    border: none;
    font-weight: 600;
}

footer {
    background-color: #000;
    color: #bbb;
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem 0 4rem;
    margin-top: 4rem;
    user-select: none;
}

footer small {
    display: block;
    margin-bottom: 0.7rem;
    color: #666;
}

footer .powered {
    font-size: 0.7rem;
    margin-bottom: 0.7rem;
    color: #444;
}

footer .powered svg {
    height: 14px;
    vertical-align: middle;
    margin-left: 0.3rem;
    fill: #444;
}

footer nav a {
    color: #666;
    text-decoration: none;
    margin: 0 0.15em;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

footer nav a:hover {
    color: #02aaff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    main.container {
        padding: 3rem 0.75rem 1.5rem;
    }

    main h1 {
        font-size: 2rem;
    }

    h2.section-title {
        font-size: 1.5rem;
    }
}

.map-container {
    height: 400px;
    overflow: hidden;
}

.map-iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.navbar .user-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

.hours-dropdown::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    color: #777;
}

/* Custom CSS for styles that don't have direct Bootstrap equivalents or for fine-tuning */
.section-title {
    font-size: 2.5rem; /* Equivalent to text-4xl */
    font-weight: bold; /* Equivalent to font-bold */
    margin-bottom: 2rem; /* Equivalent to mb-8 */
}

.section-text {
    font-size: 1rem; /* Default font size, equivalent to text-base */
    line-height: 1.5; /* Equivalent to leading-relaxed */
}

.partner-logo {
    max-height: 50px; /* Equivalent to h-12 */
    width: auto; /* Equivalent to w-auto */
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem; /* Equivalent to rounded */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Equivalent to shadow-md */
}

.symbol-img {
    max-width: 100%;
    height: 150px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures images cover the area without distortion */
    border-radius: 0.25rem; /* Equivalent to rounded */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Equivalent to shadow-sm */
}

.festival-img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem; /* Equivalent to rounded */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Equivalent to shadow-sm */
}

.certificate-box {
    background-color: #f8f9fa; /* Equivalent to bg-gray-100 */
    padding: 2rem; /* Equivalent to p-8 */
    border-radius: 0.5rem; /* Equivalent to rounded-lg */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); /* Equivalent to shadow-xl */
    margin-top: 3rem; /* Equivalent to mt-12 */
    margin-bottom: 3rem; /* Equivalent to mb-12 */
}


    .table-light thead th {
      border-bottom: 2px solid #000;
    }
    .table-bordered th,
    .table-bordered td {
      border: 1px solid #dee2e6;
    }
    .table thead th {
      vertical-align: middle;
      text-align: center;
      font-weight: 600;
      background-color: #e9ecef;
    }
    .table td {
      vertical-align: middle;
    }
    /* Responsive image for the side picture */
    .side-img-wrapper img {
      width: 100%;
      height: auto;
      border-radius: 0.375rem;
      object-fit: cover;
    }
    /* Link styles in tables */
    .table a {
      text-decoration: none;
      color: #0d6efd;
    }
    .table a:hover, .table a:focus {
      text-decoration: underline;
      color: #0a58ca;
    }
    .img-cover {
      object-fit: cover;
      width: 100%;
      height: 180px;
      border-radius: 0.25rem;
    }
    .img-square-container {
      width: 280px;
      max-width: 100%;
      overflow: hidden;
      border-radius: 0.25rem;
      background-color: #f8f9fa;
    }
    .content-text p {
      text-align: justify;
      white-space: pre-line;
    }
    .content-text strong {
      text-decoration: underline;
    }
    .caption {
      font-size: 0.9rem;
      color: #6c757d;
      text-transform: uppercase;
      margin-top: 1rem;
      letter-spacing: 0.05em;
    }
    .section-padding {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }


    .section-light {
      background-color: #f8f9fa;
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
    .section-title {
      font-weight: 500;
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    .section-subtitle {
      font-weight: 600;
      border-bottom: 2px solid #6c757d;
      padding-bottom: 0.5rem;
      margin-bottom: 1rem;
      width: fit-content;
    }
    .content-text p {
      margin-bottom: 1rem;
      text-align: justify;
    }
    .table-bordered th,
    .table-bordered td {
      border: 1px solid #dee2e6;
    }
    .table thead th {
      vertical-align: middle;
      text-align: center;
      font-weight: 600;
      background-color: #e9ecef;
    }
    .table td {
      vertical-align: middle;
    }
    /* Responsive image for the side picture */
    .side-img-wrapper img {
      width: 100%;
      height: auto;
      border-radius: 0.375rem;
      object-fit: cover;
    }
    /* Link styles in tables */
    .table a {
      text-decoration: none;
      color: #0d6efd;
    }
    .table a:hover, .table a:focus {
      text-decoration: underline;
      color: #0a58ca;
    }