/* =============================================
   MERCEL HEALTHCARE CLINIC - Red & Blue Theme
   ============================================= */

:root {
    --primary-blue: #0a2463;
    --secondary-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --primary-red: #c62828;
    --secondary-red: #e53935;
    --accent-red: #ef5350;
    --dark: #111827;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
}

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

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar i {
    margin-right: 5px;
    color: var(--accent-red);
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    font-size: 38px;
    color: var(--primary-red);
}
.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
}
.logo-text h1 span {
    color: var(--primary-red);
}
.logo-text p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    font-weight: 600;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}
.mobile-toggle {
    display: none;
    font-size: 28px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero */
.hero {
    background: url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?w=1400') center/cover no-repeat;
    position: relative;
    padding: 120px 0;
    color: var(--white);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,36,99,0.92) 0%, rgba(198,40,40,0.85) 100%);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 700px;
}
.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}
.btn-primary:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198,40,40,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}
.hero-stats {
    display: flex;
    gap: 50px;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-red);
}
.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Section header */
.section {
    padding: 90px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.subtitle {
    display: inline-block;
    background: rgba(198,40,40,0.1);
    color: var(--primary-red);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}
.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* About */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.about-text {
    flex: 1 1 500px;
    font-size: 16px;
    color: var(--gray-dark);
}
.about-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.feature {
    font-weight: 600;
    color: var(--primary-blue);
}
.feature i {
    color: var(--primary-red);
    margin-right: 8px;
}
.about-image {
    flex: 1 1 400px;
}
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Services */
.bg-gray {
    background: var(--gray-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top-color: var(--primary-red);
}
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 14px;
    color: var(--gray);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 15px;
}
.cta-section p {
    margin-bottom: 30px;
    font-size: 17px;
    opacity: 0.9;
}

/* Inquiry */
.inquiry-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.inquiry-info {
    flex: 1 1 300px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
}
.inquiry-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 15px;
}
.inquiry-info p {
    margin-bottom: 25px;
    opacity: 0.9;
}
.info-item {
    margin-bottom: 15px;
}
.info-item i {
    color: var(--accent-red);
    margin-right: 10px;
    width: 20px;
}
.inquiry-form {
    flex: 1 1 500px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.form-group {
    flex: 1 1 200px;
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-blue);
    font-size: 14px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}
.success-message {
    background: #fce4ec;
    color: var(--primary-red);
    border: 1px solid var(--accent-red);
    padding: 18px 25px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}
.success-message i {
    margin-right: 8px;
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.contact-details {
    flex: 1 1 350px;
    font-size: 16px;
}
.contact-details p {
    margin-bottom: 10px;
}
.contact-map {
    flex: 1 1 500px;
    border-radius: 15px;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3,
.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}
.footer-col h3 i {
    color: var(--accent-red);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--accent-red);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    nav ul.show {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-content h2 {
        font-size: 32px;
    }
    .hero-stats {
        gap: 25px;
    }
    .stat-number {
        font-size: 26px;
    }
    .about-content {
        flex-direction: column-reverse;
    }
}