/* 
* Shikshan - Education Platform Stylesheet
* Author: Cascade
* Date: 2025-06-16
*/

/* Import testimonials stylesheet */
@import url('testimonials.css');

/* ========== Syllabus & Pattern Section ========== */
.syllabus-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    position: relative;
}

.syllabus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e7ff" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.syllabus-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(158, 127, 212, 0.1);
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.syllabus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(158, 127, 212, 0.1), transparent);
    transition: left 0.6s ease;
}

.syllabus-card:hover::before {
    left: 100%;
}

.syllabus-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(158, 127, 212, 0.25);
}

.syllabus-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.syllabus-card:hover .syllabus-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.syllabus-icon i {
    font-size: 32px;
    color: white;
}

.syllabus-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.syllabus-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.syllabus-card:hover .syllabus-title {
    color: var(--primary-color);
}

.syllabus-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.download-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(158, 127, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.syllabus-card:hover .download-arrow {
    background: var(--primary-color);
    transform: scale(1.1);
    opacity: 1;
}

.download-arrow i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.syllabus-card:hover .download-arrow i {
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .syllabus-section {
        padding: 60px 0;
    }
    
    .syllabus-card {
        padding: 25px;
        height: 180px;
    }
    
    .syllabus-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .syllabus-icon i {
        font-size: 24px;
    }
    
    .syllabus-title {
        font-size: 20px;
    }
    
    .syllabus-subtitle {
        font-size: 13px;
    }
}

/* ========== Sample Papers Section ========== */
.sample-papers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f3ff 0%, #e2dafd 30%, #f0f0f0 100%);
    position: relative;
}

.sample-papers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="red-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="%23cb5959" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23red-grid)"/></svg>');
    opacity: 0.2;
    pointer-events: none;
}

.sample-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(203, 89, 89, 0.1);
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sample-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(203, 89, 89, 0.1), transparent);
    transition: left 0.6s ease;
}

.sample-card:hover::before {
    left: 100%;
}

.sample-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #cb5959;
    box-shadow: 0 20px 50px rgba(203, 89, 89, 0.25);
}

.sample-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #cb5959, #d67373);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.sample-card:hover .sample-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #d67373, #e08d8d);
}

.sample-icon i {
    font-size: 32px;
    color: white;
}

.sample-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sample-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.sample-card:hover .sample-title {
    color: #cb5959;
}

.sample-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.sample-card .download-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(203, 89, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.sample-card:hover .download-arrow {
    background: #cb5959;
    transform: scale(1.1);
    opacity: 1;
}

.sample-card .download-arrow i {
    font-size: 16px;
    color: #cb5959;
    transition: all 0.3s ease;
}

.sample-card:hover .download-arrow i {
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design for Sample Papers */
@media (max-width: 768px) {
    .sample-papers-section {
        padding: 60px 0;
    }
    
    .sample-card {
        padding: 25px;
        height: 180px;
        margin-bottom: 20px;
    }
    
    .sample-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .sample-icon i {
        font-size: 24px;
    }
    
    .sample-title {
        font-size: 20px;
    }
    
    .sample-subtitle {
        font-size: 13px;
    }
}


/* ========== Global Styles ========== */

:root {
    --primary-color: #9E7FD4;
    --secondary-color: #A19ACF;
    --accent-color: #F2B5C0;
    --light-bg: #E8E5F7;
    --soft-highlight: #F9E9E9;
    --white: #ffffff;
    --dark: #555555;
    --gray: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 48, 191, 0.3);
}


/* ========== Header Styles ========== */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-text {
    color: var(--primary-color);
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0.7);
    transform-origin: left;
    transition: var(--transition);
}

.navbar-brand:hover .logo-text::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* ========== Hero Slider Styles ========== */

.hero-slider {
    margin-top: 80px;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    background-color: var(--dark);
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s;
}

.carousel-caption .btn {
    animation: fadeInUp 1.4s;
}

.carousel-indicators {
    z-index: 3;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 10%;
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


/* ========== Working Process Section ========== */

.working-process {
    background-color: #f8f6ff;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.working-process .section-subtitle {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.working-process .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 15px;
}

.process-flow {
    position: relative;
    padding: 60px 0 30px;
}

.process-connection {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 1;
}

.connection-line {
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: #d9d5f2;
    z-index: -1;
}

.connection-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -5px;
    z-index: 2;
}

.dot-1 {
    left: 15%;
}

.dot-2 {
    left: 38%;
}

.dot-3 {
    left: 62%;
}

.dot-4 {
    left: 85%;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 0 15px;
    height: 100%;
    transition: var(--transition);
    z-index: 3;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(108, 48, 191, 0.15);
    position: relative;
}

.step-number {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
}

.process-step:hover .process-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.process-step p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}


/* Animations */

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}


/* ========== About Section ========== */

.about-section {
    position: relative;
    background-color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.about-section .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-image-container {
    position: relative;
    padding: 20px;
    height: 100%;
}

.about-image-main {
    position: relative;
    z-index: 3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image-accent {
    position: absolute;
    width: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-shape-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(108, 48, 191, 0.1);
    top: -50px;
    left: -50px;
    z-index: 1;
}

.about-shape-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(217, 106, 126, 0.1);
    bottom: 20px;
    left: 30%;
    z-index: 1;
}

.about-features {
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    transition: var(--transition);
    padding: 15px;
    border-radius: 8px;
}

.about-feature:hover {
    background-color: rgba(217, 213, 242, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.about-feature:hover .feature-icon {
    background-color: var(--accent-color);
    transform: rotate(10deg);
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
}

.about-cta {
    margin-top: 30px;
}

.about-cta .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    transition: var(--transition);
}

.about-cta .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.about-cta .btn-outline-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    transition: var(--transition);
}

.about-cta .btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}


/* ========== Course Section ========== */

.courses-section {
    padding: 100px 0;
    background-color: #fcfbff;
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(108, 48, 191, 0.05);
    z-index: 1;
}

.courses-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(217, 106, 126, 0.05);
    z-index: 1;
}

.section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 15px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.course-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(158, 127, 212, 0.2);
    border-width: 2.5px;
}

.course-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    position: relative;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-description {
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.course-card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #f8f6ff;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}


/* Course Section Styles */

.courses-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(108, 48, 191, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.courses-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: rgba(217, 106, 126, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.courses-section .section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.courses-section .section-subtitle {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.courses-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6C30BF;
    margin-bottom: 15px;
}

.courses-section .section-description {
    max-width: 700px;
    margin: 0 auto;
    color: #6232A6;
}


/* Course Filter Styles */

.course-filter {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 5px 10px;
    background-color: white;
    color: #6C30BF;
    border: 1px solid rgba(108, 48, 191, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #6C30BF;
    color: white;
    transform: translateY(-2px);
    box-shadow: none;
    border-color: #6C30BF;
}


/* Course Card Styles */

.course-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    border: none;
}

.course-card.light-bg {
    background-color: var(--light-bg);
    border: 2px solid var(--primary-color);
}

.course-card.soft-highlight-bg {
    background-color: var(--soft-highlight);
    border: 2px solid var(--accent-color);
}

.course-card {
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    border: 2px solid var(--light-bg);
    margin-bottom: 15px;
}

.course-card-header {
    background-color: transparent;
    border-bottom: none;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 48, 191, 0.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #D96A7E;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    box-shadow: none;
}

.course-card-header {
    background: transparent;
    color: #6C30BF;
    padding: 25px 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #6C30BF;
}

.course-description {
    font-size: 13px;
    color: #6232A6;
    margin-bottom: 0;
}

.course-card.light-bg .course-description,
.course-card.soft-highlight-bg .course-description {
    color: #6232A6;
}

.course-card.light-bg .course-title,
.course-card.soft-highlight-bg .course-title {
    color: var(--primary-color);
}

.course-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 12px;
    background-color: transparent;
    padding: 3px 6px;
    border-radius: 5px;
    border: none;
}

.meta-item i {
    margin-right: 6px;
    color: #333333;
}

.course-footer {
    margin-top: auto;
}

.btn-enquire {
    display: inline-block;
    background-color: #6232A6;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: none;
}

.btn-enquire:hover {
    background-color: #c85a6d;
    transform: translateY(-2px);
    box-shadow: none;
    color: white;
    text-decoration: none;
}


/* Animation */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

.feature-item i {
    color: #6C30BF;
    margin-right: 8px;
    margin-top: 2px;
    font-size: 0.8rem;
}

.feature-item span {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

.program-action {
    margin-top: auto;
}

.btn-view-detail {
    display: block;
    width: 100%;
    background-color: #6C30BF;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-view-detail:hover {
    background-color: #6232A6;
    color: #fff;
}


/* Responsive Styles for Courses Section */

@media (max-width: 991px) {
    .courses-section {
        padding: 70px 0;
    }
    .courses-section .section-header h2 {
        font-size: 2.2rem;
    }
    .course-card-header {
        padding: 20px 15px;
    }
    .course-title {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .courses-section {
        padding: 50px 0;
    }
    .courses-section .section-header h2 {
        font-size: 2rem;
    }
    .course-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    .filter-btn {
        flex: 0 0 auto;
        padding: 6px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
    .course-meta {
        flex-direction: column;
        gap: 8px;
    }
    .course-card-header {
        padding: 15px;
    }
    /* Ensure light theme colors are consistent on mobile */
    .course-card.light-bg {
        background-color: var(--light-bg);
    }
    .course-card.soft-highlight-bg {
        background-color: var(--soft-highlight);
    }
}

@media (max-width: 576px) {
    .courses-section {
        padding: 40px 0;
    }
    .courses-section .section-header h2 {
        font-size: 1.8rem;
    }
    .course-card-header {
        padding: 15px;
    }
    .course-card-body {
        padding: 15px;
    }
    .course-title {
        font-size: 16px;
    }
    .btn-enquire {
        padding: 8px 15px;
        font-size: 14px;
    }
}


/* Footer Responsive for Small Devices */

@media (max-width: 576px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    .footer-widget h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    .footer-widget h3::after {
        width: 40px;
    }
    .footer-widget p {
        font-size: 0.85rem;
    }
    .social-links {
        gap: 8px;
    }
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .footer-links a {
        font-size: 0.85rem;
    }
    .newsletter-form .form-control {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    .newsletter-form .btn {
        padding: 0 15px;
    }
    .footer-bottom {
        padding: 15px 0;
    }
    .copyright {
        font-size: 0.8rem;
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-bottom-links {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .footer-bottom-links a {
        font-size: 0.75rem;
    }
    /* Contact Section Responsive */
    .contact-section {
        padding: 50px 0;
    }
    .contact-section .section-header h2 {
        font-size: 1.8rem;
    }
    .contact-section .section-description {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    .contact-info {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    .contact-form-container {
        padding: 25px 20px;
    }
    .send-message-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        width: 100%;
    }
    /* Footer Responsive */
    .footer-top {
        padding: 60px 0 30px;
    }
    .footer-widget h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .footer-widget p {
        font-size: 0.9rem;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .footer-bottom-links {
        gap: 15px;
    }
    .footer-bottom-links a {
        font-size: 0.8rem;
    }
}


/* Light Theme Utility Classes */

.light-bg {
    background-color: var(--light-bg);
}

.soft-highlight-bg {
    background-color: var(--soft-highlight);
}


/* Board Label Styles */

.board-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 3;
}


/* Adjust position when course badge is present */

.course-badge+.board-label {
    top: 50px;
}

.board-label.cbse {
    background-color: var(--primary-color);
}

.board-label.icse {
    background-color: var(--accent-color);
}

.board-label.state {
    background-color: var(--secondary-color);
}


/* ========== Footer Section ========== */

.footer {
    background-color: #f8f6ff;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(158, 127, 212, 0.1);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-widget p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(158, 127, 212, 0.1);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form .input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(158, 127, 212, 0.1);
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    background-color: white;
    color: var(--dark);
}

.newsletter-form .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0 20px;
    border-radius: 0;
}

.newsletter-form .btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer-bottom {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.copyright {
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom-links a {
    color: var(--dark);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Contact Details Styles */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(158, 127, 212, 0.1);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateX(5px);
    background-color: rgba(158, 127, 212, 0.05);
    border-radius: 8px;
    padding: 12px 10px;
    margin: 0 -10px 20px -10px;
}

.contact-item:hover:last-child {
    margin-bottom: -10px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.contact-icon i {
    color: white;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(158, 127, 212, 0.3);
}

.contact-text {
    flex: 1;
    line-height: 1.6;
}

.contact-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

.contact-text p:not(:last-child) {
    margin-bottom: 5px;
}

.contact-text a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

.contact-text a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-text a[href^="tel:"]:hover {
    text-decoration: underline;
}

.contact-text a[href^="mailto:"]:hover {
    text-decoration: underline;
}

/* Responsive Contact Styles */
@media (max-width: 991px) {
    .contact-item {
        padding: 10px 0;
        margin-bottom: 18px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .contact-item {
        padding: 8px 0;
        margin-bottom: 15px;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
    
    .contact-icon i {
        font-size: 0.8rem;
    }
    
    .contact-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        text-align: left;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 8px;
        width: 30px;
        height: 30px;
    }
    
    .contact-icon i {
        font-size: 0.75rem;
    }
    
    .contact-text p {
        font-size: 0.8rem;
    }
    
    .contact-item:hover {
        transform: none;
        margin: 0 0 15px 0;
        padding: 10px;
    }
    
    .contact-item:hover:last-child {
        margin-bottom: 0;
    }
}


/* ========== Contact Section ========== */

.contact-section {
    padding: 100px 0;
    background-color: #fcfbff;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(158, 127, 212, 0.1), rgba(161, 154, 207, 0.1));
    z-index: 1;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(242, 181, 192, 0.1), rgba(158, 127, 212, 0.1));
    z-index: 1;
}

.contact-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.contact-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.contact-section .section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.7;
}

.contact-info {
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(158, 127, 212, 0.1);
    height: 100%;
    border: 1px solid rgba(158, 127, 212, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(158, 127, 212, 0.15);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: #f8f6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(158, 127, 212, 0.1);
}

.contact-item:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(158, 127, 212, 0.2);
}

.contact-item .info {
    flex-grow: 1;
}

.contact-item .info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.contact-form-container {
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(158, 127, 212, 0.1);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(158, 127, 212, 0.1);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(158, 127, 212, 0.15);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form .form-control {
    border: 1px solid rgba(158, 127, 212, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: var(--dark);
    background-color: #fcfbff;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(158, 127, 212, 0.1);
    background-color: white;
}

.contact-form .form-control::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.send-message-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(158, 127, 212, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.send-message-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.send-message-btn:hover::before {
    left: 0;
}

.send-message-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(158, 127, 212, 0.3);
    color: white;
}