/* GENEHXIS DIAGNOSTIC PVT LTD - Custom Styles */

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #0F766E;
    /* Teal */
    --secondary-color: #0EA5E9;
    /* Sky Blue */
    --accent-color: #F59E0B;
    /* Amber */
    --neutral-gray: #6B7280;
    --light-gray: #F3F4F6;
    --dark-gray: #1F2937;
    --white: #FFFFFF;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --card-border-radius: 1rem;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0D6457;
    border-color: #0D6457;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-warning {
    color: var(--accent-color) !important;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* Header Styles */
.header-section .navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 150px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 120px;
    min-height: 100vh;
}

.hero-content h1 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-features .bi-check-circle-fill {
    font-size: 1.2rem;
}

.hero-image img {
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow-hover);
}

/* Card Styles */
.card {
    border-radius: var(--card-border-radius);
    border: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

/* USP Cards */
.usp-card .usp-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Cards */
.service-card .service-icon {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--dark-gray);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--neutral-gray);
}

.stars i {
    margin-right: 0.2rem;
}

/* FAQ Section */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
}

.accordion-button {
    background: var(--white);
    border: none;
    border-radius: var(--card-border-radius);
    font-weight: 600;
    color: var(--dark-gray);
}

.accordion-button:not(.collapsed) {
    background: var(--light-gray);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.25);
    border: none;
}

/* Contact Strip */
.contact-strip {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Footer */
.footer-section {
    background: var(--dark-gray);
}

.footer-brand h3 {
    color: var(--white);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Form Styles */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.25);
}

.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Utility Classes */
.section-padding {
    padding: var(--section-padding);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }

    .contact-strip .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--dark-gray);
    }

    .btn-primary {
        border: 2px solid var(--primary-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer-section,
    .btn,
    .contact-strip {
        display: none !important;
    }

    .hero-section {
        padding-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0D6457;
}

.footer-section .text-muted {
    color: #ccc !important;
}

.footer-section .text-muted a {
    color: #ccc !important;
}