@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 */