/* Core Configurations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f4f7f5;
    color: #2b2b2b;
    line-height: 1.6;
}

/* Header UI Elements */
.header {
    background-color: #ffffff;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #d60000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-container h1 {
    color: #143d2f;
    font-size: 26px;
    letter-spacing: 0.5px;
}

.logo-container span {
    color: #24a148;
}

.logo-container p {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

.header-actions {
    text-align: right;
}

.btn-call-live {
    display: inline-block;
    background-color: #d60000;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 5px;
    transition: background 0.2s;
}

.btn-call-live:hover {
    background-color: #a30000;
}

.emergency-numbers {
    font-size: 13px;
    color: #333;
    font-weight: bold;
}

/* Hero Section Layout */
.hero {
    background: linear-gradient(rgba(20, 61, 47, 0.92), rgba(13, 43, 33, 0.95)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23143d2f"/><circle cx="50" cy="50" r="40" stroke="%231d5743" stroke-width="1" fill="none"/></svg>');
    padding: 50px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 320px;
    color: #ffffff;
}

.hero-content h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    color: #e0ece6;
    margin-bottom: 30px;
}

.hero-cta-box {
    background-color: rgba(255,255,255,0.1);
    border-left: 4px solid #24a148;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    max-width: 500px;
}

.hero-cta-box p {
    font-size: 15px;
    margin-bottom: 12px;
    color: #fff;
}

.btn-hero-call {
    display: inline-block;
    background-color: #24a148;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
    transition: background 0.2s;
    text-align: center;
    width: 100%;
}

.btn-hero-call:hover {
    background-color: #1c7e37;
}

/* Modern Lead Capture Form */
.lead-form-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 420px;
}

.lead-form-container h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #143d2f;
    font-size: 22px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input, select {
    padding: 11px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 15px;
    width: 100%;
    background-color: #fff;
}

input:focus, select:focus {
    outline: 2px solid #24a148;
}

/* Date & Time Field Grouping */
.form-row {
    display: flex;
    gap: 10px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
}

form button {
    background-color: #d60000;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 5px;
}

form button:hover {
    background-color: #143d2f;
}

/* Structured Services Grid */
.services {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: #143d2f;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #24a148;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-top: 4px solid #143d2f;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #143d2f;
    font-size: 19px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.service-card ul {
    list-style-type: none;
}

.service-card ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 14.5px;
}

.service-card ul li::before {
    content: "►";
    color: #d60000;
    position: absolute;
    left: 0;
    font-size: 11px;
    top: 2px;
}

.lab-partners {
    background-color: #f0f7f3;
    padding: 10px !important;
    border-radius: 4px;
    margin-top: 15px;
    border-left: 3px solid #24a148;
}

/* Institutional Footer styling */
.footer {
    background-color: #143d2f;
    color: #ffffff;
    padding: 40px 5% 20px 5%;
    margin-top: 60px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    margin-bottom: 8px;
    color: #cbdcd5;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

.copyright {
    font-size: 12px;
    color: #8fa89e !important;
}

/* Mobile Layout Adaptation */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .header-actions {
        text-align: center;
    }
    .hero {
        flex-direction: column;
        padding: 30px 20px;
    }
    .hero-content h2 {
        font-size: 28px;
    }
}