* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f9fcff;
    color: #333;
}

/* Navbar */
.navbar {
    background: #031222;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 1.2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffe082;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        background: #4a90e2;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }
}

/* Hero */
.hero {
    height: 90vh;
    background: url('images/class.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(4, 23, 45, 0.5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text {
    color: #fff;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: #ffb74d;
    color: #333;
    padding: 0.8rem 1.4rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #ffa726;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section h2 {
    text-align: center;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.alt-bg {
    background-color: #eef6fb;
}

/* Programs Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
footer {
    background: #4a90e2;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.section-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #444;
}

#programs .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

#programs .card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#programs .card:hover {
    transform: translateY(-5px);
}

#programs .card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1 1 400px;
}

.about-text h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #004aad;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
}

.about-img-grid {
    flex: 1 1 400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.about-img-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img-grid img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
}
/* Navbar Base */
.navbar {
    background-color: white;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #004aad;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #004aad;
}

/* Hamburger Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Mobile view */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.show {
        display: flex;
    }
}

/* Optional: Animate hamburger into X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.social-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.video-card {
    width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card img {
    width: 100%;
    display: block;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
  color: #333;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* Input & Select Styling */
form label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 600;
  color: #444;
}

form input,
form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 15px;
  transition: 0.3s;
}

form input:focus,
form select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0px 0px 6px rgba(0,123,255,0.4);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #0056b3, #003f88);
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  form input,
  form select {
    font-size: 14px;
    padding: 10px;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


.social-icons {
  margin-top: 25px;
  text-align: center;
}

.social-link {
  display: inline-block;
  margin: 0 12px;
  transition: transform 0.3s ease;
}

.social-link img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.social-link:hover {
  transform: scale(1.15);
}



