*{
    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/About.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;
}
/*styling about-section*/
.about-section{
    padding: 40px;
    border: 50px;
}
.container{
    display: flex;
    gap: 50px;
}
.top 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 */
    margin-bottom: 5px;
}
.top h3{
    grid-column: 1 / -1;
    font-size: 1.4rem;
    font-weight: 650;
    text-align: left;       /* align with left buttons */
    padding-left: 0;        /* optional: same padding as sidebar */
    margin-bottom: 10px;
}
.top .about-text{
    font-size: 17px;
    text-align: justify;
    margin-bottom: 10px;
}
.image-section{
    flex: 1;
    min-width: 510px;
    padding: 1px;
}
.image-section img{
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.393);;
}
/*mission*/
.mission{
    padding: 15px 3%;
    padding-bottom: 80px;
    background-color: #ffffff;
}
.box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}
.box-content{
    text-align: center;
    padding: 20px 5px;
}
.box-content h3{
    color: rgb(0, 0, 0);
    font-size: 1.4rem;
    font-weight: 650;
    padding: 10px 0;
}
.box-content ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
}
.box-content  ul li {
    display: flex;
    align-items: flex-start; /* Aligns icon vertically with the text */
    margin-bottom: 10px;
}
.box-content ul li i {
    color: #000000;
    font-size: 5px;
    margin-right: 10px;
    flex-shrink: 0;
    line-height: 2.7; /* Important to align the icon properly */
}
.box-content ul li span {
    display: inline-block;  /* Ensures text wraps nicely */
}
.box-content .pic{
    width: 80px;
    padding: 10px;
    border-radius: 10px;
}
/*tips*/
.tip-container {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 0 20px;
}
/* LEFT CONTENT */
.doctor-tip {
    padding: 30px;
    border-radius: 8px;
}
.doctor-tip h4{
    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 */
}
.doctor-header {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.doctor-header img {
    width: 280px;
    margin-top: 30px;
}
.doctor-info h2 { margin: 8px 0 15px; }
.doctor-info p { color: #777; line-height: 1.6; font-size: 17px;}
.tips {
    margin-top: 5px;
    padding-left: 0;
    list-style: none;
    font-size: 16px;
}
.tips li {
    margin-bottom: 10px;
    color: #555;
}
 /* RIGHT FORM */
.appointment {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}
.appointment-header {
    background: #38bdf8;
    color: #fff;
    padding: 18px;
    font-weight: bold;
    text-align: center;
}
form { padding: 20px; }
form input, form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
form button {
    width: 100%;
    padding: 14px;
    background: #38bdf8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}
form button:hover { background: #2fa6bd; }
@media (max-width: 900px) {
    .tip-container { grid-template-columns: 1fr; }
    .doctor-header { flex-direction: column; align-items: center; }
    .doctor-header img { width: 180px; }
}
/* ===== FAQ + WHY US SECTION ===== */
.faq-section {
  padding: 80px 20px;
  background: #f9fafa;
}
.faq-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
/* ===== LEFT: WHY CHOOSE US ===== */
.Contactinfo h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #000000;
}
.Contactinfo .box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.Contactinfo .icon {
  min-width: 50px;
  height: 50px;
  background: #e6f5f3;
  color: #38bdf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.Contactinfo .text h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #000000;
}
.Contactinfo .text p {
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
}
/* 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);
}
/* ============================= */
/* 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;
    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;
    }
}
/* 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;
    }
    .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;
    }
    .about-section{
        padding: 20px;
        border: 20px;
    }
    .container{
        flex-direction: column;
    }
    .image-section{
        flex: 1;
        min-width: 300px;
        padding: 10px;
    }
    .dropdown-content li a {
        padding: 10px;
        color: #ffffff;
        font-size: 16px;
    }
    .doctor-tip {
        padding: 0px;
    }
    .doctor-tip h4{
        font-size: 1.5rem;
    }
    .doctor-info h2 { margin: 8px 0 15px; font-size: 1.3rem;}
    .doctor-info p {font-size: 14.5px;}
    .tips {
        font-size: 13.5px;
    }
    .scroll-container img {
        flex: 0 0 auto;
        width: 400px;
        height: 40vh;
        margin: 3px;
        border-radius: 1px;
    }
}
@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;
    }
    .about-section{
        padding: 20px;
        border: 20px;
    }
    .container{
        flex-direction: column;
    }
    .image-section{
        flex: 1;
        min-width: 300px;
        padding: 10px;
    }
    .doctor-tip {
        padding: 0px;
    }
    .doctor-tip h4{
        font-size: 1.3rem;
    }
    .doctor-info h2 { margin: 8px 0 15px; font-size: 1.2rem;}
    .doctor-info p {font-size: 14px;}
    .tips {
        font-size: 12.5px;
    }
}
@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;
    }
    .about-section{
        padding: 20px;
        border: 20px;
    }
    .container{
        flex-direction: column;
    }
    .image-section{
        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;
    }
}