body {
    font-family: 'Inter', sans-serif;
    color: #2d3748;
}
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 80px;
}
.logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
/* Logo & Brand Styling */
.navbar-brand img {
    object-fit: contain;
}

.brand-text {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.text-teal {
    color: #148b76 !important; /* Hospital Green */
}

/* Sticky Navbar Optimization */
.sticky-top {
    transition: all 0.3s ease-in-out;
    z-index: 1020;
}

/* Ensure smooth scrolling doesn't hide content under the sticky nav */
:target {
    scroll-margin-top: 90px;
}

/* --- The Hover Line Animation --- */
.animated-link {
    position: relative;
    padding-bottom: 2px;
    margin: 0 10px;
}

.animated-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #148b76;
    transition: width 0.35s ease-in-out; /* The slow ease-in you requested */
}

.animated-link:hover::after {
    width: 100%;
}

/* Green Button */
.btn-hospital {
    background-color: #148b76;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hospital:hover {
    background-color: #0d6d5c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 139, 118, 0.2);
}
/* Hero Background */

.hero-section {
    min-height: 100vh;
    background:
        linear-gradient(
            to right,
            rgba(15, 35, 45, 0.85),
            rgba(15, 35, 45, 0.65)
        ),
        url("../images/hospital 1.jpg");
    background-size: cover;
    background-position: center;
    padding-top: 120px;
}


.hero-section h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

.hero-section p {
    max-width: 520px;
    color: #e4e4e4;
    font-size: 15.5px;
}
.btn-green {
    background-color: #148b76; 
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-green:hover {
    background-color: #0d6d5c; 
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: #1a2b41; 
    border-color: white;
}
.stats-wrapper {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.stat-card {
    background: #ffffff;
    width: 118px;
    padding: 6px 8px;   
    border-radius: 9px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
}
.stat-number {
    font-size: 16px;    
    font-weight: 600;
    color: #1dbf73;
    line-height: 1;
}

.services-title {
    color: #212529;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.services-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #00b09b; 
    border-radius: 5px;
}

.service-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important; 
}
.service-card .card-title {
    font-weight: 700; 
    font-size: 1.35rem;
    color: #343a40;
}
.service-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important; 
}
.service-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
}
.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.lab-icon {
    background-color: #38c172;
    box-shadow: 0 6px 15px rgba(56, 193, 114, 0.4); 
}

.surgery-icon {
    background-color: #ff9900; 
    box-shadow: 0 6px 15px rgba(255, 153, 0, 0.4); 
}

.general-med-icon {
    background-color: #00bcd4; 
    box-shadow: 0 6px 15px rgba(0, 188, 212, 0.4); 
}

.heart-icon {
    background-color: #f75d81; 
    box-shadow: 0 6px 15px rgba(247, 93, 129, 0.4); 
}

.brain-icon {
    background-color: #8c7ae6; 
    box-shadow: 0 6px 15px rgba(140, 122, 230, 0.4); 
}

.lung-icon {
    background-color: #20c997; 
    box-shadow: 0 6px 15px rgba(32, 201, 151, 0.4); 
}

.hospital-about {
    background-color: #f6f8f7;
}
.about-badge {
    display: inline-block;
    padding: 8px 24px;
    background-color: #f0fdfa;
    color: #148b76;           
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;       
    text-transform: capitalize;
}
.text-teal {
    color: #148b76; 
}

.text-dark-blue {
    color: #1a2b41;
}

.content-text p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.image-stack {
    position: relative;
    padding-top: 80px; 
    padding-left: 50px;
}

.main-img-wrapper {
    position: relative;
    width: 100%;
}

.doctor-img-wrapper {
    position: absolute;
    top: -50px;
    left: -10%;
    width: 60%;
    border: 10px solid white;
    border-radius: 25px;
    z-index: 2;
    overflow: hidden;
}

.doctor-img-wrapper img {
    display: block;
    width: 100%;
}

.badge-accredited {
    position: absolute;
    top: 30%;
    left: 15%;
    background: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    padding: 10px;
    line-height: 1.2;
}

.badge-icon {
    font-size: 1.5rem;
    color: #148b76;
    margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .image-stack {
        padding-top: 60px;
        padding-left: 0;
        margin-top: 50px;
    }
    .doctor-img-wrapper {
        width: 50%;
        left: 0;
    }
}
.site-footer {
    padding: 90px 0;
    background: #ffffff;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 22px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.icon-box {
    width: 42px;
    height: 42px;
    background: #e6fffa;
    color: #1dbf73;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
}

.contact-item strong {
    font-size: 14px;
}

.contact-item p {
    font-size: 14px;
    color: #4a5568;
    margin: 4px 0 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #4a5568;
    font-size: 15px;
}

.footer-links a:hover {
    color: #1dbf73;
}

.footer-text {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 18px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

.newsletter-form button {
    background: #148b76;
    border: none;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
}

.privacy-text {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #718096;
}
.health-footer {
  padding: 100px 0;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
}

.footer-heading {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.icon-box {
  width: 44px;
  height: 44px;
  background: #e6fffa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #148b76;
  transition: all .25s ease;
}

.icon-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-row:hover .icon-box {
  background: #148b76;
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-row p {
  font-size: 14.5px;
  color: #4a5568;
  margin: 6px 0 0;
}

.social-wrap {
  margin-top: 28px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: #148b76;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 14px;
}

.quick-links a {
  color: #4a5568;
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

.quick-links a::before {
  content: "›";
  color: #148b76;
  margin-right: 8px;
}

.quick-links a:hover {
  color: #148b76;
}

.footer-desc {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 18px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.subscribe-form button {
  background: #148b76;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: all .2s ease;
}

.subscribe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(29,191,115,.35);
}

.privacy-note {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #718096;
}

.emergency-box {
  margin-top: 28px;
  padding: 22px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 14px;
}

.emergency-box span {
  color: #e53e3e;
  font-weight: 600;
}

.emergency-box strong {
  display: block;
  font-size: 32px;
  color: #e53e3e;
  margin: 4px 0;
}

.emergency-box p {
  font-size: 14px;
  color: #742a2a;
}
.hc-footer {
  background: linear-gradient(135deg, #148b76, hsl(147, 40%, 65%));
  font-family: 'Inter', sans-serif;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.footer-list li:hover {
  transform: translateX(4px);
  opacity: 1;
}

.emergency-card {
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.emergency-card h2 {
  font-size: 36px;
}

.emergency-card .badge {
  background: rgba(255,255,255,.25);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 16px 0;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

.footer-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover {
  text-decoration: underline;
}



