/* Axis Healthcare - Dark Theme CSS */
:root {
    /* Dark theme color palette */
    --primary-color: #0056b3;         /* Primary blue */
    --secondary-color: #00a0e3;       /* Secondary blue */
    --accent-color: #1e88e5;          /* Accent blue */
    --dark-bg: #121212;               /* Main background */
    --lighter-bg: #1e1e1e;            /* Lighter background for header/footer */
    --card-bg: #1e1e1e;               /* Card background */
    --text-color: #e0e0e0;            /* Main text color */
    --text-muted: #aaaaaa;            /* Secondary text */
    --border-color: #333333;          /* Border color */
    --success: #4caf50;               /* Success color */
    --warning: #ff9800;               /* Warning color */
    --danger: #f44336;                /* Danger color */
    --border-radius: 5px;             /* Border radius */
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow */
    --transition: all 0.3s ease;      /* Transition */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

/* Header Styles */
header {
    background-color: var(--lighter-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 1.5rem;
    position: relative;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    display: block;
}

nav a:hover,
nav a.active {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--lighter-bg);
    min-width: 200px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--box-shadow);
    z-index: 1100;
    border-radius: var(--border-radius);
    padding: 1rem;
    left: 0;
    top: 100%;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.5rem;
    display: block;
    margin: 0.25rem 0;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

.region-header {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-color);
}

.region-header:first-child {
    margin-top: 0;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-color: var(--darker-bg);
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

/* Translucent Hero Section */
.hero-translucent {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    color: var(--text-color);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.translucent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.75); /* Dark overlay with 75% opacity */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-translucent .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1, .hero-translucent h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--text-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Location Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.location-item:hover {
    transform: translateY(-5px);
}

.location-item h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.location-item p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

/* Facility Icons */
.facility-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    background-color: rgba(0, 160, 227, 0.1);
    padding: 2rem;
    border-radius: 50%;
    transition: var(--transition);
}

.facility-item:hover .facility-icon {
    transform: translateY(-10px);
    background-color: rgba(0, 160, 227, 0.2);
}

/* Testimonials */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    text-align: center;
    padding: 4rem 0;
    color: var(--text-color);
}

.cta h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--lighter-bg);
    padding: 4rem 0 2rem;
    color: var(--text-color);
    width: 100%;
    box-shadow: var(--box-shadow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3,
.footer-hours h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-contact p,
.footer-hours p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Location Pages */
.location-header {
    background-color: var(--darker-bg);
    padding: 3rem 0;
    text-align: center;
}

.location-details {
    padding: 4rem 0;
}

.location-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-info-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.location-info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 20px;
}

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

.location-description {
    margin-top: 3rem;
}

.facilities-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.facilities-list li {
    margin-bottom: 0.5rem;
}

.nearby-locations {
    background-color: var(--dark-bg);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--darker-bg);
    color: var(--text-color);
}

/* Fix for dropdown menus */
select.form-control {
    background-color: var(--darker-bg);
    color: var(--text-color);
    -webkit-appearance: menulist;
    appearance: menulist;
    border: 1px solid var(--border-color);
}

/* Ensure dropdown options have dark background */
select.form-control option {
    background-color: var(--darker-bg) !important;
    color: var(--text-color) !important;
}

/* Target Webkit browsers (Chrome, Safari) */
select.form-control::-webkit-listbox {
    background-color: var(--darker-bg);
    color: var(--text-color);
}

/* Target Firefox */
select.form-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--text-color);
}

/* For all browsers */
select.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Services Page */
.service-details {
    margin-bottom: 4rem;
}

.service-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.service-content h2 {
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* QR Code */
.qr-code-container {
    text-align: center;
    margin-top: 2rem;
}

.qr-code {
    max-width: 150px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid,
    .location-details-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background-color: var(--lighter-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        z-index: 1000;
        overflow-y: auto;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav li {
        margin: 1rem 0;
        width: 100%;
        margin-left: 0;
    }
    
    nav a {
        display: block;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        max-height: 50vh;
        overflow-y: auto;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: var(--border-radius);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
