/* General styles */
:root {
    --primary-color: #601cfc;
    --secondary-color: #4e16c7;
    --white-text: #fff;
    font-size: 16px;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


*, *::before, *::after{
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Header styles */
header {
    background-color: var(--primary-color);
}

.header-padding{
    padding: 1.75rem 20px;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--white-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero section styles */
.hero {
    text-align: right;
    color: var(--white-text);
    padding: 8rem 20px;
    background: url('images/background.webp') no-repeat center center/cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.hero-gap {
    gap: 3.8rem;

}


.hero .video-container  {
    flex: 4;

}

.hero .video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; /* This prevents the container from contributing to the height */
}

.hero .video-wrapper  iframe{
    position: absolute;
    top: 0;
    border-radius: 20px;
    left: 0;
    width: 100%;
    height: 100%;

}

.hero .video-wrapper  video{
    position: absolute;
    top: 0;
    border-radius: 20px;
    left: 0;
    width: 100%;
    height: 100%;

}



.hero .text {
    flex:3;
    text-align: right;
}

.hero .text .pretitle {
    color: rgb(178, 148, 255);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1.75;
}

.hero .text h1 {
    font-size: 2.5rem;
    line-height: 1.5;
    margin-top: 0;
    padding-top: 0;
}

.hero .text .description {
    font-size: 0.9rem;
    color: rgb(241, 228, 253);
    font-weight: 400;
    margin-top: 1.425rem;
    line-height: 1.6;
}

.hero .cta-button {
    margin-top: 2.85rem;
    display: inline-block;
    padding: 20px 30px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transition: all 0.15s ease-in-out 0s;
    border-radius: 0.25rem;
    font-weight: 700;
    line-height: 1.75;
}

.hero .cta-button:hover {
    background-color: var(--secondary-color);
}

/* Features section styles */
.features {
    padding: 8rem 20px;
    background-color: var(--white-text);
    text-align: center;
}

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

.features h2 {
    font-size: 2.5rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.features .subtitle {
    font-size: 1.1rem;
    margin-bottom: 5.5rem;
    color: rgb(13, 22, 27);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: right;
}

.feature-item {
    text-align: center;
    margin-bottom: 1rem;
}

.feature-item img {
    width: 55%;

}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgb(13, 22, 27);
    line-height: 1.5;
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgb(13, 22, 27);
}

.feature-item hr{
    border-top: 1px solid rgba(13, 22, 27, 0.2);
    color: transparent;
    margin-top: 3.5rem;
}


/* Community Section */
.community{
    padding: 8rem 20px;
    background-color: #fff;
}

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

.community-img img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

.community-text {
    flex: 1;
    text-align: right;
}

.community-text h1{
    font-size: 2.5rem;
    margin-bottom: 4.5rem;
    color: rgb(13, 22, 27);
    line-height: 1.5;
    font-weight: 700;
}

.community-text p {
    font-size: var(--paragraph-font-size);
    color: rgb(13, 22, 27);
    margin-bottom: 1.5rem;
    border-color: rgba(13, 22, 27, 0.2);
    padding: 0 0 0 1rem;
    border-left-width: 2px;
    border-left-style: solid;
}


/* certificate styles */
.certificate {
    width: 1200px;
    max-width: 100%;
    padding: 7rem 20px;
    margin: 0 auto;
}

.certificate-container {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 1rem;
    border: 1px solid var(--primary-color);
    overflow: hidden;
    color: #ffffff;
}

.certificate-container .image-container {
    align-self: stretch;
    flex: 1;
}

.certificate-container .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.certificate-container .text-content {
    flex: 2;
    padding: 2.2rem;
    text-align: right;
    line-height: 1.6;
    
}

.certificate-container .text-content h1 {
    font-size: 2.45rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;

}

.certificate-container .text-content p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 300;
}

/* stages */
.stages {
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(87,26,243,1) 68%);
    margin-top: 10rem;
}

.stages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 20px;

}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--white-text);
}

.section-subtitle {
    margin-top: 1.125rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
    font-size: 1rem;
    color: rgb(215, 189, 255);
    margin-bottom: 3rem;
}


.stages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.stage-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    flex: 1 1 30%;
    padding: 1.65rem;
}

.stage-header img {
    width: 100%;
    margin-bottom: 0.375rem;
    margin-top: 2rem;
}

.stage-header h2 {
    font-size: 1.45rem;
    line-height: 1.5;
    color: var(--primary-color);
    margin-bottom: 0.375rem;
}


.stage-description {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgb(13, 22, 27);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.stage-card hr{
    border-top: 1px solid rgba(13, 22, 27, 0.2);
    color: transparent;
    margin-top: 4.5rem;
    margin-bottom: 2.1rem;
}

.stage-card strong{
    line-height: 1.6;
    color:rgb(13, 22, 27);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5625rem;
}

.stage-goals {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stage-goals li {
    font-size: 0.9rem;
    color: rgb(13, 22, 27);
    line-height: 1.6;
    margin-bottom: 0.5625rem;
    border-color: rgba(13, 22, 27, 0.2);
    border-left-width: 2px;
    border-left-style: solid;
}

/* curriculum parts */
.curriculum{
    margin-top: 6rem;
    text-align: right;
}

.curriculum-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 20px;

}

.curriculum-container h2{
    font-size: 1.45rem;
    line-height: 1.5;
    color: rgb(13, 22, 27);
    
}

.course-stage {
    margin-top: 7rem;
}

.curriculum-container hr{
    border-top: 1px solid rgba(13, 22, 27, 0.2);
    color: transparent;
    margin-bottom: 0.375rem;
    
}

.curriculum-container h3{
    border-color: rgba(13, 22, 27, 0.2);
    padding: 0px 0px 0px 1rem;
    border-left-width: 2px;
    border-left-style: solid;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.subject-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.01) 0px 0.0625rem 0.0625rem, rgba(0, 0, 0, 0.01) 0px 0.125rem 0.125rem, rgba(0, 0, 0, 0.01) 0px 0.25rem 0.25rem, rgba(0, 0, 0, 0.01) 0px 0.5rem 0.5rem, rgba(0, 0, 0, 0.01) 0px 0.75rem 0.75rem, rgba(0, 0, 0, 0.01) 0px 1rem 1rem, rgba(0, 0, 0, 0.01) 0px 1.5rem 1.5rem;
}

.card-img{
    flex:1;
    align-self: stretch;

}

.card-img img{
    max-width: 116px;
    object-position: center center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.card-text{
    flex:8;
    padding: 1.1rem;
    width: 100%;
}

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

/* content-intro styles */
.content-container{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 20px 0 20px;

}

.header-text{
    margin-bottom: 3rem;
}

.header-text h1{
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.header-text p{
    font-size: 1.1rem;
    line-height: 1.6;
}


.intro-video {
    position: relative;
    padding-top: 56.25%; /* Aspect ratio */
    width: 100%; /* Responsive width */
}

.intro-video iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.intro-video video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}


/* content lessons*/
.content-lessons-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;

}

.section-card{
    box-shadow: rgba(0, 0, 0, 0.01) 0px 0.0625rem 0.0625rem, rgba(0, 0, 0, 0.01) 0px 0.125rem 0.125rem, rgba(0, 0, 0, 0.01) 0px 0.25rem 0.25rem, rgba(0, 0, 0, 0.01) 0px 0.5rem 0.5rem, rgba(0, 0, 0, 0.01) 0px 0.75rem 0.75rem;
    padding: 1.36rem;
    border-radius: 1rem;
    margin: 25px 0;
}

.section-card summary::-webkit-details-marker {
    display: none;
}

.section-card details summary{
    list-style: none !important;
}

.section-card-header{
    position:relative;
    list-style: none !important;
    padding-right: 2rem;
    cursor: pointer;
}


.section-card-header h4{
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgb(13, 22, 27);
    display: inline;
}

.section-card-header .plus{
    position: absolute;
    top: 3px;
    right: 0px;
    transition: filter 0.3s ease-in-out;
    
}

.section-card-header .plus:hover {
    filter: drop-shadow(0 0 8px blue); /* Blue glow */
}

.section-card-header .minus{
    position: absolute;
    top: 3px;
    right: 0px;

}

.section-card-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.section-card-lesson{
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    column-gap: 0.3rem;
    max-width: 100%;
}

.lesson-play{
    flex-shrink: 0;
    transform: scale(1.1);
    transition-duration: 0.15s;
    fill: rgb(13, 22, 27);
}

.lesson-title {
    color: rgb(13, 22, 27);
    display: flex;
    -webkit-box-flex: 1;
    flex-grow: 1;
    min-width: 0px;

}

.lesson-title-span{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    line-height: 1.6;
}

.section-card-lesson-url{
    line-height: 1.75;
    border: 0px;
    cursor: pointer;
    display: inline-block;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-color: initial;
    text-align: center;
    outline: none;
    padding: 8px 16px;
    font-size: 0.8rem;
    text-decoration-style: unset;
    background-color: rgb(96, 28, 252);
    color: rgb(255, 255, 255);
    transition: all 0.15s ease-in-out 0s;
    border-radius: 0.125rem;
    font-weight: 700 !important;
    width: 110px;
}



/* Modal styles */

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    position: absolute; /* Changed to absolute for better control */
    padding: 4rem 2rem;
    border: 1px solid #888;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Correctly center modal */
    width: 1200px; /* Fixed width */
    max-width: 95%; /* Responsive max width */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: adds depth to the modal */
}

#modalTitle {
    font-size: 1.25rem;
    position: absolute;  /* Make sure it's positioned relative to the nearest positioned ancestor */
    bottom:0px;           /* Position it at the top right corner of the modal content */
    left: 5px; 
}

.close {
    color: black;
    position: absolute;  /* Make sure it's positioned relative to the nearest positioned ancestor */
    top:-30px;           /* Position it at the top right corner of the modal content */
    right: 5px;         /* Adjust these values as needed for your design */
    z-index: 1100;       /* Higher than the iframe to ensure it's clickable and visible */
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}


.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
}

.modal-video-wrapper {
    position: relative;
    padding-top: 56.25%; /* Maintain a 16:9 aspect ratio */
    height: 0; /* This prevents the container from contributing to the height directly */
}


.modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Responsive width */
    height: 100%; /* Height based on padding-top */
}


/* reviews styles */
.reviews {
    background-color: var(--primary-color);
    margin-top: 10rem;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 20px;

}

.reviews-header{
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.reviews-header img{
    object-fit: cover;
    object-position: center center;
}



.reviews-header-text-contet h1{
    font-size: 2.5rem;
    margin-bottom: 0.1875rem;
    line-height: 1.5;
    color:#fff ;
}

.reviews-header-text-contet p{
    font-size: 1.1rem;
    color:rgb(197, 162, 255);;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 4.5rem;
}

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

.review-item img {
    width: 100%;

}

/* reviews elzero*/

.elzero{
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(96,28,252,1) 90%);
}

.elzero-container {
    background-color: var(--primary-color);
     display: flex;
     align-items: center;
     gap:4rem;
     padding: 3.4rem;
     margin: 0 auto;
     max-width: 1160px;
     border-radius: 2rem;
     box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 10px;
}


.elzero-container .video-container-elzero  {
    flex: 3;

}

.elzero-container .video-wrapper-elzero {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; /* This prevents the container from contributing to the height */
}

.video-thumbnail-elzero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px; /* Match the iframe border */
    z-index: 1;
}

.w-big-play-button-elzero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    height: 59.2529px; 
    box-shadow: none; 
    width: 92.5826px;
    border: 0;
    transition: background-color 150ms ease 0s;
    background-color: rgba(96, 28, 252, 0.97);
    
}

.w-big-play-button-elzero:hover{
    background-color: rgba(120, 84, 241, 0.97);
    
}

.elzero-container .video-wrapper-elzero  iframe{
    position: absolute;
    border-radius: 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}


.elzero-container .text-elzero {
    flex:2;
    text-align: right;
}


.elzero-container .text-elzero h3 {
    font-size: 1.45rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #fff;
}

.elzero-container .text-elzero p {
    font-size: 1rem;
    color:rgb(198, 171, 255);
    font-weight: 400;

}


/* promo styles */
.promo-section {
    margin-top: 10rem;
    background: linear-gradient(to bottom, white 19.5%, #601cfc 19.5%, #601cfc 61%);
}

.promo-container {

    max-width: 1344px;
    padding: 2.25rem 20px;
    margin: 0 auto;
}

.promo-content {
    display: flex;
    align-items: center;
    flex-flow: row;
    gap: 2.8rem;
}

.promo-text {
    flex-basis: 50%;
    width: 100%;
    color: #fff;
}

.promo-text h2 {
    font-size: 1.45rem;
    font-weight: 700;

}

.promo-text p {
    font-size: 1rem;
    margin: 1.05rem 0;
}

.buttons-wrapper{
    display: flex;
    margin-top: 4.5rem;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.promo-buttons .wrapper{
    display: flex;
    gap: 1.4rem;
}

.promo-button {
    line-height: 1.75;
    text-transform: none;
    appearance: none;
    border: 0px;
    cursor: pointer;
    display: inline-block;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-color: initial;
    text-align: center;
    outline: none;
    padding: 16px 20px;
    font-size: 1.1rem;
    text-decoration-style: unset;
    background-color: rgb(255, 255, 255);
    color: rgb(96, 28, 252);
    transition: all 0.15s ease-in-out 0s;
    border-radius: 0.125rem;
    font-weight: 700;
}

.promo-button:hover {
    /* Raise the button up slightly */
    transform: translateY(-4px);
    /* Adjust box-shadow to enhance the raised effect */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
.promo-image {
    width: 100%;
}

.promo-image img {
    object-fit: cover;
    object-position: center center;
    margin: 0px auto;
    border-radius: 5px;
    max-width: 100%;
}

/* mentor styles */
.mentor{
    position: relative;
    background-color: rgb(255, 255, 255);
}

.mentor-container {
    position: relative;
    margin: 0px auto;
    padding: 1rem 20px;
    max-width: 1200px;
    display: flex;
    flex-flow: row nowrap;
    gap: 1.9rem;
    align-items: center;

}

.mentor-img{
    width: 70%;
}

.mentor-img img{
    object-fit: cover;
    object-position: center center;
    margin: 0px auto;
    border-radius: 20px;
    max-width: 100%;
}

.mentor-text-wrapper {
    flex-basis: 50%;
    color: rgb(13, 22, 27);
}

.mentor-text{
    margin-top: 0px;
    margin-right: -11.4rem;
    background-color: rgb(255, 255, 255);
    border-radius: 6px;
    padding: 1.9rem;
    position: relative;
}

.mentor-text h3{
    line-height: 1.5;
    font-size: 1.4rem;
    font-weight: 700;
}

.mentor-text-paras {
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400 !important;
    margin-top: 0.7125rem;
}

.mentor-text-paras p {
    margin-bottom: 0.7125rem;
}

.mentor-text-paras .quote{
    border-color: rgba(13, 22, 27, 0.2);
    padding: 0 0 0 1rem;
    border-left-width: 2px;
    border-left-style: solid;
}

.mentor-text-paras hr {
    border-top: 1px solid rgba(13, 22, 27, 0.2);
    display: block;
    color: transparent;
    margin: 2.2rem 0px;
}


/* companies */
.companies{
    position: relative;
    background-color: rgb(255, 255, 255);
}

.companies-container{
    position: relative;
    margin: 0px auto;
    padding: 2.25rem 20px;
    max-width: 1200px;
    display: flex;
    flex-flow: column-reverse nowrap;
    gap: 2rem;
    align-items: center;
}

.companies-img{
    width:100%;
}

.companies-img img{
    object-fit: cover;
    object-position: center center;
    margin: 0px auto;
    border-radius: 5px;
    max-width: 100%;
}

.companies-text{
    text-align: center;
}

.companies-text p{
    color: rgb(13, 22, 27);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400 !important;
}

/*faqs styles*/

.faqs{
    position: relative;
    background-color: rgb(255, 255, 255);
}

.faqs-container{
    position: relative;
    margin: 0px auto;
    padding: 8rem 20px;
    max-width: 1200px;
}

.faqs-grid{
    display: grid;
    gap: 1rem;
    -webkit-box-align: center;
    align-items: center;
    grid-template-areas: "header";
    grid-template-columns: repeat(1, 1fr);
}

.faqs-grid-header{
    grid-area: header;
    color: rgb(13, 22, 27);
}

.faqs-grid-header h2{
    font-size: 1.45rem;
    line-height: 1.5;
}

.faqs-grid-header p{
    margin-top: 0.375rem;
    line-height: 1.6;
    font-size: 1rem;
}

.faqs-grid-item details summary::-webkit-details-marker {
    display: none;
}

.faqs-grid-item details summary{
    cursor: pointer;
    list-style: none;
    padding-right: 2rem;
    position: relative;
}

.faqs-grid-item details summary h3{
    font-size: 1.4rem;
    line-height: 1.5;
    display: inline;
}

.faqs-grid-item details p{
    margin-top: 0.375rem;
    line-height: 1.6;
    font-size: 1rem;
}

.faqs-grid-item details summary .faqsPlus, .faqs-grid-item details summary .faqsMinus{
    position: absolute;
    top: 8px;
    right: 0px;
}




/* footer styles */
footer{
    background-color: rgb(30, 40, 51);
}

.footer-container{
    position: relative;
    margin: 0px auto;
    padding: 2rem 20px;
    max-width: 1248px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo{
    display: flex;
    padding: 2rem 0;
    flex-flow: column nowrap;
    gap: 1rem;
    -webkit-box-align: center;
    align-items: center;
}

.footer-logo-img-container{
    width: 45%;
}

.footer-logo-img-container img{
    object-fit: cover;
    object-position: center center;
    margin: 0px auto;
    border-radius: 5px;
    max-width: 100%;
    display: block;
}

.footer-logo-slogan{
    flex-basis: 50%;
}

.footer-logo-slogan p{
    text-align: center;
    color: rgb(157, 157, 157);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-email{
    display:flex;
    flex-direction: row;
    gap: 0.7rem;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.footer-email-text{
    width: 100%;
}

.footer-email-text h2{
    font-size: 1.45rem;
    margin:0;
    line-height: 1.5;
    color:#fff;

}

.footer-email-text p{
    line-height: 1.75;
    margin-top: 0.175rem;
    color:rgb(154, 160, 163);
    font-size: 1rem;
}

.footer-email form{
    width: 100%;
}

.form-container{
    display: flex;
    gap: 0.525rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.form-container button{
    line-height: 1.75;
    text-transform: none;
    appearance: none;
    border: 0px;
    cursor: pointer;
    display: inline-block;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-color: initial;
    text-align: center;
    outline: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    text-decoration-style: unset;
    background-color: rgb(96, 28, 252);
    color: rgb(255, 255, 255);
    transition: all 0.15s ease-in-out 0s;
    border-radius: 0.125rem;
    font-weight: 700 !important;

}

.form-input{
    flex: 1 1 auto;
}

.form-input label{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0px, 0px, 0px, 0px);
    white-space: nowrap;
    border-width: 0px;
}

.form-input input{
    width: 100%;
    line-height: 1.75;
    padding: 12px 20px;
    font-size: 1.1rem;
    color: rgb(248, 255, 255);
    background: rgb(52, 68, 83);
    border: 1px solid rgba(13, 22, 27, 0.2);
    border-radius: 4px;
    outline: none;
    font-weight: 400 !important;
}

.footer-end{
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
}

.social-links{
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;

}

.footer-links{
    display: flex;
    align-items: center;
    flex-basis: 55%;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links nav{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.875rem;
    column-gap: 0.525rem;
}

.footer-links nav ul{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.875rem;
    margin: 0px;
    padding-inline-start: 0px;
    -webkit-box-pack: center;
    justify-content: center;
    padding-left: 1.05rem;
    font-size:1rem ;
    

}

.footer-links nav ul li{
    display: inline-block;
    
}

.footer-links nav ul li a{
    color:rgb(146, 151, 161);
}

.social-icons{
    display: flex;
    gap: 0.875rem;
    flex-basis: 37%;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;

}

.social-icons svg{
   fill: rgb(160, 160, 160);
   transform: scale(1.1);
}

.footer-end .terms{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.875rem;
    column-gap: 0.525rem;
    margin-top: 0.7rem;
    font-size: 1rem;
}

.terms ul{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.875rem;
    margin: 0px;
    padding-inline-start: 0px;
    -webkit-box-pack: center;
    justify-content: center;
    padding-left: 1.05rem;
}

.terms ul li{
    display:inline-block;
}

.terms ul li a{
    font-size: 0.9rem;
    line-height: 1.6;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: normal;
    color: rgba(160, 160, 160, 0.4);
    font-weight: 400 !important;
}



/* Responsive styles */
@media (max-width: 960px) {

    nav{
        display: none;
    }


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




    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .community-container {
        flex-direction: column;
    }

    .islam .community-img {
        order:1;
    }
    .islam .community-text{
        order:2;
    }

    .certificate-container{
        flex-direction: column;
    }

    .stages-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .stage-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .subject-card{
        flex-direction: column;
    }

    .card-img img{
        max-width: 58px;
        border-radius: 10px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .modal-content {
        width: 95%; /* Increase width on smaller screens for better visibility */
        max-width: none;
    }

    #modalTitle{
        font-size: 0.9rem;
    }

    .reviews-header{
        flex-direction: column-reverse;
        gap:2rem;
    }


    .reviews-header img{
        width:40%;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .elzero-container{
        flex-direction: column;
        align-items: normal;
        width: 92%;
    }

    .promo-content{
        flex-wrap: wrap;
    }

    .promo-text {
        flex-basis: 100%;
        
    }

    .promo-buttons .wrapper{
        flex-direction: column;
    }

    .mentor-container{
        flex-wrap: wrap;
    }

    .mentor-text{
        margin-right: 0;
        margin-top: -4rem;
    }

    .mentor-text-wrapper{
        flex: 1 1 100%;
        width: 100%;
    }

    .mentor-img{
        width: 100%;
    }

    .companies-container{
        flex-wrap: wrap;
    }

    .footer-logo{
        flex-wrap: wrap;
    }

    .footer-logo-slogan{
        flex: 1 1 100%;
        width: 100%;
    }

    .footer-email{
        flex-direction: column;
    }

    .footer-email-text{
        width: auto;
    }

    .form-container{
        flex-wrap: wrap;
    }


}

@media (max-width: 400px) {

.form-container button{
    flex: 0 1 100%;
}
}