*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    background: white;
}
/* scroll button*/
#progress{
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 45px;
    height: 45px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0,0,10px rgb(225, 222, 216);
    cursor: pointer;
    z-index: 9999;
}
#progress-value{
    display: block;
    height: calc(98% - 3px);
    width: calc(98% - 3px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    z-index: 9999;
}
/*styling top-footer */
.top-footer{
    background: rgb(0, 0, 0);
    height: 40px;
    z-index: 9999;
    position: relative;
}
.top-footer .box{
    position: relative;
    padding: 10px 0;
    display: flex;
    
}
.top-footer .box .icon{
    min-width: 60px;
    height: 23px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.top-footer .box .text-1{
    display: flex;
    font-size:.95rem;
    height: 10px;
    color: #ffffff;
    text-overflow: ellipsis;
}
.top-footer .box .text-1 a{
    color: white;
    text-decoration: none;
}
.top-footer .box .text-1 a:hover{
    color: #38bdf8;
}
.social-link-list{
    display: flex;
    margin-left: 790px;
    align-items: center;
    gap: 20px;
}
.social-link-list .social-link{
    color: #38bdf8;
    font-size: 17px;
}
.social-link-list .social-link:hover{
    color: #e3edd2;
}
/*styliing the header*/
header{
    width: 100%;
    min-height: 60px;
    background-color: #0C3BC7;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    position: sticky;
    top: 0;
}
header .logo{
    width: 78px;
}
header ul{
    position: relative;
}
header ul li{
    position: relative;
    list-style: none;
    float: left;
}
header ul li a{
    color: rgb(255, 255, 255);
    font-size: 18px;
    padding: 20px 25px;
    display: flex;
    text-decoration: none;
    justify-content: space-between;
}
header ul li a:hover{
    background: rgb(255, 254, 253);
    color: black;
}
/* Dropdown styles */
.dropdown .dropbtn {
    font-size: 18px;
    border: none;
    outline: none;
    padding: 14px 16px;
    background-color: #0C3BC7;
    margin-top: 6px;  
    font-family: inherit;
    color: #fff;
}
.dropdown .dropbtn:hover{
    background: rgb(255, 254, 253);
    color: black;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0C3BC7 !important; /* force theme green */
    color: #fff;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 1000;
    text-align: left;
}
.dropdown-content li a {
    padding: 10px;
    color: #ffffff;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* styling whatsapp*/
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
/*heros about*/
.hero-about{
    background: url(image/b946e5d3f0640522eddb13b3e611c488Edited.jpg);
    background-size: cover;
    height: 50vh;
}
.content{
    text-align: center;
    text-shadow: 2px 0px 2px rgb(0, 0, 0);
    position: absolute;
    top: 40%;
    left: 10%;
}
.content h2{
    color: #38bdf8;
    font-size: 58px;
}
.content p{
    color: #fff;
    font-size: 20px;
}
/* department*/
.services-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 30px;
}
.services-section h2 {
  grid-column: 1 / -1;
  font-size: 2rem;
  font-weight: 700;
  text-align: left;       /* align with left buttons */
  padding-left: 0;        /* optional: same padding as sidebar */
}
.services-section p {
  grid-column: 1 / -1;
  font-size: 17px;
  text-align: left;       /* align with left buttons */
  padding-left: 0;        /* optional: same padding as sidebar */
}
.services-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dept-btn {
  position: relative;            /* required for the arrow positioning */
  padding: 1rem 1rem;         /* keep padding standard */
  border: none;
  border-radius: 3px;
  font-size: 17px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
/* Active & hover styles */
.dept-btn.active,
.dept-btn:hover {
  color: #0C3BC7;
}
.services-content {
  display: block;
  flex: 2;
  min-width: 80px;
}
/* Hide all department containers by default */
.dept-services {
  display: none;
  gap: 1.5rem;
}
/* Show active department */
.dept-services.active {
  display: grid;
}
.service-card {
  padding: 0rem 1rem;
  display: flex;
  gap: 50px;
}
.service-card .pic{
    flex: 1;
    min-width: 390px;
    padding: 1px;
}
.service-card img{
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.393);;
}
.dept-services h3{
    grid-column: 1 / -1;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;       /* align with left buttons */
    padding-left: 0;        /* optional: same padding as sidebar */
}
.service-card p{
    margin-top: px;
    font-size: 15.8px;
    text-align: justify;
}
/* Arrow outside the button */
.dept-btn.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;                 /* attach outside the right edge */
  margin-left: 1px;           /* small gap between button and arrow */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid #0C3BC7; /* arrow color */
}
/* ============================= */
/* CHAT WRAPPER */
/* ============================= */

.chat-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    font-family: Arial, Helvetica, sans-serif;
}

/* ============================= */
/* FLOATING CHAT BUTTON */
/* ============================= */

.chat-button {
    width: 60px;
    height: 60px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* Optional subtle pulse animation */
.chat-button::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ============================= */
/* TOOLTIP POPUP */
/* ============================= */

.chat-tooltip {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: #3eb5ff;
    color: #333;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    font-size: 15px;
    width: 230px;
    animation: fadeIn 0.4s ease;
}

.chat-tooltip::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: #3eb5ff transparent transparent transparent;
}

.close-tooltip {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* CHAT POPUP WINDOW */
/* ============================= */

.chat-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Heading */
.chat-popup h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

/* ============================= */
/* TEXTAREA */
/* ============================= */

.chat-popup textarea {
    width: 100%;
    min-height: 10px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 12px;
    transition: border 0.3s ease;
}

.chat-popup textarea:focus {
    outline: none;
    border: 1px solid #0d6efd;
}

/* ============================= */
/* SEND BUTTON */
/* ============================= */

.chat-popup button {
    width: 100%;
    padding: 12px;
    background: #3aa6cf;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-popup button:hover {
    background: #2d8fb4;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media (max-width: 480px) {

    .chat-wrapper {
        bottom: 15px;
        right: 15px;
    }

    .chat-popup {
        width: 90%;
        right: 5%;
        bottom: 90px;
    }

    .chat-button {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}
/* styling footer */
footer{
    display: flex;
    flex-wrap: wrap;
    background: #0C3BC7;
    color: #fff;
    padding: 50px 20px 20px;
}
ul{
    list-style: none;
    
}
.list{
    padding: 7px;
}
.list li{
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}
.footer-col{
    display: inline-block;
    width: 22%;
    vertical-align: top;
    margin-right: 3%;
    margin-bottom: 20px;
}
.footer-col h2 {
    position: relative; /* Required for ::before to position properly */
    font-size: 23px;
    margin-bottom: 15px;
    text-align: center;
    color: #ffffffd2;
}
.footer-col p{
    margin-left: 9px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  font-size: 17px;
  text-align: left;
  margin-left: 30px;
}
.footer-col ul li a {
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #2ab5ff;
}
.social-icons{
    text-align: center;
    padding: 7px;
}
.social-icons li{
    display: inline-block;
    text-align: center;
    padding: 5px;
   
 }
 .social-icons i{
    color: white;
    font-size: 18px;
 }
 a{
    text-decoration: none;
    color: #ffffff;
 }
 a:hover{
    color: #6FAE3D;
 }
 .social-icons i:hover{
    color: #99e9ff;
 }
 .bottom-bar{
    text-align: center;
    padding: 10px 0;
    margin: auto;
    margin-top: 50px;
 }
.bottom-bar p{
    color: #ffffff;
    margin: auto;
    font-size: 18px;
    padding: 7px;
}

/*styling bottom-footer*/
.bottom-footer{
    text-align: center;
    background-color: #4e4d4d;
}
.craft{
    padding: 6px ;
}
.craft p{
    color: #fff;
}
.craft a{
    color: #c5ffff;
}
.craft a:hover{
    color: rgb(134, 173, 237);
}
@media (max-width: 900px) {
  .services-section {
    grid-template-columns: 1fr;
  }
  .dept-btn.active::after {
    display: none;  /* optional, hides arrow on mobile */
  }
}
/* Responsive */
@media (max-width: 1115px){
    .social-link-list{
        margin-left: 580px;
    }
    header .logo{
        width: 75px;  
    }
    .content{
        left: 10%;
    }
    .about-section{
        padding: 20px;
        border: 20px;
    }
    .container{
        flex-direction: column;
    }
    .image-section{
        flex: 1;
        min-width: 300px;
        padding: 10px;
    }
}
@media (max-width: 1050px){
    .social-link-list{
        margin-left: 570px;
    }
    .top-footer .box .text-1{
        display: flex;
        font-size:.90rem;
        height: 10px;
        color: #ffffff;
        text-overflow: ellipsis;
    }
    .top-footer .box .icon{
        font-size: 16px;
    }
    header .logo{
        width: 45px;
        
    }
    header ul li a{
        color: rgb(255, 255, 255);
        font-size: 16px;
        padding: 9px 15px;
        margin-top: 6px;
        display: flex;
    }
    .dropdown .dropbtn {
        font-size: 16px;
        padding: 9px 15px;
        background-color: #0C3BC7;
        margin-bottom: 6px !important; 
        font-family: inherit;
        color: #fff;
    }
    .dropdown-content li a {
        padding: 10px;
        color: #ffffff;
        font-size: 16px;
    }
    .service-card{
        flex-direction: column;
    }
    .service-card .pic{
        flex: 1;
        min-width: 350px;
        padding: 10px;
    }
    .doctor-tip {
        padding: 0px;
    }
    .doctor-tip h4{
        font-size: 1.8rem;
    }
    .doctor-info h2 { margin: 8px 0 15px; }
    .doctor-info p {font-size: 15px;}
    .tips {
        font-size: 14px;
    }
}
@media (max-width: 1000px){
    .social-link-list{
        margin-left: 500px;
    }
    .top-footer .box .text-1{
        display: flex;
        font-size:.85rem;
        height: 10px;
        color: #ffffff;
        text-overflow: ellipsis;
    }
    .top-footer .box .icon{
        font-size: 16px;
    }
    header .logo{
        width: 40px;
        
    }
    header ul li a{
        color: rgb(255, 255, 255);
        font-size: 14px;
        padding: 9px 15px;
        margin-top: 6px;
        display: flex;
    }
    .dropdown .dropbtn {
        font-size: 14px;
        padding: 9px 15px;
        background-color: #0C3BC7;
        margin-bottom: 6px !important; 
        font-family: inherit;
        color: #fff;
    }
    .dropdown-content li a {
        padding: 10px;
        color: #ffffff;
        font-size: 14px;
    }
    .service-card{
        flex-direction: column;
    }
    .service-card .pic{
        flex: 1;
        min-width: 350px;
        padding: 10px;
    }
    .dropdown-content li a {
        padding: 10px;
        color: #ffffff;
        font-size: 16px;
    }
}
@media (max-width: 950px){
    .social-link-list{
        margin-left: 470px;
    }
    .top-footer .box .text-1{
        display: flex;
        font-size:.85rem;
        height: 10px;
        color: #ffffff;
        text-overflow: ellipsis;
    }
    .top-footer .box .icon{
        font-size: 16px;
    }
    header .logo{
        width: 40px;
        
    }
    header ul li a{
        color: rgb(255, 255, 255);
        font-size: 13px;
        padding: 9px 15px;
        margin-top: 6px;
        display: flex;
    }
    .dropdown .dropbtn {
        font-size: 13px;
        padding: 9px 15px;
        background-color: #0C3BC7;
        margin-bottom: 6px !important; 
        font-family: inherit;
        color: #fff;
    }
    .dropdown-content li a {
        padding: 10px;
        color: #ffffff;
        font-size: 13px;
    }
    .service-card{
        flex-direction: column;
    }
    .service-card .pic{
        flex: 1;
        min-width: 350px;
        padding: 10px;
    }
}
@media (max-width: 900px) {
    .top-footer {
        display: none;
    }

    header {
        padding: 10px 20px;
    }

    header .logo {
        width: 75px;
    }

    /* ===== MOBILE NAV CONTAINER ===== */
    header nav {
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        background: #0C3BC7; /* theme color */
        display: none;
        z-index: 1000;
        text-align: center;
        padding: 20px 0;
    }

    /* Show menu when header is active */
    header.active nav {
        display: block;
    }
    header.active {
        background-color: #0C3BC7 !important;
    }
    /* ===== NAV LIST ===== */
    header nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    header nav ul li {
        list-style: none;
        width: 100%;
    }

    header nav ul li a,
    .dropdown .dropbtn {
        display: block;
        width: 100%;
        color: #fff;
        font-size: 18px;
        padding: 15px 0;
        text-decoration: none;
    }

    header nav ul li a:hover {
        color: black;
        background-color: transparent;
    }

    /* ===== DROPDOWNS (MOBILE SAFE) ===== */
    .dropdown {
        position: static;
        width: 100%;
        background-color: #0C3BC7 !important; /* force green */
    }

    .dropdown-content {
        position: static;
        background-color: #0C3BC7 !important; /* force green */
        color: #fff; /* text color */
        text-align: center;
    }
    

    /* FORCE disable hover on mobile (fixes "won't close") */
    .dropdown:hover .dropdown-content {
        display: none !important;
    }

    /* Open dropdown when active (JS controlled) */
    .dropdown.active .dropdown-content {
        display: block !important;
    }

    .dropdown-content li a {
        padding: 12px 16px;
        color: #fff;
        border-top: 1px;
        font-size: 16px;
    }

    .dropdown .dropbtn {
        font-size: 18px;
        font-weight: 400;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* REMOVE mobile button grey tap/active color */
    .dropdown .dropbtn,
    .dropdown .dropbtn:focus,
    .dropdown .dropbtn:active {
        background-color: #0C3BC7 !important;
        color: #fff;
        outline: none;
        box-shadow: none;
    }

    /* Remove Android / iOS tap highlight */
    .dropdown .dropbtn {
        -webkit-tap-highlight-color: transparent;
    }
    /* ===== HAMBURGER TOGGLE ===== */
    .menuToggle {
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menuToggle::before,
    .menuToggle::after {
        content: '';
        position: absolute;
        width: 70%;
        height: 2px;
        background: #fff;
        transition: 0.3s;
    }

    .menuToggle::before {
        transform: translateY(-10px);
        box-shadow: 0 10px #fff;
    }

    .menuToggle::after {
        transform: translateY(10px);
    }

    /* Transform to X */
    header.active .menuToggle::before {
        transform: rotate(45deg);
        box-shadow: none;
    }

    header.active .menuToggle::after {
        transform: rotate(-45deg);
    }
    html {
        scroll-behavior: smooth;
    }
    .content{
        top: 30%;
        align-items: center;
    }
    .content h2{
        color: #38bdf8;
        font-size: 50px;
    }
    .service-card{
        flex-direction: column;
    }
    .service-card .pic{
        flex: 1;
        min-width: 300px;
        padding: 10px;
    }
    .faq-container {
        grid-template-columns: 1fr;
    }
    footer{
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
    }
    .footer-col ul {
        margin-left: 1px;
    }
    .footer-col p {
        width: 100%;
    }
    .footer-col h2 {
        text-align: left;
    }
    .social-icons{
        text-align: left;
        padding: 7px;
    }
    .list li{
        text-align: left;
        border-bottom: 1px solid #ffffff79;
    }
    .list li::before{
        display: none;
    }
    .footer-col h2::before {
        display: none;
    }
}