/* =========================================
   VARIABLES & BASE STYLES
   ========================================= */
:root {
    /* Colors */
    --primary-color: #0d47a1; /* Deep Medical Blue */
    --secondary-color: #1976d2; /* Lighter Blue */
    --accent-color: #00b4d8; /* Cyan/Teal accent */
    --text-main: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --whatsapp-color: #25d366;
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(13, 71, 161, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.highlight {
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* =========================================
   NAVIGATION (GLASSMORPHISM)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #4a4a4a;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--primary-color);
}

.experience-badge i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.experience-badge span {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(25, 118, 210, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.custom-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.highlight-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.highlight-card h3, .highlight-card p {
    color: white;
}

.highlight-card .service-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* =========================================
   CONTACT & LOCATIONS
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: stretch;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-main);
    margin-bottom: 40px;
    transition: var(--transition);
    border: 1px solid #eaeaea;
}

.whatsapp-card:hover {
    border-color: var(--whatsapp-color);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15);
    transform: translateX(5px);
}

.whatsapp-card i {
    font-size: 2.5rem;
    color: var(--whatsapp-color);
}

.locations-title {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 3px;
}

.location-item h4 {
    margin-bottom: 5px;
}

.contact-cta-box {
    background: url('assets/images/medical_hero_bg.png') center/cover;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 71, 161, 0.85); /* Dark blue overlay */
}

.cta-content {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 15px;
    display: inline-flex;
}

.footer-brand p {
    color: #a0a0a0;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    color: #a0a0a0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .about-container, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        right: 0;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .nav-btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        font-size: 1.2rem;
    }

    .nav-links.active {
        left: 0;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
        background-position: right;
    }

    .hero-overlay {
        background: rgba(255,255,255,0.9);
    }
    
    .hero-content { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
