/*
Theme Name: Apollo Theme
Theme URI: https://www.apollophysicians.com/
Author: Antigravity
Author URI: https://google.com
Description: Custom theme for Apollo Physicians replication.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apollo-theme
*/

:root {
    --primary-navy: #1B3F76;
    /* Verified Deep Navy */
    --primary-teal: #00A69C;
    /* Brand Teal */
    --accent-red: #D1202F;
    /* Call to Action Red */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #F8F9FA;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-navy);
}

.container {
    max-width: 1400px;
    /* Wider container for modern look */
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
    /* Increased to ensure header stays on top */
    padding: 0;
    /* Removing padding to let height be defined by content */
    height: 90px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    height: 60px;
    /* Adjust based on actual logo */
    width: auto;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-left: 10px;
    line-height: 1.2;
}

.site-logo-text span {
    color: var(--primary-teal);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
    gap: 5px;
}

.main-navigation ul li {
    margin-left: 20px;
    position: relative;
    height: 90px;
    /* Match header height */
    display: flex;
    align-items: center;
}

.main-navigation ul li:first-child {
    margin-left: 0;
}

.main-navigation ul li a {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--primary-teal);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #b01523;
    /* Darker red */
    color: var(--white);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-navy);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(27, 63, 118, 0.85) 0%, rgba(27, 63, 118, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Quick Links Bar */
.quick-links-bar {
    background: var(--primary-teal);
    padding: 30px 0;
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-item {
    text-align: center;
    color: var(--white);
}

.quick-link-item h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 10px 0;
}

.quick-link-item a {
    color: var(--white);
    display: block;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.quick-link-item a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Section Common */
.section-padding {
    padding: 80px 0;
}

/* Welcome Section */
.welcome-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-text h2 {
    color: var(--primary-navy);
    font-size: 2.5rem;
}

/* Feature Blocks */
.feature-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-block {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Footer */
.site-footer {
    background: var(--primary-navy);
    color: #e0e0e0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-teal);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #e0e0e0;
}

.footer-widget ul li a:hover {
    color: var(--primary-teal);
}

.site-info {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
        /* Simplification */
    }

    .quick-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Page Banner */
.page-banner {
    position: relative;
    height: 250px;
    background-color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-banner-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 110px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    font-family: var(--font-primary);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    font-size: 3rem;
    color: #fff !important;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Mega Menu */
.has-mega-menu {
    position: relative;
}

.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 850px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 3px solid var(--primary-teal);
    max-height: 400px;
    overflow-y: auto;
}

.has-mega-menu:hover .mega-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Ensure grid display - 5 columns for more compact layout */
ul.mega-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100%;
}

.mega-menu-grid li {
    margin: 0 !important;
    width: 100%;
}

.mega-menu-grid li a {
    font-size: 11px !important;
    padding: 8px 10px !important;
    color: var(--text-light) !important;
    text-transform: uppercase !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: block;
    border: 1px solid transparent;
    line-height: 1.3;
}

.mega-menu-grid li a:hover {
    background: var(--bg-light);
    color: var(--primary-teal) !important;
    border-color: #eee;
    padding-left: 12px !important;
}

/* Responsive fix for mega menu */
@media (max-width: 1024px) {
    .mega-menu-container {
        width: 100%;
        left: 0;
        transform: none;
        position: static;
        box-shadow: none;
        display: none;
    }

    .has-mega-menu:hover .mega-menu-container {
        display: block;
    }

    ul.mega-menu-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- Modern Homepage Redesign --- */

/* Utility */
.text-blue {
    color: var(--primary-teal);
}

.bg-light-blue {
    background-color: #F0F8FF;
}

.mt-4 {
    margin-top: 30px;
}

.relative {
    position: relative;
}

/* Hero Modern */
.hero-modern {
    /*padding: 50px 0 80px;*/
    /* Reduced padding for less height */
    background: #fff;
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-heading {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.blue-blob-shape {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--primary-teal);
    /* Or a gradient */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.1;
    /* Adjust opacity or use solid color appropriately */
}

/* For the specific reference look (solid blue shape on right) */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -50%;
    width: 150%;
    height: 150%;
    background: #007bff;
    /* Bright blue */
    border-radius: 50%;
    z-index: 0;
    opacity: 0.1;
}

.hero-img-main {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: 520px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-heading {
        font-size: 3rem;
    }

    .hero-desc {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-video-link {
        justify-content: center;
    }

    .badge-bottom {
        left: 0;
    }

    .badge-top {
        right: 0;
    }
}


/* Appointment Bar Floating */
.appointment-bar-wrapper {
    position: relative;
    margin-top: -80px;
    /* Overlap hero */
    z-index: 10;
    margin-bottom: 80px;
}

.appointment-bar {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* More subtle shadow */
}

.apt-title {
    margin: 0 0 20px;
    font-size: 1.2rem;
    color: var(--primary-navy);
}

.apt-form {
    display: flex;
    gap: 20px;
    align-items: center;
}

.apt-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: #F8F9FA;
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #eee;
}

.apt-input-group span {
    color: var(--primary-teal);
    margin-right: 10px;
    font-size: 20px;
}

.apt-input-group input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.btn-search {
    background: var(--primary-teal);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    transition: background 0.3s ease;
    min-width: 160px;
}

.btn-search:hover {
    background: #008c84;
}

/* About Modern */
.about-split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.section-subtitle {
    color: var(--primary-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.stat-number {
    font-size: 2rem;
    color: var(--primary-teal);
    margin: 0 0 5px;
}

.stat-label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-actions {
    display: flex;
    gap: 15px;
}

/* Services Modern */
.services-modern {
    text-align: center;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns for specific look */
    gap: 20px;
    margin-top: 50px;
}

.service-card-modern {
    background: #EAF4FF;
    /* Light blue tint */
    padding: 30px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.service-card-modern:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.service-card-modern h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-card-modern p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

/* Newsletter */
.newsletter-box {
    background: #EAF4FF;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box h2 {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Media Queries Update */
@media (max-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-split,
    .about-split-layout,
    .apt-form {
        flex-direction: column;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .blue-blob-shape {
        width: 300px;
        height: 300px;
        top: -20px;
        right: -20px;
    }

    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Doctors Grid Styles */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.doctor-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.doctor-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-specialty {
    color: var(--primary-teal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.doctor-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.doctor-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.doctor-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.doctor-actions {
    margin-top: auto;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .doctor-image {
        height: 300px;
    }
}

/* Enhanced Services Styles */
.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card-enhanced {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-teal);
    opacity: 0;
    transition: var(--transition);
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card-enhanced:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #F0F8FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--primary-teal);
}

.service-card-enhanced:hover .service-icon {
    background: var(--primary-teal);
}

.service-card-enhanced:hover .service-icon .dashicons {
    color: #fff;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Aesthetic Card Variant */
.aesthetic-card .service-icon {
    background: #FFF0F5;
}

.aesthetic-card .service-icon .dashicons {
    color: #D1202F;
}

.aesthetic-card:hover .service-icon {
    background: #D1202F;
}

.aesthetic-card::before {
    background: #D1202F;
}

.aesthetic-card .service-link {
    color: #D1202F;
}

/* Section Decor */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-teal);
    margin: 20px auto;
}

.mb-5 {
    margin-bottom: 50px;
}

.bg-light {
    background-color: #F8F9FA;
}

/* Services CTA */
.services-cta {
    background: var(--primary-navy);
    padding: 80px 0;
    color: #fff;
}

.services-cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary-navy);
}

.doctor-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.doctor-actions {
    margin-top: auto;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .doctor-image {
        height: 300px;
    }
}

/* Enhanced Services Styles */
.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card-enhanced {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-teal);
    opacity: 0;
    transition: var(--transition);
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card-enhanced:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #F0F8FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--primary-teal);
}

.service-card-enhanced:hover .service-icon {
    background: var(--primary-teal);
}

.service-card-enhanced:hover .service-icon .dashicons {
    color: #fff;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Aesthetic Card Variant */
.aesthetic-card .service-icon {
    background: #FFF0F5;
}

.aesthetic-card .service-icon .dashicons {
    color: #D1202F;
}

.aesthetic-card:hover .service-icon {
    background: #D1202F;
}

.aesthetic-card::before {
    background: #D1202F;
}

.aesthetic-card .service-link {
    color: #D1202F;
}

/* Section Decor */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-teal);
    margin: 20px auto;
}

.mb-5 {
    margin-bottom: 50px;
}

.bg-light {
    background-color: #F8F9FA;
}

/* Services CTA */
.services-cta {
    background: var(--primary-navy);
    padding: 80px 0;
    color: #fff;
}

.services-cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary-navy);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
}

@media (min-width: 1px) {

    /* Refined Doctor Detail */
    .doctor-detail-section {
        padding: 80px 0;
        background: #fff;
        margin-bottom: 80px;
    }

    .doctor-detail-card {
        max-width: 1200px;
        margin: 0 auto;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .doctor-detail-banner {
        width: 100%;
        height: 500px;
        overflow: hidden;
        background: #fff;
        margin-bottom: 40px;
    }

    .doctor-detail-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        border-radius: 12px;
    }

    .doctor-detail-info {
        padding: 0 20px;
        text-align: left;
    }

    .detail-specialty {
        color: var(--primary-teal);
        font-weight: 800;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 1.5px;
        display: block;
        margin-bottom: 15px;
    }

    .detail-name {
        font-size: 38px;
        color: var(--primary-navy);
        margin-bottom: 15px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .detail-title {
        color: #888;
        font-size: 18px;
        margin-bottom: 25px;
        font-weight: 400;
    }

    .detail-bio {
        color: #555;
        line-height: 1.8;
        margin-bottom: 40px;
        font-size: 16px;
        max-width: 800px;
    }

    .detail-divider {
        width: 40px;
        height: 3px;
        background: var(--accent-red);
        margin-top: 20px;
    }

    /* Refined App Promo */
    .app-promo-section {
        padding: 120px 0;
        background: #fff;
    }

    .app-promo-grid {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        gap: 100px;
        align-items: center;
    }

    .promo-visual {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .purple-circle {
        position: absolute;
        width: 480px;
        height: 480px;
        background: #f4f4ff;
        border-radius: 50%;
        z-index: 1;
    }

    .promo-doctor-img {
        width: 420px;
        height: 420px;
        object-fit: cover;
        border-radius: 50%;
        position: relative;
        z-index: 2;
        object-position: center top;
        transition: var(--transition);
    }

    .promo-testimonial-card {
        position: absolute;
        right: -84px;
        top: 64%;
        background: #fff;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
        width: 280px;
        z-index: 3;
        border: 1px solid #f0f0f0;
    }

    .promo-stars {
        color: #FFD700;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .promo-testimonial-text {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 15px;
        font-weight: 400;
    }

    .promo-author {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #999;
    }

    .google-icon {
        font-weight: 800;
        color: #4285F4;
    }

    .promo-text {
        max-width: 550px;
    }

    .promo-heading {
        font-size: 3.5rem;
        color: var(--primary-navy);
        line-height: 1.1;
        margin-bottom: 35px;
        font-weight: 800;
        letter-spacing: -1px;
    }

    .promo-desc {
        font-size: 1.2rem;
        color: #777;
        margin-bottom: 30px;
        line-height: 1.7;
        font-weight: 400;
    }

    .btn-promo {
        background: #ff6b6b;
        color: #fff;
        padding: 18px 40px;
        border-radius: 10px;
        font-size: 16px;
        text-transform: none;
        font-weight: 700;
        letter-spacing: 0;
        border: none;
        cursor: pointer;
        display: inline-block;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .btn-promo:hover {
        background: #ff5252;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
        color: white;
    }

    @media (max-width: 992px) {
        .app-promo-grid {
            grid-template-columns: 1fr;
            gap: 60px;
            text-align: center;
        }

        .promo-text {
            margin: 0 auto;
        }

        .promo-testimonial-card {
            right: 50%;
            transform: translateX(50%);
            top: auto;
            bottom: -20px;
        }

        .purple-circle {
            width: 350px;
            height: 350px;
        }

        .promo-doctor-img {
            width: 300px;
            height: 300px;
        }

        .promo-heading {
            font-size: 2.5rem;
        }
    }
}

/* Doctor Profile Page - Circular Layout Redesign */
.doctor-profile-section {
    padding: 120px 0;
    background: #fff;
}

.doctor-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.doctor-profile-text {
    max-width: 600px;
}

.doctor-profile-text .detail-specialty {
    margin-bottom: 20px;
}

.doctor-profile-text .promo-heading {
    margin-bottom: 10px;
    font-size: 4rem;
}

.doctor-profile-text .detail-title {
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--primary-teal);
    font-size: 20px;
}

.doctor-profile-text .promo-desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.doctor-profile-text .doctor-actions {
    margin-top: 30px;
}

@media (max-width: 992px) {
    .doctor-profile-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }

    .doctor-profile-text {
        margin: 0 auto;
    }
}

/* Improved Dropdown Styling */
.main-navigation ul li.has-dropdown {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
}

.main-navigation ul li.has-dropdown:hover>a {
    color: var(--primary-teal);
}

.dropdown-container {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    padding: 15px 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    border-top: 3px solid var(--primary-teal);
    border-radius: 0 0 4px 4px;
    pointer-events: none;
}

.main-navigation ul li.has-dropdown:hover .dropdown-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100%;
}

.dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    width: 100%;
    display: block !important;
}

.dropdown-menu li a {
    padding: 12px 25px !important;
    font-size: 13px !important;
    color: var(--primary-navy) !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: block !important;
    transition: all 0.2s ease;
    line-height: 1.4 !important;
    letter-spacing: 0.5px;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: var(--primary-teal) !important;
    padding-left: 30px !important;
}

@media (min-width: 1px) {

    /* Refined Doctor Detail */
    .doctor-detail-section {
        padding: 0;
        background: #fff;
        margin-bottom: 80px;
    }

    .doctor-detail-card {
        max-width: 1200px;
        margin: 0 auto;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .doctor-detail-banner {
        width: 100%;
        height: 500px;
        overflow: hidden;
        background: #fff;
        margin-bottom: 40px;
    }

    .doctor-detail-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        border-radius: 12px;
    }

    .doctor-detail-info {
        padding: 0 20px;
        text-align: left;
    }

    .detail-specialty {
        color: var(--primary-teal);
        font-weight: 800;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 1.5px;
        display: block;
        margin-bottom: 15px;
    }

    .detail-name {
        font-size: 38px;
        color: var(--primary-navy);
        margin-bottom: 15px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .detail-title {
        color: #888;
        font-size: 18px;
        margin-bottom: 25px;
        font-weight: 400;
    }

    .detail-bio {
        color: #555;
        line-height: 1.8;
        margin-bottom: 40px;
        font-size: 16px;
        max-width: 800px;
    }

    .detail-divider {
        width: 40px;
        height: 3px;
        background: var(--accent-red);
        margin-top: 20px;
    }

    /* Refined App Promo */
    .app-promo-section {
        padding: 120px 0;
        background: #fff;
    }

    .app-promo-grid {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        gap: 100px;
        align-items: center;
    }

    .purple-circle {
        width: 480px;
        height: 480px;
        background: #f4f4ff;
    }

    .promo-doctor-img {
        width: 420px;
        height: 420px;
        border-radius: 50%;
        object-position: center top;
    }

    .promo-testimonial-card {
        right: -84px;
        top: 63%;
        width: 280px;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    }

    .promo-heading {
        font-size: 3.5rem;
        letter-spacing: -1px;
        margin-bottom: 35px;
    }

    .promo-desc {
        font-size: 1.2rem;
        color: #777;
        margin-bottom: 30px;
    }

    .btn-promo {
        padding: 18px 40px;
        border-radius: 10px;
        font-size: 16px;
    }
}

/* Patient Information Page Styles */
.form-download-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.form-download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-teal) !important;
    background: #fff !important;
}

.form-download-card:hover .form-icon {
    background: var(--primary-teal) !important;
    color: #fff !important;
}

.form-download-card:hover .dashicons-download {
    color: var(--primary-teal) !important;
    transform: translateY(2px);
}

.step-item {
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    background: var(--primary-navy) !important;
}

@media (max-width: 768px) {

    .guide-grid,
    .billing-info .container>div,
    .payment-methods {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .payment-methods {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .payment-methods {
        grid-template-columns: 1fr !important;
    }
}

/* Pricing Page Styles */
.pricing-table tr {
    transition: background 0.2s ease;
}

.pricing-table tr:hover {
    background-color: #f1f8ff !important;
}

.special-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.special-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-teal);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .special-pricing-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Advanced Pricing List Styles */
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dotted #e1e1e1;
    font-size: 0.95rem;
    color: #444;
}

.price-item span {
    background: #fff;
    padding-right: 5px;
    position: relative;
    z-index: 1;
}

.price-item b {
    background: #fff;
    padding-left: 5px;
    position: relative;
    z-index: 1;
    color: var(--primary-navy);
    font-weight: 700;
}

.pricing-group-title {
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sub-group h4 {
    border-left: 3px solid var(--primary-teal);
    padding-left: 10px;
}

@media (max-width: 991px) {

    .pricing-grid-layout,
    .price-list-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .price-list-grid {
        gap: 0 !important;
    }
}

/* Insurance Page Styles */
.insurance-matrix tr {
    transition: background 0.2s ease;
}

.insurance-matrix tr:hover {
    background-color: #f1f8ff !important;
}

@media (max-width: 768px) {

    .insurance-matrix th,
    .insurance-matrix td {
        padding: 10px 15px !important;
        font-size: 0.85rem;
    }
}

/* Modern Testimonials Design System */
.modern-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #eaf4ff;
    color: var(--primary-teal);
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.page-banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.page-banner-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    font-weight: 500;
}

.section-header-modern {
    color: var(--primary-navy);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.section-header-modern .text-teal {
    color: var(--primary-teal);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.modern-slider-layout {
    padding-bottom: 100px;
    overflow: hidden;
}

.modern-testimonial-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 50, 100, 0.05);
    border: 1px solid #f0f4f8;
    height: 100%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.swiper-slide-active .modern-testimonial-card {
    border-color: var(--primary-teal);
    box-shadow: 0 25px 60px rgba(0, 128, 128, 0.12);
}

.card-quote {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--primary-teal);
    opacity: 0.15;
}

.card-quote span {
    font-size: 60px !important;
    width: 60px;
    height: 60px;
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.review-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 40px;
    flex-grow: 1;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #f0f4f8;
}

.reviewer-image {
    position: relative;
    width: 65px;
    height: 65px;
}

.image-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-teal), transparent);
    z-index: 1;
}

.reviewer-name {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.reviewer-tag {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Slider Controls */
.slider-controls-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.swiper-button-prev-modern,
.swiper-button-next-modern {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-prev-modern:hover,
.swiper-button-next-modern:hover {
    background: var(--primary-teal);
    color: #fff;
    transform: scale(1.1);
}

.swiper-button-prev-modern span,
.swiper-button-next-modern span {
    font-size: 30px !important;
    width: 30px;
    height: 30px;
}

.swiper-pagination-modern {
    position: static !important;
    width: auto !important;
}

.swiper-pagination-modern .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-modern .swiper-pagination-bullet-active {
    background: var(--primary-teal) !important;
    width: 35px;
    border-radius: 10px;
}

/* Review Sources */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.source-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.source-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

.google-c {
    background: #4285F4;
}

.yelp-c {
    background: #FF1A1A;
}

.web-c {
    background: var(--primary-teal);
}

.source-text strong {
    display: block;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.source-text span {
    font-size: 0.85rem;
    color: #888;
}

/* Leave a Review Modern */
.leave-review-modern {
    padding-bottom: 120px;
}

.cta-card-modern {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a3a63 100%);
    padding: 80px 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card-modern:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 20px;
}

.btn-modern-teal {
    background: var(--primary-teal);
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-modern-teal:hover {
    background: #006666;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 128, 128, 0.3);
}

.btn-modern-outline {
    background: transparent;
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@media (max-width: 991px) {
    .cta-card-modern {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .section-header-modern {
        font-size: 2.2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-modern-teal,
    .btn-modern-outline {
        width: 100%;
    }
}

/* Contact Page Modern Styles */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f4f8;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 50, 100, 0.08);
    border-color: var(--primary-teal);
}

.card-icon-modern {
    width: 70px;
    height: 70px;
    background: #eaf4ff;
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .card-icon-modern {
    background: var(--primary-teal);
    color: #fff;
}

.card-icon-modern span {
    font-size: 30px !important;
    width: 30px;
    height: 30px;
}

.contact-info-card h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-details p {
    margin-bottom: 5px;
    color: #555;
    font-size: 1rem;
}

.card-details a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
}

.directions-link {
    margin-top: 15px !important;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.contact-form-modern .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-modern .form-group {
    margin-bottom: 20px;
}

.contact-form-modern input,
.contact-form-modern select,
.contact-form-modern textarea {
    width: 100%;
    padding: 15px 20px;
    background: #f8fbff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-modern input:focus,
.contact-form-modern select:focus,
.contact-form-modern textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.1);
}

.contact-map-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.location-details-modern {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f4f8;
}

.detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item span {
    color: var(--primary-teal);
    font-size: 25px !important;
    width: 25px;
    height: 25px;
    margin-top: 5px;
}

.detail-item h4 {
    margin: 0 0 5px;
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 700;
}

.detail-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .contact-form-modern .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px;
    }
}

/* UI Utilities */
.shadow-premium {
    box-shadow: 0 15px 45px rgba(0, 40, 100, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shadow-premium:hover {
    box-shadow: 0 30px 60px rgba(0, 40, 100, 0.1) !important;
    transform: translateY(-5px);
}


/* Form Feedback Alerts */
.form-response {
    margin-bottom: 25px;
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.alert-success {
    background: #e6f9f1;
    color: #0d5f3f;
    border: 1px solid #c2edda;
}

.alert-error {
    background: #fff0f0;
    color: #c9302c;
    border: 1px solid #ffdcdc;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Service Detail Pages - Chronic Disease Management */
.container-narrow {
    max-width: 900px !important;
}

.container-medium {
    max-width: 1000px !important;
}

.intro-content-modern {
    position: relative;
    z-index: 5;
    margin-top: -150px;
}

.qa-container {
    padding: 20px;
}

.qa-item-modern {
    background: #fff;
    padding: 60px;
    border-radius: 30px;
    margin-bottom: 50px;
    box-shadow: 0 15px 45px rgba(0, 40, 100, 0.05);
    border: 1px solid #f0f4f8;
    transition: all 0.4s ease;
}

.qa-item-modern:hover {
    box-shadow: 0 25px 60px rgba(0, 40, 100, 0.08);
    transform: translateY(-5px);
}

.qa-item-modern h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

.qa-answer {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.qa-answer p {
    margin-bottom: 20px;
}

.condition-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 40px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.condition-list li {
    padding: 8px 0;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: transparent;
}

.condition-list li:before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: inline-block;
}

/* Standard Service CTA Card */
.service-cta-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f4f8;
}

.service-cta-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-teal);
}

@media (max-width: 768px) {
    .condition-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qa-item-modern {
        padding: 40px 30px;
    }

    .service-cta-card {
        min-width: 100% !important;
        border-radius: 50px !important;
    }
}



@media (max-width: 768px) {
    .intro-content-modern {
        padding: 40px 30px !important;
        margin-top: -80px;
    }

    .qa-item-modern {
        padding: 30px 20px;
    }

    .qa-item-modern h3 {
        font-size: 1.3rem;
    }
}

/* Background Pattern Overlays */
.background-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/medical-pattern.png');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.background-pattern-overlay.pattern-right {
    background-position: right center;
    width: 60%;
    left: auto;
    right: 0;
}

.background-pattern-overlay.pattern-bottom {
    background-position: bottom center;
    height: 60%;
    top: auto;
    bottom: 0;
}

.footer-modern-grid a:hover {
    color: var(--primary-teal) !important;
}

@media (max-width: 991px) {
    .footer-modern-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-brand-section .footer-contact-info p {
        justify-content: center;
    }

    .footer-links-section {
        grid-template-columns: 1fr !important;
    }
}