/* ===== Top Bar ===== */
.topbar {
  background-color: #f4a300;
  color: #fff;
  font-size: 0.9rem;
}

/* ===== Navbar ===== */
.navbar {
  font-weight: 500;
  z-index: 1030; /* ensures navbar stays above all content */
  transition: all 0.3s ease-in-out;
}

/* Navbar logo */
.navbar-brand img {
  height: 60px;
  transition: all 0.3s ease-in-out;
}

/* Navbar link styles */
.navbar .nav-link {
  color: #222;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #f4a300;
}

/* Navbar shrink effect when scrolled */
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: #ffffff;
}

.navbar.scrolled .navbar-brand img {
  height: 50px;
}

.student-btn {
  color: #ffffff;
  background-color: #0e2a47;
  font-weight: 500;
}

.student-btn:hover {
  background-color: #f4a300;
  color: #fff;
}
.hero{background-color: #e9e9e9;}
/* ===== Counter Section ===== */
.counter-section {
  background: #0b1d2e;
  color: #fff;
}

.counter-box {
  padding: 20px 10px;
}

.counter-box i {
  font-size: 2.5rem;
  color: #f4a300;
  margin-bottom: 10px;
  display: inline-block;
}

.counter-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.counter-box p {
  font-size: 1.1rem;
  margin-top: 5px;
  color: #cbd5e1;
}
/* ===== Trusted Market Leader Section ===== */
.trusted-section {
  background-color: #f8fafc;
  color: #12263b;
}

.trusted-title {
  font-weight: 700;
  font-size: 2.8rem;
  color: #12263b;
}

.trusted-subtext {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  max-width: 480px;
}

/* Logo styling */
.trusted-logo {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 5px;
  text-align: center;
  transition: all 0.3s ease;
}

.trusted-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.trusted-logo img {
  width: 100%;
  max-height: 98px;
  object-fit: contain;
}

/* ===== Career Perspective Section ===== */
.career-section {
  background-color: #0F2240; /* dark blue */
  color: #fff;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.career-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.career-images {
  flex: 1;
  position: relative;
  min-width: 250px;
  margin-bottom: 30px;
}

.career-images img {
  width: 250px;
  border: 5px solid #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: absolute;
}

.career-images .img1 {
  top: -140px;
  left: 212px;
  z-index: 1;
}

.career-images .img2 {
  top: -140px;
  left: 0px;
  z-index: 2;
}

.career-text {
  flex: 1;
  min-width: 300px;
  padding-left: 30px;
}

.career-text h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.career-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.career-text ul {
  list-style: none;
  padding: 0;
}

.career-text ul li {
  margin-bottom: 10px;
  font-size: 16px;
}
/* ===== Our Students Says Section ===== */
.students-say-section {
  background-color: #0b1d2e;
  background-image: radial-gradient(#1b2c45 1px, transparent 1px);
  background-size: 25px 25px;
  color: #fff;
}

.students-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.students-title span {
  color: #f4a300;
}

.students-subtitle {
  color: #cbd5e1;
  font-size: 1rem;
}

.student-card {
  background: #ffffff;
  color: #333;
  border-radius: 10px;
  padding: 25px 20px;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
}

.student-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.student-feedback {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #f4a300;
  object-fit: cover;
}

.student-name {
  font-weight: 600;
  color: #12263b;
  margin: 0;
}

.student-course {
  font-size: 0.85rem;
  color: #777;
}

/* ===== Enroll Section (Centered Layout) ===== */
.enroll-section {
  background-color: #f8f9fc;
  border-top: 1px solid #e5e7eb;
  padding: 60px 15px;
}

.enroll-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: #12263b;
  margin-bottom: 15px;
}

.enroll-heading span {
  color: #f4a300;
}

.btn-enroll {
  background-color: #12263b;
  color: #fff;
  padding: 6px 15px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 22px;
}

.btn-enroll:hover {
  background-color: #f4a300;
  color: #12263b;
}

/*===== popular course =======*/
/* Course Section Styling */
.courses {
  background: #f9f9f9;
}

.course-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
}

/* Zoom effect on hover */
.course-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Course image */
.course-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover img {
  transform: scale(1.1);
}

/* Card Body */
.course-card .card-body {
  padding: 0px;
}

/* Title */
.course-card .card-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f2240;
  padding: 20px 0px 0px 0px;
}

/* Enroll Button */
.btn-enroll {
  background-color: #0f2240;
  color: #fff;
  padding: 5px 15px;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.btn-enroll:hover {
  background-color: #122c57;
  color: #fff;
}
/* ===== Achieve Section ===== */
.achieve-section {
  background-color: #0b1d2e;
  color: #fff;
}

.achieve-content {
  padding-left: 20px;
}

.achieve-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.achieve-text {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.mission-vision .mv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.mv-icon {
  background: #f4a300;
  color: #12263b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.mv-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.mv-item p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
}

/* ===== Left Side Image and Stats ===== */
.achieve-image {
  position: relative;
  display: inline-block;
}

.stat-box {
  position: absolute;
  background: #fff;
  color: #12263b;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  width: 120px;
}

.stat-box h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-box p {
  font-size: 0.8rem;
  margin: 0;
}

/* Position of Boxes */
.stat1 {
  top: 20%;
  left: 15%;
}

.stat2 {
  top: 40%;
  left: -10%;
}

.stat3 {
  bottom: 29%;
  left: 15%;
}
/* ===== Learning Section ===== */
.learning-section {
  background-color: #f9fafc;
  color: #12263b;
}

.learning-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1b2c45;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.learning-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.learning-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.learning-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learning-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: #12263b;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.learning-list li::before {
  content: "•";
  color: #f4a300;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.learning-image {
  max-width: 100%;
  height: auto;
}

.gov-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #152946;
}

.gov-title span {
  color: #f4a300;
}

.gov-subtitle {
  color: #152946;
  font-size: 1rem;
}


/* ===== Contact Section ===== */
.contact-section {
  font-family: "Poppins", sans-serif;
  background-color: #f8fafc;
}

/* Left Info Panel */
.contact-info {
  background-color: #0b1d2e;
  color: #fff;
}

.info-item i {
  font-size: 1.5rem;
  color: #f4a300;
  margin-bottom: 10px;
}

.info-item h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin: 0;
}

/* Form */
.form-control {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
  padding: 10px 12px;
  color: #333;
}

.form-control::placeholder {
  color: #a1a1aa;
}

textarea {
  resize: none;
}

.btn-send {
  background-color: #0b1d2e;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 35px;
  font-weight: 500;
  margin-top: 10px;
  transition: 0.3s ease;
}

.btn-send:hover {
  background-color: #f4a300;
  color: #12263b;
}


/* ===== Footer ===== */
.footer {
  background-color: #0b1d2e;
  color: #cbd5e1;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f4a300;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer .social-links {
  margin-top: 10px;
}

.footer .social-icon {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  margin-right: 8px;
  background: #1a2c3f;
  color: #f4a300;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer .social-icon:hover {
  background: #f4a300;
  color: #fff;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
  background-color: #e7a100;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

.footer-text {
  color: #fff;
}

.footer-designer {
  color: #fff;
}

.designer-link {
  color: #f4a300;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.designer-link:hover {
  color: #fff;
  text-decoration: underline;
}
.certifiedtitle{margin-top:15px;line-height:25px;font-size:20px;}


/* ===== Google Map Section ===== */
.map-section {
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}
/*COURSES PAGE*/
/* assets/css/courses.css */
.course-card .course-image { height: 160px; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.course-card .course-image img { max-width:100%; max-height:100%; object-fit:cover; }
.course-card .card-title { font-size:1.2rem; min-height:46px; }
.btn-enroll { background:#f4a300; border:0; color:#fff; padding:8px 14px; border-radius:4px; }
.category-btn.active { background:#f4a300; color:#fff; border-color:#f4a300; }



.certificate-container {
  background: linear-gradient(135deg, #ffffff 0%, #f0f3ff 100%);
  font-family: 'Poppins', sans-serif;
}

.certificate-inner h2, 
.certificate-inner h3, 
.certificate-inner h4 {
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .map-container iframe {
    height: 350px;
  }
}
@media (max-width: 768px) {
  .footer-bottom .container {
    flex-direction: column !important;
  }
}


/* ===== Responsive ===== */
@media (max-width: 991px) {
  .footer {
    text-align: center;
  }
  .footer .social-links {
    justify-content: center;
  }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .navbar .nav-link {
    margin-left: 0;
    padding: 8px 0;
  }

  .student-btn {
    margin-top: 10px;
    width: 100%;
  }

  .topbar {
    text-align: center;
    font-size: 0.8rem;
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .counter-box h3 {
    font-size: 1.6rem;
  }
  .counter-box i {
    font-size: 2rem;
  }
}
/* Responsive */
@media (max-width: 991px) {
  .trusted-title {
    font-size: 1.6rem;
    text-align: center;
  }
  .trusted-subtext {
    text-align: center;
    margin: 0 auto 20px;
  }
}

@media (max-width: 768px) {
  .trusted-logo {
    padding: 8px;
  }
  .trusted-logo img {
    max-height: 50px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .career-content {
    flex-direction: column;
    text-align: center;
  }
  
  .career-images {
    margin-bottom: 30px;
  }
 .career-images .img1{display:none;}
  .career-images img {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto 10px;
  }

  .career-text {
    padding-left: 0;
  }
}
/* Responsive */
@media (max-width: 991px) {
  .students-title {
    font-size: 1.6rem;
  }

  .student-card {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .student-feedback {
    font-size: 0.9rem;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .enroll-heading {
    font-size: 1.3rem;
  }

  .btn-enroll {
    padding: 10px 25px;
  }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
  .course-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .course-card img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .course-card {
    transform: none;
  }
  .course-card:hover {
    transform: none;
  }
  .course-card img {
    height: 150px;
  }
}
/* Responsive Design */
@media (max-width: 991px) {
  .achieve-content {
    padding-left: 0;
    text-align: center;
  }
  .mission-vision .mv-item {
    justify-content: center;
  }
  .achieve-title {
    font-size: 1.6rem;
  }
  .stat-box {
    width: 100px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .stat-box {
    position: static;
    display: inline-block;
    margin: 10px;
  }
}
/* ===== Responsive Design ===== */
@media (max-width: 991px) {
  .learning-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .learning-subtitle,
  .learning-text {
    text-align: center;
  }

  .learning-list {
    text-align: left;
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .learning-list .col-6 {
    width: 100%;
  }
}
/* Responsive Design */
@media (max-width: 991px) {
  .contact-info {
    border-radius: 8px 8px 0 0;
    text-align: center;
  }

  .info-item i {
    margin-bottom: 5px;
  }

  .btn-send {
    width: 100%;
  }
}

.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999; /* Higher z-index for mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  background-color: #25D366;
  color: #fff;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  line-height: 55px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #1ebe5d;
}

/* Tooltip */
.whatsapp-tooltip {
  background: #000;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
  white-space: nowrap;
  transition: 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

/* Show tooltip on desktop hover */
.whatsapp-wrapper:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Always show tooltip on mobile */
@media (max-width: 768px) {
  .whatsapp-tooltip {
    opacity: 1 !important;
    transform: translateY(0) !important;
    margin-bottom: 5px;
  }
}
