@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* hero section */

 .hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Full viewport height */
    width: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh; /* Adjust height for tablets */
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 50vh; /* Adjust height for mobile devices */
    }
}


.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero .overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f4c10f;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    color: #fff;
}

.cta-btn {
    background-color: #f4c10f;
    color: #000;
    padding: 10px 25px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.cta-btn:hover {
    background-color: #d4aa0c;
}

/* Learning Steps Section */
.learning-steps-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.learning-steps-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

/* Left Section with Steps */
.steps-left {
    flex: 1;
}

.steps-left h2 {
    font-size: 36px;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    color: #333;
}

.steps-left h2 span {
    color: #d4af37; /* Gold-like color to highlight */
}

.steps-left p {
    font-size: 16px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step .icon {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.step .icon img {
    width: 100%;
    height: auto;
}

.step-details h3 {
    font-size: 24px;
    font-family: "Playfair Display", serif;
    margin-bottom: 10px;
    color: #333;
}

.step-details p {
    font-size: 12px;
    color: #666;
}

.step-details a {
    color: #d4af37;
    text-decoration: none;
}

.step-details a:hover {
    text-decoration: underline;
}

/* Right Section with Image */
.steps-right {
    flex: 1;
    text-align: center;
}

.steps-right img {
    width: 70%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.why-choose-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.why-choose-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Left Section with Image */
.why-left {
    flex: 1;
    text-align: center;
}

.why-left img {
    max-width: 100%;
    border-radius: 10px;
}

/* Right Section with Content */
.why-right {
    flex: 1.5;
}

.why-right h2 {
    font-size: 36px;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    color: #333;
}

.why-right h2 span {
    color: #d4af37; /* Golden color for highlighting */
}

.why-right p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.why-right ul {
    list-style-type: none;
    margin-bottom: 30px;
}

.why-right ul li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #666;
}

.buttons {
    display: flex;
    gap: 20px;
}

.buttons .btn-services,
.buttons .btn-register {
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
}

.btn-services {
    background-color: #2c5f2d;
}

.btn-register {
    background-color: #d4af37;
}

/* How We Teach Section */
.how-we-teach-section {
    padding: 50px 20px;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.how-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Left Section with Text */
.how-left {
    flex: 1;
}

.how-left h2 {
    font-size: 36px;
    color: #2c5f2d;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
}

.how-left p {
    font-size: 18px;
    color: #555;
}

/* Right Section with Video */
.how-right {
    flex: 1;
}

.video-container {
    position: relative;
    max-width: 100%;
}

.video-play-button {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
}

.video-play-button img {
    width: 80%;
    border-radius: 15px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    /* hero section */
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero-section {
        background-position: top;
    }

    /* section 01 */

    .content-container h2 {
        font-size: 20px;
    }

    .content-container p {
        font-size: 12px;
    }

    .btn-content {
        padding: 8px 15px;
        font-size: 12px;
    }

    .section-heading {
        font-size: 28px;
    }

    /* pricing section */

    .section-heading {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center; /* Center the boxes */
    }

    .pricing-box {
        width: 100%; /* Full width on mobile */
        max-width: 400px; /* Ensure there's a maximum width */
        margin-bottom: 20px;
    }

    .section-heading {
        font-family: "Playfair Display", serif;
        font-size: 28px;
    }

    .pricing-box h2 {
        font-size: 20px;
    }

    .price {
        font-size: 28px;
    }

    .btn-pricing {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* learning section */
.steps-left h2 {
    font-size: 28px;
}

.steps-left p {
    font-size: 16px;
}

.step-details h3 {
    font-size: 20px;
}

.step-details p {
    font-size: 14px;
}

/* Media Query for Tablets */
@media (max-width: 768px) {
    /* hero section */
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* section 01 */

    .image-content-section {
        flex-direction: column;
        align-items: center;
    }

    .image-container,
    .content-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .content-container h2 {
        font-size: 24px;
    }

    .content-container p {
        font-size: 14px;
    }

    .btn-content {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* pricing section */

    .pricing-box {
        width: 48%; /* Two boxes per row on tablets */
    }

    /* learning section */

    .learning-steps-content {
        flex-direction: column;
        text-align: center;
    }

    .steps-left,
    .steps-right {
        width: 100%;
    }

    .steps-left {
        margin-bottom: 20px;
    }

    /* why chose section */

    .why-choose-content {
        flex-direction: column;
        text-align: center;
    }

    .why-left,
    .why-right {
        width: 100%;
    }

    .why-right ul {
        text-align: left;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .buttons .btn-services,
    .buttons .btn-register {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Testimonial Section */
.testimonial-slider-section {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
}

.testimonial-slider-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.testimonial-slider-section h2 span {
    color: #f4c10f;
}

.testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fade 0.8s ease-in-out;
}
.testimonial-slide.active {
    display: block;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.testimonial-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-header h3 {
    margin: 10px 0 5px;
    font-weight: 600;
}
.testimonial-header p {
    color: #777;
    font-size: 0.95rem;
}
.testimonial-text {
    margin: 20px 0;
    font-size: 1.1rem;
    color: #333;
}
.rating {
    font-size: 1.2rem;
    color: #f4c10f;
}

/* Navigation Arrows */
.testimonial-nav {
    margin-top: 20px;
}
.testimonial-nav button {
    background: #f4c10f;
    border: none;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}
.testimonial-nav button:hover {
    background: #d4aa0c;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-slider-section h2 {
        font-size: 2rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fade {
    from { opacity: 0.3; }
    to { opacity: 1; }
}


/*islamic  Courses Section */
.courses-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.courses-image img {
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.courses-text h2 {
    font-size: 36px;
    color: #333;
}

.courses-text h2 span {
    color: #e6b912;
}

.courses-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.courses-text strong {
    color: #2c5f2d;
}

.courses-buttons .btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    margin-right: 10px;
}

.services-btn {
    background-color: #e6b912;
}

.register-btn {
    background-color: #2c5f2d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .courses-text h2 {
        text-align: center;
    }

    .courses-buttons {
        text-align: center;
    }
}

/* abouts sec2 */

section#about-academy,
section#core-goals {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* First Section: Learn Quran Academy Styling */
#about-academy {
    background-color: #ffffff;
    color: #333;
}

#about-academy p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Second Section: Core Goals */
#core-goals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#core-goals > div {
    flex: 1;
    padding: 20px;
}

#core-goals h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00563f;
}

#core-goals h2 span {
    color: #e1ad01;
}

#core-goals ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#core-goals ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-left: 25px;
    background: url("https://learnquraan.co.uk/vendor/local/imgs/icons/check-golden.svg")
        no-repeat left center;
    background-size: 20px;
}

#core-goals p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

#core-goals img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

.btn-primary {
    background-color: #00563f;
    color: #fff;
}

.btn-secondary {
    border: none;
    background-color: #e1ad01;
    color: #fff;
}

/* Responsive Styling */
@media (max-width: 992px) {
    #core-goals {
        flex-direction: column;
    }

    #core-goals div {
        flex: 1;
        text-align: center;
    }

    #core-goals img {
        margin-top: 20px;
    }

    #core-goals h2 {
        font-size: 2rem;
    }

    #core-goals ul li {
        font-size: 1rem;
    }

    .btn {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    #core-goals {
        padding: 20px;
    }

    #about-academy p {
        font-size: 1rem;
    }

    #core-goals ul li {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    section#about-academy,
    section#core-goals {
        padding: 20px;
    }

    #core-goals h2 {
        font-size: 1.8rem;
    }

    #core-goals ul li {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Section container */
.card-section {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 40px;
    background-color: #f9f9f9;
}

/* Individual card styling */
.card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    padding: 30px;
    /* align-items: center; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
}

/* Card Hover Effect */
.card:hover {
    transform: translateY(-10px);
}

/* Icon Styling */
.card img.icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Heading Styling */
.card h3 {
    color: #e1ad01;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Paragraph Styling */
.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Button styling inside cards */
.btn-card {
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.btn-card:hover {
    background-color: #e1ad01;
    color: #fff;
}

/* Responsive Styling */
@media (max-width: 992px) {
    .card-section {
        flex-direction: column;
        padding: 20px;
    }

    .card {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .card {
        padding: 20px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .btn-card {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .card-section {
        padding: 10px;
    }

    .card {
        padding: 15px;
    }

    .card img.icon {
        width: 60px;
        height: 60px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.85rem;
    }

    .btn-card {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* about-para */

.custom-section {
    padding: 50px 20px;
    background-color: #ffffff; /* Light background color */
    text-align: center; /* Center align text */
}

.custom-section .content-wrapper {
    max-width: 1000px; /* Limit the width */
    margin: 0 auto; /* Center the content */
    padding: 20px;
    background-color: #fff; /* White background for content */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-radius: 10px; /* Rounded corners */
}

.custom-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    color: #333;
}
.custom-section h2 span {
    font-weight: 600;
}

.custom-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    border: none;
    padding: 15px 30px;
    background-color: #e1ad01; /* Primary button color */
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c49601; /* Darker color on hover */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .custom-section h2 {
        font-size: 2rem;
    }

    .custom-section p {
        font-size: 1.1rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* .pricing-box */

.pricing-section {
    padding: 40px 80px;
    background-color: #f9f9f9;
}

.section-heading {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.pricing-container {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    gap: 20px;
}

.pricing-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 25%;
    text-align: center;
}

.pricing-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 32px;
    color: #004d26;
    margin: 20px 0;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-box ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}

.btn-pricing {
    display: inline-block;
    padding: 12px 25px;
    background-color: #e1ad01;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-pricing:hover {
    background-color: #d7a80d;
}

/* Media Query for Tablets */
@media (max-width: 768px) {
    .pricing-box {
        width: 48%; /* Two boxes per row on tablets */
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    .pricing-box {
        width: 100%; /* Stack boxes vertically on mobile */
    }

    .section-heading {
        font-size: 28px;
    }

    .pricing-box h2 {
        font-size: 20px;
    }

    .price {
        font-size: 28px;
    }

    .btn-pricing {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* contact */

/* Contact Form Section Styling */
.contact-form-section {
    padding: 40px;
    background-color: #f9f9f9;
}

.contact-form-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    width: 50%;
}

.contact-form h2 {
    font-size: 2rem;
    color: #00563f;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.contact-form textarea {
    height: 100px;
}

.captcha {
    margin-bottom: 20px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
}

.btn-submit,
.btn-reset {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit {
    background-color: #00563f;
    color: #fff;
}

.btn-reset {
    background-color: #e1ad01;
    color: #fff;
}

/* Responsive Styling */
@media (max-width: 992px) {
    .contact-form-container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .contact-form {
        width: 100%;
        margin-top: 20px;
    }

    .contact-image img {
        max-width: 80%;
    }
}
