/* ===== General Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #333;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    color: #ff9800;
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}


/* ===== Sections ===== */
section {
    min-height: 100vh;
    padding: 100px 20px;
}

#home { background: #f4f4f4; }
#about { background: #ddd; }
#programs { background: #bbb; }
#whychoose { background: #999; }
#ourpartner { background: #999; }
#contact { background: #777; color: white; }
/* Home Section Layout */
.home-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Slider */
.slider {
    position: relative;
    width: 50%;
    max-width: 500px;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    flex-shrink: 0;
}

/* Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}

/* Text Content */
.home-text {
    flex: 1;
}

.home-text h1 {
    margin-bottom: 15px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 800;
    font-size: 40px;
}
.home-text p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .home-container {
        flex-direction: column;
        text-align: center;
    }
    .slider {
        width: 100%;
    }
}

/* ===== Footer ===== */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #333;
        display: none;
    }
    .navbar ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}
#about p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    flex: 1;
    padding-top: 40px;
    margin: 10px 0 0 0;   
    font-weight: bold;
    line-height: 1.8;    
    white-space: normal; 
    word-wrap: break-word; 
}
#about h1{
    text-decoration: underline;
    font-size: 30px;
}

/* Program Section */
.programs-section {
    padding: 60px 20px;
    text-align: center;
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.program-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px;   
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;   
    align-items: center;      
    justify-content: space-between; 
    height: 280px;
    margin-top: 60px;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 100%;
    height: 180px;   
    object-fit: cover; 
    border-radius: 8px;
    cursor: pointer;
}

.program-card img:hover {
    transform: scale(1.05);
}

.program-card p {
   margin: 10px 0 0 0;  
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* Fullscreen Image Popup */
.img-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}

.img-modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.img-modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/* Why Choose Us Section */
.why-choose-section {
    padding: 60px 20px;
    background: #ffffff;
    text-align: center;
}

.why-choose-section h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #222;
}
#why-choose-us p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.why-choose-section .intro-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #555;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.why-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.why-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

/* Zoom effect */
.why-img img:hover {
    transform: scale(1.2);
}

.why-card h3 {
    margin: 15px 0 10px;
    font-size: 20px;
    color: #333;
}

.why-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.why-buttons {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    background: #333;
    color: white;
}

.btn:hover {
    background: #ff9800;
}

.info-btn {
    background: #28a745;
}

.info-btn:hover {
    background: #1e7e34;
}

/* Contact Section */
#contact {
    background: #f4f4f4;
    text-align: center;
    padding-bottom: 40px;
}

#contact h1 {
    margin-bottom: 10px;
    color: #000;
}

#contact p {
    margin-bottom: 30px;
    color: #000;
}

.contact-container {
    max-width: 600px;
    margin: auto;
    padding: 0 20px;
}

.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-submit {
    background: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-submit:hover {
    background: #ff9800;
}
/* partner */
.partners {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 40px;   
    flex-wrap: wrap;
    margin-top: 30px;
}

.partner {
    width: 300px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.partner:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
}

.partner img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.partner p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Footer */
footer {
      background: #333;
      color: white;
      margin: 0;
      padding-top: 40px;
      font-family: Arial, sans-serif;
    }

    .footer-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
      padding: 0 20px 30px;
      gap: 30px;
    }

    .footer-container > div {
      flex: 1 1 250px;
    }

    .footer-container h3 {
      margin-bottom: 15px;
      color: #ff9800;
      font-size: 18px;
    }

    .footer-container p {
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 10px;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links ul li {
      margin-bottom: 8px;
    }

    .footer-links ul li a {
      color: white;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-links ul li a:hover {
      color: #ff9800;
    }

    /* Social Icons */
    .footer-social a img {
      width: 26px;
      height: 26px;
      margin-right: 10px;
      transition: transform 0.3s;
    }

    .footer-social a img:hover {
      transform: scale(1.2);
    }

    /* Copyright Section */
    .footer-bottom {
      background: #222;
      text-align: center;
      padding: 12px 0;
      font-size: 13px;
      margin-top: 10px;
      border-top: 1px solid #444;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        text-align: center;
      }
      .footer-social {
        margin-top: 10px;
      }
    }
