:root {
    --primary-color: #006d77;
    --secondary-color: #83c5be;
    --accent-color: #00a896;
    --text-color: #333;
    --light-bg: #f0efe4;
    --white: #ffffff;
}

@font-face {
    font-family: 'header';
    src: url(../fonts/ConcertOne-Regular.ttf);
}

@font-face {
    font-family: 'paragraph';
    src: url(../fonts/SchibstedGrotesk-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 ,a{
    font-family: 'header', Arial, sans-serif;
}

p {
    font-family: 'paragraph', Arial, sans-serif;
    line-height: 1.6;
}


body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.top-bar .highlight {
    color: var(--accent-color);
    font-weight: bold;
}

.logo img {
    height: 70px;
}

/* Header & Navigation */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 3px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary-color);
}



/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 5px 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: header;
    font-size: 20px;


}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: left;
        padding: 10px 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 9999
    }
}

.btn-secondary {
    background: transparent;
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--white) !important;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: header;
    font-size: 20px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: header;
    font-size: 19px;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.main-hero {
    background: linear-gradient(rgba(0, 109, 119, 0.493), rgba(0, 109, 119, 0.774)), url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    padding: 6rem 5%;
    color: var(--white);
}

.main-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.main-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.main-hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.avatar-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.main-hero .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Courses Preview */
.courses-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

.course-box {
    background: var(--primary-color);
    padding: 4rem;
    border-left: 1px solid var(--secondary-color);
    color: var(--white);
}

.course-box h3 {
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.color-box{
    background: var(--secondary-color);
    color: var(--text-color);
}

.color-box h3, .color-box a{
    color: var(--primary-color);
}

.more-details {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Who We Are */
.who-we-are {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--light-bg);
    padding: 4rem;

}

.who-we-are h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.who-we-are .image img {
    width: 100%;
}

.who-we-are .content{
    padding: 5rem;
}

.who-we-are .content p{
    margin-bottom: 2rem;
}

/* Courses Section */
.courses {
    padding: 5rem 5%;
    text-align: center;
}

.courses h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3 {
    color: var(--primary-color);
    padding: 1.5rem;
    margin: 0;
    font-size: 25px;
}

.course-card p {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.course-card ul {
    list-style: none;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.course-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-card i {
    color: var(--primary-color);
}

.course-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.course-card .btn-secondary{
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

/* Evaluation Section */
.evaluation {
    padding: 5rem 5%;
    background: url('../img/hero2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.evaluation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.568);
}

.eval-content,
.eval-form {
    position: relative;
    z-index: 1;

}

.eval-content h1{
    font-size: 50px;
}

.eval-form{
    padding: 100px 0;
}

.eval-form form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input,
.form-row select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

/* Why Choose Us */
.why-choose {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.why-choose h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 35px;
}
.latest-updates h2{
    font-size: 35px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.number {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section img{
    height: 200px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
}



/* Latest Updates Section */
.latest-updates {
    padding: 5rem 5%;
    background: var(--white);
}

.latest-updates h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.news-card .btn-secondary{
    background-color: var(--primary-color);
    margin-top: 20px;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news-card .tag {
    background: #e8f3f4;
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.news-meta i {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.faq-image img {
    width: 100%;
    border-radius: 10px;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-answer {
    padding: 1rem;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    display: none;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: var(--white);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Free Trial Banner */
.free-trial-banner {
    background: var(--white);
    padding: 2rem 5%;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.banner-content p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

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


/* Responsive Design */
@media (max-width: 1024px) {

    .courses-preview,
    .course-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-we-are,
    .evaluation {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .courses-preview,
    .course-cards {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}



/* Islamic Life Section */
.islamic-life {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1585036156171-384164a8c675?q=80&w=1200') center/cover;
    color: white;
    padding: 100px 0;
    text-align: left;
}

.islamic-life h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.islamic-life h2 {
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: white;
    color: #333;
}

/* Evaluation Section */
.about-evaluation {
    padding: 80px 0;
    background: #F5F5DC;
}

.about-eval-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-eval-text {
    flex: 1;
}

.about-eval-text h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-eval-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-eval-text .highlight {
    color: var(--primary-color);
}

.about-features {
    margin: 40px 0;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature i {
    font-size: 24px;
    color: var(--primary-color);
}

.about-eval-image {
    flex: 1;
}

.about-eval-image img {
    width: 100%;
    border-radius: 10px;
}

.book-trial {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.book-trial:hover {
    background: #00A388;
}



/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .about-content,
    .about-eval-content {
        flex-direction: column;
    }

    .stats-card {
        right: 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

}



/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/muslim-child-or-men-prayer-to-worship-allah-in-ho-2023-11-27-05-17-16-utc.jpg') center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.breadcrumb {
    color: #fff;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.our-courses-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.our-courses-btn:hover {
    background: #005446;
}

.our-courses-btn i {
    margin-left: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-label {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #666;
}

.contact-details i {
    margin-right: 15px;
    color: var(--primary-color);
    width: 20px;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #005446;
}

/* Free Trial Section */

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

.trial-content h2 {
    font-size: 28px;
    color: #333;
}

.trial-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.trial-btn:hover {
    background: #005446;
}

.trial-btn i {
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .trial-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }
}



/* free trial */
.free-trail-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1585036156171-384164a8c675?q=80&w=1200') center/cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}


.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

.free-trail-hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.free-trail-hero .hero-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
}

.free-trail-hero  .cta-button {
    display: inline-block;
    background: #006D5B;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.free-trail-hero  .cta-button:hover {
    background: #005446;
}


/* Enrollment Form Section */
.enrollment-section {
    padding: 80px 0;
}

.enrollment-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #006D5B;
}

.enrollment-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.enrollment-form-row{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.enrollment-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.enrollment-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.enrollment-form input[type="text"],
.enrollment-form input[type="email"],
.enrollment-form input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.free-trail-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.free-trail-radio-group label,
.free-trail-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0;
    cursor: pointer;
}

.free-trail-submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

.free-trail-submit-btn:hover {
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .free-trail-hero h1 {
        font-size: 36px;
    }

    .enrollment-form-row {
        flex-direction: column;
        gap: 0;
    }

    .enrollment-form {
        padding: 20px;
    }

    .free-trail-radio-group,
    .free-trail-checkbox-group {
        flex-direction: column;
    }
}

.containerprice {
    margin: 50px auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}


#pricingForm .form-group {
    margin-bottom: 1.5rem;
}

#pricingForm label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

#pricingForm label:after {
    content: " *";
    color: red;
}

#pricingForm label:not([for]):after {
    content: "";
}

#pricingForm select, #pricingForm input[type="text"], #pricingForm input[type="email"], #pricingForm input[type="tel"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#pricingForm .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#pricingForm .form-group input{
    width: unset;
}



#pricingForm .radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

#pricingForm .radio-group label:after {
    content: "";
}

#pricingForm .radio-group input[type="radio"] {
    margin-right: 0.5rem;
}

#pricingForm .phone-input {
    display: flex;
    gap: 0.5rem;
}

#countryCode {
    width: 120px;
}

#pricingForm .submit-btn {
    background-color: #006d77;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#pricingForm .submit-btn:hover {
    background-color: #005c65;
}

span#totalLectures, span#totalHours, span#totalPrice {
    font-weight: normal;
}