/* ============================================================
   GLOBAL STYLES & VARIABLES
   ============================================================ */

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

:root {
    --qardan-blue: #2c5aa0;
    --qardan-dark: #1e3f5a;
    --qardan-light: #f0f4f8;
    --accent-red: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-gray: #ecf0f1;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--qardan-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================================
   HEADER STYLES
   ============================================================ */

.header {
    background: linear-gradient(135deg, var(--qardan-blue) 0%, var(--qardan-dark) 100%);
    color: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.logo svg {
    width: 100%;
    height: 100%;
}

.header-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.header-text p {
    font-size: 14px;
    margin: 4px 0 0 0;
    opacity: 0.95;
    letter-spacing: 2px;
}

.header-location {
    font-size: 11px;
    margin-top: 6px;
    opacity: 0.85;
    letter-spacing: 0;
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */

.main-container {
    flex: 1;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

/* ============================================================
   FORM SECTION STYLES
   ============================================================ */

.form-section {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--qardan-blue);
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--qardan-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--qardan-blue);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

input:disabled {
    background-color: #f5f5f5;
    color: var(--text-dark);
    font-weight: 500;
    cursor: not-allowed;
}

input::placeholder {
    color: #999;
}

.hint {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
}

/* ============================================================
   HEALTH CHECKUP SECTION
   ============================================================ */

.health-section {
    background: linear-gradient(135deg, var(--qardan-light) 0%, rgba(44, 90, 160, 0.05) 100%);
    border-top-color: var(--accent-red);
}

.health-box {
    padding: 0;
}

.health-intro {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

.investigations-container {
    margin-bottom: 20px;
}

.investigations-container h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.investigations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.investigation-item {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.investigation-item:hover {
    border-color: var(--qardan-blue);
    background-color: rgba(44, 90, 160, 0.05);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.price-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-red) 0%, #c0392b 100%);
    color: var(--white);
    padding: 18px 32px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.price-label {
    font-size: 12px;
    font-weight: 500;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-container {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 16px;
    text-align: center;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: block;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.contact-link {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--qardan-blue) 0%, #1e3f5a 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-divider {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

/* ============================================================
   CONSENT SECTION
   ============================================================ */

.consent-section {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, var(--qardan-light) 100%);
}

.consent-box {
    padding: 0;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border-gray);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--qardan-blue);
    flex-shrink: 0;
}

.consent-label {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: var(--text-dark);
}

/* ============================================================
   FORM ACTIONS
   ============================================================ */

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.submit-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--qardan-blue) 0%, var(--qardan-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--qardan-dark);
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 13px;
}

.footer p {
    margin: 0;
}

/* ============================================================
   MOBILE RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .header-content {
        gap: 12px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .header-text h1 {
        font-size: 24px;
    }

    .header-text p {
        font-size: 13px;
    }

    .header-location {
        font-size: 10px;
        margin-top: 5px;
    }

    .main-container {
        padding: 16px;
    }

    .form-section {
        padding: 18px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        padding: 11px 12px;
        font-size: 16px;
    }

    .investigations-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .investigation-item {
        padding: 10px;
        font-size: 12px;
    }

    .price-badge {
        padding: 14px 24px;
    }

    .price-amount {
        font-size: 28px;
    }

    .price-label {
        font-size: 11px;
    }

    .contact-link {
        width: 100%;
        font-size: 13px;
        padding: 12px;
    }

    .contact-divider {
        display: none;
    }

    .contact-buttons {
        gap: 8px;
    }

    .consent-item {
        padding: 12px;
        gap: 10px;
    }

    input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .consent-label {
        font-size: 12px;
    }

    .submit-btn {
        width: 100%;
        min-width: unset;
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px;
    }

    .header-content {
        gap: 10px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .header-text h1 {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .header-text p {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .header-location {
        font-size: 10px;
        margin-top: 5px;
        letter-spacing: 0;
    }

    .main-container {
        padding: 12px;
    }

    .form-section {
        padding: 14px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        padding: 10px 12px;
        font-size: 16px;
    }

    .hint {
        font-size: 12px;
        margin-top: 4px;
    }

    .health-intro {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .investigations-container h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .investigations-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .investigation-item {
        padding: 9px;
        font-size: 12px;
    }

    .pricing-container {
        margin-bottom: 16px;
    }

    .price-badge {
        padding: 12px 20px;
    }

    .price-amount {
        font-size: 26px;
    }

    .price-label {
        font-size: 11px;
    }

    .contact-container {
        padding: 12px;
    }

    .contact-label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .contact-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .consent-item {
        padding: 10px;
        gap: 8px;
    }

    input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 3px;
    }

    .consent-label {
        font-size: 13px;
        line-height: 1.4;
    }

    .form-actions {
        margin-top: 20px;
    }

    .submit-btn {
        padding: 11px 20px;
        font-size: 15px;
    }

    .footer {
        padding: 16px 12px;
        font-size: 12px;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
