
/*header*/
body{
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3{
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}
h1{font-size: 2.8rem;
}
h2{
    font-size: 2.2rem; margin-top: 1.5rem;
}
h3{
    font-size: 1.6rem;
}
p{
    margin-bottom: 1rem;
}
.lead-text{
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #554;
}
a{
    text-decoration: none;
    color: rgb(11, 51, 228);
}
a:hover{
    color: rgb(228, 32, 6);
}
ul{
    list-style: none;
}
img{
    max-width: 100%;
    height: auto;
    display: block;/*supp space*/
}
.text-center{
    text-align: center;
}
.section-padding{
    padding: 80px;
}
/*btn*/
.btn{
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background-color 0,3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary{
    background-color: var(--primary-color);
    color:var(--white-color);
}
.btn-primary:hover{
    background-color: #5bb3b1;
}
.btn-secondary:hover {
    background-color: #ecd4d1;
    
}
.btn-secondary{
    margin-top: 40px;
    
}
.btn-outline{
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color); 
}
.btn-outline:hover{
    background-color: var(--primary-color);
    color: var(--dark-color);
}
.btn-large{
    padding: 15px 35px;
    font-size: 1.1rem;
    margin: 10px;
}
.main-header {
    background-color: #ecfcfc;
    padding: 4px ;
    box-shadow: 0 2px 5px rgb(0, 51, 228);
}
.main-header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo b {

    font-size: 1.5rem;
    font-weight: bold;
    color: #e22f5c; /* Darker logo color */
}
.main-nav ul{
    display:inline-flex;
    align-items: center;
}

 .main-nav a {
    z-index: 2;
    color: #555;
    transition: color 0.3s ease;
  }
.main-nav ul li{
    color: rgb(243, 113, 124);
    font-weight: 600;
    padding: 15px;
    position: relative;
}
.main-nav ul li a:hover{
    color:var(--primary-color);
}
.main-nav ul li a.btn{
    margin-left: 10px;
}
.hero-section {
    background-image: url("img/c97.jpg");
    height: 600px; /*modfi*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color:var(--white-color);
    position: relative;
}
.hero-section::before{
    content: "";
    position:absolute;
    top: 0;
    left: o;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0,0.4);
}
.hero-content{
    position: relative;
    z-index: 1;
}
.hero-content h1{
    margin-bottom: 1.5rem;
    color: rgb(5, 5, 5);
    text-shadow: 2px rgb(0, 0, 0,0.5);/*modif*/
}
h1{
    text-align: center;
    color: #fff;
}
.hero-content p{

    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgb(122, 243, 192);/*modif*/
    text-shadow: 2px rgb(245, 240, 240);
}
/*fin*/
/*service grid*/
h2{
    text-align: center;

}
.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 30px;
    margin-top: 3rem;
}
.service-card{
    background-color: #fff;
    padding: 35px;
    border-radius: var(--dark-color);
    box-shadow: var(--box-shadow-medium);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-bottom: 5px solid var(--primary-color);
}
.service-card:hover{
    transform: translateY(-8px);
    background-color: rgb(240, 255, 247);
    border-color: #e22f5c;
}
.service-card i{
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}
.service-card:hover i {
    color: var(--light-color);
}
.service-card h3{
    color: rgb(255, 47, 47);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    transition:  color 0.3s ease;
}
.service-card:hover h3{
    color: #5bb3b1;
}
.service-card p{
    font-size: 0.99rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}
.service-card:hover p{
    color:var(--light-color)
}
.enrollment-steps{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
    text-align: center;
}

.enrollment-steps li{
    background-color: #fff;
    padding: 30px;
    border-radius: #0000;
    box-shadow: #e22f5c;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}
.enrollment-steps li:hover{
    transform: translateY(-5px);
}
.enrollment-steps li i{
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background:#f3c6d2;
    border-radius: 50%;
    padding: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0,0.05);
}
.enrollment-steps li h4{
    color: red;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.enrollment-steps li p{
    font-size: 0.99rem;
    color: var(--text-light-color);
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.footer-col h3{
    color: #35e608fb;
    margin-bottom: 20px;
}
.footer-col p, .footer-col li{
    font-size: 0,95rem;
    line-height: 1.8;
}
/* --- Responsive Design --- */
@media (max-width: 992px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    .main-nav ul li {
        margin: 5px 15px;
    }
    .main-nav ul li a.btn {
        margin: 5px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    .lead-text { font-size: 1rem; }

    .hero-section {
        height: 500px;
    }
    .about-grid, .program-grid, .gallery-grid, .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-nav ul li a {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    .main-nav ul li a.btn {
        padding: 8px 15px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .cta-contact-section .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
}

