#course-plan,
#exam-packs,
#about-exam,
#tutors,
#additional-services {
    background: var(--secondary-bg-color);
    padding: 30px 20px;
    font-family: var(--font-family-2);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h5 {
    display: inline-block;
    background: var(--primary-bg-color);
    color: var(--secondary-text-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(124, 85, 197, 0.3);
    position: relative;
    border: none;
    animation: badge-soft-pulse 3s infinite;
}

.section-title h5::before,
.section-title h5::after {
    display: none;
}

@keyframes badge-soft-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

h2 {
    color: var(--primary-bg-color);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 0;
    font-weight: 800;
}

.header-line {
    width: 50px;
    height: 4px;
    background: var(--primary-bg-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* 2. Grid & Card System */
.grid-3,
.exam-stats-grid,
.tutor-grid {
    display: grid;
    gap: 25px;
    justify-content: center;
    margin: auto;
}

.grid-3,
.exam-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
}

.tutor-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.card,
.stat-card,
.tutor-card {
    background: white;
    border: 1px solid var(--primary-bg-light-color);
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: stretch;
}

.stat-card p {
    text-align: center;
}

.card:hover,
.stat-card:hover,
.tutor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(124, 85, 197, 0.1);
}

.card:hover {
    background: rgba(255, 255, 255, 0.6);
}

.card.featured {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #ff723a;
}

.pop-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff723a;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
    margin: auto
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    text-align: left;
}

.feature-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-bg-color);
}

h3 {
    color: var(--primary-bg-color);
    margin-bottom: 12px;
    text-align: center;
}

.stat-card h3 {
    color: var(--primary-text-color);
    font-size: 1.3rem;
}

.tutor-card h4 {
    color: var(--fourth-text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.tutor-card span {
    color: var(--primary-text-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

.btn {
    display: block;
    background: #ff723a;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: 0.3s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #ff723a;
    color: white;
    transform: scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(255, 114, 58, 0.4);
}

.aptitude-box {
    background: var(--primary-bg-color);
    color: white;
    padding: 50px 30px;
    border-radius: 30px;
    text-align: center;
    max-width: 1000px;
    margin: auto;
    margin-top: 40px;
}

.aptitude-box h3 {
    color: var(--third-text-color);
    font-size: 1.8rem;
}

.aptitude-box p {
    color: white;
    margin-bottom: 20px;
    opacity: 0.9;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--primary-bg-light-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
}

.tag:hover {
    background: #ff723a;
    border-color: #ff723a;
    color: white;
}

.pfp {
    width: 100px;
    height: 100px;
    background-color: var(--primary-bg-light-color);
    border: 4px solid white;
    border-radius: 50%;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfp:empty {
    background-image: linear-gradient(135deg, var(--primary-bg-light-color), var(--third-text-color));
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    #course-plan,
    #exam-packs,
    #about-exam,
    #tutors {
        padding: 40px 15px;
    }
}

@media (max-width: 600px) {

    .grid-3,
    .exam-stats-grid,
    .tutor-grid {
        grid-template-columns: minmax(0, 400px);
    }

    .aptitude-box {
        padding: 35px 20px;
        border-radius: 20px;
    }
}

/* Announcement */
/* Container styling */
#announcement-banner {
    background: var(--secondary-bg-color);
}

.hero-slider {
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
}

.slider-image-wrap {
    width: 98%;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(124, 85, 197, 0.1);
    background: #f0f0f0;
    margin: auto
}

.slider-image-wrap img {
    width: 100%;
    height: 100%;
}

.owl-dots {
    bottom: 20px;
}

/* 2.  MOBILE RESPONSIVE  */
@media (max-width: 768px) {
    #announcement-banner {
        padding: 10px;
    }

    .slider-image-wrap {
        height: 250px;
        border-radius: 20px;
    }

    .hero-slider.owl-theme .owl-dots {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .slider-image-wrap {
        height: 200px;
    }

    .hero-slider.owl-theme .owl-dots .owl-dot span {
        width: 8px;
        height: 8px;
    }
}

/* 3. Smooth Fade Effect Fix */
.owl-carousel.owl-loaded {
    display: block;
}

.owl-carousel .owl-item img {
    transform-style: preserve-3d;
}

/* Repeat Services */
.split-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.split-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.split-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-bg-light-color);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.split-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 85, 197, 0.08);
}

.split-icon {
    font-size: 1.5rem;
    margin-right: 20px;
}

.split-info {
    flex-grow: 1;
}

.split-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-bg-color);
    font-weight: 700;
}

.split-info p {
    margin: 3px 0 0 0;
    font-size: 0.85rem;
    color: #777;
}

.split-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-bg-color);
    padding-left: 15px;
}

.final-action {
    text-align: center;
    margin-top: 50px;
}

.btn-large {
    display: inline-block;
    padding: 18px 60px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 114, 58, 0.3);
}

@media (max-width: 800px) {
    .split-container {
        grid-template-columns: 1fr;
    }
}

/* Popup Styles */

:root {
    --primary-bg-color: #7c55c5;
    --secondary-bg-color: #fff5f1;
    --primary-text-color: #7c55c5;
    --secondary-text-color: white;
    --third-text-color: rgb(246, 169, 254);
    --fourth-text-color: black;
    --button-color: #FF723A;
}

.modal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    /* background-color: #f0f0f0; */
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Modal Backdrop */
.modal-backdrop.show {
    opacity: 0.6;
}

/* Modal Dialog */
.modal.fade .modal-dialog {
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.modal.show .modal-dialog {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.modal-content {
    border-radius: 30px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(124, 85, 197, 0.3);
}

#smsPopup .modal-content {
    padding: 0;
}

/* Close Button */
.btn-close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text-color);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-close-custom:hover {
    background: var(--primary-bg-color);
    color: white;
    transform: rotate(90deg);
}

/* Header Section */
.popup-header {
    background: linear-gradient(135deg, var(--primary-bg-color) 0%, #9575d8 100%);
    padding: 50px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '📱';
    position: absolute;
    font-size: 120px;
    top: -20px;
    right: -20px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.urgency-badge {
    display: inline-block;
    background: var(--button-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 114, 58, 0.4);
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.popup-header h2 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.popup-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Body Section */
.modal-body {
    padding: 50px 40px;
    background: var(--secondary-bg-color);
    text-align: center;
}

/* Phone Number Display */
.phone-number-box {
    background: white;
    border: 3px dashed var(--primary-bg-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.phone-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--fourth-text-color);
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Courier New', monospace;
}

.phone-number a {
    color: var(--fourth-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number a:hover {
    color: var(--primary-bg-color);
}

/* SMS Button */
.sms-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--button-color);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 114, 58, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sms-btn:hover {
    background: #e6652e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 114, 58, 0.4);
}

.sms-btn i {
    font-size: 22px;
}

/* Urgency Text */
.urgency-text {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px dashed rgba(124, 85, 197, 0.2);
    color: var(--primary-text-color);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.urgency-text::before {
    content: '⚡';
    font-size: 20px;
    animation: flash 1.5s infinite;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .modal-content {
        border-radius: 20px;
    }

    .popup-header {
        padding: 40px 25px 30px;
    }

    .popup-header h2 {
        font-size: 1.6rem;
    }

    .modal-body {
        padding: 40px 25px;
    }

    .phone-number {
        font-size: 2rem;
    }

    .sms-btn {
        width: 100%;
        justify-content: center;
    }
}

.slider-image-wrap button {
    padding-left: 0%;
    padding-right: 0%;
    border:none;
}