@font-face {
    font-family: AraHamah1964B-Bold;
    src: url(/Fonts/AraHamah1964B-Bold.otf);
}
@font-face {
    font-family: AraHamah1964R-Regular;
    src: url(/Fonts/AraHamah1964R-Regular.otf);
}
@font-face {
    font-family: AraHamahKilania-Regular;
    src: url(/Fonts/AraHamahKilania-Regular.otf);
}
@font-face {
    font-family: AraHamahSahetAlAssi-Regular;
    src: url(/Fonts/AraHamahSahetAlAssi-Regular.otf);
}
:root {
    --primary: #e89548;
    --secondary: #556655;
    --light-bg: #f0e7d3;
    --dark-bg: #556655;
    --text: #333;
    --light-text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Navigation */
header {
    background-color: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text, .logo-text span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #d0caa6;
    font-family: sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--light-bg);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons a {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.sign-in {
    color: #fff;
}
.sign-in:hover {
    background-color: #d88a3f;
    /* color: var(--text); */
}

.sign-up {
    /* background-color: var(--primary); */
    color: #fff;
    outline-width: 1px;
    outline-style: solid;
    outline-color: var(--primary);
}

.sign-up:hover {
    background-color: #d88a3f;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--dark-bg);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light-bg);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #c7c7b6;
}
/* Adding the slider styles */
.hero-image {
    position: relative;
    width: 60%;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.announcement-slide {
    /* Ensures the card content is centered within its slide */
    display: flex;
    align-items: center;    /* Vertically center */
    justify-content: center; /* Horizontally center */
}.announcement-card {
    background-color: var(--secondary-dark);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--light-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* width: 80%; */
    max-width: 400px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.announcement-card:hover {
    transform: translateY(-5px); /* Lifts the card slightly on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

.announcement-card h2,
.announcement-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary); /* Uses your primary accent color */
    line-height: 1.2;
}

.announcement-card p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #e0e0e0; /* Slightly lighter text for readability */
}

.announcement-card p strong {
    color: var(--accent-color, #ffc107); /* Highlights key words like FREE */
    font-weight: 700;
}

.announcement-btn {
    display: inline-block;
    background-color: var(--primary); /* Primary button color */
    color: var(--dark-text); /* Dark text on primary button */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none; /* Removes underline */
    font-weight: bold;
    font-size: 17px;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth button effects */
    border: none; /* No default button border */
    cursor: pointer;
}

  .video-container {
    position: relative;
    width: 100%;
    max-width: 624px; /* Limit maximum width */
    margin: auto; /* Center the video */
  }

  .video-container video {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 10px; /* Optional: Rounded corners */
  }

.announcement-btn:hover {
    background-color: var(--primary-dark); /* Darker primary on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}
.slider-container {
    width: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.slider {
    display: flex;
    transition: transform 1s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    flex: 1;
    /* height: 350px; */
    width: 500px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary);
}

/* Navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(85, 102, 85, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: var(--primary);
}

.slider-arrow.left {
    left: 15px;
}

.slider-arrow.right {
    right: 15px;
}

.clicked-cursor{
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .slider-container {
        width: 70%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .slider-container {
        width: 100%;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}
.hero .start-now-btn {
    color: var(--secondary);
}

.hero .donate-btn {
    color: #d0caa6;
}

.hero a .arrow-icon {
    border: none;
    padding: 0px 0px 0px 20px;
    padding-bottom: 5px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: right 0px center;
}

.hero a.donate-btn .arrow-icon {
    color: #d0caa6;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="7.41" height="12" viewBox="0 0 7.41 12"%3E%3Cpath d="M10,6,8.59,7.41,13.17,12,8.59,16.59,10,18l6-6Z" transform="translate(-8.59 -6)" fill="%23d5d0c2"/%3E%3C/svg%3E');
}

.hero a.start-now-btn .arrow-icon {
    color: var(--secondary);
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="7.41" height="12" viewBox="0 0 7.41 12"%3E%3Cpath d="M10,6,8.59,7.41,13.17,12,8.59,16.59,10,18l6-6Z" transform="translate(-8.59 -6)" fill="%23596556"/%3E%3C/svg%3E');
}

.book-shape {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    z-index: 1;
}

.circle-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 0%;
    left: 27%;
    z-index: -1;
    opacity: 0.8;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero .btn {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 0;
    font-weight: 600;
    font-size: x-large;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #d88a3f;
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: #fff;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.meeting-apps {
    margin-top: 40px;
}

.heading {
    display: flex;
    align-items: flex-start;
    margin-right: 30px;
    flex-wrap: wrap;
}

.orange-bar {
    width: 8px;
    height: 40px;
    background-color: #e9a87c;
    margin-right: 15px;
    border-radius: 2px;
}

.heading-text {
    color: #e5e5d5;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.meeting-apps p {
    font-size: 14px;
    margin-bottom: 0 !important;
    color: #ddd;
}

.app-icons {
    display: flex;
    gap: 15px;
    margin-left: 50px;
    flex-wrap: wrap;
}

.app-icons i {
    font-size: 24px;
    color: #fff;
}

/* Why Us Section */
.why-us {
    background-color: var(--light-bg);
    padding: 80px 0;
    padding-bottom: 1px;
    position: relative;
}
.curly {
    height: 50px; /* Adjust based on your actual image size */
  }
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: flex
;
    justify-content: center;
    gap: 25px;
    align-items: center;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-bg);
    display: inline-block;
    position: relative;
}

.section-title h2::before,
.section-title h2::after {
    /* content: "❮"; */
    margin: 0 15px;
    color: var(--dark-bg);
}

.section-title h2::after {
    /* content: "❯"; */
}

.why-us-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--text);
    margin-bottom: 60px;
}
.why-us-content p{
    font-size: x-large;
}
#teachers{
    padding: 80px 0;
background: linear-gradient(
  to bottom,
 var(--light-bg) 0%,     /* Top color */
  white 100%              /* Bottom color */
);
}
.teachers {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.teacher-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    padding: 20px;
    background-color: var(--dark-bg);
    color: #fff;
    position: relative;
}

.teacher-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.teacher-role {
    font-size: 12px;
    opacity: 0.8;
}

.bookmark-shape {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--dark-bg);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* Courses Section */
.courses {
    background-color: var(--light-bg);
    padding: 80px 0;
    padding-bottom: 1px;
    position: relative;
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--light-bg), #fff);
}
.courses .section-title{
    padding-bottom: 10px;
}
.course-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.course-card {
    width: 280px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-header {
    padding: 25px 20px;
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    position: relative;
}

.course-header.arabic {
    background-color: #eee;
    color: var(--dark-bg);
}

.course-header.all {
    background: linear-gradient(135deg, var(--primary), #eee);
}

.course-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

.course-details {
    list-style: none;
    margin-bottom: 20px;
}

.course-details li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-details i {
    color: var(--dark-bg);
}

.course-price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.discount-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--dark-bg);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.discount-badge.special {
    background-color: var(--primary);
}

.course-bookmark {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #fff;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
}

.review-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 350px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.review-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45px; /* Slightly wider than the flag */
    height: 55px; /* Slightly taller than the flag */
    background-color: #e8e4da; /* Same as card background */
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%); /* Creates the angled cutout */
    z-index: 0; /* Place the cutout behind the flag */
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-tag {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    margin-right: 15px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 18px;
}

.rating {
    color: #ffc107;
    margin-top: 3px;
}

.review-text {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--dark-bg);
    font-style: italic;
    color: #666;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -15px;
    font-size: 40px;
    color: var(--dark-bg);
    opacity: 0.3;
}

/* Stats */
.stats {
    padding: 40px 0;
    background: linear-gradient(to right, var(--dark-bg), var(--primary));
    color: #fff;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1000px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number i {
    margin-right: 10px;
    font-size: 30px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: transparent;
    color: #fff;
    padding: 0;
}

.footer-bg {
    background-color: var(--dark-bg);
    background-image: url('/api/placeholder/1400/500');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    /* margin-bottom: 40px; */
}

.footer-contact {
    /* flex: 1; */
    min-width: 250px;
    display: flex;
    /* gap: 25px; */
}

.footer-title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    align-self: center;
    padding-right: 30px;
}

/* .footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
} */
.footer-contact-buttons-container{
    display: flex;
    margin-bottom: 40px;
}
.contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.contact-info-icons{
    padding-left: 15px;
}
.contact-info-text {
    position: relative;
    padding-left: 25px;
    color: #d0caa6;
}

.contact-info-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 1px;
    background-color: rgba(208, 202, 166, 0.5);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 20px;
    margin-right: 15px;
    color: var(--primary);
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.footer-links a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.footer-links a:hover {
    background-color: var(--primary);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-btn {
    padding: 12px 30px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.home-btn {
    background-color: var(--primary);
    color: #fff;
}

.home-btn:hover {
    background-color: #d88a3f;
}

.signup-btn {
    background-color: #eee;
    color: var(--dark-bg);
}

.signup-btn:hover {
    background-color: #ddd;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    align-self: flex-end;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.social-icons span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.social-icons span:hover {
    background-color: var(--primary);
}
footer .social-icons span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.copyright {
    font-size: 10px;
    opacity: 0.7;
}

/* Enhanced Stats Section Styles */
.stats-section {
    padding: 20px 0;
}

.stats {
    background: linear-gradient(to right, var(--dark-bg), var(--primary));
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    color: #fff;
}

.stat-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-circle i {
    font-size: 20px;
    margin-right: 10px;
}

.stat-circle span {
    font-size: 36px;
    font-weight: 700;
}

.stat-label {
    font-size: 16px;
    margin-top: 5px;
}

/* Social Links in Hero Section */
.social-links {
    position: relative;
    z-index: 2;
    /* background-color: rgba(0, 0, 0, 0.1); */
    padding: 10px 0;
}

.social-links .social-icons {
    justify-content: flex-start;
    margin-bottom: 0;
}

.social-links .social-icons span {
    /* width: 32px;
    height: 32px;
    background-color: transparent; */
}

.social-links .social-icons span:hover {
    /* background-color: rgba(255, 255, 255, 0.1); */
}
.whats-app-link{
    cursor: pointer;
}
.whatsapp-button-anchor {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366; /* WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.whatsapp-button-anchor:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-text {
        padding-right: 10px;
    }
    
    .course-cards {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text, .hero-image {
        width: 100%;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 30px;
    }

    .hero-image img {
        width: 70%;
        max-width: 400px;
    }

    .hero p {
        margin: 0 auto 30px;
        max-width: 600px;
    }

    .action-buttons {
        justify-content: center;
    }

    .meeting-apps {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .heading {
        justify-content: center;
        margin-right: 0;
    }
    
    .app-icons {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }

    .circle-accent {
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 120px;
    }
    
    .social-links .social-icons {
        justify-content: center;
    }
    
    .stats-container {
        flex-wrap: wrap;
    }

    .stat-item {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    header {
        padding: 10px 0;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav-menu {
        flex-basis: 100%;
        order: 4;
        display: none;
        margin-top: 15px;
    }

    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .hero {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-image img {
        width: 85%;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .teacher-card, .course-card, .review-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
    }
    .footer-bottom{
        align-self: center;
    }

    .stat-item {
        width: 100%;
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 200px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 14px;
    }

    .auth-buttons {
        margin-left: auto;
        margin-right: 10px;
    }

    .auth-buttons a {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
        font-size: 16px !important;
    }
    
    .hero-image img {
        width: 100%;
    }
    
    .circle-accent {
        width: 80px;
        height: 80px;
    }
    
    .meeting-apps {
        margin-top: 25px;
    }
    
    .orange-bar {
        height: 30px;
    }
    
    .heading-text {
        font-size: 14px;
    }
    
    .app-icons {
        gap: 10px;
    }
    
    .app-icons i {
        font-size: 20px;
    }

    .section-title h2::before,
    .section-title h2::after {
        margin: 0 5px;
    }
    
    .why-us, .courses, .reviews {
        padding: 40px 0;
    }
    
    .stats {
        margin: 20px auto;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-number i {
        font-size: 24px;
    }
    
    .footer-title {
        font-size: 24px;
    }
    
    .footer-buttons {
        width: 100%;
    }
}

/* Fix for navigation on small screens */
@media (max-width: 480px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .nav-menu.active {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 10px;
    }
    
    .nav-menu.active ul {
        align-items: center;
    }
    
    .hero .btn {
        padding: 8px 15px;
        font-size: 14px !important;
    }
    
    .why-us-content {
        font-size: 14px;
    }
    
    .teacher-card {
        width: 280px;
    }
    
    .teacher-image {
        height: 250px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .reviewer-tag {
        width: 40px;
        height: 40px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .contact-info li {
        font-size: 14px;
    }
    
    .footer-bg {
        padding: 40px 0 20px;
    }
}


.testimonial-card {
    background-color: #e8e4da; /* Card background color */
    border-radius: 10px;
    padding: 30px;
    width: 300px; /* Adjust width as needed */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    position: relative; /* For absolute positioning of flag and quote */
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.flag {
    width: 30px;
    height: 40px;
    background-image: url('your-orange-flag-image.png'); /* Replace with your image path */
    background-size: cover;
    margin-right: 15px;
}

.name {
    font-size: 1.2em;
    font-weight: bold;
    color: #555;
    margin: 0;
}

.rating {
    color: #ff9800; /* Orange star color */
    font-size: 1.1em;
    margin-left: auto;
}

.star {
    color: #ccc; /* Unfilled star color */
}

.filled {
    color: #ff9800;
}

.testimonial-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.quote {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-image: url('your-quote-image.png'); /* Replace with your image path */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7; /* Adjust opacity as needed */
}

/* Book section */
  /* Valuable Library Section */
        .valuable-library {
            background: linear-gradient(135deg, #556655, var(--dark-bg));
            position: relative;
            padding: 80px 0;
            overflow: hidden;
        }

        /* Background Pattern */
        .valuable-library::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
                linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
            background-size: 50px 50px, 30px 30px, 100px 100px;
            z-index: 1;
        }

        .library-content {
            display: flex;
            align-items: center;
            gap: 60px;
            position: relative;
            z-index: 2;
        }

        .library-text {
            flex: 1;
            color: white;
            max-width: 500px;
        }

        .library-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 30px;
            line-height: 1.2;
            position: relative;
        }

        .library-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 4px;
            background-color: var(--primary);
            border-radius: 2px;
        }

        .library-description {
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 40px;
            opacity: 0.95;
        }

        .view-all-btn {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 15px 40px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .view-all-btn:hover {
            background-color: #d88a3f;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(232, 149, 72, 0.3);
        }

      /* Book Slider Section */
.library-slider {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.book-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 400px;
}

.book-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.book-slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.book-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    width: 35%;
    height: 100%;
    position: relative;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.book-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, #556655, #e89548);
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-info {
    padding: 15px;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d88a3f);
}

.download-btn {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #d88a3f;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark-bg);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}


        /* Responsive Design */
        @media (max-width: 992px) {
            .library-content {
                flex-direction: column;
                gap: 40px;
                text-align: center;
            }

            .library-title {
                font-size: 36px;
            }

            .book-slide {
                flex-direction: column;
                gap: 15px;
            }

            .book-card {
                width: 180px;
                height: 260px;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 20px;
            }

            .valuable-library {
                padding: 60px 0;
            }

            .library-title {
                font-size: 28px;
            }

            .library-description {
                font-size: 16px;
            }

            .book-slider-container {
                height: 350px;
            }

            .book-card {
                width: 160px;
                height: 240px;
            }
        }

        @media (max-width: 576px) {
            .book-slide {
                padding: 10px;
            }

            .book-card {
                width: 140px;
                height: 220px;
            }

            .slider-nav {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
        }

         /* Floating Summer Camp Widget */
        .floating-summer-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: linear-gradient(135deg, var(--primary), var(--accent-color));
            padding: 20px;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            max-width: 300px;
            animation: bounce 3s infinite;
            background-color: var(--light-bg);
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        .widget-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            color: var(--dark-bg);
            font-size: 18px;
            cursor: pointer;
            font-weight: bold;
        }

        .widget-content h3 {
            color: var(--dark-bg);
            margin-bottom: 10px;
            font-size: 18px;
        }

        .widget-content p {
            color: var(--dark-bg);
            font-size: 14px;
            margin-bottom: 15px;
        }

        .widget-btn {
            background-color: var(--dark-bg);
            color: var(--primary);
            padding: 10px 20px;
            border: none;
            border-radius: 15px;
            text-decoration: none;
            font-weight: bold;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .widget-btn:hover {
            background-color: rgba(85, 102, 85, 0.8);
            transform: scale(1.05);
        }



        /* Donate style */
           /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: linear-gradient(135deg, var(--light-bg) 0%, #e8dcc0 100%);
            border-radius: 20px;
            padding: 0;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.7);
            transition: transform 0.3s ease;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            color: var(--text);
        }

        .modal-overlay.active .modal-content {
            transform: scale(1);
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary) 0%, #d88a3f 100%);
            padding: 25px;
            border-radius: 20px 20px 0 0;
            text-align: center;
            position: relative;
            color: var(--dark-bg);
        }

        .modal-header::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 6px;
            background-color: var(--dark-bg);
            border-radius: 3px;
            opacity: 0.3;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: var(--dark-bg);
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-btn:hover {
            background-color: rgba(85, 102, 85, 0.2);
            transform: rotate(90deg);
        }

        .modal-icon {
            font-size: 48px;
            margin-bottom: 15px;
            color: var(--dark-bg);
        }

        .modal-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 10px;
            color: var(--dark-bg);
        }

        .modal-subtitle {
            font-size: 16px;
            opacity: 0.8;
            color: var(--dark-bg);
        }

        .modal-body {
            padding: 30px;
        }

        .donation-message {
            text-align: center;
            margin-bottom: 30px;
        }

        .verse-quote {
            background: linear-gradient(135deg, var(--secondary) 0%, #4a5a4a 100%);
            color: var(--light-text);
            padding: 20px;
            border-radius: 15px;
            margin: 20px 0;
            border-left: 5px solid var(--primary);
            font-style: italic;
            position: relative;
        }

        .verse-quote::before {
            content: '"';
            font-size: 60px;
            position: absolute;
            top: -10px;
            left: 15px;
            color: var(--primary);
            opacity: 0.3;
        }

        .verse-reference {
            text-align: right;
            font-size: 14px;
            margin-top: 10px;
            color: var(--primary);
            font-weight: bold;
        }

        .donation-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 30px;
        }

        .donation-text {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .donation-text h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 20px;
        }

        .donation-text p {
            margin-bottom: 15px;
            line-height: 1.6;
            color: var(--text);
        }

        .impact-list {
            list-style: none;
            margin: 20px 0;
        }

        .impact-list li {
            padding: 8px 0;
            position: relative;
            padding-left: 30px;
            color: var(--text);
        }

        .impact-list li::before {
            content: '🌟';
            position: absolute;
            left: 0;
            top: 8px;
        }

        .qr-section {
            text-align: center;
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            border: 2px solid var(--primary);
        }

        .qr-placeholder {
            width: 200px;
            height: 200px;
            /* background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                        linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0px; */
            border: 3px dashed var(--primary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            position: relative;
            overflow: hidden;
        }

        /* .qr-placeholder::before {
            content: 'PayPal QR Code\A📱 Scan to Donate';
            white-space: pre-line;
            text-align: center;
            color: var(--primary);
            font-weight: bold;
            font-size: 14px;
        } */

        .qr-instructions {
            font-size: 14px;
            color: var(--text);
            margin-bottom: 15px;
        }

        .alternative-methods {
            margin-top: 30px;
            padding: 20px;
            background: rgba(232, 149, 72, 0.1);
            border-radius: 15px;
            border: 1px solid var(--primary);
        }

        .alternative-methods h4 {
            color: var(--primary);
            margin-bottom: 15px;
            text-align: center;
        }

        .payment-methods {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 15px;
        }

        .payment-method {
            text-align: center;
            padding: 15px;
            background: white;
            border-radius: 10px;
            flex: 1;
            min-width: 120px;
            transition: transform 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
        }

        .payment-method:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
        }

        .payment-method i {
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 8px;
            display: block;
        }

        .payment-method span {
            font-size: 12px;
            color: var(--text);
            font-weight: bold;
        }

        .donation-amounts {
            display: flex;
            gap: 10px;
            margin: 20px 0;
            flex-wrap: wrap;
            justify-content: center;
        }

        .amount-btn {
            padding: 10px 20px;
            background: white;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .amount-btn:hover, .amount-btn.active {
            background: var(--primary);
            color: white;
            transform: scale(1.05);
        }

        .custom-amount {
            margin: 15px 0;
            text-align: center;
        }

        .custom-amount input {
            padding: 10px;
            border: 2px solid var(--primary);
            border-radius: 8px;
            font-size: 16px;
            width: 120px;
            text-align: center;
        }

        .final-message {
            text-align: center;
            margin-top: 30px;
            padding: 20px;
            background: linear-gradient(135deg, var(--primary) 0%, #d88a3f 100%);
            border-radius: 15px;
            color: var(--dark-bg);
        }

        .final-message h4 {
            margin-bottom: 10px;
            font-size: 18px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 20px;
            }

            .donation-content {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .payment-methods {
                flex-direction: column;
            }

            .donation-amounts {
                flex-direction: column;
                align-items: center;
            }

            .modal-title {
                font-size: 24px;
            }

            .modal-body {
                padding: 20px;
            }
        }

        /* Animation for modal entrance */
        @keyframes modalEnter {
            from {
                opacity: 0;
                transform: scale(0.7) translateY(-50px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-overlay.active .modal-content {
            animation: modalEnter 0.3s ease-out;
        }
        /* Donate style */

        /* ============================================
   MODERN PROGRAMS SECTION - REFACTORED CSS
   Add this to your existing stylesheet
   ============================================ */

/* Add Google Fonts to your HTML head:
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&display=swap" rel="stylesheet">
*/

/* Programs Section Container */
.why-us {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
}

/* Animated background elements */
.why-us::before,
.why-us::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.why-us::before {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -10%;
}

.why-us::after {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 10%;
    right: -5%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.why-us .container {
    position: relative;
    z-index: 1;
}

/* Modern Section Title */
.why-us .section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: block;
    gap: 0;
}

.why-us .section-title::before {
    content: 'Our Programs';
    display: block;
    background: linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(232, 149, 72, 0.3);
    animation: fadeInDown 0.8s ease;
    width: fit-content;
}

.why-us .section-title h2 {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.why-us .section-title h2::before,
.why-us .section-title h2::after {
    display: none;
}

.why-us .section-title::after {
    content: 'Choose from our carefully crafted programs designed to help you excel';
    display: block;
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

/* Remove old curly brackets */
.why-us .section-title .curly {
    display: none;
}

/* Programs Grid */
.why-us .course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

/* Modern Card Design */
.why-us .course-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 0;
    position: relative;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.8s ease backwards;
    width: auto;
}

.why-us .course-card:nth-child(1) { animation-delay: 0.1s; }
.why-us .course-card:nth-child(2) { animation-delay: 0.2s; }
.why-us .course-card:nth-child(3) { animation-delay: 0.3s; }
.why-us .course-card:nth-child(4) { animation-delay: 0.4s; }
.why-us .course-card:nth-child(5) { animation-delay: 0.5s; }

.why-us .course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
    border-radius: 32px 32px 0 0;
}

.why-us .course-card:hover::before {
    transform: scaleX(1);
}

.why-us .course-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* Remove old bookmark */
.why-us .course-bookmark {
    display: none;
}

/* Card Header */
.why-us .course-header {
    padding: 20px 15px 15px;
    background: transparent;
    color: var(--text);
    text-align: left;
    position: relative;
}

.why-us .course-header.arabic,
.why-us .course-header.all {
    background: transparent;
    color: var(--text);
}

/* Add modern icon before title */
.why-us .course-header::before {
    content: '';
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(232, 149, 72, 0.3);
    transition: all 0.3s ease;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Quran icon */
.why-us .course-card:nth-child(1) .course-header::before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z"/%3E%3C/svg%3E'), linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
}

/* Arabic icon */
.why-us .course-card:nth-child(2) .course-header::before {
    background: linear-gradient(135deg, #556655 0%, #6b7a6b 100%);
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"/%3E%3C/svg%3E'), linear-gradient(135deg, #556655 0%, #6b7a6b 100%);
    box-shadow: 0 10px 30px rgba(85, 102, 85, 0.3);
    background-size: 32px, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
}

/* Islamic Studies icon */
.why-us .course-card:nth-child(3) .course-header::before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z"/%3E%3C/svg%3E'), linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
}

/* Get All icon */
.why-us .course-card:nth-child(4) .course-header::before {
    background: linear-gradient(135deg, #e89548 0%, #556655 50%, #f4b56a 100%);
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"/%3E%3C/svg%3E'), linear-gradient(135deg, #e89548 0%, #556655 50%, #f4b56a 100%);
    background-size: 32px, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
}

/* Special Needs icon */
.why-us .course-card:nth-child(5) .course-header::before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/%3E%3C/svg%3E'), linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
}

.why-us .course-card:hover .course-header::before {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(232, 149, 72, 0.4);
}

/* Card Title */
.why-us .course-title {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

/* Card Details */
.why-us .course-details {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
}

.why-us .course-details li {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 0;
    gap: 0;
}

.why-us .course-details li:last-child {
    border-bottom: none;
}

.why-us .course-details li:hover {
    padding-left: 8px;
    color: var(--primary);
}

.why-us .course-details i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(232, 149, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--primary);
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.why-us .course-details li:hover i {
    background: linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
    color: white;
    transform: scale(1.1);
}

/* Price Section */
.why-us .course-price {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 800;
    background: linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    line-height: 1;
    display: inline-block;
}

/* Badge */
.why-us .discount-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    animation: pulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, #556655 0%, #6b7a6b 100%);
    color: white;
    bottom: auto;
    left: auto;
}

.why-us .discount-badge.special {
    background: linear-gradient(135deg, #e89548 0%, #f4b56a 100%);
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-us {
        padding: 100px 0 60px;
    }

    .why-us .section-title {
        margin-bottom: 60px;
    }

    .why-us .course-cards {
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .why-us {
        padding: 80px 0 40px;
    }

    .why-us .section-title {
        margin-bottom: 50px;
    }

    .why-us .course-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-us .course-header {
        padding: 32px 24px 24px;
    }

    .why-us .course-header::before {
        width: 60px;
        height: 60px;
        background-size: 28px;
    }

    .why-us .discount-badge {
        top: 24px;
        right: 24px;
        padding: 8px 16px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .why-us {
        padding: 60px 0 30px;
    }

    .why-us .section-title::before {
        font-size: 12px;
        padding: 6px 20px;
    }

    .why-us .section-title::after {
        font-size: 16px;
    }

    .why-us .course-card {
        border-radius: 24px;
    }

    .why-us .course-header {
        padding: 24px 20px 20px;
    }

    .why-us .course-header::before {
        width: 56px;
        height: 56px;
        background-size: 24px;
        margin-bottom: 20px;
    }

    .why-us .course-details li {
        padding: 12px 0;
        font-size: 14px;
    }

    .why-us .course-details i {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-right: 12px;
    }

    .why-us .discount-badge {
        padding: 6px 14px;
    }
}



/* ============================================
   MODAL STYLING
   ============================================ */
/* Use your existing color variables: --primary and --secondary */

.course-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.course-modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.course-modal .modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 40px;
    border-radius: 20px;
    width: 90%; 
    max-width: 700px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.4s ease-out;
}

.course-modal.active .modal-content {
    transform: translateY(0);
}

.course-modal .close-btn {
    color: #aaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.course-modal .close-btn:hover {
    color: var(--primary); /* Use your primary color */
}

/* Modal Header Styling */
.course-modal .modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.course-modal .modal-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); /* Adjust colors if needed */
    color: white;
    box-shadow: 0 5px 20px rgba(232, 149, 72, 0.4);
}

.course-modal .modal-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}

/* Modal Body/Content Styling */
.course-modal .modal-body p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.modal-feature-list {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.modal-feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-feature-list li {
    font-size: 16px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #333;
        align-items: center;

}

.modal-feature-list li i {
    color: #4CAF50; 
    margin-right: 10px;
    font-size: 18px;
}

/* Modal Action Section */
.modal-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-price {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    color: var(--text);
    margin: 0;
}


.modal-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 149, 72, 0.5);
}

@media (max-width: 768px) {
    .course-modal .modal-content {
        margin: 20px auto;
    }
    .modal-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* ============================================
   REVISED MODAL STYLING (SIZE & CENTERING)
   ============================================ */

.course-modal.active .modal-content {
    /* Center the modal using Flexbox */
    position: absolute; /* Change margin: 10% auto; to absolute positioning */
    /* top: 50%; */
    /* left: 50%; */
    transform: translate(-50%, -50%); /* Use translate to center it perfectly */
    
    /* Ensure it doesn't take up the full screen height */
    max-height: 90vh; 
    overflow-y: auto; /* Enable scrolling for modal content if it gets too long */
    
    /* Set a more appropriate maximum width */
    width: 90%; 
    max-width: 600px; /* Reduced max-width for a smaller, centralized look */
    
    /* Keep existing styles: */
    background-color: #fefefe;
    padding: 30px; /* Slightly reduced padding */
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
    z-index: 1001; /* Ensure content is above the backdrop */
}

/* Ensure the modal container itself uses flex for centering before translation */
.course-modal {
    /* display: none; */ /* Keep existing display styles */
    /* ... other existing styles ... */
    display: flex; /* Use flexbox to center content */
    justify-content: center;
    align-items: center;
}

/* Hide modal content when inactive to allow the transition to work */
.course-modal:not(.active) .modal-content {
    /* Initial state before it becomes active */
    transform: translate(-50%, -60%); 
    opacity: 0;
}

.course-modal.active .modal-content {
    /* Final active state */
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Remove old margin on modal content */
.course-modal .modal-content {
    margin: 0; 
}

/* Adjust close button for the smaller box */
.course-modal .close-btn {
    top: 10px;
    right: 20px;
    font-size: 30px;
}

/* Update the Modal Body and Features */
.course-modal .modal-body {
    padding-top: 10px; /* Add a little space */
}

.course-modal .modal-body h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary); /* Matches the primary title color */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee; /* Clear separator */
}

.course-modal .modal-feature-list {
    background: #ffffff; /* Remove the grey background */
    padding: 0; /* Remove padding */
    border-radius: 0; 
    margin-bottom: 20px;
}

.modal-feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid; /* Use a grid for better structure on larger screens */
    grid-template-columns: 1fr;
    gap: 10px;
}

.modal-feature-list li {
    font-size: 16px;
    padding: 12px 15px; /* Add horizontal padding */
    display: flex;
    align-items: center;
    color: #333;
    background: #f7f7f7; /* Light background for each feature */
    border-radius: 8px;
    transition: background 0.3s;
        align-items: center;

}

.modal-feature-list li:hover {
    background: #f0f0f0;
}

.modal-feature-list li i {
    color: var(--primary); /* Use primary color for icons */
    margin-right: 12px;
    font-size: 18px;
    min-width: 18px; /* Ensure icon alignment */
}

/* Modal Action: Price and CTA */
.modal-action {
    /* Use the special color for the price gradient */
    border-top: 1px dashed #ddd; /* Softer divider */
    padding-top: 25px;
}




/* ============================================
   ENHANCED MODERN MODAL STYLES
   ============================================ */

/* Modal Overlay */
.course-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    padding: 40px 20px;
}

.course-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    align-items: center;
    justify-content: center;
}

/* Modal Content Container */
.course-modal .modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f9f7f4 100%);
    border-radius: 32px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Close Button */
.course-modal .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #556655;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-modal .close-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(232, 149, 72, 0.4);
}

/* Modal Header */
.course-modal .modal-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #6b7a6b 100%);
    /* padding: 48px 40px; */
    border-radius: 32px 32px 0 0;
    position: relative;
    color: white;
    overflow: hidden;
}

.course-modal .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.course-modal .modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #f4b56a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(232, 149, 72, 0.4);
    position: relative;
    z-index: 1;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.course-modal .modal-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Modal Body */
.course-modal .modal-body {
    /* padding: 48px 40px; */
}

.course-modal .modal-body > p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 36px;
    font-weight: 400;
}

/* Section Heading */
.course-modal .modal-body h4 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin: 40px 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    position: relative;
}

.course-modal .modal-body h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--secondary);
}

/* Feature List Container */
.modal-feature-list {
    margin-bottom: 36px;
}

.modal-feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.modal-feature-list li {
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
        align-items: center;

}

.modal-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modal-feature-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.modal-feature-list li:hover::before {
    transform: scaleY(1);
}

.modal-feature-list li i {
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-feature-list li strong {
    color: var(--secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

/* Modal Action Section */
.modal-action {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(232, 149, 72, 0.08) 0%, rgba(85, 102, 85, 0.08) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 2px solid rgba(232, 149, 72, 0.2);
}

.modal-action .modal-price {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    margin: 0;
    color: var(--secondary);
    line-height: 1.3;
}

.modal-action .modal-price .highlight {
    color: var(--primary);
    font-size: 1.2em;
    display: block;
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #f4b56a 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(232, 149, 72, 0.3);
    white-space: nowrap;
    /* position: relative; */
    overflow: clip;
}

.modal-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.modal-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.modal-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 149, 72, 0.5);
}

.modal-cta-btn i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.modal-cta-btn:hover i {
    transform: translateX(5px);
}

.modal-cta-btn span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-modal {
        padding: 20px 10px;
    }

    .course-modal .modal-content {
        border-radius: 24px;
        max-width: 100%;
    }

    .course-modal .modal-header {
        padding: 36px 24px;
        border-radius: 24px 24px 0 0;
    }

    .course-modal .modal-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .course-modal .modal-body {
        padding: 32px 24px;
    }

    .course-modal .modal-body h4 {
        font-size: 18px;
    }

    .modal-feature-list li {
        padding: 16px 20px;
        font-size: 15px;
        align-items: center;
    }

    .modal-action {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 20px;
    }

    .modal-action .modal-price {
        text-align: center;
    }

    .modal-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
    }

    .course-modal .close-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .course-modal .modal-header {
        padding: 28px 20px;
    }

    .course-modal .modal-body {
        padding: 24px 20px;
    }

    .modal-feature-list li {
        padding: 14px 16px;
        font-size: 14px;
        align-items: center;

    }

    .modal-feature-list li i {
        font-size: 18px;
    }
}

/* Custom Scrollbar for Modal */
.course-modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

.course-modal .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.course-modal .modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
}

.course-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}