:root {
    --text-color: #333333;
    --light-bg: #f0f4f8;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --light-blue: #87CEEB;
    --card-color-1: #ff4d78;
    --card-color-2: #4bc281;
    --card-color-3: #4698f3;
    --card-color-4: #ffc92f;
    --button-bg: #666666;
    --button-hover: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

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

/* Header */
header {
    background-color: var(--light-blue);
    padding: 15px; /* Reduced from 20px */
    text-align: center;
    box-shadow: var(--shadow);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; /* Increased from 2rem */
    color: var(--white);
}

/* Banner Section */
.pro-cover {
    background: url('https://images.unsplash.com/photo-1516321310762-479e93c67c84?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    padding: 40px 20px; /* Reduced from 60px 20px */
    color: var(--white);
}

.bannerSection {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem; /* Increased from 2.8rem */
    margin-bottom: 15px; /* Reduced from 20px */
}

.breadcrumb {
    font-size: 1.2rem; /* Increased from 1rem */
    color: #eee;
}

.breadcrumb a {
    color: #cccccc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Sticky Navigation */
.sticky-scroll-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--light-blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
}

.sticky-scroll-header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sticky-nav-list {
    display: flex;
    gap: 15px; /* Reduced from 20px */
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 1.2rem; /* Increased from 1rem */
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    height: 100%;
}

.sticky-nav-list a,
.sticky-nav-list button {
    text-decoration: none;
    color: var(--white);
    padding: 10px 12px; /* Reduced from 10px 15px */
    transition: var(--transition);
    border-radius: 5px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 1.2rem; /* Increased from 1rem */
    cursor: pointer;
}

.sticky-nav-list a:hover,
.sticky-nav-list a.active,
.sticky-nav-list button:hover {
    background-color: var(--button-bg);
    color: var(--white);
}

/* Unified Container */
        .unified-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            max-width: 95%;
            margin: 50px auto 0;
            padding: 30px 20px;
            border-radius: 12px;
            gap: 40px;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .unified-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(rgba(50, 50, 50, 0.65), rgba(50, 50, 50, 0.65)), url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
            z-index: -1;
            border-radius: 12px;
        }

/* Program Info Section */
.program-info {
    flex: 1 1 500px;
    padding: 15px; /* Reduced from 25px */
    text-align: left;
}

.program-info h2 {
    font-size: 2rem; /* Increased from 1.5rem */
    color: #e0e0e0;
    margin-bottom: 10px; /* Reduced from 15px */
    font-weight: 600;
}

.program-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; /* Increased from 2.8rem */
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px; /* Reduced from 20px */
}

.program-info p {
    font-size: 1.4rem; /* Reduced from 2.1rem for readability */
    color: #eee;
    margin-bottom: 15px; /* Reduced from 25px */
}

.program-info .logo img {
    /* width: 100%; Full width */
    height: auto;
    display: block;
    margin: 10px 0;
    height: 75px;
}

.program-info .loga img {
    width: 100%; /* Full width */
    height: auto;
    display: block;
    margin: 10px 0;
}

/* Apply Form */
.apply-form {
    flex: 1 1 400px;
    background-color: var(--white);
    color: var(--text-color);
    padding: 20px; /* Reduced from 30px */
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.apply-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; /* Increased from 1.8rem */
    color: var(--text-color);
    margin-bottom: 15px; /* Reduced from 20px */
    text-align: center;
}

.form-group {
    margin-bottom: 15px; /* Reduced from 20px */
}

.form-group label {
    display: block;
    font-size: 1.2rem; /* Increased from 0.95rem */
    color: var(--text-color);
    margin-bottom: 5px; /* Reduced from 8px */
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px; /* Reduced from 12px */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.2rem; /* Increased from 0.95rem */
    color: var(--text-color);
    transition: var(--transition);
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--button-bg);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.3);
}

.submit-btn {
    background-color: var(--button-bg);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1.3rem; /* Increased from 1rem */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow);
    min-height: 44px;
}

.submit-btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

/* Info Cards Section */
.info-cards-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 30px auto;
}

/* Base Card */
.flip-card {
    flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    aspect-ratio: 4 / 3;
    perspective: 1000px;
    min-width: 220px;
}

/* Inner Flip Mechanism */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    border-radius: 16px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}


.right-sidebar{position: relative;  border-radius: 4px;  box-shadow: 0 2px 8px 0 rgba(0,0,0,.1);
  border: 1px solid #dde3e7; background-color: #fff;padding: 24px 20px 32px 20px;}
.overview-wrapper-2{box-shadow: 5px 5px 50px 0 hsla(0,0%,78%,.35); background: #fff);}


.overview-highlights-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.5s ease forwards;
}

.mEnrollNow .button_root__RRK9v {
  display: inline-flex;
  padding: 10px 30px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1.5px solid #1a325d;
    border-top-color: rgb(26, 50, 93);
    border-right-color: rgb(26, 50, 93);
    border-bottom-color: rgb(26, 50, 93);
    border-left-color: rgb(26, 50, 93);
  background-color: #ffc907;
  color: #1a325d;
}



/* Card Faces */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: break-word;
    overflow: hidden;
}

.flip-card-front {
    background-color: var(--card-color, #eee);
    color: #fff;
}

.flip-card-front h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.flip-card-front p,
.flip-card-front a {
    margin-top: 8px;
    font-size: 18px;
    color: white;
    text-decoration: underline;
    text-align:center;
}

.flip-card-back {
    background-color: #ffffff;
    transform: rotateY(180deg);
    color: #1c2b5a;
    font-size: 18px;
    line-height: 1.4;
    box-shadow: inset 0 0 0 2px var(--card-color);
}

/* Color Assignment */
.flip-card:nth-child(1) { --card-color: var(--card-color-1); }
.flip-card:nth-child(2) { --card-color: var(--card-color-2); }
.flip-card:nth-child(3) { --card-color: var(--card-color-3); }
.flip-card:nth-child(4) { --card-color: var(--card-color-4); }

/* Tablet View */
@media (max-width: 1024px) {
    .flip-card {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .flip-card-front h3 {
        font-size: 20px;
    }

    .flip-card-front p,
    .flip-card-front a,
    .flip-card-back {
        font-size: 16px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .info-cards-section {
        padding: 20px 15px;
        gap: 20px;
        justify-content: center;
    }

    .flip-card {
        flex: 1 1 80%;
        max-width: 90%;
        aspect-ratio: 4 / 3;
        min-width: 250px;
    }

    .flip-card-front h3 {
        font-size: 18px;
    }

    .flip-card-front p,
    .flip-card-front a,
    .flip-card-back {
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .flip-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .flip-card-front h3 {
        font-size: 16px;
    }

    .flip-card-front p,
    .flip-card-front a,
    .flip-card-back {
        font-size: 12px;
        margin-top: 4px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 10px;
    }
}


/* Overview Section */
.section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px 20px; /* Reduced from 50px 20px */
    max-width: 1200px; /* Set to 1200px */
    margin: 30px auto; /* Reduced from 50px auto */
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.5s ease forwards;
}

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

.text-content {
    flex: 1 1 55%;
    padding-right: 15px; /* Reduced from 25px */
}

.text-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; /* Increased from 2.2rem */
    color: var(--text-color);
    margin-bottom: 15px; /* Reduced from 20px */
}

.text-content p,
.text-content ul {
    font-size: 1.3rem; /* Reduced from 2rem */
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 10px; /* Reduced from 15px */
}

.image-content {
    flex: 1 1 40%;
    text-align: center;
}

.image-content img {
    width: 100%; /* Full width */
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Program Highlights Section */
.program-highlights-section {
    max-width: 1200px; /* Set to 1200px */
    margin: 30px auto; /* Reduced from 50px auto */
    padding: 0 20px;
}

.program-highlights-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; /* Increased from 2.2rem */
    color: var(--text-color);
    margin-bottom: 20px; /* Reduced from 30px */
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px; /* Reduced from 15px */
    text-align: center;
}

.journey-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Reduced from 30px */
}

.accordion-wrapper {
    flex: 1 1 55%;
}

.journey-image {
    flex: 1 1 40%;
    text-align: center;
}

.journey-image img {
    width: 100%; /* Full width */
    height: auto;
    border-radius: 8px;
}

.accordion-item {
    background: var(--white);
    border-radius: 8px;
    padding: 15px; /* Reduced from 20px */
    margin-bottom: 10px; /* Reduced from 15px */
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.accordion-item:hover {
    background-color: #f5f5f5;
    border-color: var(--button-bg);
}

.accordion-item.active {
    border-color: var(--button-bg);
    background-color: #f5f5f5;
}

.accordion-title {
    font-size: 1.5rem; /* Reduced from 2.15rem */
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title::after {
    content: '+';
    font-size: 2rem; /* Reduced from 2.5rem */
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-title::after {
    content: '-';
    font-size: 2rem; /* Reduced from 2.5rem */
}

.accordion-content {
    display: none;
    margin-top: 10px; /* Reduced from 12px */
    font-size: 1.2rem; /* Increased from 0.95rem */
    color: #555;
    line-height: 1.6;
    animation: fadeIn 0.4s ease-out forwards;
}

.accordion-item.active .accordion-content {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Course Curriculum Section */
.course-curriculum-section {
    max-width: 1200px; /* Set to 1200px */
    margin: 30px auto; /* Reduced from 50px auto */
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Reduced from 30px */
    justify-content: center;
}

.structure-left {
    flex: 0 0 47.5%;
    min-width: 300px;
}

.structure-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Reduced from 30px */
}

.structure-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; /* Increased from 2.2rem */
    color: var(--text-color);
    margin: 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px; /* Reduced from 15px */
}

.curriculum-btn {
    background-color: var(--button-bg);
    color: var(--white);
    padding: 10px 15px; /* Reduced from 10px 20px */
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem; /* Increased from 14px */
    transition: var(--transition);
}

.curriculum-btn:hover,
.curriculum-btn:focus {
    background-color: var(--button-hover);
    outline: 2px solid var(--button-bg);
    outline-offset: 2px;
}

.structure-right {
    flex: 0 0 47.5%;
    min-width: 280px;
    text-align: center;
}

.structure-right img {
    width: 100%; /* Full width */
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Sub-Accordion */
.sub-accordion {
    margin-top: 10px; /* Reduced from 15px */
    border-radius: 5px;
    overflow: hidden;
}

.sub-item {
    background-color: #002855;
    color: white;
    border-bottom: 1px solid #ffffff22;
}

.sub-header {
    padding: 10px 15px; /* Reduced from 12px 20px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sub-header:hover {
    background-color: #001f44;
}

.sub-icon {
    font-size: 22px; /* Increased from 20px */
    font-weight: bold;
    transition: transform 0.3s ease;
}

.sub-body {
    background-color: #f4f4f4;
    color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 15px; /* Reduced from 0 20px */
    word-wrap: break-word;
    white-space: normal;
}

.sub-item.active .sub-body {
    padding: 10px 15px; /* Reduced from 15px 20px */
}

.sub-item.active .sub-icon {
    transform: rotate(45deg);
}

.sub-title {
    font-size: 1.2rem; /* Increased from 14px */
    font-weight: 400;
    line-height: 28px; /* Increased from 24px */
    color: #ffffff;
}

p, li, a, span, table, tr, td, th, label, h4 {
    font-size: 1.3rem; /* Increased from 14px */
    color: #636363;
    font-weight: 400;
    line-height: 1.8; /* Increased from 24px */
    text-align: left;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 20px; /* Reduced from 40px 20px */
    text-align: center;
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .flip-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .unified-container,
    .section-container,
    .course-curriculum-section {
        flex-direction: column;
        margin: 30px auto;
        padding: 0 15px;
        max-width: 100%; /* Allow full width on mobile */
    }

    .program-info,
    .apply-form,
    .text-content,
    .image-content,
    .structure-left,
    .structure-right {
        flex: 1 1 100%;
    }

    .structure-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .journey-content {
        flex-direction: column;
    }

    .accordion-wrapper,
    .journey-image {
        flex: 1 1 100%;
    }
}

@media (max-width: 600px) {
    .info-cards-section {
        flex-direction: column;
    }

    .flip-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .program-info h1,
    .structure-header h2 {
        font-size: 1.8rem;
    }

    .curriculum-btn {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
}