:root {
    --primary-color: #006D77;
    --text-color: #1A1A1A;
    --bg-color: #F8F7F4;
    --teal: #006D77;
    --light-teal: #83C5BE;
    --mint-green: #98E2C6;
}


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

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



#about {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

#about h1{
    font-size: 80px;
    text-align: center;
    margin-bottom: 50px;
}

#about .hero {
    position: relative;
    margin-bottom: 10rem;
    padding-top: 2rem;
}



#about .image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

#about .image-grid img {
    width: 100%;
    border-radius: 2.5rem;
    object-fit: cover;
}

#about .main-image {
    height: 550px;
}

#about .secondary-image {
    height: 350px;
}

.play-button {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--teal);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    box-shadow: 0 8px 32px rgba(0, 109, 119, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 109, 119, 0.3);
}

.stats-card {
    position: absolute;
    bottom: -5rem;
    right: 5rem;
    background-color: var(--teal);
    color: white;
    padding: 2.5rem 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 109, 119, 0.15);
}

.percentage {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-text {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
}

#about .about {
    margin-bottom: 8rem;
    position: relative;
    max-width: 900px;
}

#about .who-we-are {
    color: var(--teal);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}



#about .about p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #4A4A4A;
    line-height: 1.7;
}

#about .islamic-path {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('../img/10.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 4rem 4rem;
    border-radius: 2.5rem;
    position: relative;
    margin-bottom: 8rem;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#about .path-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about .islamic-path h2 {
    color: white;
    font-size: 5rem;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

#about .contact-btn {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 3rem;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#about .contact-btn:hover {
    background: white;
    color: var(--teal);
}

#about .play-button-dark {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
}

#about .about-page-evaluation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

#about .about-why-choose {
    color: var(--teal);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about .about-page-evaluation h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--teal);
}

#about .about-page-evaluation h3 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
}

#about .about-about-features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

#about .about-feature {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

#about .about-feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 109, 119, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--teal);
    flex-shrink: 0;
}

#about .about-feature-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
}

#about .about-feature-content p {
    color: #4A4A4A;
    font-size: 1.125rem;
    line-height: 1.6;
}

#about .trial-btn {
    background-color: var(--mint-green);
    color: var(--text-color);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 3rem;
    cursor: pointer;
    width: 100%;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 3rem;
    transition: all 0.3s ease;
}

#about .trial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(152, 226, 198, 0.3);
}

#about .eval-image img {
    width: 100%;
    border-radius: 2.5rem;
    height: 700px;
    object-fit: cover;
}

@media (max-width: 1400px) {
    #about {
        padding: 0 3rem;
    }
    
  
    
    .islamic-path h2 {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
  
    .islamic-path h2 {
        font-size: 3.5rem;
    }
    
    .about-page-evaluation h2 {
        font-size: 3rem;
    }
    
    .about-page-evaluation h3 {
        font-size: 2rem;
    }
    
    .eval-image img {
        height: 600px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0 2rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .about-page-evaluation {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    
    .islamic-path h2 {
        font-size: 2.5rem;
    }
    
    .stats-card {
        right: 2rem;
    }
    
    .islamic-path {
        padding: 4rem 2rem;
        min-height: 400px;
    }
    
    .eval-image img {
        height: 400px;
    }
}


/* Add these styles at the end of the existing CSS file */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}