/* ============================================
   CURRICULUM SECTION STYLES
   Color Scheme: #3a3182 (Purple) & #eaa521 (Gold)
   ============================================ */

/* Section Container */

.header-carousel .owl-carousel-item {
    height: 90vh;          /* or whatever height you need */
    overflow: hidden;      /* hide any overflow from object‑fit */
}

.header-carousel .owl-carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;     /* already present, but repeat for clarity */
    object-position: center;
}
.curriculum-section {
    padding: 80px 0;
    background: #3a3182;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.curriculum-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(234, 165, 33, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Header Section */
.curriculum-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.curriculum-subtitle {
    color: #eaa521;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.curriculum-subtitle::before,
.curriculum-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    background: linear-gradient(90deg, transparent, #eaa521);
}

.curriculum-subtitle::before {
    right: 100%;
    margin-right: 10px;
}

.curriculum-subtitle::after {
    left: 100%;
    margin-left: 10px;
    background: linear-gradient(90deg, #eaa521, transparent);
}

.curriculum-title {
    color: #eaa521;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.curriculum-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #eaa521, #ffffff);
    border-radius: 2px;
}

.curriculum-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 20px;
    font-weight: 400;
}

/* Grid Layout */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* Card Styles */
.curriculum-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.curriculum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 165, 33, 0.08) 0%, rgba(58, 49, 130, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.curriculum-card:hover::before {
    opacity: 1;
}

.curriculum-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(234, 165, 33, 0.3);
    border-color: #eaa521;
}

/* Card Icon */
.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #eaa521 0%, #f5b841 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(234, 165, 33, 0.3);
}

.card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a3182 0%, #4a4192 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.curriculum-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(58, 49, 130, 0.4);
}

.curriculum-card:hover .card-icon::before {
    opacity: 1;
}

.card-icon i {
    font-size: 42px;
    color: #ffffff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.curriculum-card:hover .card-icon i {
    transform: scale(1.1);
}

/* Card Title */
.card-title {
    color: #3a3182;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.curriculum-card:hover .card-title {
    color: #eaa521;
}

/* Card Description */
.card-description {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.curriculum-card:hover .card-description {
    color: #333;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .curriculum-title {
        font-size: 42px;
    }

    .curriculum-description {
        font-size: 17px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .curriculum-section {
        padding: 60px 0;
    }

    .curriculum-header {
        margin-bottom: 40px;
    }

    .curriculum-title {
        font-size: 36px;
    }

    .curriculum-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .curriculum-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .curriculum-card {
        padding: 35px 25px;
    }

    .card-icon {
        width: 80px;
        height: 80px;
    }

    .card-icon i {
        font-size: 38px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 14px;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .curriculum-section {
        padding: 50px 0;
    }

    .curriculum-subtitle {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .curriculum-subtitle::before,
    .curriculum-subtitle::after {
        width: 30px;
    }

    .curriculum-title {
        font-size: 32px;
    }

    .curriculum-description {
        font-size: 15px;
        padding: 0 15px;
    }

    .curriculum-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .card-icon i {
        font-size: 34px;
    }

    .card-title {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .card-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .curriculum-title {
        font-size: 28px;
    }

    .curriculum-description {
        font-size: 14px;
    }

    .curriculum-card {
        padding: 25px 15px;
    }

    .card-icon {
        width: 65px;
        height: 65px;
    }

    .card-icon i {
        font-size: 30px;
    }
}

/* Hover Effects Enhancement for Desktop */
@media (min-width: 1025px) {
    .curriculum-card {
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .curriculum-card:hover {
        transform: translateY(-15px) scale(1.02);
    }

    .card-icon {
        animation: pulse 2s infinite;
    }

    .curriculum-card:hover .card-icon {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .curriculum-section {
        padding: 40px 0;
        background: white;
    }

    .curriculum-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}