* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f9f9f9;
}

/* Header Styles */
.header {
  width: 100%;
  height: 70px;
  background: #1e293b; /* dark navy */
  padding: 15px 30px;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}
.header>img{
  width: 80px;
  height: 40px;
}


.navlist .list {
  list-style: none;
  padding: 10px;
  gap: 30px;
  position: relative;
  top: -40px;
  
}
.list{
  display: flex;
  justify-content: end;
}

.navlist .list li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navlist .list li a:hover {
  color: #38bdf8; /* cyan highlight */
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navlist {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    background: #1e293b;
    transition: left 0.4s ease;
  }

  .navlist .list {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
    position: relative;
    top: 0px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 40px;
    top: 30px;
  }

  /* Show menu when active */
  .navlist.active {
    left: 0;
  }

  /* Hamburger animation */
  .menu-toggle.active .hamburger {
    transform: rotate(45deg);
  }

  .menu-toggle.active .hamburger::before {
    transform: rotate(-90deg) translate(-7px, -0px);
  }

  .menu-toggle.active .hamburger::after {
    opacity: 0;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: relative;
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
    transition: 0.4s;
    border-radius: 2px;
  }
  .hamburger::before {
    top: -7px;
  }

  .hamburger::after {
    top: -3px;
  }
}

  /*model Start*/

.modal { 
        display: block;  
        position: fixed; 
        z-index: 1; 
        left: 0; 
        top: 0; 
        width: 100%; 
        height: 100%; 
        overflow: auto; 
        background-color: rgba(0,0,0,0.4); 
    } 
    .modal-content { 
        background-color: #fefefe; 
        margin: 15% auto; 
        padding: 20px; 
        border: 1px solid #888; 
        width: 80%; 
        max-width: 600px; 
        text-align: center; 
        position: relative;
        z-index: 100;
    } 
    .close-btn { 
        color: #aaa; 
        float: right; 
        font-size: 28px; 
        font-weight: bold; 
        cursor: pointer; 
    } 
    .close-btn:hover, 
    .close-btn:focus { 
        color: black; 
        text-decoration: none; 
        cursor: pointer; 
    } 
    .popup-body { 
        width: 100%;
        height: 450px;
        display: flex; 
        align-items: center; 
        justify-content: center; 
        position: relative;
        z-index: 100;
    } 
    .logo-left, .logo-right { 
        max-width: 300px; 
        height: auto; 
    } 
    .divider { 
        width: 2px; 
        height: 10px; 
        background-color: #ccc; 
        margin: 0 20px; 
    } 
    
    
    
    /*model end*/


/* Home Section */
.homepage {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url('../image/background-computer.jpg') no-repeat center center/cover; /* add your background image */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  z-index: -1;
}

/* Dark overlay */
.homepage::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content inside */
.homepage .center {
  position: relative;
  z-index: 2;
  /* max-width: 800px; */
  text-align: center;
  padding: 20px;
}

.homepage .title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.homepage .sub_title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 25px;

}

/* Buttons */
.homepage .btns button {
  padding: 12px 30px;
  margin: 10px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.homepage .btns button:first-child {
  background: #38bdf8;
  color: #fff;
}

.homepage .btns button:first-child:hover {
  background: #0ea5e9;
}

.homepage .btns button:last-child {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.homepage .btns button:last-child:hover {
  background: #fff;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .homepage .title {
    font-size: 2.2rem;
  }
  .homepage .sub_title {
    font-size: 1rem;
  }
  .homepage .btns button {
    padding: 10px 20px;
    font-size: 14px;
  }

}

/* General Styling */
#courses {
  padding: 60px 20px;
  background: #f8f9fc;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

#courses .courses-text {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #2d2d2d;
  position: relative;
  display: inline-block;
}

/* Container Grid */
#courses .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
  align-items: stretch;
}

/* Each Course Item */
#courses .item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 20px;
} 

#courses .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Image Card */
#courses .card {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#courses .card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

#courses .item:hover .card img {
  transform: scale(1.05);
}

/* Decorative Circles */
.circle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.circle1 {
  width: 120px;
  height: 120px;
  background: rgba(0, 123, 255, 0.15);
  top: -30px;
  right: -30px;
}

.circle2 {
  width: 80px;
  height: 80px;
  background: rgba(255, 193, 7, 0.2);
  bottom: -20px;
  left: -20px;
}

/* Text Content */
#courses .content {
  margin: 15px 0;
  text-align: left;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  min-height: 100px;
}

#courses .text-card {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #007bff;
}
    article {
      padding: 40px 20px;
      max-width: 1200px;
      margin: auto;
    }

    .courses-text {
      text-align: center;
      font-size: 32px;
      margin-bottom: 30px;
      color: #222;
    }

    .container-certified {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .course-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 15px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .course-card:hover {
      transform: translateY(-5px);
    }

    .course-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 10px;
    }

    .course-card h2 {
      font-size: 20px;
      margin: 12px 0 5px 0;
      color: #0073e6;
    }
    .delete-price{
      font-size: 12px;
      font-weight: bold;
      margin-bottom: 1px;
      display: block;
    }
    .price {
      font-size: 18px;
      font-weight: bold;
      color: #e63946;
      margin-bottom: 10px;
      display: block;
    }

    .course-card p {
      font-size: 14px;
      color: #444;
      line-height: 1.5;
    }

    .more-text {
      display: none;
      margin-top: 8px;
    }

    .read-more {
      margin-top: 12px;
      padding: 8px 15px;
      border: none;
      background: #0073e6;
      color: #fff;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .read-more:hover {
      background: #005bb5;
    }
/* ===== Gallery Section ===== */
#gallery {
  padding: 60px 20px;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2d2d2d;
}

.gallery-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

/* ===== Gallery Grid ===== */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

/* ===== Gallery Items ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  background: #000;
}

.gallery-item img,
.gallery-item video,
.gallery-item iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 15px;
}

.gallery-item:hover img,
.gallery-item:hover video,
.gallery-item:hover iframe {
  transform: scale(1.05);
}

/* ===== Overlay Effect ===== */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gallery-title {
    font-size: 2rem;
  }
  .gallery-subtitle {
    font-size: 1rem;
  }
}

#location {
      padding: 50px 20px;
      text-align: center;
    }

    .courses-text {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: #2d2d2d;
    }

    .location-container {
      max-width: 1000px;
      margin: auto;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    /* ====== Contact Form Section ====== */
    .wrapper {
      max-width: 600px;
      margin: 60px auto;
      background: #fff;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    .wrapper h2 {
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.8rem;
      color: #222;
    }

    #error_message {
      margin-bottom: 15px;
      padding: 10px;
      background: #ffcccc;
      color: #d8000c;
      border-radius: 10px;
      display: none; /* Show only when JS validation fails */
    }

    /* ====== Form Fields ====== */
    .input_field {
      margin-bottom: 20px;
    }

    .input_field input,
    .input_field textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ccc;
      border-radius: 10px;
      font-size: 1rem;
      outline: none;
      transition: border 0.3s ease;
    }

    .input_field input:focus,
    .input_field textarea:focus {
      border-color: #0077ff;
      box-shadow: 0 0 5px rgba(0, 119, 255, 0.3);
    }

    textarea {
      min-height: 120px;
      resize: none;
    }

    /* ====== Button ====== */
    .btn input {
      width: 100%;
      padding: 12px;
      background: #0077ff;
      color: #fff;
      border: none;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .btn input:hover {
      background: #005fcc;
    }


    /* ====== Responsive ====== */
    @media (max-width: 768px) {
      .courses-text {
        font-size: 1.8rem;
      }

      .wrapper {
        margin: 30px 15px;
        padding: 20px;
      }
    }

    .footer-distributed {
  background: #2c2c2c;
  color: #fff;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.2);
}

/* Left */
.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-left h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}
.footer-left h3 span {
  color: #0077ff;
}
.footer-links {
  margin: 10px 0;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  margin-right: 15px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}

/* Center */
.footer-center {
  flex: 1;
  min-width: 250px;
}
.footer-center div {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.footer-center i {
  background: #0077ff;
  color: #fff;
  font-size: 16px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  margin-right: 15px;
}
.footer-center p {
  margin: 0;
  color: #bbb;
}
.footer-center p a {
  color: #0077ff;
  text-decoration: none;
}
.footer-center p a:hover {
  text-decoration: underline;
}

/* Right */
.footer-right {
  flex: 1;
  min-width: 250px;
}
.footer-company-about {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 15px;
}
.footer-company-about span {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s, color 0.3s;
}
.footer-icons a:hover {
  color: #0077ff;
  transform: scale(1.2);
}

/* Bottom Bar */
.text-footer-footer {
  background: #1f1f1f;
  text-align: center;
  padding: 12px;
}
.text-span-foter {
  font-size: 0.9rem;
  color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-distributed {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .footer-center div {
    justify-content: center;
  }
  .footer-links a {
    display: inline-block;
    margin: 8px;
  }
  .footer-icons {
    margin-top: 10px;
  }
}

.whatsapp-float {
   position: fixed;
   bottom: 20px;
   right: 20px;
   z-index: 100;
}