:root {
    --primary-blue: #0d6efd;
    --medical-blue: #1f4e79;
    --light-grey: #f4f6f9;
    --dark-grey: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: white;
    color: var(--dark-grey);
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo Image */
.logo-img {
    height: 80px;
    width: auto;
}

/* Logo Text */
.logo-text h1 {
    font-size: 40px;
    color: var(--medical-blue);
    margin: 0;
}

.logo-text h6 {
    font-size: 22px;
    color: var(--dark-grey);
    margin: 0;
    font-weight: 400;
}

.call-btn {
    background: var(--primary-blue);
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

.call-btn:hover {
    background: var(--medical-blue);
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: scale(1.08);
}

/* Make header responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    .header-right {
        flex-direction: row;
    }
}


/* HERO */
.hero {
    padding: 80px 10%;
    background: linear-gradient(to right, #eaf4ff, #f4f9ff);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-image img {
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 40px;
    color: var(--medical-blue);
    margin-bottom: 20px;
}
.hero-content h2 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 20px;
}

.hero-content ul {
    list-style: none;
    font-size: 18px;
	color: var(--medical-blue);
}

.hero-content ul li {
    margin: 10px 0;
}

/* ABOUT */
.about{
    padding:80px 10%;
    background:#f7f7f7;
}

.about-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.about-text{
    flex:1;
}

.about-text h2{
    font-size:38px;
    color:#0b5fa5;
    margin-bottom:20px;
    position:relative;
}

.about-text h2::after{
    content:"";
    width:70px;
    height:3px;
    background:#0b5fa5;
    position:absolute;
    left:0;
    bottom:-8px;
}

.about-text p{
    font-size:16px;
    line-height:1.8;
    color:#444;
    margin-bottom:15px;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:5px;
}

/* FORM */
.form-section {
    background: var(--light-grey);
    padding: 40px 10%;
    text-align: center;
}

.form-section h2 {
    margin-bottom: 20px;
    color: var(--medical-blue);
}

form {
    max-width: 600px;
    margin: auto;
}

form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background: var(--primary-blue);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
}

form button:hover {
    background: var(--medical-blue);
}

/* KEY SERVICES SECTION */
.key-services {
    background-color: #0d3b75; /* Dark medical blue */
    padding: 80px 10%;
}

.section-title {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.services-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    width: 200px;
    padding: 10px;
    border-radius: 25px;
    text-align: left;
    transition: 0.3s ease;
}

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

.service-card hr {
    margin: 20px 0;
    border: none;
    height: 2px;
    background-color: #1c2b4a;
}

.service-card h3 {
    font-size: 15px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Card Colors */
.service-card.yellow {
    background-color: #e6c86e;
}

.service-card.blue {
    background-color: #a8c7d8;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* SERVICES SLIDER */
.services {
    padding: 60px 5%;
    text-align: center;
}

.services h2 {
    margin-bottom: 30px;
    color: var(--medical-blue);
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.slide {
    min-width: 250px;
    margin: 10px;
    padding: 30px;
    background: var(--light-grey);
    border-radius: 8px;
    flex: 0 0 auto;
    transition: 0.3s;
}

.slide:hover {
    transform: translateY(-5px);
}

/* GALLERY */
.gallery {
    padding: 60px 5%;
    background: var(--light-grey);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--medical-blue);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.grid img {
    width: 100%;
    border-radius: 8px;
}

/* ABOUT */
.about {
    padding: 60px 10%;
}

.about h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--medical-blue);
}

.about p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* FOOTER */
footer {
    background: var(--medical-blue);
    color: white;
    text-align: center;
    padding: 30px 10%;
}

footer h3 {
    margin-bottom: 10px;
}

/* =========================================
   MAIN NAVIGATION - FLEXILIMB
========================================= */

.main-nav {
    width: 100%;
    background: #1f5fa8;
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.main-nav > ul > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li > a {
    min-height: 68px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    border-right: 1px solid rgba(0, 0, 0, 0.13);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.main-nav > ul > li:first-child > a {
    border-left: 1px solid rgba(0, 0, 0, 0.13);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
    background: #174f91;
    color: #ffffff;
}

/* Dropdown arrow */
.nav-arrow {
    font-size: 12px;
    line-height: 1;
    margin-top: 2px;
}

/* Dropdown menu */
.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    display: block;
    background: #ffffff;
    padding: 0;
    margin: 0;
    box-shadow: 0 7px 18px rgba(0,0,0,0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 2000;
}

.main-nav .dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.main-nav .dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 13px 18px;
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav .dropdown-menu li:last-child a {
    border-bottom: none;
}

.main-nav .dropdown-menu li a:hover {
    background: #eef5fc;
    color: #1f5fa8;
}

/* Desktop dropdown */
@media (min-width: 901px) {
    .main-nav .dropdown:hover > .dropdown-menu,
    .main-nav .dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile / tablet navigation */
@media (max-width: 1100px) {
    .main-nav {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav > ul {
        min-width: max-content;
    }

    .main-nav > ul > li > a {
        font-size: 16px;
        padding: 0 17px;
    }
}

@media (max-width: 768px) {
    .main-nav > ul > li > a {
        min-height: 58px;
        font-size: 15px;
        padding: 0 14px;
    }

    .main-nav .dropdown-menu {
        min-width: 220px;
    }
}


/* Reach Us button in Hero */
.reach-us-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 13px 30px;
    background: var(--primary-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.reach-us-btn:hover {
    background: var(--medical-blue);
    transform: translateY(-2px);
}


/* Social media icons in header */
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 19px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-links a:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.facebook-btn { background: #1877F2; }
.instagram-btn { background: #E4405F; }
.youtube-btn { background: #FF0000; }

/* =========================================================
   FLEXILIMB MULTI-PAGE WEBSITE
========================================================= */

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.site-header {
    position: relative;
    top: auto;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-nav > ul > li > a.active {
    background: #174f91;
}

.page-hero {
    background: linear-gradient(to right, #eaf4ff, #f4f9ff);
    padding: 70px 10%;
    text-align: center;
}

.page-hero h1 {
    color: var(--medical-blue);
    font-size: 42px;
    margin-bottom: 14px;
}

.page-hero p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

.page-content {
    padding: 65px 10%;
    background: #ffffff;
}

.page-content.alt {
    background: #f7f7f7;
}

.content-container {
    max-width: 1150px;
    margin: 0 auto;
}

.content-container h2 {
    color: var(--medical-blue);
    margin-bottom: 18px;
}

.content-container h3 {
    color: #0b5fa5;
    margin: 24px 0 10px;
}

.content-container p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-container ul {
    padding-left: 22px;
    line-height: 1.9;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.page-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.page-card h3 { margin-top: 0; }

.page-card a {
    color: var(--medical-blue);
    font-weight: 600;
    text-decoration: none;
}

.page-card a:hover { text-decoration: underline; }

.cta-row {
    margin-top: 28px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn,
.reach-us-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    padding: 13px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.cta-btn:hover,
.reach-us-btn:hover {
    background: var(--medical-blue);
}

.breadcrumb {
    max-width: 1150px;
    margin: 0 auto 18px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--medical-blue);
    text-decoration: none;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

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

@media (max-width: 900px) {
    .page-hero { padding: 55px 6%; }
    .page-hero h1 { font-size: 34px; }
    .page-content { padding: 45px 6%; }
}
