body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
}

/* Color Variables for easy management */
:root {
  --primary-color: #004e89;
  /* Deep Blue */
  --accent-color: #00bfa6;
  /* Bright Teal */
  --light-bg: #f8f9fa;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Navbar */
.navbar .nav-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: 0.3s;
}

.navbar .nav-link:hover {
  color: var(--accent-color);
}

/* Tooltip for Password Requirements */
.password-info {
  position: relative;
  display: inline-block;
}

.password-info i {
  margin-left: 8px;
  cursor: pointer;
  color: #007bff;
}

.password-tooltip {
  visibility: hidden;
  opacity: 0;
  width: 250px;
  background-color: #fff;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 999;
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-size: 13px;
}

.password-info:hover .password-tooltip {
  visibility: visible;
  opacity: 1;
}

/* === PHONE FIELD FIX === */
.iti {
  width: 100%;
  display: flex;
  position: relative;
  align-items: center !important;
}

.iti__flag-container {
  position: absolute !important;
  left: 10px;
  top: 8px;
  z-index: 5;
}

.iti input {
  height: 48px !important;
  line-height: 48px !important;
}

/* Better spacing for error message below intl-tel-input */
.iti .error-text {
  margin-top: 6px !important;
  margin-left: 2px !important;
  /* avoid touching border */
}


input#regPhone {
  padding-left: 90px !important;
  height: 52px !important;
  line-height: 52px !important;
  font-size: 16px !important;
  box-sizing: border-box;
}

/* override bootstrap invalid border ONLY on input, not wrapper */
.iti .form-control.is-invalid {
  border-color: #dc3545 !important;
}

/* Fix: When valid, force green border even with intl-tel-input */
.iti .form-control.is-valid {
  border-color: #28a745 !important;
}


/* Move Bootstrap invalid icon slightly right */
/* Make intl-tel-input show invalid icon exactly like email field */
.iti input.form-control.is-invalid {
  background-position: right 1rem center !important;
  padding-right: 2.2rem !important;
  /* push text away from icon */
}

.iti input.form-control {
  padding-right: 45px !important;
  /* space for error icon */
}

.phone-wrapper {
  position: relative;
  width: 100%;
}

.phone-wrapper .phone-error-icon {
  position: absolute;
  right: 12px;
  /* distance from right */
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  display: none;
  /* hidden by default */
  pointer-events: none;
}

#regPhone.is-invalid~.phone-error-icon {
  display: block;
}

/* Force error icon INSIDE the input exactly like email */
#regPhone.is-invalid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 16 16'%3E%3Cpath d='M7.001 11h2v2h-2v-2zm0-8h2v6h-2V3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center !important;
  background-size: 18px;
  padding-right: 45px !important;
  /* Same look as email */
}

/* Success (green tick) same as email */
#regPhone.is-valid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300a65a' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929l-7.071 7.07-3.536-3.535L1 7.343l5.414 5.414L15.9 3.172z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center !important;
  background-size: 20px;
  padding-right: 45px !important;
}


/* Remove Bootstrap red error icon completely */
#regPassword.form-control.is-invalid,
#regConfirmPassword.form-control.is-invalid {
  background-image: none !important;
  /* remove red icon */
  background-position: right 14px center !important;
  padding-right: 2.8rem !important;
  height: 52px !important;
  /* lock height */
}

/* Normal state should also lock height */
#regPassword.form-control,
#regConfirmPassword.form-control {
  height: 52px !important;
  padding-right: 2.8rem !important;
}

/* Force space below password input */
#regPassword {
  margin-bottom: 10px;
}


/* Wrapper fix */
.password-wrapper {
  position: relative;
  height: 52px;
}

/* Eye icon fix */
.password-wrapper .toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 20;
  font-size: 20px;
}

.password-wrapper input.form-control {
  height: 100% !important;
  /* input height locked */
  padding-right: 45px !important;
  /* space for eye */
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 20;
  font-size: 20px;
  color: #555;
}

.password-wrapper input.form-control.is-invalid {
  background-image: none !important;
}






/* Custom Navbar Styling for Premium Look (Split Navigation) */

/* Make the logo bigger */
.navbar-brand img {
  height: 90px;
  /* Adjust as needed */
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
  /* Slight hover effect */
}

/* Center the main navigation links */
.navbar-nav {
  flex-grow: 1;
  /* Allows the nav-links container to take up maximum space */
  justify-content: center;
  /* Centers the links within the available space */
}

/* Ensure the button is aligned to the right */
.nav-appointment-btn {
  margin-left: auto;
  /* Pushes the button to the far right */
  padding-left: 15px;
  /* Add some space if needed */
}

/* Ensure the button is easily visible and slightly bolder */
.nav-appointment-btn .btn {
  font-weight: 600;
}

/* Fix for mobile (optional) */
@media (max-width: 991.98px) {
  .navbar-nav {
    justify-content: flex-start;
    /* Revert to left alignment on mobile */
  }

  .nav-appointment-btn {
    margin-left: 0;
    padding-left: 0;
    /* Make the button full width below mobile break point */
    width: 100%;
    padding-top: 10px;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 78, 137, 0.8), rgba(0, 78, 137, 0.8)), url('../assets/images/SH.jpeg') center/cover no-repeat;
  height: 85vh;
  /* Added a subtle shadow to emphasize text on image */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
  font-size: 3rem;
  /* Slightly larger for premium feel */
  font-weight: 700;
}

/* Trust Bar */
.trust-bar {
  border-bottom: 1px solid #eee;
}

/* Service Card (Existing, good) */
.service-card {
  background-color: #fff;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  /* Added border for definition */
}

.service-card:hover {
  transform: translateY(-5px);
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* AI Feature Cards (New) */
.ai-feature-card {
  border: 1px solid var(--accent-color);
  background-color: #fff;
  transition: 0.3s;
}

.ai-feature-card:hover {
  background-color: var(--accent-color);
  color: white !important;
}

.ai-feature-card:hover i {
  color: white !important;
}

/* Testimonials (New) */
.testimonial-card {
  max-width: 600px;
  background-color: white;
  border-top: 5px solid var(--accent-color);
}

/* Filter the Logo to white in the footer for better contrast */
.logo-filter {
  filter: brightness(0) invert(1);
  z-index: 10;
}

/* OUTER CONTAINER BORDER */
.tab-container {
  border-bottom: 2px solid #d0d0d0 !important;
  padding-bottom: 0;
  margin-bottom: 20px;
}

/* All tabs default */
.nav-pills .nav-link {
  padding: 10px 28px;
  font-weight: 600;
  color: #0d6efd;
  border-radius: 10px 10px 0 0;
  background: #f7f7f7;
  border: 1px solid transparent;
  transition: 0.25s ease-in-out;
  position: relative;
  top: 2px;
}

/* Inactive tab */
.nav-pills .nav-link:not(.active) {
  opacity: 0.6;
  border-bottom: 2px solid transparent !important;
}

/* Active tab look → DARK BORDER + CLEAN + STRONG */
.nav-pills .nav-link.active {
  background: #ffffff !important;
  color: #000 !important;
  border: 2px solid #bfbfbf !important;
  /* DARKER BORDER */
  border-bottom: none !important;
  /* Merge into content */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  opacity: 1 !important;
  z-index: 10;
  top: 0;
  /* Lift effect */
}

/* Hover effect */
.nav-pills .nav-link:hover {
  opacity: 1;
  background: #ececec;
}




/* Floating WhatsApp Button (Existing, good) */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

#management-team {
  padding: 60px;
  background: #f4f7fb;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#management-team h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: black;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Each Profile Card */
.team-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  width: 280px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  align-items: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  /* 👈 all cards equal height */
  min-height: 450px;
  /* 👈 ensure min height for consistency */
  box-sizing: border-box;
  /* 👈 include padding in height */
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Profile Image Placeholder */
.team-card .profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: #ddd url('') center/cover no-repeat;
  border: 4px solid #0077b6;
}

/* Member Name */
.team-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Designation */
.team-card h4 {
  font-size: 1rem;
  color: black;
  margin-bottom: 15px;
  font-weight: 600;
  font-style: italic;
  font-family: 'Inknut Antiqua', serif;
}

/* Description */
.team-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  text-align: center;
  /* 👈 content justified */
  flex-grow: 1;
  /* fill available space */
  min-height: 120px;
  /* 👈 ensure min height for consistency */
  display: flex;
  align-items: flex-end;
  /* align text to bottom */
  margin-bottom: 20px;
}

/* LinkedIn Button */
.linkedin-btn {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
}

.linkedin-btn img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 50%;
}

.linkedin-btn img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-card .linkedin-link {
  margin-top: auto;
  /* linkedin icon ko bottom fix karega */
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */

/* Tablets (max-width: 992px) → 2 cards per row */
@media (max-width: 992px) {
  .team-container {
    justify-content: center;
  }

  .team-card {
    width: 45%;
    height: auto;
    /* auto so text wraps better on smaller screens */
  }
}

/* Mobiles (max-width: 600px) → 1 card per row */
@media (max-width: 600px) {
  .team-card {
    width: 90%;
    height: auto;
  }

  #management-team h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: black;
  }
}

#passwordStrengthWrapper {
  transition: all 0.3s ease-in-out;
  margin-top: 10px;
}

#passwordStrengthBar {
  transition: width 0.3s ease-in-out;
}

#passwordStrengthText {
  transition: color 0.3s ease-in-out;
  margin-top: 4px;
  display: block;
  line-height: 1.3;
}

/* Password rule text */
#passwordFeedback {
  display: block;
  margin-top: 6px;
  line-height: 1.4;
}

.footer {
  background: linear-gradient(135deg, #002b5c, #004085, #001d3d);
  background-size: 300% 300%;
  animation: gradientFlow 12s ease infinite;
  color: #fff;
  font-size: 0.9rem;
}


@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.footer .footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.footer .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .hover-light:hover {
  color: #fff !important;
}

.footer hr {
  opacity: 0.15;
  margin: 10px 0;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.whatsapp-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

/* HERO */
.hero-premium {
  background: linear-gradient(120deg, #004aad, #007bff);
  padding: 85px 0;
  color: white;
  text-align: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Main Layout */
.glass-card {
  background: #ffffffd9;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
  border: 1px solid #eaeaea;
  transition: 0.3s;
}

.glass-card:hover {
  transform: translateY(-3px);
}

/* Inputs */
.form-control {
  border-radius: 12px;
  padding: 13px;
  background: #f7f9fc;
  border: 2px solid #e3e6ed;
  transition: 0.25s;
  padding-bottom: 12px;
}

.form-control:focus {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

/* Submit Button */
.btn-premium {
  background: linear-gradient(135deg, #004aad, #007bff);
  border: none;
  padding: 14px;
  border-radius: 14px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-premium:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* MAP */
.map-box-premium {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}

/* INFO BOX */
.info-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #007bff;
}

.info-box h4 {
  color: #004aad;
  font-weight: 700;
  margin-bottom: 15px;
}

.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.info-label {
  width: 110px;
  font-weight: 700;
  color: #333;
}

.info-value {
  flex: 1;
  font-size: 15px;
  color: #444;
}

/* Coming Soon */
.coming-soon {
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  color: #004aad;
  font-size: 16px;
}

/* Responsive */
@media(max-width: 768px) {
  .glass-card {
    padding: 25px;
  }
}

/* Disable bootstrap validation icons */
.form-control.is-valid,
.form-control.is-invalid {
  background-image: none !important;
}

/* Clean modern two-column layout */
body {
  background: #f4f6fb;
  font-family: 'Poppins', sans-serif;
}

.profile-wrap {
  max-width: 1150px;
  margin: 50px auto;
  box-shadow: 0 12px 40px rgba(20, 20, 50, 0.06);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.left {
  flex: 0 0 34%;
  background: linear-gradient(135deg, #1766f2 0%, #6d28d9 100%);
  color: #fff;
  padding: 32px;
  text-align: center;
  position: relative;
}

.left .avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid #fff;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  margin: 0 auto 16px;
  background: #fff;
}

.left h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.left p.title {
  opacity: 0.95;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.badge-soft {
  display: inline-block;
  background: rgba(255, 255, 255, 0.13);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.stat-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 10px;
  min-width: 110px;
}

.stat b {
  display: block;
  font-size: 1.05rem;
}

.contact-btns {
  margin-top: 18px;
}

.contact-btns .btn {
  border-radius: 30px;
  padding: 8px 18px;
  margin: 4px 6px;
}

.right {
  flex: 0 0 66%;
  padding: 28px 30px;
}

.section-title {
  text-transform: uppercase;
  color: #6d28d9;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.bio p {
  color: #222;
  line-height: 1.6;
}

.spec-list li {
  margin-bottom: 6px;
  color: #333;
}

.hr {
  height: 1px;
  background: #eef0f6;
  margin: 20px 0;
  border-radius: 4px;
}

.carousel-inner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.faq .accordion-button {
  color: #222;
}

.cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  background: linear-gradient(135deg, #002b5c, #004085, #001d3d);
  background-size: 300% 300%;
  animation: gradientFlow 12s ease infinite;
  color: #fff;
  font-size: 0.9rem;
}


@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.footer .footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.footer .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .hover-light:hover {
  color: #fff !important;
}

.footer hr {
  opacity: 0.15;
  margin: 10px 0;
}

@media(max-width:992px) {

  .left,
  .right {
    flex: 0 0 100%;
  }

  .left {
    padding: 22px;
  }

  .right {
    padding: 22px;
  }

  .carousel-inner img {
    height: 220px;
  }
}