
  body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* ====== Header ====== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #eac12b;
  padding: 10px 30px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

ul li {
  position: relative;
  margin-left: 20px;
}

ul li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  display: block;
}

ul li a:hover {
  color: #095b8a;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #eac12b;
  min-width: 200px;
  z-index: 1000;
  flex-direction: column;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 10px 15px;
  color: #fff;
}

.dropdown-menu li a:hover {
  color: #095b8a;
}

/* Toggle Button for Mobile */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .logo img {
    height: 40px;
    margin-bottom: 10px;
  }

  .menu-toggle {
    display: block;
  margin-top: -50px;
    margin-left: 90%;
  }

  ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #eac12b;
  }

  ul.active {
    display: flex;
  }

  ul li {
    margin: 0;
    width: 100%;
  }

  ul li a {
    width: 100%;
    padding: 10px;
    background-color: #eac12b;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
  }
}

 
/* ====== Container ====== */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.column {
  flex: 1 1 45%;
}

.container h2 {
  color: #27ae60;
  margin-top: 0;
}

.container p {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

 
/* ====== Page Top Banner ====== */
.head {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.head h1 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.head .highlight {
  font-size: 1.2em;
  color: #27ae60;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.head img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
}

@media (max-width: 768px) {
  .head h1 {
    font-size: 1.5em;
  }

  .head .highlight {
    font-size: 1em;
  }

  .head img {
    width: 100%;
    max-width: 100%;
  }
}

/* ====== Contact Center Section ====== */
.contact-center { 
    padding: 30px 20px;
    background-color: #ffffff; 
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    margin-left: -60%;
    margin-right: 70%;
    margin-top: 10%;
}

.contact-center h3 {
  color: #27ae60;
  margin-bottom: 15px;
}

.contact-center p {
  margin: 8px 0;
  font-size: 16px;
}

.contact-center a {
  color: #095b8a;
  text-decoration: none;
}

.contact-center a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-center {
    padding: 20px 15px;
    background-color: #ffffff;
    max-width: 90%;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    text-align: center;
  }

  .contact-center h3 {
    color: #27ae60;
    margin-bottom: 12px;
    font-size: 20px;
  }

  .contact-center p {
    font-size: 14px;
    margin: 6px 0;
  }

  .contact-center a {
    color: #095b8a;
    text-decoration: none;
  }

  .contact-center a:hover {
    text-decoration: underline;
  }
}

   
  
  /* --- FOOTER STYLING --- */
.footer {
  background-color: #1f1e40;
  color: #f5f4f5;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
}

.footer .brand-info {
  flex: 1 1 250px;
}

.footer .brand-info img {
  width: 75px;
  margin-bottom: 15px;
}

.footer .brand-info h3 {
  margin: 8px 0;
}

.footer .brand-info p {
  line-height: 1.5;
}
 
/* --- Footer Links --- */
.footer-links {
  flex: 1 1 200px;
  padding-left: 70px;
  margin-top: 50px;
  padding-right: 20px;
}

.footer-links h4 {
  text-decoration: underline;
  margin-bottom: 30px;
}

.footer-links p {
  position: relative;
  margin: 15px 0;
  padding-left: 20px;
}

.footer-links p::before {
  content: "›";
  position: absolute;
  left: 10px;
}

.footer-links a {
  color: #f5f4f5;
  text-decoration: none;
}

.footer-links p:hover,
.footer-links a:hover {
  color: #095b8a;
  text-decoration: underline;
}

/* --- Contact Section --- */
.footer-contact {
  flex: 1 1 300px;
}

.footer-contact iframe {
  width: 400px;
  height: 200px;
  border: none;
  margin-bottom: 15px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.footer-contact .contact-item i {
  margin-right: 10px;
  font-size: 18px;
}

.footer-contact .contact-item a {
  color: #f5f4f5;
  text-decoration: none;
}

.footer-contact .contact-item a:hover {
  color: #095b8a;
}

/* --- Social Icons --- */
.social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 15px;
  transition: color 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #095b8a;
}

/* --- Copyright --- */
.copyright {
  background-color: #1f1e40;
  color: #cccccc;
  font-size: 14px;
  width: 100%;
  margin-top: 30px;
}

.copyright .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.copyright .col-md-6 {
  padding: 5px 10px;
  text-align: left;
}

.copyright .col-md-6:last-child {
  text-align: right;
}

.copyright a {
  color: #f5f4f5;
  text-decoration: none;
}

.copyright a:hover {
  color: #095b8a;
  text-decoration: underline;
}

/* --- Responsive Footer --- */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    padding: 30px 15px;
  }

  .footer-links,
  .footer .brand-info,
  .footer-contact {
    padding: 0;
    margin-top: 20px;
    flex: 1 1 100%;
  }

  .footer-contact iframe {
    width: 100%;
    height: 180px;
  }

  .footer-links p {
    padding-left: 40px;
  }

  .social-icons a {
    font-size: 18px;
    margin-right: 10px;
  }

  .copyright .row {
    flex-direction: column;
    text-align: center;
  }

  .copyright .col-md-6 {
    text-align: center !important;
    margin: 5px 0;
  }
}


   /* ================= About Section ================= */
.about {
  margin: 20px;
}

.about img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about h4 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.about h1 {
  font-size: 28px;
  color: darkblue;
  margin-bottom: 20px;
}

.about p {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}


/* ================= About Section - Responsive ================= */
@media (max-width: 768px) {
  .about {
    margin: 10px;
  }

  .about .col-lg-6 {
    padding: 20px 10px !important;
  }

  .about img {
    width: 100%;
    margin-bottom: 20px;
  }

  .about h1 {
    font-size: 24px;
    text-align: center;
  }

  .about h4 {
    text-align: center;
  }

  .about p {
    font-size: 15px;
  }
}

/* ================= Courses Section ================= */
.course-container {
  margin: 40px auto;
  max-width: 1200px;
}

.course-container .card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.course-container .card:hover {
  transform: scale(1.03);
}

.image-wrapper img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.card-title {
  font-weight: bold;
  color: #1f1e40;
}

.card-text {
  font-size: 14px;
  color: #444;
}

.enroll-btn {
  background-color: #eac12b;
  color: #fff;
  border: none;
  font-weight: bold;
}

.enroll-btn:hover {
  background-color: #095b8a;
  color: #fff;
}

/* ============== Responsive ============== */
@media (max-width: 768px) {
  .image-wrapper img {
    height: auto;
  }

  .card-title {
    font-size: 16px;
  }

  .card-text {
    font-size: 13px;
  }

  .enroll-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}


 
      /* === Popup Styles === */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .popup-box {
      background: #fff;
      padding: 30px;
      max-width: 400px;
      width: 90%;
      border-radius: 10px;
      position: relative;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      background: none;
      border: none;
      color: #000;
      cursor: pointer;
    }

    .popup-right h2 {
      margin-bottom: 20px;
      font-size: 22px;
      color: #1f1e40;
    }

    .popup-box input,
    .popup-box select,
    .popup-box textarea {
      width: 100%;
      padding: 10px 12px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .popup-box button[type="submit"] {
      background-color: #eac12b;
      color: white;
      border: none;
      padding: 10px 20px;
      width: 100%;
      font-weight: bold;
      border-radius: 5px;
      cursor: pointer;
    }

    .popup-box button[type="submit"]:hover {
      background-color: #095b8a;
    }

    @media (max-width: 500px) {
      .popup-box {
        padding: 20px;
      }
    }


/* placements */
/* Section container */
.square-section {
  padding: 30px 15px;
  background-color: #f4f4f4;
}

/* Row styling */
.row {
  display: flex;
  justify-content: center; /* center the boxes */
  gap: 5%; /* space between boxes */
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Square box */
.square-box {
  width: 20%;
  aspect-ratio: 1 / 1; /* makes it square */
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0;
}

/* Video styling */
.square-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Use 'contain' or 'fill' based on preference */
  border-radius: 10px;
  display: block;
}

/* Paragraph inside box */
.square-box p {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

/* Responsive: full width boxes stacked */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .square-box {
    width: 80%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
  }

  .square-box video {
    border-radius: 10px;
  }
}

/* contact page */

 /* Contact Section */
    .container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      background-color: #7e8599;
      color: white;
      padding: 50px;
    }

    .heading h2 {
      font-size: 35px;
      margin-bottom: 30px;
    }
 
    .location {
      flex: 1;
      font-size: 18px;
      padding-right: 50px;
    }

    .location p {
      margin: 15px 0;
    }

    .contact-form {
      flex: 1;
    }

    .contact-form input,
    .contact-form select {
      width: 100%;
      height: 40px;
      padding: 8px;
      margin-bottom: 15px;
      font-size: 16px;
    }

    .contact-form button {
      width: 40%;
      font-size: 18px;
      padding: 10px;
      background-color: #eac12b;
      border: none;
      cursor: pointer;
    }

    .contact-form button:hover {
      color: white;
      background-color: #095b8a;
    }

    .help-block {
      font-size: 14px;
    }

    /* Map */
    .map {
      width: 100%;
      height: 500px;
      overflow: hidden;
      padding: 40px 50px 0 50px;
    }

    .map iframe {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 10px;
    }
    
    .contact-item a{
      color: #fff; 
      text-decoration: none;
      margin: 10px;
    }
    .contact-item a:hover{
      color: #095b8a;
    }

/* ================= MOBILE RESPONSIVE CSS =================== */
@media (max-width: 768px) {

  
  /* Contact Section */
  .container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .location {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .heading h2 {
    font-size: 28px;
    text-align: center;
  }

  .contact-form button {
    width: 100%;
  }

  /* Map */
  .map {
    padding: 20px;
    height: 300px;
  }

  .map iframe {
    height: 100%;
  }
}

