/* CSS Variables */
:root {
    /* Palette - Medical/Clean/Premium */
    --primary: #0077b6; /* Ocean Blue */
    --primary-dark: #023e8a;
    --secondary: #70e000; /* Vibrant Green (accent) */
    --tech-blue: #48cae4; /* Light Blue for gradients */

    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1d3557;
    --text-light: #6c757d;
    --white: #ffffff;

    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
    --bg-light: #121212;
    --bg-white: #121212;
    --text-dark: #e0e0e0;
    --text-light: #a0a0a0;
    --white: #1e1e1e; /* Used for backgrounds in light mode, now dark card */

    --nav-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #1e1e1e;

    --shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.5);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-left: 20px;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.theme-toggle:hover {
    background: rgba(0,0,0,0.05);
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: background 0.3s;
}

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

.logo img {
    height: 50px; /* Adjust based on actual logo ratio */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.nav-links .btn-primary {
    padding: 10px 25px;
    color: var(--white);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 80px; /* Offset for fixed nav */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 80, 157, 0.85) 0%, rgba(112, 224, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero .subtitle {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ccffcc; /* Light green tint */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.text-gradient {
    color: #9ef01a; /* Vibrant light green */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto 15px;
    border-radius: 2px;
}

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

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.service-card.featured::before {
    background: var(--secondary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 119, 182, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card.featured .icon-box {
    background: rgba(112, 224, 0, 0.15);
    color: #55b200; /* Darker green for icon visibility */
}

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

.service-card ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-card ul li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background: #f1f1f1;
    color: #333; /* Force dark text for light tag bg in default mode */
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

[data-theme="dark"] .tags span {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

/* About Overlay Card style */
.about {
    padding: 80px 0;
    background: var(--white);
}

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

.about-text {
    flex: 1;
}

.about-text .divider {
    margin-left: 0;
}

.about-image {
    flex: 1;
    height: 400px;
    background: url('hero_background.jpg') center/cover; /* Fallback if specific profile image missing, reusing vibe or leaving stylized box */
    /* Using specific style for the info card */
    background: linear-gradient(135deg, var(--tech-blue), var(--primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-align: center;
    width: 80%;
}

.phone-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: #f0f4f8;
}

.contact-wrapper {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: var(--primary-dark);
    color: var(--white);
}

.contact-info h2 {
    margin-bottom: 10px;
}

.contact-info .info-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.contact-info .info-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}

.contact-info a {
    color: #e0e0e0;
}

.contact-info a:hover {
    color: var(--secondary);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.map-container {
    flex: 1.5;
    min-height: 400px;
}

/* Footer */
footer {
    background: #002855;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        padding-top: 100px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001; /* Above nav drawer */
    }

    .about-container {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .map-container {
        height: 300px;
        min-height: auto;
    }
}
