/* General Styles*/
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f8f9fa;
  color: #333;
}


/* Hero Section 
.hero {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: left;
  padding: 5em 1em;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1em;
}
*/

.btn {
  background-color: #002147;
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

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

#heroCarousel {
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
  position: relative;
  background-color:#23374d;
}

.carousel-item {
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw;             /* full width of screen */
  padding: 0 5%;     
  padding-top: 10%;       /* or less if needed */
  gap: 2rem;
}

.carousel-text {
  flex: 1 1 60%;
  color: #ffffff;
}

.carousel-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.carousel-image img {
  max-width: 100%;
  width: 100%;              /* let it stretch inside its container */
  max-width: 600px;         /* control image width */
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-top: 100px;
}


.carousel-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.carousel-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}


.carousel-indicators {
  display: flex !important;
  justify-content: center;
  margin-top: 1rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: navy;
  opacity: 0.5;
  margin: 0 5px;
}

.carousel-indicators .active {
  opacity: 0.5;
  background-color: #000;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  background-color: #69c7fd;
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.learn-more-btn:hover {
  background-color: white;
  color: rgb(0, 51, 128);
  border: 1px solid navy;
}

@media (max-width: 768px) {
  #heroCarousel {
    height: auto; /* Allow height to adjust naturally */
  }

  .carousel-item {
    height: auto;
margin-top: 70px;

  }

  .carousel-content {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1rem;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .carousel-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .carousel-text h1 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
    margin-bottom: 1rem;
  }

  .carousel-text p {
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
    margin-bottom: 1.5rem;
  }

  .learn-more-btn {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .carousel-image {
    display: none !important;
  }

  .carousel-indicators {
    position: static;
    margin-top: 1.5rem;
    justify-content: center;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}
.stats-section {
  background-color: #001f3f;
  padding: 30px 20px;
  text-align: center;
}

.stats-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px; /* Reduced gap for better responsiveness */
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  color: white;
  margin: 10px 0;
  flex: 1 1 300px; /* Allows wrapping and flexible width */
  max-width: 400px;
}

.stat-item h2 {
  font-size: 22px;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}

.stat-icon {
  font-size: 40px;
  color: white;
}

/* Optional: Make text center-aligned on mobile */
@media (max-width: 600px) {
  .stat-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-item h2 {
    text-align: center;
  }
}


.offer-section {
  text-align: center;
  padding: 80px 20px;
}

.offer-badge {
  display: inline-block;
  background-color: #001f3f;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.offer-heading {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #001f3f;
}

.offer-text {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  color: #000000;
  line-height: 1.6;
}

/* Boxes Section */
.offerings-section {
  padding: 80px 20px;
   background-image: url('images/couroselBack.jpeg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
}

.offerings-container {
  max-width: 1300px;
  margin: 0 auto;
 
}

.offerings-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.offering-box {
background: white;
  /*background:linear-gradient(rgb(111, 181, 211),rgb(63, 126, 155)) ;*/
  color: rgb(0, 0, 0);
  padding: 30px;
  width: 380px;
  min-height: 420px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.4s ease, transform 0.3s ease;
  text-align: center;
}

.offering-box:hover {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1),rgb(136, 142, 189));
  color: white;
  transform: translateY(-8px);

}

.offering-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: rgb(27, 33, 83);
}
.offering-box:hover .offering-icon {
  color: white;
}
.offering-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.offering-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.offering-btn {
  display: inline-block;
  background-color: #cae3f1;
  color: #000000;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.offering-btn:hover {
  background-color:#0052D4;
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .offering-box {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .offer-heading {
    font-size: 28px;
  }

  .offer-text {
    font-size: 16px;
  }

  .offering-box {
    width: 100%;
    min-height: auto;
  }

  .offering-title {
    font-size: 22px;
  }

  .offering-icon {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .offer-badge {
    padding: 10px 20px;
    font-size: 16px;
  }

  .offer-heading {
    font-size: 24px;
  }

  .offer-text {
    font-size: 15px;
  }

  .offering-btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}

.dotted-all-sides {
  text-align: center;
  margin: 40px 0;
}

.dotted-text {
  display: inline-block;
  border: 2px dotted #001f3f;
  padding: 20px 40px; /* default padding */
  border-radius: 4px;
  color: #001f3f;
  font-size: 18px;
  line-height: 1.4;
  max-width: 90%;
  box-sizing: border-box;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .dotted-text {
    padding: 20px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .dotted-text {
    padding: 15px 15px;
    font-size: 15px;
  }
}


/*features section*/
/* ===== Feature Section Styles ===== */
.feature-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow:
        0 0 15px rgba(12, 11, 83, 0.15); /* even, soft shadow around the box */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
   background: white;
  color: black;
  transform: translateY(-8px);
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #112f57, #4fd1d9);
}

.feature-title {
    color: #112f57;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 3.5rem;
}

.feature-title::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #002147;
}

/* Individual Icons for Each Box */
.feature-box:nth-child(1) .feature-title::before {
   color: #4fd1d9;
    content: "\f0f8"; /* Hospital */
}

.feature-box:nth-child(2) .feature-title::before {
  color: #4fd1d9;
    content: "\f469"; /* Hospital Alt */
}

.feature-box:nth-child(3) .feature-title::before {
   color: #4fd1d9;
    content: "\f0f0"; /* Medical Briefcase */
}

.feature-box:nth-child(4) .feature-title::before {
   color: #4fd1d9;
    content: "\f0fa"; /* First Aid */
}

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

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
        padding-top: 3rem;
    }
    
    .feature-title::before {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .feature-section {
        padding: 3rem 1rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
        padding-top: 2.5rem;
    }
}
#more-specialities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers the boxes horizontally */
  gap: 10px; /* controls spacing between boxes */
  margin-top: 30px;
}

 .features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  box-sizing: border-box;
}

/* This is the correct class name based on your HTML */
.feature-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background-color: #003366;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;         /* allow line breaks */
  word-break: break-word;      /* break long words if needed */
  max-width: 200px;            /* prevents overly wide buttons */
  width: 100%;                 /* ensures it scales in container */
  min-height: 60px;
  box-sizing: border-box;
}

/* Fix for icon spacing */
.feature-button i {
  margin-right: 8px;
}

/* Mobile view */
@media (max-width: 600px) {
  .features-container {
    gap: 10px;
  }

  .feature-button {
    font-size: 15px;
    max-width: 90%;
  }
}

  .hidden {
    display: none;
  }

/*Choose Us Section*/
.choose-us-section {
  padding: 60px 20px;
  background-color: #eef6fb;
}
.choose-us-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.choose-us-image {
  flex: 1 1 400px;
  text-align: center;
}
.choose-us-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
}
.choose-us-content {
  flex: 1 1 400px;
}

.choose-us-badge {
  display: inline-block;
  background-color: #001f3f;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.choose-us-title {
  font-size: 2em;
  color: #002147;
  margin-bottom: 20px;
}
.choose-us-text {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}

.choose-us-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.choose-us-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}
.choose-us-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border: 2px dotted #001f3f;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .choose-us-container {
    flex-direction: column;
    text-align: center;
  }

  .choose-us-content ul {
    margin: 0 auto;
    text-align: left;
  }
  .choose-us-content {
    text-align: center;
  }
  .choose-us-list li {
    padding-left: 0;
  }
  .choose-us-list li::before {
    left: 50%;
    transform: translateX(-150%);
  }
}

.kpis-section {
background-image: url('images/couroselBack.jpeg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
  padding: 80px 20px;
  background-color: #15103f;
  text-align: center;
}
.kpis-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}
.kpis-badge {
  display: inline-block;
  background-color: #cae3f1;
  color: #000000;
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}
.kpis-heading {
  font-size: 28px;
  color: #001f3f;
  margin-bottom: 20px;
}
.kpis-text {
  font-size: 20px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 40px;
}
.kpi-boxes {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.kpi-box {
  background-color: #fff;
  border: 1px solid #e1e1e1;
  padding: 30px;
  width: 220px;
  border-radius: 12px;
  color: #001f3f;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}
.kpi-box::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 12px;
  border: 3px solid #001f3f;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}
.kpi-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.kpi-box:hover::before {
  opacity: 1;
}
.percentage {
  font-size: 24px;
  font-weight: normal;
}
.percentage.bold {
  font-weight: bold;
}
.box-heading {
  font-weight: normal;
  font-size: 16px;
  text-align: center;
}
@media (max-width: 768px) {
  .kpi-boxes {
    flex-direction: column;
    align-items: center;
  }
}

/* Who We Are Section */
/* Base Styles */
.who-section {
  padding: 80px 20px;
  background-color: #fff;
}

.who-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.who-content {
  flex: 1 1 380px;
}

.who-heading {
  font-size: 28px;
  color: #001f3f;
  margin: 16px 0;
}

.who-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Base styling (desktop & general) */
.who-list {
  text-align: left;
  padding-left: 0;
  margin-left: 0;
}

.who-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
  text-align: left;
  justify-content: flex-start;
}

/* Mobile-specific override */
@media (max-width: 768px) {
  .who-list {
    text-align: left !important;
  }

  .who-list li {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}


.who-icon {
  color: #001f3f;
  margin-right: 10px;
  font-size: 18px;
}

.who-image {
  flex: 1 1 300px;
  max-width: 100%;
}

.who-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .who-section {
    padding: 60px 15px;
  }

  .who-container {
    gap: 30px;
  }

  .who-heading {
    font-size: 24px;
  }

  .who-text {
    font-size: 15px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .who-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .who-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .who-list li {
    justify-content: center;
  }

  .who-icon {
    margin-right: 8px;
  }

  .who-heading {
    font-size: 22px;
  }

  .who-text {
    font-size: 14px;

  }
}


/* Contact Banner Section */
.contact-banner {
  background-color: #112f57;
  padding: 30px 20px;
}
.contact-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.contact-banner-text p {
  color: #ffffff;
  font-size: 18px;
  margin: 0;
}
.contact-banner-text strong {
  font-weight: bold;
}
.contact-banner-button {
  margin-top: 10px;
}
.contact-us-btn {
  background-color: #ffffff;
  color: #001f3f;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}
.contact-us-btn:hover {
  background-color: #001f3f;
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-banner-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.why-choose-us-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  margin: auto;
  gap: 50px;
}

/* Left Image Section */
.why-choose-us-image {
  flex: 1;
  min-width: 300px;
}

.why-choose-us-image img {
  width: 100%;
  border-radius: 15px;
}

/* Right Text Section */
.why-choose-us-text {
  flex: 1;
  min-width: 300px;
}

/* Oval Heading */
.oval-heading {
  background-color: #0a2b5f; /* Navy blue */
  color: white;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
}

/* Bullet Points */
.why-choose-list {
  list-style-type: disc;
  color: rgb(0, 0, 0);
  margin-top: 20px;
  padding-left: 20px;
}

.why-choose-list li {
  margin-bottom: 15px;
  font-size: 16px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  text-align: center;
  margin-bottom: 40px;
}

/* Main Feature Buttons */
.feature-button {
  background-color: white;
  border: 2px solid #0a2b5f;
  border-radius: 12px;
  padding: 20px 10px;
  color: #0a2b5f;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.feature-button i {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.feature-button p {
  margin: 0;
  font-weight: normal;
}

/* Hover Effect */
.feature-button:hover {
  background-color: #0a2b5f;
  color: white;
}

/* Big Oval Button */
.features-button-container {
  text-align: center;
}

.features-button {
  padding: 12px 30px;
  background-color: #0a2b5f; /* Navy Blue */
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.features-button:hover, .features-button:active {
  background-color: white;
  color: #0a2b5f;
  border: 2px solid #0a2b5f;
}

/* Services Section */
.services {
  padding: 3em 1em;
  background-color: #fff;
  text-align: center;
}

.services h2 {
  margin-bottom: 2em;
  color: #002147;
}

.cards {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background-color: #f0f4f8;
  padding: 2em;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 0.5em;
  color: #002147;
}



/* Footer */
.footer {
  background-color: #002147;
  color: #fff;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
}

.demo-button-container {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.free-demo-btn {
  padding: 10px 20px;
  background-color: white;
  color: #002147;
  border: 2px solid #002147;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.free-demo-btn:hover {
  background-color: #002147;
  color: white;
}@media (max-width: 768px) {
  .free-demo-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .free-demo-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  #services-dropdown {
    width: 90vw;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    width: 100%;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px 20px 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.badge {
  width: 60px;
  height: 60px;
  background: #112f57;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em; /* Increased from 1.2em to 2em */
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.box h3 {
  margin-top: 40px;
  font-size: 1.1em;
  color: #111;
}

.box p {
  font-size: 0.95em;
  color: #333;
  margin-top: 10px;
  line-height: 1.6;
}

.highlight {
  width: 40px;
  height: 3px;
  background: #f5c518;
  margin: 10px auto;
} 
