/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    background: white;
    min-height: 100vh;
    line-height: 1.6;
} */

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #00319a 0%, #0044cc 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 49, 154, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #00319a 0%, #001a5e 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive Breakpoints */

/* Large Desktop */
@media (min-width: 1400px) {
    .header-container,
    .footer-container {
        max-width: 1400px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .header-container,
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .header-nav {
        gap: 1.5rem;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .header-nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .logo-title {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .main-header {
        padding: 0.8rem 0;
        margin-bottom: 30px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        align-items: flex-start;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-nav {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(0, 0, 0, 0.1);
        padding: 1rem;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        display: none;
    }
    
    .header-nav.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .logo-title {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .main-footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .main-header {
        padding: 0.6rem 0;
        margin-bottom: 20px;
    }
    
    .header-container {
        padding: 0 0.8rem;
    }
    
    .mobile-menu-toggle {
        right: 0.8rem;
    }
    
    .header-logo {
        gap: 0.8rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .logo-title {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .nav-link {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .footer-container {
        padding: 0 0.8rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-section p,
    .footer-section li {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding: 1rem 0.5rem 0;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .header-container {
        padding: 0 0.5rem;
    }
    
    .mobile-menu-toggle {
        right: 0.5rem;
        padding: 0.3rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
    }
    
    .logo-title {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .main-header {
        padding: 0.5rem 0;
    }
    
    .header-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        border-width: 0.5px;
    }
    
    .footer-section h3::after {
        height: 1px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .social-link,
    .footer-section a,
    .mobile-menu-toggle,
    .mobile-menu-toggle span {
        transition: none;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .header-nav.active {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .main-header,
    .main-footer {
        /* Styles are already dark, no changes needed */
    }
}



/* Content */
.lab-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 49, 154, 0.3);
    overflow: hidden;
}

.lab-header {
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.lab-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.lab-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.lab-content {
    padding: 40px;
}

.lab-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lab-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.lab-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lab-section-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.lab-radio-group {
    display: none;
}

.lab-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.lab-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.lab-radio-group:checked + .lab-card {
    border-color: #667eea;
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.lab-time-slot input[type="checkbox"]:checked + .lab-time-content {
    border-color: #667eea;
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}
.lab-time-slot {
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    user-select: none;
}

.lab-time-slot input[type="checkbox"] {
    display: none;
}

.lab-time-content {
    padding: 10px 14px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    transition: 0.3s;
    text-align: center;
}


.lab-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.lab-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.lab-card-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.lab-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-top: 10px;
}

.lab-radio-group:checked + .lab-card .lab-card-price {
    color: white;
}

.lab-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.lab-form-group {
    display: flex;
    flex-direction: column;
}

.lab-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.lab-form-input,
.lab-form-select {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.lab-form-input:focus,
.lab-form-select:focus {
    outline: none;
    border-color: #667eea;
}

.lab-date-time-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.lab-date-group,
.lab-time-group {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
}

.lab-date-group h4,
.lab-time-group h4 {
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.lab-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.lab-time-slot {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lab-time-slot:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

.lab-time-slot input[type="radio"] {
    display: none;
}

.lab-time-slot input[type="radio"]:checked + .lab-time-content {
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
    border-radius: 6px;
    padding: 8px;
}

.lab-time-slot.booked {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
    cursor: not-allowed;
}

.lab-time-slot.booked:hover {
    background: #f8d7da;
    border-color: #dc3545;
}

.lab-personal-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
}

.lab-summary {
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}

.lab-summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.lab-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lab-summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding-top: 20px;
}

.lab-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.lab-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.lab-btn-primary {
    background: linear-gradient(135deg, #00319a 0%, #005be5 100%);
    color: white;
}

.lab-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.lab-btn-secondary {
    background: #6c757d;
    color: white;
}

.lab-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.lab-required {
    color: #dc3545;
}

.lab-note {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #1976d2;
}

.lab-note-icon {
    display: inline-block;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .lab-content {
        padding: 20px;
    }

    .lab-grid {
        grid-template-columns: 1fr;
    }

    .lab-date-time-section {
        grid-template-columns: 1fr;
    }

    .lab-time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .lab-buttons {
        flex-direction: column;
    }

    .lab-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .lab-header {
        padding: 30px 20px;
    }

    .lab-content {
        padding: 15px;
    }

    .lab-section {
        padding: 20px;
    }

    .lab-time-slots {
        grid-template-columns: 1fr;
    }
}
