@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Premium Healthcare Color Palette */
    --primary: #0A2647;       /* Deep Navy - Trust & Authority */
    --primary-light: #144272; /* Lighter Navy */
    --secondary: #205295;     /* Vibrant Blue - Action */
    --accent: #2C74B3;        /* Soft Blue - Highlights */
    --success: #05BFDB;       /* Teal - Modern Healthcare indicator */
    --danger: #E11299;        /* Emergency Pink/Red (modernized) */
    
    /* Neutrals & Surfaces */
    --dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--success) 100%);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Premium Shadows & Glass */
    --shadow-soft: 0 10px 40px -10px rgba(10, 38, 71, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(10, 38, 71, 0.15);
    --shadow-colored: 0 15px 30px -10px rgba(44, 116, 179, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.3s ease;
    --transition-bounce: all 0.3s ease-out;
}

/* Base Reset & Smooth Scroll */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------- */
/* Premium Buttons                       */
/* ------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px; /* Pill shape for modern look */
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-display);
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(10, 38, 71, 0.4);
}

.btn-accent {
    background: var(--success);
    color: white;
    box-shadow: 0 15px 30px -10px rgba(5, 191, 219, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ------------------------------------- */
/* Glassmorphic Header                   */
/* ------------------------------------- */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar i { color: var(--success); margin-right: 6px; }

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    padding: 5px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px; height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-colored);
}

.logo h1 {
    font-size: 1.6rem;
    margin: 0;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--success);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.menu-toggle { display: none; }

/* ------------------------------------- */
/* Cinematic Video Hero (Home Page)      */
/* ------------------------------------- */
.hero-video-wrapper {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 20px;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
}

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(10,38,71,0.95) 0%, rgba(10,38,71,0.6) 50%, rgba(10,38,71,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: white;
    padding-left: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero-content h2 {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content h2 span { color: var(--success); }

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
}

/* ------------------------------------- */
/* Floating Features Dock                */
/* ------------------------------------- */
.features-dock {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 0 40px;
}

.dock-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.dock-item {
    padding: 30px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dock-item:last-child { border-right: none; }

.dock-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-main);
    z-index: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item:hover::before { transform: translateY(0); }

.dock-content { position: relative; z-index: 1; }

.dock-item i {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    transition: var(--transition-bounce);
}

.dock-item:hover i { transform: scale(1.05) translateY(-2px); color: var(--success); }

.dock-item h4 { font-size: 1.15rem; margin-bottom: 8px; }
.dock-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ------------------------------------- */
/* Section Titles & Layouts              */
/* ------------------------------------- */
.section-padding { padding: 120px 0; }
.bg-light { background-color: var(--bg-main); }

.title-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.subtitle {
    display: inline-block;
    color: var(--success);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.title-wrap h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.title-wrap p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ------------------------------------- */
/* Split Content Layout (About snippet)  */
/* ------------------------------------- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-mask-wrapper {
    position: relative;
    padding: 20px;
}

.image-mask-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 80%; height: 90%;
    background: var(--gradient-primary);
    border-radius: 30px;
    z-index: 0;
    transform: rotate(-3deg);
}

.masked-image {
    position: relative;
    z-index: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.masked-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-mask-wrapper:hover .masked-image img { transform: scale(1.05); }

/* ------------------------------------- */
/* Sticky Floating Actions               */
/* ------------------------------------- */
.floating-actions {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px; height: 50px;
    background: var(--surface);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition-bounce);
    border: 1px solid var(--border);
}

.float-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-3px);
}

.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px; height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-bounce);
    /* animation removed for professional context */
}

.float-whatsapp:hover { transform: scale(1.1); animation-play-state: paused; }

@keyframes float-up-down {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Footer Styling */
.footer-wrap {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title { color: white; margin-bottom: 24px; font-size: 1.3rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--success); padding-left: 5px; transition: var(--transition-fast); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .dock-container { grid-template-columns: repeat(2, 1fr); }
    .dock-item:nth-child(2) { border-right: none; }
    .dock-item:nth-child(3) { border-top: 1px solid var(--border); }
    .dock-item:nth-child(4) { border-top: 1px solid var(--border); }
    .split-layout { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 3.5rem; }
    .hero-video-wrapper { margin: 10px; border-radius: 20px; min-height: 500px; }
}

@media (max-width: 768px) {
    .hero-content { padding-left: 20px; padding-right: 20px; text-align: center; }
    .hero-content h2 { font-size: 2.8rem; }
    .dock-container { grid-template-columns: 1fr; }
    .dock-item { border-right: none; border-bottom: 1px solid var(--border); }
    .dock-item:last-child { border-bottom: none; }
    
    .nav-links { 
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        padding: 20px;
        box-shadow: var(--shadow-soft);
        gap: 15px;
    }
    .nav-links.active { display: flex; }
    .header-phone-text { display: none; }
    .menu-toggle { display: block; }
    
    .floating-actions { display: none; } /* Hide side floating actions on mobile */
    .title-wrap h2 { font-size: 2.2rem; }
}
