
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');


:root {
    /* Premium Medical Palette */
    --primary-color: #0e5f76;
    /* Deep Petrol Blue */
    --primary-dark: #083d56;
    --secondary-color: #e0f2f1;
    /* Soft Mint/Cyan tint */
    --accent-color: #c5a028;
    /* Elegant Gold */
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}


 








body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    scroll-behavior: smooth;
    background-color: #fff;
}
.border1 {
    border-bottom: 1px solid #b2b2b2 !important;
    border-right: 1px solid #b2b2b2 !important;
    border-top: 1px solid #b2b2b2 !important;
}

.border2 {
    border-bottom: 1px solid #b2b2b2 !important;
    border-right: 1px solid #b2b2b2 !important;
    border-left: 1px solid #b2b2b2 !important;
}
.philosophy p{ font-size:18px}


.ptb{padding:50px}
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
font-family: 'Lato', sans-serif !important;    color: var(--primary-dark);font-weight:600;margin-bottom:20px
}
h5{    font-size: 17px;}
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-warning {
    color: var(--accent-color) !important;
}

.bg-light {
    background-color: #cddde8 !important;}

section {
    padding: 50px 0px 0px 0px;
    position: relative;
}

.section-alternate {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.z-index-2 {
    z-index: 2;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Animations (Simple Fade In) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
}


/* Accordion */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(44, 125, 160, 0.05);
    /* very light primary */
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Footer Hover */
.hover-light:hover {
    color: #fff !important;
    transition: color 0.3s ease;
}

/* Modern Navbar */
.navbar {
    transition: all 0.4s ease-in-out;
    padding: 1.5rem 0;
 }

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

#brandText,
#brandSub {
    color: #fff;
    transition: color 0.3s ease;
}

.navbar-scrolled #brandText,
.navbar-scrolled #brandSub {
    color: var(--primary-dark) !important;
}

/* Fresh Header Design */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
 
    background-color: var(--primary-color);
    border-color: var(--primary-color);}
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.85);
    /* Frosted Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0;
}

/* Nav Link Styling - Fresh Look */
.navbar .nav-link {
    font-weight: 600;
      font-size: 14px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 2px;
    padding: 8px 11px !important;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    transform: translateY(-1px);
}

.navbar-scrolled .nav-link {
    color: var(--primary-dark) !important;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-item.dropdown:hover .nav-link {
    background: rgba(14, 95, 118, 0.08);
    /* Light primary tint */
    color: var(--primary-color) !important;
}

/* Remove old underline */
.navbar .nav-link::after {
    display: none;
}

/* Dropdown Menu - Modern & Airy */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    padding: 12px;
    margin-top: 10px !important;
    /* Slight gap for hover bridge */
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 260px;
    animation: fadeScaleDropdown 0.25s ease forwards;
    transform-origin: top center;
}

@keyframes fadeScaleDropdown {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-5px);
    }

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

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    border: none !important;
}

.dropdown-item:hover {
    background-color: rgba(14, 95, 118, 0.06);
    color: var(--primary-color);
    padding-left: 25px;
    /* Subtle slide */
}

/* Hover-trigger for Dropdowns */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    /* Invisible bridge to prevent closing */
    .navbar .nav-item.dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px;
    }

    /* Small arrow icon in dropdown */
    .dropdown-item::before {
        content: '\f105';
        /* Angle right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        opacity: 0;
        margin-right: -10px;
        transition: all 0.2s ease;
        color: var(--accent-color);
        font-size: 0.8rem;
    }

    .dropdown-item:hover::before {
        opacity: 1;
        margin-right: 8px;
    }
}

/* Modern Footer */
footer {
     /* Deep slate */
    color: #fff;
}

footer::before {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.footer-brand {
    font-size: 2rem;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: #fff;
}

/* Grayscale Hover Effect */
.grayscale {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.hover-color:hover {
    filter: grayscale(0%);
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

.bg-primary-soft {
    background-color: rgba(14, 95, 118, 0.08);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}


.transition-all {
    transition: all 0.3s ease-in-out;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Nav Pills (Tab) Override - Use Theme Color */
.nav-pills .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: rgba(14, 95, 118, 0.08);
    color: var(--primary-color);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(14, 95, 118, 0.3);
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border: 1px solid var(--primary-color);
}

/* Media Gallery Hover Effects */
.group:hover .hover-scale {
    transform: scale(1.05);
}

.hover-scale {
    transition: transform 0.5s ease;
}

.bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Publications Section Styling */
#publications {
background: linear-gradient(135deg, #e7ecf1 0%, #e1edfa  100%);
    position: relative;
}

#publications::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 125, 160, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.publication-card {
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.publication-badge {
    background-color: rgba(44, 125, 160, 0.08);
    /* Very light primary */
    color: var(--primary-color);
    font-weight: 600;
}

.publication-card.border-warning .publication-badge {
    background-color: rgba(233, 196, 106, 0.15);
    /* Very light accent */
    color: #9c7b1e;
    /* Darker gold for text readability */
}
.stats-grid p{ }
/* Stat Counter in Publications */


/* Blog Clean Styles */
.blog-card-img {
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.card:hover .blog-card-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.blog-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.card-title a {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.card:hover .card-title a {
    background-size: 100% 2px;
    color: var(--primary-color) !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

/* Floating Social Sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.social-sidebar .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 20px;
    transition: all 0.3s ease;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.social-sidebar .social-icon:hover {
    width: 60px;
    /* Expands on hover */
    padding-right: 15px;
    /* Adjust icon position */
}

/* Specific Social Colors */
.social-sidebar .facebook {
    background-color: #3b5998;
}

.social-sidebar .instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-sidebar .youtube {
    background-color: #cd201f;
}

.social-sidebar .linkedin {
    background-color: #0077b5;
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }

    .social-sidebar {
        display: none;
        /* Hide sidebar on mobile to avoid clutter, or adjust position */
    }
}