
        /* Owl carousel equal height fix */
.owl-carousel .owl-stage {
  display: flex;
}

.owl-carousel .owl-item {
  display: flex;
}

.owl-carousel .item {
  display: flex;
  height: 100%;
}

/* Testimonial card */
.owl-carousel .bg-light {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border-radius: 10px;
}

/* Push paragraph to fill space */
.owl-carousel .bg-light p {
  /*margin-top: auto;*/
  line-height: 1.6;
}

/* Optional: limit text lines for cleaner look */
.owl-carousel .bg-light p {
 /* display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;*/
}

    
/* ===== COURSES SECTION FIX ===== */

.courses .row {
  align-items: stretch;
}

/* Card */
.course-card {
  background: #e9ecef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Optional hover effect */
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* Image */
.course-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Body */
.course-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Badge */
.course-body .badge {
  align-self: flex-start;
  background: #fbbf24;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* Title */
.course-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
/*  min-height: 56px; */
}

/* Description */
.course-body p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;

  /* Optional text clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta */
.course-meta {
  display: flex;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Button aligned bottom */
.course-body a.btn-main {
  margin-top: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .course-card img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .course-body h3 {
    min-height: auto;
  }
}

/*get in touch*/

.get-touch{
background:#eef1f4;
padding:80px 20px;
}


.get-touch .title-wrap{
text-align:center;
margin-bottom:60px;
}


.get-touch h2{
font-size:42px;
font-weight:600;
margin-bottom:12px;
}


.get-touch .underline{
/*width:50px;
height:3px;
background:#fbbf24;
margin:10px auto 20px;*/
}


.get-touch p{
color:#6b7280;
font-size:16px;
}


.contact-grid{
max-width:1100px;
margin:0 auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}


.contact-card{
background:#fff;
border-radius:14px;
padding:40px 30px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.06);
transition:transform .3s ease, box-shadow .3s ease;
}


.contact-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(0,0,0,.12);
}


.icon-wrap{
    
    text-align: center;
    border:1px solid #a7ccf4; 
    background: #007bff1a;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin: auto;
    color: #007bff;
    margin-bottom: 10px;
}


/* ---------- Responsive Styles ---------- */

/* Tablet */
@media (max-width: 991px) {
    .get-touch {
        padding: 60px 20px;
    }

    .get-touch h2 {
        font-size: 34px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-card {
        padding: 35px 25px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .get-touch {
        padding: 50px 15px;
    }

    .get-touch h2 {
        font-size: 28px;
    }

    .get-touch p {
        font-size: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .icon-wrap {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 16px;
    }
}


.apply-section {
/*  background: #1f2428;*/
  padding: 80px 20px;
}

.apply-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
}

/* LEFT */
.apply-left {
/*  background: #1f2428;*/
  color: #fff;
  padding: 80px 60px;
}

.apply-left h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color:#fff;
}

.apply-left p {
  color: #cfcfcf;
  max-width: 360px;
  margin-bottom: 40px;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 15px;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* RIGHT */
.apply-right {
  background: #fff;
  padding: 30px;
}

.apply-right h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.subtext {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  line-height:1.2;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.form-group span {
  color: red;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.phone-wrap {
  display: flex;
  gap: 10px;
}

.phone-wrap select {
  width: 80px;
}

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

.note {
  font-size: 12px;
  color: #555;
  margin: 20px 0;
  line-height:1.2;
}

.submit-btn {
  background: #1f6bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  float: right;
}

.submit-btn:hover {
  background: #1555cc;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .apply-container {
    grid-template-columns: 1fr;
  }

  .apply-left,
  .apply-right {
    padding: 40px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}



/*navbar mobile*/

/* Mobile Menu */
@media (max-width: 991px) {
    #mainmenu {
/*        position: fixed;*/
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
/*        background: #fff;*/
        flex-direction: column;
        padding: 80px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    #mainmenu.is-open {
        right: 0;
    }

    #mainmenu li {
        margin-bottom: 20px;
    }

    #menu-btn {
        display: inline-block;
        cursor: pointer;
    }
}

.enquiry-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.enquiry-modal.active {
    display: block;
}

.enquiry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.enquiry-box {
    position: relative;
    max-width: 420px;
    width: 90%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.enquiry-box h3 {
    margin-bottom: 20px;
}

.enquiry-box input,
.enquiry-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.enquiry-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}


/* ===============================
   SERVICE CARD – DESKTOP + MOBILE
================================ */

.service-card {
    width: 100%;
}

.service-card .rounded-10px {
    width: 100%;
    height: 100%;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

/* Image fit */
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay text */
.service-card .hover-op-1,
.service-card .hover-op-0 {
    padding: 30px;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Text styling */
.service-card p,
.service-card li {
    line-height: 1.5;
}

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 767px) {

    /* Force full width */
    .service-card {
        width: 100%;
    }

    /* Consistent height on mobile */
    .service-card .rounded-10px {
        min-height: 260px;
    }

    /* Reduce padding to avoid overflow */
    .service-card .hover-op-1,
    .service-card .hover-op-0 {
        padding: 18px !important;
    }

    /* Smaller readable text */
    .service-card p,
    .service-card li {
        font-size: 14px;
    }
    
   

    /* Always show text on mobile (no hover) */
    .service-card .hover-op-0 {
        /*opacity: 0;*/
    }

    .service-card .hover-op-1 {
        /*opacity: 1 !important;*/
    }
}

