:root {
    --primary-color: #001c54;
    --secondary-color: #0040a8;
    --accent-color: #3d73dd;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

html,
body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 8px 0;
    background-color: rgba(0, 28, 84, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 50px;
    transition: all 0.4s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-toggler {
    width: 30px;
    height: 24px;
    position: relative;
    border: none;
    background: none;
    z-index: 1061;
}

.toggler-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.toggler-line:nth-child(1) {
    top: 0;
}

.toggler-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.toggler-line:nth-child(3) {
    bottom: 0;
}

.navbar-toggler.active .toggler-line:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.navbar-toggler.active .toggler-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .toggler-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: auto;
    top: 50%;
}

.navbar-collapse {
    transition: all 0.4s ease-in-out;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--primary-color);
        z-index: 1050;
        padding: 2rem 1.5rem;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
    }

    .navbar-collapse.show {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }

    .navbar-collapse .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        color: white;
        background: none;
        border: none;
        z-index: 1061;
        cursor: pointer;
    }
}

.navbar-nav {
    margin-bottom: 15px;
}

.nav-link {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:last-child .nav-link {
    border-bottom: none;
}

.hero-section {
    background: linear-gradient(to right, rgba(0, 28, 84, 0.9), rgba(0, 64, 168, 0.8));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

.hero-section .btn {
    margin-bottom: 10px;
}

.hero-section .img-fluid {
    margin-top: 30px;
}

.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.75rem;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.accreditation-section {
    background-color: #f8f9fa;
    position: relative;
    padding: 80px 0;
}

.accreditation-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
}

.accreditation-card {
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.accreditation-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.contact-section {
    padding: 80px 0;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 16px;
    height: 100%;
    margin-top: 30px;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 30px;
    text-align: center;
}

.footer .text-md-end {
    text-align: center !important;
    margin-top: 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 28, 84, 0.2);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.animated-counter {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a3c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-size: 1.75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}


.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hero-section .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .hero-section .btn {
        width: 100%;
        margin-right: 0;
    }

    .contact-form,
    .contact-info {
        padding: 20px;
    }

    iframe {
        height: 200px;
    }

    .footer h5 {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        height: 40px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 35px;
    }

    .hero-section {
        padding: 100px 0 50px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .animated-counter {
        font-size: 1.75rem;
    }

    .section-title {
        position: relative;
        margin-bottom: 40px;
        font-size: 1.75rem;
        text-align: center;
    }

    .section-title::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--accent-color);
        border-radius: 2px;
    }

}

#test-table h5 {
    color: #001c54;
}

#test-table .border:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}