/* General Reset & Body */
:root {
    --primary-color: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /* Aesthetic Improvement: Added a subtle background */
    background-color: #f8fafc; 
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 20px 20px;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

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

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

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

.nav-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Shared Button Styles */
.btn {
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #475569;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2001;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-dark);
}

.mobile-menu-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
}

.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    z-index: 2000;
    padding: 60px 24px 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
    background: rgba(99, 102, 241, 0.2);
    outline: none;
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
}

.mobile-close-btn {
    position: absolute;
    top: 22px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
}
.mobile-close-btn svg {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, var(--bg-light) 100%);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
}
.hero::before {
    top: -40%;
    right: -30%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}
.hero::after {
    bottom: -30%;
    left: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card {
    background: var(--primary-gradient);
    border-radius: 32px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.3);
    width: 100%;
    max-width: 420px;
}

.hero-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-icon svg {
    width: 40px;
    height: 40px;
}

.hero-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-card p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Generic Section Styles */
.section {
    padding: 120px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.problem-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.problem-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #fef2f2 0%, #fef7ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.problem-icon svg {
    width: 36px;
    height: 36px;
    color: #ef4444;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Solution Section */
.solution { background: transparent; } /* Made transparent to show body background */
.solution-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.solution-step {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.solution-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}
.solution-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.solution-step p {
    color: var(--text-light);
}

/* Dual Audience Section */
.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    background: #f1f5f9;
    border-radius: 16px;
    padding: 8px;
    border: 1px solid var(--border-color);
}
.tab-button {
    padding: 16px 32px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 1;
}
.tab-button.active {
    color: white;
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.tab-content { display: none; text-align: center; }
.tab-content.active { display: block; }
.tab-content h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
    text-align: left;
}
.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.benefit-card:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}
.benefit-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.benefit-check {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-check svg { width: 18px; height: 18px; }
.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}
.benefit-card p {
    color: var(--text-light);
}

/* Pakistani Companies Section */
.pakistan-companies .benefit-check {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.pakistan-companies .benefit-check svg { color: white; }

/* Gulf Section */
.gulf {
    padding: 120px 0;
    background: var(--text-dark);
    color: white;
    position: relative;
    overflow: hidden;
}
.gulf-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.gulf h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}
.gulf p {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    line-height: 1.8;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    background: transparent; /* Made transparent to show body background */
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 40px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p { color: #94a3b8; }
.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: white; }

/* Page Specific Styles */
.page-header {
    padding: 180px 0 100px;
    background: transparent; /* Made transparent to show body background */
    text-align: center;
}
.page-header h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}
.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}
.content-section {
    padding: 100px 0;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}
.content-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
}
.content-section p, .content-section li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.contact-section {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}
.contact-details {
    list-style: none;
    padding: 0;
}
.contact-details li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1rem;
}
.contact-details svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .section { padding: 100px 0; }
    .hero-content { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero-text { order: 2; }
    .hero-visual { order: 1; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav-links, .nav-buttons .btn-secondary { display: none; }
    .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-text p { max-width: 100%; }
    .problem-grid, .solution-timeline, .benefits-grid { grid-template-columns: 1fr; }
    .tabs { flex-direction: column; gap: 8px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-links { padding-left: 0; }
    .contact-section { grid-template-columns: 1fr; }
    
    /* Responsive Scheduler Fixes */
    .form-grid {
        grid-template-columns: 1fr; /* Stack the form fields into a single column */
    }
    .scheduler-card {
        padding: 30px 20px; /* Reduce horizontal padding on mobile */
    }
    #calendar-wrapper {
        grid-template-columns: 1fr; /* Ensure calendar also stacks on mobile */
    }
    
    /* === THE FIX IS HERE === */
    .step-indicator {
        flex-direction: column; /* Stack the steps vertically */
        align-items: flex-start; /* Align to the left */
        gap: 10px; /* Add space between the stacked steps */
    }
    .step-connector {
        display: none; /* Hide the horizontal connector line */
    }
    .step {
        width: 100%; /* Make each step take full width */
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .nav-buttons .btn { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-card { padding: 40px 24px; }
    .contact-form { padding: 24px; }
}

/* === Scheduler & Multi-Step Form Styles === */
.scheduler-container {
    padding: 60px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.scheduler-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08); /* Aesthetic: Refined shadow */
}

.scheduler-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.4s ease;
    flex-shrink: 0; /* Prevents text from wrapping too early */
}
.step span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.4s ease;
}
.step.active {
    color: var(--primary-color);
}
.step.active span {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 10px;
}

/* Form Styles */
.form-step {
    display: none;
}
.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out; /* Aesthetic: Add fade animation */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Calendar & Time Slots */
#calendar-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}
.calendar-container {
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
#current-month-year {
    font-size: 1.1rem;
    font-weight: 600;
}
.calendar-nav-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}
.calendar-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}
.calendar-grid div {
    padding: 8px;
    font-weight: 500;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background-color 0.3s, color 0.3s;
}
.calendar-day-name {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0 !important;
}
.date-node {
    cursor: pointer;
}
.date-node.available:hover {
    background-color: #eef2ff; /* Indigo-100 */
}
.date-node.disabled {
    color: #cbd5e1; /* Slate-300 */
    cursor: not-allowed;
    background-color: transparent;
}
.date-node.selected {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}
.time-slots-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.time-slot {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}
.time-slot:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.time-slot.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Confirmation Summary */
.confirmation-summary {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
}
.confirmation-summary h3 {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
#summary-details p, #summary-schedule p {
    font-size: 1rem;
    margin-bottom: 8px;
}
#summary-details span {
    color: var(--text-light);
    margin-right: 8px;
}
#summary-schedule {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Assessment Intro Section */
.assessment-intro {
    padding: 0 0 60px;
    max-width: 900px;
    margin: 0 auto;
}
.assessment-details-card {
    background: #ffffff; /* Switched to white for better contrast */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}
.assessment-details-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
}
.assessment-details-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
}
.assessment-details-card ul {
    list-style-position: inside;
    padding-left: 0;
}
.assessment-details-card li {
    margin-bottom: 8px;
}
.assessment-details-card p {
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Updated Form Styles */
.form-group.radio-group {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}
.radio-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.radio-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.form-notice {
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Integrity Clause */
.integrity-clause {
    margin-top: 30px;
    padding: 20px;
    background: #fffbe6; /* Yellow-50 */
    border: 1px solid #facc15; /* Yellow-400 */
    border-radius: 12px;
}
.integrity-clause h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b45309; /* Amber-700 */
    margin-bottom: 10px;
}
.integrity-clause p {
    font-size: 0.9rem;
    color: #b45309;
}