@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Collegiate+One:ital@0;1&family=DM+Serif+Text:ital@0;1&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    background: url('bannerschool.png') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
h1{ 
    color: #c99e44;
    font-size: 70px;
    font-family: 'Merriweather';
    margin: 0px;
}

h4 {
    margin: 0px;
    font-size: 20px;
    font-weight: 200;
    font-family: 'Merriweather';
}
/* About-Section */
.about{
    padding: 5px;
    text-align: center;
    width: 100%; 
  display: flex;
}
.about-content{
padding: 40px;
width: 80%;
margin: auto;
line-height: 1.6;
color: #333;
font-size: 23px;}

/* curriculum-section */
.curriculum{
    padding: 5px;
    text-align: center;
    background-color: #c99e44;

}
.curriculum-content {
    color: white;
    padding: 20px;
    width: 80%;
    line-height:1.5;
margin: auto;
font-size: 23px;
    text-align: center;
}
/* teaching-Sections */
.teaching {
    display: flex;
    align-items: center;

width: 100%;
    padding: 20px;
    gap: 40px;
    background-color: #fff;
}

.img-container img {
    width: 800px;
    border-radius: 10px;
}

.teaching-text {
    flex: 1;
    padding-left: 20px;
    font-size: 16px;
    color: #444;
    text-align: justify;
}

.teaching {
    display: grid;
  padding: 2rem;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  font: 500 100%/1.5 system-ui;
}

.img {
    max-width: 100%;
    height: auto;
}

/* Download Section */
.downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.image-card {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.image-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 100;
    background-color: #c99e44;
    color: white;
}

.btn:hover {
    background-color: #c99e44;
}

/* Responsive Styles */
@media (max-width: 768px) {
    
    .hero {
        height: 250px;
    }

    .downloads {
        flex-direction: column;
        align-items: center;
    }
}

    .container {
        padding-top: 60px;
        padding-bottom: 60px;
        display: flex;
        max-width: 1100px;
        gap: 10px;
        justify-content: center;
        align-items: center;
        padding: 20px;
        line-height: 1.6;
        color: #333;
        font-size: 23px;
    }

    .image-container {
        flex: 1;
        position: relative;
        width: 70%;
    }

    .image-frame {
        position: relative;
        width: 80%;
        display: flex;
        justify-content: center;
    }

    .image-frame::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 2px solid #C5A572;
        animation: borderAnimation 4s linear infinite;
    }

    @keyframes borderAnimation {
        0% {
            clip-path: inset(0 0 95% 0);
        }
        25% {
            clip-path: inset(0 0 0 95%);
        }
        50% {
            clip-path: inset(95% 0 0 0);
        }
        75% {
            clip-path: inset(0 95% 0 0);
        }
        100% {
            clip-path: inset(0 0 95% 0);
        }
    }

    .image-container img {
        width: 60%;
        height: auto;
        display: block;
    }

    .content {
        flex: 1;
        line-height: 1.6;
        color: #333;
    }

    @media (max-width: 768px) {
        .container {
            flex-direction: column;
            text-align: center;
        }

        .image-container {
            margin-bottom: 20px;
        }
    }
    
    .islamic-main-container {
        padding-top: 60px;
        padding-bottom: 60px;
        display: flex;
        width: 80%;
        gap: 50px;
        margin: auto;
        justify-content: center;
    }

    .islamic-description-content {
        flex: 1;
        line-height: 1.6;
        color: #333;
        font-size: 23px;
    }

    .maktab-calendar-wrapper {
        flex: 1;
        border: 2px solid #C5A572;
        padding: 20px;
        background-color: white;
    }

 


    .maktab-months-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .maktab-month-box {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
    }

    .maktab-month-name {
        font-weight: bold;
        margin-bottom: 5px;
        color: #c99e44;
    }

    .maktab-days-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
        font-size: 12px;
    }

    .maktab-day-cell {
        padding: 2px;
    }

    
    .maktab-action-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }

    .maktab-btn {
        padding: 8px 24px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        transition: background-color 0.3s;
    }

    .maktab-btn-download {
        background-color: #c99e44;
        color: white;
    }

    .maktab-btn-view {
        background-color: white;
        color: #c99e44;
        border: 2px solid #c99e44;
    }

    .maktab-btn:hover {
        opacity: 0.9;
    }

    @media (max-width: 768px) {
        .islamic-main-container {
            flex-direction: column;
        }

        .maktab-months-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    .calender-img img{
      width: 450px;
    }
    .quote-section {
        margin-top: 60px;
        background-color:#c99e44;
        padding: 60px 40px;
        text-align: center;
    }

    .quote-text {
        max-width: 1200px;
        margin: 0 auto;
        color: rgb(255, 255, 255);
        font-family: 'Segoe UI', Arial, sans-serif;
        font-size: 28px;
        line-height: 1.6;
        opacity: 0;
        animation: fadeIn 1s ease forwards;
    }

    /* Silhouette section styles */
    .silhouette-section {
        background-image: url(/Maktab/mosque_bg.png);
        background-color: white;
        padding: 40px 0 0;
        position: relative;
        height: 45vh;
    }

    .mosque-silhouette {
        width: 100%;
        height: 200px;
        background-color: #ffffff;
        clip-path: path('M0,200 L1300,200 L1300,100 C1200,100 1100,90 1000,100 C900,110 800,90 700,100 C600,110 500,90 400,100 C300,110 200,90 100,100 L0,100 Z');
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .quote-text {
            font-size: 24px;
        }
        .mosque-silhouette {
            height: 150px;
        }
    }

    @media (max-width: 480px) {
        .quote-text {
            font-size: 20px;
        }
        .mosque-silhouette {
            height: 100px;
        }
    }     

    .zuhd-footer {
        background-image: url(/Maktab/footerbg.jpg);
        background-position: center;
        background-size: cover;
          color: white;
          padding: 4rem 2rem;
      }
      
      .zuhd-footer__content {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 2rem;
          max-width: 1200px;
          margin: 0 auto;
          font-family: "Open Sans", serif;
      
      }
      .zuhd-footer__logo{
          width: 30%;
          height: 30%;
      }
      
      .zuhd-footer__section {
          margin-bottom: 2rem;
          font-family: "Open Sans", serif;
      
      }
      
      .zuhd-footer__heading {
          color: #c69438;
          margin-bottom: 1rem;
          font-family: "Open Sans", serif;
      
      }
      .zuhd-footer__text{
        padding: 10px 0px;
        line-height:20px;
        font-family: "Open Sans", serif;
      
      }
      
      .zuhd-footer__list {
          list-style: none;
      }
      
      .zuhd-footer__list-item {
          margin-bottom: 0.5rem;
          font-family: "Open Sans", serif;
      
      }
      
      .zuhd-footer__link {
          color: white;
          text-decoration: none;
      }
      
      .zuhd-social__wrapper {
          display: flex;
          gap: 1rem;
          
          margin-top: 1rem;
      }
      
      .zuhd-social__link {
          color:#b38a2f;
          font-size: 1.5rem;
      }
      
      .zuhd-signup__form {
          display: flex;
          margin-top: 1rem;
      }
      
      .zuhd-signup__input {
          padding: 10px;
          border-radius: 30px;
          border: 1px solid;
          flex: 1;
      }
      
      .zuhd-signup__button {
          padding: 10px 20px;
          background-color: #c69438;
          border: none;
          color: white;
          border-radius: 30px;
          cursor: pointer;
      }
      
      .zuhd-footer__bottom {
          margin-top: 2rem;
          padding-top: 1rem;
          border-top: 1px solid #333;
          display: flex;
          justify-content: space-between;
      }