:root {
    --primary: #38bdf8; /* Bright Sky Blue for high contrast */
    --primary-hover: #0369a1;
    --secondary: #0c4a6e; /* Deep blue for badges/secondary */
    --accent: #0ea5e9;
    --dark: #f8fafc; /* Headings become pure white/light */
    --text: #cbd5e1; /* General body text becomes light slate */
    --light: #06283d; /* MAIN BACKGROUND: Deep dark blue */
    --white: #ffffff;
    --card-bg: rgba(12, 74, 110, 0.55); /* Translucent dark blue glassmorphism */
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --glass: rgba(6, 40, 61, 0.85); /* Darker glass for navbar */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

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

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

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

/* Typography Utility */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary);
    color: #0f172a; /* Improved contrast on bright blue */
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.39);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white); /* White text works well on the dark blue hover */
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.23);
}

.btn-secondary {
    background-color: var(--white);
    color: #0f172a; /* Force dark text on white button */
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: #0f172a; /* High contrast */
}

.btn-warning {
    background-color: var(--white);
    color: var(--danger);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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


/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 40, 61, 0.95) 0%, rgba(6, 40, 61, 0.85) 50%, rgba(6, 40, 61, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 5%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary);
    color: var(--primary); /* Bright blue for visibility against deep blue */
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}


/* About Section */
.about {
    padding: 6rem 0;
    background-color: transparent;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    background: url('about_image.png') center/cover;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

.doc-icon {
    font-size: 2.5rem;
    background: var(--secondary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}


/* Services Section */
.services {
    padding: 6rem 0;
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    border-top: 4px solid transparent;
    position: relative;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, var(--danger), #be123c);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.emergency-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.emergency-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background-color: transparent;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
    padding: 2.5rem;
    border-radius: var(--radius);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.review-author {
    color: var(--primary);
    font-size: 1rem;
}

.rating-summary {
    text-align: center;
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 400px;
    margin: 0 auto;
}

.rating-summary .rating-badge {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0.5rem 0;
}


/* Footer */
.footer {
    background-color: #02111a;
    color: var(--text);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: #94a3b8;
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact strong {
    color: var(--white);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: #1e293b;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 1px dashed #334155;
}

.footer-bottom {
    background-color: #020617;
    padding: 1.5rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-anim.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .section-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
    .nav-links, .btn-outline { display: none; } /* Simplified mobile handling */
}
@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .emergency-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}


