:root{
  --white:#FFFFFF;
  --blue-soft:#ffce00;
  --yellow:#003f88;
  /* #fbda1b; */
  --text:#1f2933;
}
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
  font-family:'Poppins','Segoe UI',Arial,sans-serif;
  background:var(--white);
  color:var(--text);
  line-height:1.6;
}

.container{
  max-width:1400px;
  margin:auto;
  padding:0 20px;
}

section{
    padding:30px 0
}

/* ----------- HERO SECTION---------*/

.page-hero {
            position: relative;
            height: 320px;
            background: url("../images/oralcare.jpg") center/cover no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* Gradient overlay */
        .page-hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg,
                    rgba(0, 80, 157, 0.6),
                    rgba(14, 165, 233, 0.6));
            z-index: 1;
        }

        /* Text content */
        .page-hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0 20px;
        }

        .page-hero-content h1 {
            color: #ffffff;
            font-size: 48px;
            font-weight: 600;
            letter-spacing: -0.5px;
        }
        .page-hero-content p {
          color: #ffffff;
        }

        @media (max-width: 768px) {
            .page-hero {
                height: 240px;
            }

            .page-hero-content h1 {
                font-size: 30px;
            }
        }

        @media (max-width: 480px) {
            .page-hero-content h1 {
                font-size: 24px;
            }
        }

        .page-hero-content {
            animation: fadeUp 0.8s ease forwards;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

/* 
.hero{
  background:var(--yellow);
  padding: 120px 20px 100px;
}
.hero-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}
.hero h1{
  font-size:42px;
  font-weight:600;
  margin-bottom:16px;
  color: var(--white);
}

.hero p{
  color: var(--white);
}

.hero-line{
  width:56px;height:4px;
  background:var(--yellow);
  margin-bottom:18px;
}
.hero img{
  width:75%;
  height:300px;
  border-radius:10px;
} */

/* ---------- SECTION TITLE ---------- */
.section-title{
  text-align:center;
  margin:60px 0 40px;
}

.section-title h2{
  font-size:32px;
  color: rgba(0, 114, 167, 0.877);
}

.section-title span{
  width:60px;
  height:4px;
  background: linear-gradient(90deg,
                   rgba(0, 80, 157, 0.6) ,
                    rgba(14, 165, 233, 0.6)
                    );
  display:block;
  margin:10px auto 0;
  border-radius:10px;
}

.cards{
  max-width:1200px;
  margin:auto;
  padding:0 20px 80px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.card{
  border:1px solid var(--blue-soft);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  transition:.3s;
}

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

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.card-content{
  padding:25px;
}

.card-content h3{
  font-size:20px;
  margin-bottom:10px;
}

.card-content p{
  font-size:14px;
  line-height:1.6;
  color:#555;
}

.btn{
  margin-top:15px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  background: linear-gradient(90deg,
                   rgba(0, 80, 157, 0.6) ,
                    rgba(14, 165, 233, 0.6)
                    );
  color:var(--white);
  border:none;
  padding:10px 20px;
  border-radius:25px;
  cursor:pointer;
  font-size:14px;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

.modal-box{
  width:90%;
  max-width:850px;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  position:relative;
}

.modal-header{
  height:100px;
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
    url('Images/oralcare.jpg') center/cover;
  display:flex;
  align-items:flex-end;
  padding:30px;
  color:#fff;
}

.modal-header h2{
  font-size:30px;
}

.close{
  position:absolute;
  top:15px;
  right:20px;
  font-size:26px;
  cursor:pointer;
  color:#fff;
}

.modal-body{
  padding:35px;
}

.modal-body h3{
  color:var(--yellow);
  margin:20px 0 10px;
}

.modal-body ul{
  padding-left:20px;
}

.modal-body li{
  margin-bottom:10px;
}

.tip{
  margin-top:20px;
  background:var(--blue-soft);
  padding:15px 20px;
  border-radius:12px;
  text-align: center;
  color:#000;
}

.pro-tip{
    color: red;
}

@media(max-width:600px){
  .hero h1{font-size:28px}
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 18px;
  font-weight: 600;
  color: #1F2A37;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin: 0 14px;
  text-decoration: none;
  font-size: 15px;
  color: #1F2A37;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #00509d;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ================= BUTTON ================= */

.btn-primary {
  background: #fbda1b;
  color: #111827;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border: none;
  cursor: pointer;
}
/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1F2A37;
  margin: 6px 0;
}

/* ================= FOOTER ================= */

.hospital-footer {
  background: #ffffff;
  color: #1F2A37;
  padding: 70px 20px 0;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #1F2A37;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #1F2A37;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 60px;
  padding: 18px 20px;
  border-top: 1px solid rgba(31,42,55,0.2);
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.dev-credit {
  opacity: 0.85;
}

/* ================= FOOTER RESPONSIVE FIX ================= */

/* Tablets & below */
@media (max-width: 992px) {

  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Mobiles */
@media (max-width: 768px) {

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links ul,
  .footer-contact ul {
    padding-left: 0;
  }

  .footer-links li,
  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero-wrap{
  display:grid;
  grid-template-columns:1.5fr;
  gap:60px;
  align-items:center;
}

 .hero img{
  width:100%;
  height:250px;
  border-radius:10px;
}

}
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 20px;
    border-bottom: 1px solid #E5E7EB;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Small phones */
@media (max-width: 480px) {

  .hospital-footer {
    padding: 50px 16px 0;
  }

  .footer-brand h3 {
    font-size: 20px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 16px;
  }

}
/* ================= FOOTER ICONS ================= */

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: #00509d;
  font-size: 15px;
  margin-top: 3px;
}

/* Social icons refinement */
.social-icons a i {
  font-size: 16px;
}

        .site-header {
            background: #ffffff;
            border-bottom: 1px solid #E5E7EB;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1200px;
            margin: auto;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-brand {
            font-size: 18px;
            font-weight: 600;
            color: #1F2A37;
            white-space: nowrap;
        }

        .nav-links {
            display: flex;
            align-items: center;
        }

        .nav-links a {
            margin: 0 14px;
            text-decoration: none;
            font-size: 15px;
            color: #1F2A37;
            font-weight: 500;
            position: relative;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: #00509d;
            transition: width 0.25s ease;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        /* ================= BUTTON ================= */

        .btn-primary {
            background: #fbda1b;
            color: #111827;
            padding: 12px 22px;
            border-radius: 6px;
            text-decoration: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
            border: none;
            cursor: pointer;
        }

        /* ================= HAMBURGER ================= */

        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
        }

        .hamburger span {
            display: block;
            width: 26px;
            height: 2px;
            background: #1F2A37;
            margin: 6px 0;
        }

        /* ================= FOOTER ================= */

        .hospital-footer {
            background: #ffffff;
            color: #1F2A37;
            padding: 70px 20px 0;
        }

        .footer-wrapper {
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
            gap: 50px;
        }

        .footer-brand h3 {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 14px;
        }

        .footer-brand p {
            font-size: 15px;
            line-height: 1.7;
            max-width: 360px;
        }

        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: 18px;
        }

        .social-icons a {
            width: 38px;
            height: 38px;
            background: #ffffff;
            color: #1F2A37;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: 600;
        }

        .footer-links h4,
        .footer-contact h4 {
            font-size: 18px;
            margin-bottom: 14px;
        }

        .footer-links ul,
        .footer-contact ul {
            list-style: none;
            padding: 0;
        }

        .footer-links li,
        .footer-contact li {
            font-size: 15px;
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #1F2A37;
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            margin-top: 60px;
            padding: 18px 20px;
            border-top: 1px solid rgba(31, 42, 55, 0.2);
            display: flex;
            justify-content: space-between;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            font-size: 14px;
        }

        .dev-credit {
            opacity: 0.85;
        }

        /* ================= FOOTER RESPONSIVE FIX ================= */

        /* Tablets & below */
        @media (max-width: 992px) {

            .footer-wrapper {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }

            .footer-brand {
                grid-column: 1 / -1;
                text-align: center;
            }

            .footer-brand p {
                margin-left: auto;
                margin-right: auto;
            }

            .social-icons {
                justify-content: center;
            }
        }

        /* Mobiles */
        @media (max-width: 768px) {

            .footer-wrapper {
                grid-template-columns: 1fr;
                gap: 32px;
                text-align: center;
            }

            .footer-links ul,
            .footer-contact ul {
                padding-left: 0;
            }

            .footer-links li,
            .footer-contact li {
                justify-content: center;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
        }

        @media (max-width: 900px) {
            .hamburger {
                display: block;
            }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #ffffff;
                flex-direction: column;
                align-items: center;
                gap: 18px;
                padding: 30px 20px;
                border-bottom: 1px solid #E5E7EB;
                display: none;
            }

            .nav-links.active {
                display: flex;
            }
        }

        /* Small phones */
        @media (max-width: 480px) {

            .hospital-footer {
                padding: 50px 16px 0;
            }

            .footer-brand h3 {
                font-size: 20px;
            }

            .footer-links h4,
            .footer-contact h4 {
                font-size: 16px;
            }

            .footer-bottom {
                font-size: 13px;
                padding: 16px;
            }
        }

        /* ================= FOOTER ICONS ================= */

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .footer-contact i {
            color: #00509d;
            font-size: 15px;
            margin-top: 3px;
        }

        /* Social icons refinement */
        .social-icons a i {
            font-size: 16px;
        }

        /* ================= DROPDOWN ================= */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 10px 0;
  min-width: 230px;
  display: none;
  z-index: 1000;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #1F2A37;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #F3F4F6;
}

/* Desktop hover */
@media (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile dropdown */
@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 10px 0 0;
  }
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}
/* BRAND LOGO */
.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 80px;
    height: auto;
}

.nav-brand span {
    font-size: 20px;
    font-weight: 600;
    color: #1F2A37;
    /* heading color */
}
@media (max-width: 768px) {
    .nav-brand span {
        font-size: 16px;
    }

    .brand-logo {
        width: 36px;
    }
}

/* MODAL OVERLAY */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* MODAL BOX */
.modal-box {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  animation: scaleIn 0.3s ease;
}

/* HEADER */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003f88;
  padding: 15px 20px;
}

.modal-header h2 {
  margin: 0 0 0 10px;
  text-align: center;
  font-size: 32px;
}

/* CLOSE BUTTON */
.modal-header .close {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  background: #111827;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BODY */
.modal-body {
  padding: 20px;
}

/* ANIMATION */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* ===== FOOTER DEVELOPER CREDIT ===== */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .dev-credit {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #4B5563;
            /* matches your text tone */
        }

        .dev-credit strong {
            font-weight: 600;
        }

        .dev-logo {
            width: 18px;
            height: auto;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }

            .dev-credit {
                justify-content: center;
            }
        }

        /* ================= FLOATING ICONS ================= */

.floating-icons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.float-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

/* Hover effect */
.float-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

/* Individual colors */
.float-icon.call {
  background: #1e88e5;
}

.float-icon.whatsapp {
  background: #25D366;
}

.float-icon.instagram {
  background: radial-gradient(circle at 30% 110%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%
  );
}

.float-icon.facebook {
  background: #1877F2;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .floating-icons {
    right: 12px;
  }

  .float-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
        /* ================= COLORFUL FOOTER ================= */

.hospital-footer {
  background: linear-gradient(135deg,
    rgba(0, 80, 157, 0.95),
    rgba(14, 165, 233, 0.9)
  );
  color: #F9FAFB;
  padding: 60px 20px 0 20px;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

/* BRAND */
.footer-logo {
  width: 110px;
  margin-bottom: 16px;
  /* filter: brightness(0) invert(0); */
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #E5E7EB;
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #FFCE00;
  color: #111827;
  transform: translateY(-3px);
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #E5E7EB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFCE00;
  text-decoration: none;
  font-weight: bold;
}

/* CONTACT */
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #E5E7EB;
}

.footer-contact i {
  color: #FFCE00;
  margin-top: 4px;
}

.footer-contact a {
  color: #E5E7EB;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #FFCE00;
  text-decoration: none;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.322);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}
.footer-bottom a:hover{
  color: #FFCE00;
  text-decoration: none;
  font-weight: bold;
}

.dev-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.dev-logo {
  width: 18px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-contact li {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

