
/* Global reset and fix for mobile overflow */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  text-align: center;
 
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 70%;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 90%;
  margin-top: -50px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
  font-size: 13px;
}

.nav-menu a:first-child {
  color: red;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 0;
  }
}
.banner img{
  width: 100%;
  margin-top: 10px;
}
.mbanner img{
  width: 100%;
  margin-top: 10px;
  display: none;
}
@media (max-width: 768px) {
      .banner img{
      display: none;
    }
    .mbanner img{
      display: block;
    }
}
/* after banner section start here */
h2{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 30px;
  font-style: normal;
  text-align: center;
}
h3{
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  font-style: normal;
  text-align: center; 
  margin-bottom: 0.5rem;     
}
.features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
  margin: 60px;
  
}

.feature-item {
  flex: 1 1 10px;
  max-width: 180px;
  transition: background-color 0.3s ease-in-out;
  padding: 10px 0 10px 0;

  background-image: linear-gradient(#c5dedf,#c5dedf);
  background: linear-gradient(to top,#c5dedf, #c5dedf 0%, #c5dedf 100%);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: .4s;
}
.feature-item:hover, .feature-title:hover{
  background-size: 100% 100%;
  cursor: pointer;
  color: red;
}

.feature-item img {
  width: 72px;
  height: 44px;
  margin-bottom: 10px;
}

.feature-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.feature-desc {
  font-size: 14px;
  color: #333;
}

@media (max-width: 768px) {
  .features {
    justify-content: center;
  }
}
/* pdf download banner start here */
.brochure-banner {
  background: linear-gradient(to right, #add8f6, #d7eaff);
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.brochure-banner a {
  font-size: 27px;
  font-weight: bold;
  text-decoration: none;
  color: black;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease;
}

.brochure-banner a:hover {
  transform: scale(1.05);
}

.fa-file-pdf {
  color: red;
  font-size: 28px;
}

    .home_modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .home-modal-content {
      background-color: #fff;
      margin: 8% auto;
      padding: 30px 40px;
      border-radius: 10px;
      width: 90%;
      max-width: 500px;
      position: relative;
      box-shadow: 0 5px 20px rgba(0,0,0,0.2);
      animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    .home_close {
      position: absolute;
      top: 18px;
      right: 22px;
      font-size: 24px;
      color: #888;
      cursor: pointer;
    }

    .home_close:hover {
      color: #000;
    }

    h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    #admissionForm input,
    #admissionForm select,
    #admissionForm textarea {
      width: 100%;
      padding: 12px 15px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 14px;
      background-color: #f9f9f9;
      transition: border-color 0.2s ease;
    }

    #admissionForm input:focus,
    #admissionForm select:focus,
    #admissionForm textarea:focus {
      border-color: #4CAF50;
      outline: none;
      background-color: #fff;
    }

    #admissionForm button {
      width: 100%;
      padding: 12px;
      background-color: #ce930b;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    #admissionForm button:hover {
      background-color:  #745307;
    }
/* course section start here */

h2 {
  margin-bottom: 30px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Default: Desktop (3 per row) */
.card {
  width: calc(33.333% - 1.34rem);
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  position: relative;
  bottom: 0px;
  transition: bottom 0.5s ease;
  cursor: pointer;
  height: auto;
  box-sizing: border-box;
  padding: 20px;
}

/* Hover Effect */
.card:hover {
  bottom: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
              0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Tablet: 2 cards per row */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
  .card {
    width: calc(50% - 1rem);
  }
}

/* Mobile: 1 card per row */
@media only screen and (max-width: 767px) {
  .card {
    width: 100% !important;
    margin: 0 auto;
  }
}



.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card-header img {
  width: 100%;
  height: auto;
}

.card-body {
  padding: 15px;
  height: auto;
}
.course_schedule{
  font-size: 12px;
  border: 1px solid rgb(216, 216, 216);
  width: fit-content;
  padding: 5px;
  position: relative;
  left: 20px;
  top: 14px;
  background-color: white;
  border-radius:20px ;
}
.schedule {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 15px;
  background-color: #f5f5f5;
}

.schedule strong {
  display: block;
  margin-bottom: 4px;
  margin-top: 10px;
}
.schedule_icon{
  width:100% ;
  height: auto;
  display: flex;
}
.schedule_icon p{
  color: rgb(134, 134, 134);
  margin: 10px;
  
}
.card:hover  .schedule_icon i {
  color: rgb(12, 107, 180);
}
.card:hover .schedule_icon p{
  color: black;
}
.schedule_icon i{
  color: rgb(175, 175, 175);
  margin: 10px;
}

.batch {
  background-color: #007bff;
  color: white;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 5px;
  float: right;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  
  align-items: center;
  border-top: 1px solid #eee;
}
.footer-left{
  width: 50%;
  height: auto;
  padding: 10px;
  
}
.footer-right{
  width: 50%;
  padding: 18px;
  height: auto;
  
}
.footer-right:hover, input[type=checkbox], .course_label:hover{
  background-color: rgb(101, 11, 226);
  color: white;
  cursor: pointer;
}
input[type=checkbox], .course_label{
  font-size: 20px;
}
.btn {
  padding: 6px 21px;
  background-color: white;
  border: 2px solid #007bff;
  border-radius: 20px;
  color: #007bff;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  background-color: #007bff;
  color: white;
}

.register-btn {
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 18px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 30px;
  cursor: pointer;
}

.register-btn:hover {
  background-color: #0056d2;
}

/* student testimonials start here */
.student_testimonials_container{
  font-family: 'Poppins', sans-serif;
      background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
      min-height: 100vh;
      padding: 50px 20px;
      display: flex;
      justify-content: center;
      align-items: center;
}
.testimonial-section {
      max-width: 900px;
      width: 100%;
      text-align: center;
    }

    h2 {
      margin-bottom: 30px;
      font-size: 2.5rem;
      color: #1e293b;
    }

    .carousel-wrapper {
      overflow: hidden;
      width: 100%;
      position: relative;
    }

    .carousel {
      display: flex;
      transition: transform 0.5s ease;
    }

    .testimonial-card {
      width: 100%;
      flex-shrink: 0;
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .testicard {
      background: white;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      max-width: 600px;
      width: 100%;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .testicard:hover {
      transform: scale(1.02);
    }

    .testicard img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 15px;
      border: 3px solid #0ea5e9;
    }

    .student-name {
      font-weight: 600;
      font-size: 1.2rem;
      color: #0ea5e9;
    }

    .student-role {
      font-size: 0.9rem;
      color: #64748b;
      margin-bottom: 15px;
    }

    .testimonial-text {
      font-size: 1rem;
      color: #334155;
      line-height: 1.6;
    }

    .nav-buttons {
      margin-top: 20px;
    }

    .nav-buttons button {
      background: #0ea5e9;
      color: white;
      border: none;
      padding: 10px 20px;
      margin: 0 10px;
      border-radius: 25px;
      font-size: 1rem;
      cursor: pointer;
    }

    .nav-buttons button:hover {
      background: #0284c7;
    }

    @media (max-width: 768px) {
      .testicard {
        padding: 20px;
      }
    }

/* video slider start here */
.swiper {
  width: 100%;
  padding: 60px 0;
  background: #fff;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.video-container iframe {
  width: 100%;
  height: 230px;
  border: none;
  display: block;
}

.video-content {
  padding: 16px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

@media (min-width: 768px) {
  .video-card {
    max-width: 340px;
  }

  .video-container iframe {
    height: 200px;
  }
}

@media (min-width: 1024px) {
  .swiper-slide {
    width: 33.3333%;
  }
}

/* faq start here */
.faq-start{
  display: flex;
  justify-content: center;
  margin-top: 15px;
  padding-top: 15px;
  background-color: #d4d4d4;
  margin-bottom: 10px;
}
.faq-container {
  max-width: 700px;
  width: 100%;
  margin-bottom: 10px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #222;
}

.faq {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.question:hover {
  background-color: #c9d4fb; /* Hover color */
}

.faq.active .question {
  background-color: #bdcaf9; /* Active/expanded color */
}

.question h3 {
  font-size: 1.1rem;
}

.icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #555;
  background-color: #fafafa;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.answer p {
  margin: 15px 0;
}
@media only screen and (max-width: 767px) {
  .faq-start {
    margin-top: 40px;
  }
}

/* map and form start here */

.map_container {
  display: flex;
  height: auto;
  width: 100%;
  background: linear-gradient(to right, #e0eafc, #cfdef3);
}

.map_left, .map_right {
  flex: 1;
  height: 100%;
}

.map_left {
  position: relative;
}

#map {
  height: auto;
  width: 100%;
  z-index: 0;
  padding: 20px;
}

.map_right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.form-container {
  background: rgba(255, 255, 255, 0.3);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  height: auto;
}

.form-container:hover {
  transform: scale(1.02);
}

.form-container h2 {
  margin-bottom: 25px;
  font-size: 28px;
  color: #333;
  text-align: center;
}

.map_form_group {
  position: relative;
  margin-bottom: 25px;
}

.map_form_group input {
  width: 100%;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255,255,255,0.7);
  outline: none;
  transition: 0.3s;
}

.map_form_group input:focus {
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
  background: white;
}

.map_form_group .map_label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  background: transparent;
  padding: 0 4px;
  color: #666;
  pointer-events: none;
  transition: 0.3s;
}

.map_form_group input:focus + .map_label,
.map_form_group input:not(:placeholder-shown) + .map_label {
  top: -10px;
  font-size: 12px;
  color: #007bff;
}

.form_submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form_submit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
}

@media (max-width: 768px) {
  .map_container {
    flex-direction: column;
  }

  .left, .right {
    height: 50%;
  }
}

/* footer start here */
.footer {
  background-color: #eaf3fc;
  padding: 40px 20px 20px;
  
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li,
.footer-column p {
  font-size: 14px;
  margin-bottom: 6px;
  
}
.footer-column ul li{
  position: relative;
  left: 0px;
  transition: left 0.5s ease;
}

.footer-column a {
  color: inherit;
  text-decoration: none;
}
.footer-column ul li:hover{
  cursor: pointer;
  color: blue;
  left: 15px;
}

.social-icons i {
  font-size: 18px;
  margin-right: 10px;
  color: #000;
  cursor: pointer;
}

.footer-bottom {
  background-color: #000;
  color: #fff;
  padding: 15px 20px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  bottom: 0px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}
/* course modal start here */


  .modal {
    display: flex;
    flex-direction: column; 
  justify-content: flex-start; 
    height: 100vh;
    padding: 20px;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
     overflow-y: auto; 
  }
  .modal-body{
    margin: 20px;
    
    padding-bottom: 20px;
  }
p{
   line-height: 1.6;        /* Adjust spacing between lines */
  float: left;             /* Floats all <p> elements to the left */
  width: 100%;             /* Prevent text wrapping beside floated elements */
  text-align: left;  
}
  .modal.show {
    display: flex;
  }



  .modal-content {
    background: white;
    width: 100%;
    max-width: 820px;
     max-height: 90vh;       
    overflow-y: auto;        
    padding: 1rem;  
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    
    animation: fadeIn 0.3s ease; 
  }

  @keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
  }

  .modal-header {
    background: linear-gradient(135deg, #4a90e2, #7f62f7);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modal-header h2 {
    font-size: 20px;
    font-weight: 600;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }
@media (max-width: 768px) {
  .modal-content {
    max-height: 80vh;
  }
}
  #modal_form {
    padding: 44px;
    
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .form-group {
    flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px; /* Uniform gap between label and input */
  margin-bottom: 20px;
  }

  .modal_label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #444;
    letter-spacing: 0.3px;
  }

  input[type=text],input[type=tel],input[type=email], textarea {
    padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin: 0; /* Remove browser default */
  }

  input[type=text]:focus, input[type=tel]:focus,input[type=email]:focus, textarea:focus {
    background: #fff;
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.2);
    outline: none;
  }

  textarea {
    min-height: 80px;
    resize: vertical;
  }

  .submit-btn {
    width: 100%;
    padding: 14px;
    background: #4a90e2;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .submit-btn:hover {
    background: #357bd8;
  }
  /* Thank You Modal styling */
    .thank_modal {
      display: none;
      position: fixed;
      z-index: 99999999999;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
    }
    .thank-modal-content {
      background: white;
      padding: 30px;
      border-radius: 10px;
      max-width: 500px;
      text-align: center;
    }
    .thank-modal-content img {
      width: 100px;
      margin: 10px;
    }
    .tmodal-close-btn {
      margin-top: 20px;
      background: #dc3545;
      cursor: pointer;
      padding: 10px;
    }

    /* map form submit response */
    #form-success{
      margin-top: 10px;
      color: green;
      font-size: 20px;
    }


@media only screen and (max-width: 767px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100% !important;
    margin: 0 0 1rem 0;
  }
}

/* floating icon */
    /* Floating Icons Container */
.floating-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

/* Icon Style */
.ficon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover Effect */
.ficon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Tooltip Label */
.ficon .label {
    position: absolute;
    right: 65px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.ficon:hover .label {
    opacity: 1;
    transform: translateX(0);
}

/* Different Colors for Each */
.whatsapp { background: #25D366; }
.call { background: #007BFF; }
.instagram { 
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5);
}
.youtube { background: #FF0000; }
