:root {
            --primary: #036637;
            --secondary: #0A451F;
            --accent: #F5F0E5;
            --gold: #D9A441;
        }
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f9f9f9;
        }
        .arabic-text {
            font-family: 'Amiri', serif;
            direction: rtl;
        }
        .heading-border {
            position: relative;
            display: inline-block;
        }
        .heading-border:after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 50%;
            height: 3px;
            background: var(--gold);
        }
        .islamic-pattern {
            background-image: url('picture/82c0ab19aaf220f4ffcc98a383db42c4.jpg');
            background-size: cover;
            background-position: center;
        }
        .teacher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .floating-button {
            animation: float 3s ease-in-out infinite;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        /* =========================== Fee Css ================================ */
.body-f {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
  }
  
  
  
  .btn {
    background-color: #e4b289;
    padding: 8px 15px;
    border-radius: 6px;
    color: black;
  }
  
  .fee-header {
    text-align: center;
    margin-top: 40px;
  }
  
  .fee-header h2 {
    margin-bottom: 10px;
  }
  
  .fee-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 40px 20px;
  }
  
  .fee-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .fee-card:hover {
    transform: translateY(-5px);
  }
  
  .fee-card h4 {
    color: #333;
    margin-bottom: 10px;
  }
  
  .fee-card h5 {
    font-size: 22px;
    color: #007bff;
    margin-bottom: 15px;
  }
  
  .fee-card .btn {
    display: inline-block;
    background: #9b5d9b;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    color: black;
    font-weight: bold;
    text-decoration: none;
  }
  
  .fee-card ul {
    padding: 0;
    list-style: none;
    text-align: left;
  }
  
  .fee-card ul li {
    margin: 8px 0;
    color: #555;
  }
  
  .fee-card i {
    color: green;
    margin-right: 8px;
  }

 /* ==================== Courses css ==================== */
.teachers {
    padding: 40px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    text-align: center;
}

.teachers > p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.course-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.course-card {
    flex: 0 0 calc(50% - 10px); /* 2 cards per row with 20px gap total */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3 {
    font-size: 1.3rem;
    margin: 15px;
    color: #333;
}

.course-card p {
    margin: 0 15px 20px;
    font-size: 0.95rem;
    color: #555;
}

@media screen and (max-width: 768px) {
    .course-card {
        flex: 0 0 100%; /* Stack on small screens */
    }
}

/* -------------About us ------------ */
.sub-header {
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(75, 74, 74, 0.7), rgba(81, 80, 80, 0.7)), url(picture/every.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
}
.sub-header h1 {
    margin-top: 80px;
}

.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

/* ✅ FIX: Add this to make content side by side */
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-col {
    flex-basis: 48%;
    padding: 32px 2px;
}

.about-col img {
    height: 60vh;
    width: 100%;
    object-fit: cover;
}

.about-col h1 {
    padding-top: 0px;
}

.about-col p {
    padding: 15px 0 25px;
}

.red-btn {
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

.red-btn:hover {
    color: #fff;
    background-color: #f44336;
}

/* Responsive styles */
@media(max-width: 900px) {
    .sub-header h1 {
        margin-top: 200px;
    }

    .about-col {
        flex-basis: 100%;
        text-align: center;
    }
}

@media(max-width: 700px) {
    .sub-header h1 {
        margin-top: 100px;
    }
}

/* ------------------Teachers ------------------- */

 .heading-two p, h2{
    margin-top: 20px;
    text-align: center;
    font-size: larger;
    font-weight: 500;
    color: #777;
 }
 .heading-two {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers items horizontally */
    justify-content: center; /* Centers items vertically (if needed) */
    text-align: center;
    margin-top: 70px;
}

.heading-two i {
    font-size: 50px;
    color: #cc7b7b;
    margin-bottom: 10px;
}
 .welcome img {
    width: 100%; /* Makes image responsive */
    height: auto; /* Ensures proportional scaling */
    display: block;
}
.gap{
    width: 90%;
}
.heading {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers items horizontally */
    justify-content: center; /* Centers items vertically (if needed) */
    text-align: center;
}

.heading i {
    font-size: 40px;
    color: #514949;
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Center the Heading */
.heading {
    text-align: center;
    margin-bottom: 30px;
}

.heading i {
    font-size: 40px;
    color: #e63946;
    display: block;
}

.heading h2 {
    font-size: 26px;
    font-weight: bold;
    margin-top: 10px;
}

/* Custom Heading Styles */
.custom-heading {
    text-align: center;
    margin-bottom: 30px;
}

.custom-heading i {
    font-size: 40px;
    color: #e63946;
    display: block;
}

.custom-heading h2 {
    font-size: 26px;
    font-weight: bold;
    margin-top: 10px;
}

/* Custom Container for Image & Content */
.custom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1000px;
    margin: auto;
}

/* Custom Image Section */
.custom-image {
    flex: 1;
    text-align: center;
}

.custom-image img {
    width: 100%;
    height: 60vh;
}

/* Custom Content Section */
.custom-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Custom Service Box for Each Point */


/* Title Styling */
.custom-service h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.custom-service i {
    font-size: 24px;
    margin-right: 10px;
    color: #e63946;
}

.custom-service p {
    font-size: 14px;
    margin-top: 5px;
}

/* Responsive for Small Screens */
@media (max-width: 768px) {
    .custom-container {
        flex-direction: column;
        text-align: center;
    }

    .custom-image img {
        max-width: 80%;
    }
}


/* Section Styling */
.gap-c {
    padding: 60px 0;
   
}

/* Container Styling */
.container-c {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* About Scholar Block */
.about-scholar {
    text-align: center;
  
    padding: 30px;
}

/* Title Styling */
.about-scholar h4 {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Border Styling */
.about-scholar .border {
    width: 60px;
    height: 3px;
    background-color: #e63946; /* Red color */
    margin: 10px auto;
}

/* Paragraph Styling */
.about-scholar p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .about-scholar {
        padding: 20px;
    }

    .about-scholar h4 {
        font-size: 24px;
    }

    .about-scholar p {
        font-size: 14px;
    }
}

/* -----------------Contact Us---------------------- */

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;

}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div .fab{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
   padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    }
 .contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
 }   
