/*** Hero Section On home page ***/    
	
	* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        overflow-x: hidden;
        background: #0a1929;
    }

    .custom-slider-nice {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        background: #000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transform: scale(1.1);
        transition: opacity 1.2s ease, transform 8s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 45, 105, 0.75) 0%, rgba(200, 100, 0, 0.6) 100%);
        z-index: 1;
    }

    .slide.active {
        opacity: 1;
        transform: scale(1);
    }

    .slide-content {
        position: relative;
        color: #fff;
        text-align: center;
        z-index: 2;
        max-width: 800px;
        padding: 0 20px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1s ease, transform 1s ease;
    }

    .slide.active .slide-content {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.5s;
    }

    .slide-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
        line-height: 1.2;
        color: #ffffff;
    }

    .slide-content p {
        font-size: 1.25rem;
        font-weight: 300;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
        color: #f0f0f0;
    }

    .cta-button {
        display: inline-block;
        padding: 15px 40px;
        background: linear-gradient(45deg, #ff8c00, #ff6a00);
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
        position: relative;
        overflow: hidden;
    }

    .cta-button:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
    }

    .cta-button:hover:before {
        left: 100%;
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6);
    }

    .slider-nav {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        z-index: 10;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        margin: 0 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-dot.active {
        background: #ff8c00;
        transform: scale(1.3);
    }

    .slider-arrows {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 30px;
        z-index: 10;
        transform: translateY(-50%);
    }

    .arrow {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
    }

    .arrow:hover {
        background: rgba(255, 140, 0, 0.8);
        transform: scale(1.1);
    }

    .slide-counter {
        position: absolute;
        top: 30px;
        right: 30px;
        color: #fff;
        font-size: 1rem;
        z-index: 10;
        background: rgba(0, 0, 0, 0.3);
        padding: 5px 15px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }

    @media (max-width: 992px) {
        .slide-content h1 {
            font-size: 2.8rem;
        }
        
        .slide-content p {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 768px) {
        .slide-content h1 {
            font-size: 2.2rem;
        }
        
        .slide-content p {
            font-size: 1rem;
        }
        
        .cta-button {
            padding: 12px 30px;
        }
        
        .arrow {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
    }

    @media (max-width: 576px) {
        .slide-content h1 {
            font-size: 1.8rem;
        }
        
        .slider-arrows {
            padding: 0 15px;
        }
        
        .slide-counter {
            top: 20px;
            right: 20px;
        }
    }
	
/*** Why choose Us Section ***/

.why-choose-us-section {
    padding: 80px 0;
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

.why-choose-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #004aaf;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #004aaf, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #004aaf;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.feature-card li {
    margin-bottom: 10px;
    color: #444;
    display: flex;
    align-items: center;
}

.feature-card li i {
    color: #ff8c00;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/*** Paralegal Section ***/

/* Global reset for this section to prevent theme conflicts */
.paralegal-section-modern *,
.paralegal-section-modern *::before,
.paralegal-section-modern *::after {
    box-sizing: border-box;
}

.paralegal-section-modern {
    padding: 100px 0;
    background-color: #FFFFFF; /* Changed to pure white */
    font-family: 'Poppins', sans-serif;
}

.paralegal-section-modern .container-modern {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

.paralegal-section-modern .content-wrapper-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.paralegal-section-modern .text-card-modern {
    flex: 1;
    min-width: 350px;
}

.paralegal-section-modern .course-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.paralegal-section-modern .course-title-modern {
    color: #004aaf;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 10px;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.paralegal-section-modern .study-info-modern {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.paralegal-section-modern .info-item-modern {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.paralegal-section-modern .info-item-modern i {
    font-size: 1.8rem;
    color: #004aaf;
}

.paralegal-section-modern .info-item-modern h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.paralegal-section-modern .info-item-modern p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.paralegal-section-modern .online-study-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.paralegal-section-modern .btn-primary-modern {
    display: inline-block;
    background: #ff8c00;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.paralegal-section-modern .btn-primary-modern:hover {
    background: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.paralegal-section-modern .image-box-modern {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease-in-out;
}

.paralegal-section-modern .image-box-modern:hover {
    transform: scale(1.03);
}

.paralegal-section-modern .course-image-modern {
    width: 100%;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.paralegal-section-modern .image-box-modern:hover .course-image-modern {
    transform: scale(1.05);
}

.paralegal-section-modern .image-caption-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 74, 175, 0.9), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.paralegal-section-modern .image-caption-modern p {
    margin: 0;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .paralegal-section-modern .content-wrapper-modern {
        flex-direction: column-reverse;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .paralegal-section-modern {
        padding: 60px 0;
    }
    .paralegal-section-modern .course-title-modern {
        font-size: 2rem;
    }
    .paralegal-section-modern .image-caption-modern p {
        font-size: 1rem;
    }
    .paralegal-section-modern .online-study-text p {
        font-size: 0.9rem;
    }
}

/*** Upcoming courses ***/
/* Namespaced CSS to prevent conflicts */
.courses-section-wrapper {
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px;
    background-color: #f8f9fa; /* Light background for a clean look */
    text-align: center;
}

.courses-section-title {
    color: #004aaf;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.courses-section-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    flex-basis: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    overflow: hidden; /* Ensures image stays within the circle */
}

.card-icon .course-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the circle without distortion */
}

.course-title {
    color: #004aaf;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.course-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-btn {
    display: inline-block;
    background: #ff8c00;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.course-btn:hover {
    background: #e67e00;
    transform: translateY(-2px);
}

/* Responsive adjustments for a two-column layout on larger screens */
@media (min-width: 992px) {
    .courses-section-container {
        flex-direction: row;
        gap: 40px;
    }
}

/*** Registration section ***/
/* CSS for the Call to Action Section */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using rgba for the branding color #914700 with 70% opacity */
    background-color: rgba(145, 71, 0, 0.7);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff; /* Changed to white */
    margin-bottom: 10px;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff; /* Changed to white */
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background: #914700;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(145, 71, 0, 0.3);
}

.cta-btn:hover {
    background: #733900;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(145, 71, 0, 0.4);
}

//*** Accreditation SEction ***/
/* Wrapper */
.accreditation-carousel-wrapper {
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px;
    background-color: #f5f7fa;
    text-align: center;
}

/* Title */
.accreditation-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #004aaf;
    margin-bottom: 10px;
    position: relative;
}
.accreditation-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #004aaf, #ff8c00);
    border-radius: 2px;
    margin: 10px auto 0;
}

/* Subtitle */
.accreditation-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 50px;
}

/* Carousel */
.accreditation-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* Slides */
.carousel-slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Card */
.accreditation-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    max-width: 700px;
    text-align: center;
    transition: transform 0.3s ease;
}
.accreditation-card:hover {
    transform: translateY(-5px);
}

/* Text */
.accreditation-text-wrapper {
    margin-bottom: 25px;
}
.accreditation-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}
.accreditation-number {
    display: inline-block;
    font-weight: 600;
    background: linear-gradient(90deg, #004aaf, #ff8c00);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
}

/* Logos */
.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.accreditation-logos img {
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}
.accreditation-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004aaf;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    z-index: 10;
}
.carousel-btn:hover {
    background: #004aaf;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    background: linear-gradient(90deg, #004aaf, #ff8c00);
    transform: scale(1.3);
}

/* Footer */
.accreditation-footer {
    color: #718096;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .accreditation-card { padding: 30px 20px; }
    .accreditation-text { font-size: 1rem; }
    .accreditation-logos img { height: 30px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
}
@media (max-width: 480px) {
    .accreditation-title { font-size: 1.8rem; }
    .accreditation-text { font-size: 0.95rem; }
    .accreditation-logos img { height: 25px; }
    .carousel-btn { width: 35px; height: 35px; }
}