/* Responsive font size adjustments for courses page on mobile */
@media (max-width: 575.98px) {
    .courses-hero-section h1,
    .courses-list-section h2,
    .rules-section h2,
    .exam-section h2 {
        font-size: 1.6rem;
    }
    .courses-hero-section p.lead,
    .courses-list-section ul,
    .rules-section ul,
    .exam-section ul,
    .courses-list-section .card-body ul,
    .courses-list-section .card-body li,
    .rules-section .col-lg-8 ul,
    .exam-section .col-lg-8 ul {
        font-size: 1rem;
    }
    .courses-list-section .card-body h4 {
        font-size: 1.1rem;
    }
}
@media (max-width: 575.98px) {
    .courses-bullet-section h2 {
        font-size: 1.2rem !important;
    }
    .courses-list li,
    .courses-list span {
        font-size: 0.97rem !important;
    }
}
@media (max-width: 575.98px) {
    .institution-info-section h2,
    .institution-info-section h3,
    .institution-info-section h4 {
        font-size: 1.1rem !important;
    }
    .institution-info-section h5 {
        font-size: 1rem !important;
    }
    .institution-info-section ul,
    .institution-info-section li,
    .institution-info-section p {
        font-size: 0.97rem !important;
    }
}
@media (max-width: 575.98px) {
    .welcome-section .fs-5,
    .welcome-section .lead {
        font-size: 1rem !important;
    }
    .welcome-section h2 {
        font-size: 1.3rem !important;
    }
}
/* Carousel Responsive Improvements */
.carousel-responsive-wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.carousel-img-wrapper {
    width: 100%;
    aspect-ratio: 16/6;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.4s, box-shadow 0.4s;
}
@media (max-width: 991.98px) {
    .carousel-img-wrapper {
        aspect-ratio: 16/8;
    }
}
@media (max-width: 575.98px) {
    .carousel-img-wrapper {
        aspect-ratio: 16/12;
    }
}
/* Institutional & Accreditation Info Section Improvements */
.institution-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0,50,92,0.10);
    overflow: hidden;
    position: relative;
}
.institution-bg-gradient {
    pointer-events: none;
    opacity: 0.7;
}
/* Our Courses Section Improvements */
.courses-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0,50,92,0.10);
    overflow: hidden;
    min-height: 280px;
    position: relative;
}
.courses-bg-gradient {
    pointer-events: none;
    opacity: 0.7;
}
.courses-list li {
    font-size: 1.13rem;
    font-weight: 500;
    color: var(--primary-blue);
    transition: color 0.2s;
}
.courses-list li:hover {
    color: var(--accent-orange);
}
.courses-bullet i {
    vertical-align: middle;
}
/* Welcome Section Improvements */
.welcome-message-box {
    position: relative;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0,50,92,0.10);
    overflow: hidden;
    min-height: 320px;
}
.welcome-message-box h2 {
    font-size: 2.1rem;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.welcome-message-box .lead {
    font-size: 1.15rem;
    color: var(--secondary-blue);
    font-weight: 600;
}
.welcome-bg-gradient {
    pointer-events: none;
    opacity: 0.7;
}
/* Accent orange text utility */
.text-accent-orange {
    color: var(--accent-orange) !important;
}
.branch-locations-section {
    background: linear-gradient(120deg, #f8fafc 60%, #e3f2fd 100%);
    border-radius: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(13,110,253,0.10);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.branch-locations-section h3 {
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(13,110,253,0.10);
}
.branch-locations-section .card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px rgba(13,110,253,0.10);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.branch-locations-section .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(13,110,253,0.18);
}
.branch-locations-section .card-body {
    padding: 2rem 1.2rem 1.2rem 1.2rem;
}
.branch-locations-section .branch-icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.7rem;
    display: inline-block;
}
.branch-locations-section h5 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}
.branch-locations-section p {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}
.branch-locations-section .card-body .contact-link {
    color: var(--accent-orange);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.branch-locations-section .card-body .contact-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}
@media (max-width: 991px) {
    .branch-locations-section .row.g-4 > [class^="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 767px) {
    .branch-locations-section .row.g-4 > [class^="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .branch-locations-section {
        padding: 1.2rem 0.2rem;
    }
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
}
/* Professional Skill Development Color Palette */
:root {
    --primary-blue: #00325c;
    --secondary-blue: #002244;
    --accent-orange: #ff9800;
    --success-green: #43b581;
    --neutral-gray: #f8f9fa;
    --deep-gray: #222;
}
.bg-skill-primary {
    background: var(--primary-blue) !important;
    color: #fff !important;
}
.bg-skill-accent {
    background: var(--accent-orange) !important;
    color: #fff !important;
}
.bg-skill-success {
    background: var(--success-green) !important;
    color: #fff !important;
}
.text-skill-primary {
    color: var(--primary-blue) !important;
}
.text-skill-accent {
    color: var(--accent-orange) !important;
}
.text-skill-success {
    color: var(--success-green) !important;
}
.navbar-primary {
    background: linear-gradient(90deg, #00325c 60%, #002244 100%);
}
    .course-card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 8px 24px rgba(0,50,92,0.18);
    }
.animated-navbar {
    animation: fadeInDown 1s;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.logo-animate {
    animation: logoBounce 1.5s infinite alternate;
}
@keyframes logoBounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero-section {
    min-height: 60vh;
    background: linear-gradient(120deg, #e3f2fd 60%, #fff 100%);
    padding: 60px 0 40px 0;
}
.btn-primary {
    background-color: #00325c;
    border: none;
    box-shadow: 0 4px 12px rgba(0,50,92,0.15);
    transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    background-color: #002244;
    box-shadow: 0 6px 18px rgba(0,50,92,0.25);
}
.text-primary {
    color: #00325c !important;
}
.course-card {
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,50,92,0.18);
}
.gallery-img {
    border-radius: 1rem;
    transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-img:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(0,50,92,0.18);
}
.footer {
    background: linear-gradient(90deg, #00325c 60%, #002244 100%);
    color: #fff;
}
/* Branch Locations Section Styles */
.branch-locations-section {
    background: linear-gradient(120deg, #f8fafc 60%, #e3f2fd 100%);
    border-radius: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(13,110,253,0.10);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.branch-locations-section .card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px rgba(13,110,253,0.10);
    border: none;
}
.branch-locations-section h3 {
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(13,110,253,0.10);
}
.branch-locations-section ul.list-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background: none;
    border: none;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.branch-locations-section .list-group-item {
    background: linear-gradient(90deg, #00325c 60%, #43b581 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,50,92,0.10);
    padding: 1rem 2.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.branch-locations-section .list-group-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,50,92,0.18);
    background: linear-gradient(90deg, #43b581 60%, #00325c 100%);
}
/* Navbar Custom Styles */
.navbar {
    border-radius: 0 0 1rem 1rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    box-shadow: 0 4px 18px rgba(13,110,253,0.10);
    transition: box-shadow 0.3s, background 0.3s;
}
.navbar-brand span {
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(13,110,253,0.12);
}
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1.08rem;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
    padding: 0.5rem 1rem;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    background: #fff;
    color: #0d6efd !important;
    box-shadow: 0 2px 8px rgba(13,110,253,0.10);
}
.navbar-toggler {
    border-radius: 0.5rem;
    border: 2px solid #222;
    background-color: #fff;
}

/* Carousel Custom Styles */
.carousel-section {
    background: #fff;
}
.carousel-img {
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(13,110,253,0.18);
    object-fit: cover;
    height: 450px;
    max-height: 40vh;
    transition: transform 0.4s, box-shadow 0.4s;
}

@media (min-width: 992px) {
    .carousel-img {
        max-height: 55vh;
    }
}

.carousel-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 36px rgba(13,110,253,0.25);
}
.carousel-caption {
    backdrop-filter: blur(1px);
}
