/* ============================================================
   Barley Hair Transplant - Global Stylesheet
   Combined: common.css + marketing.css
   ============================================================ */

/* Barley Hair Transplant - Marketing Design System */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: "Times New Roman", Times, serif;
    color: #112341;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Times New Roman", Times, serif;
    font-weight: 700;
    line-height: 1.3;
    color: #112341;
    margin-bottom: 15px;
}

h1 { font-size: 52px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }
h4 { font-size: 26px; }

p {
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    color: #112341;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: transparent;
    color: #112341;
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #112341;
    border-radius: 8px;
    padding: 18px 40px;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #112341;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 35, 65, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #1a50a8 0%, #164084 100%);
    color: #fff;
    border-color: #164084;
    box-shadow: 0 4px 15px rgba(22, 64, 132, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #164084 0%, #112341 100%);
    border-color: #112341;
    box-shadow: 0 10px 30px rgba(22, 64, 132, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #a8ccff 0%, #96BEFF 100%);
    color: #112341;
    border-color: #96BEFF;
    box-shadow: 0 4px 15px rgba(150, 190, 255, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #96BEFF 0%, #164084 100%);
    color: #fff;
    border-color: #164084;
    box-shadow: 0 8px 25px rgba(22, 64, 132, 0.35);
}

.btn-large {
    font-size: 22px;
    padding: 22px 50px;
}

/* Section Spacing */
.section {
    padding: 90px 0;
}

.section-light {
    background: #f8f9fa;
}

.section-medium {
    background: #f0f4fa;
}

.section-dark {
    background: linear-gradient(135deg, #1a50a8 0%, #112341 100%);
    color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
    color: #fff;
}

/* Section Title */
.section-title {
    font-size: 46px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #112341;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #164084, #96BEFF);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 21px;
    text-align: center;
    color: #555;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 224, 224, 0.5);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #112341;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #164084;
    box-shadow: 0 0 0 4px rgba(22, 64, 132, 0.1);
    background: #fafcff;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1a50a8 0%, #164084 100%);
    border-radius: 8px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

/* Contact Items Grid - PC Version */
.contact-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.contact-box {
    background: #164084;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-box-icon {
    margin-bottom: 15px;
}

.contact-box-icon i {
    font-size: 56px;
    color: #fff;
}

.contact-box-content h4 {
    font-size: 22px;
    color: #fff;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.contact-box-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.contact-box.qrcode-box {
    cursor: default;
}

.contact-box.qrcode-box img {
    width: 85%;
    max-width: 180px;
    height: auto;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    h3 { font-size: 26px; }
    h4 { font-size: 23px; }
    p { font-size: 18px; }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .section-subtitle {
        font-size: 19px;
        margin-bottom: 40px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .btn {
        font-size: 19px;
        padding: 16px 36px;
    }
    
    .btn-large {
        font-size: 20px;
        padding: 18px 42px;
    }
    
    /* Force single column on mobile - no left-right layouts */
    .about-barley-grid,
    .contact-grid,
    .contact-three-column,
    .dark-section .container,
    .dark-section-alt .container,
    .story-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 44px;
    }
    
    .hero-content p {
        font-size: 21px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .stat-card {
        padding: 20px 10px !important;
    }
    .stat-number {
        font-size: 28px !important;
    }
    .stat-label {
        font-size: 13px !important;
    }
    .services-grid,
    .results-grid,
    .doctors-grid,
    .doctor-profiles-grid,
    .testimonials-grid,
    .hospital-grid,
    .photos-grid,
    .patents-grid,
    .benefits-grid,
    .city-features,
    .cities-grid,
    .blog-grid,
    .branches-grid,
    .products-grid,
    .mission-grid,
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .contact-items {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 30px !important;
    }
    .contact-box {
        padding: 15px 8px !important;
        border-radius: 10px !important;
    }
    .contact-box-icon i {
        font-size: 36px !important;
    }
    .contact-box-content h4 {
        font-size: 16px !important;
    }
    .contact-box-content p {
        font-size: 13px !important;
    }

    .photo-item img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }

    .doctor-profile-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        padding: 30px 20px;
    }
    .doctor-profile-card img {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto !important;
    }

    .doctor-card .doctor-image {
        padding: 25px 20px 20px !important;
    }
    .doctor-card .doctor-image img {
        width: 130px !important;
        height: 130px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .doctor-specialties {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .main-nav {
        gap: 14px;
        font-size: 14px;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
    }
    .main-nav a {
        font-size: 14px;
        white-space: nowrap;
    }
    .logo-text {
        font-size: 18px;
        white-space: nowrap;
    }
    .logo img {
        max-height: 55px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Hide footer navigation and locations on mobile */
    .footer-nav-horizontal,
    .footer-locations {
        display: none !important;
    }

    /* Simplify copyright info on mobile - show only one line */
    .footer-copyright p:nth-child(n+2) {
        display: none !important;
    }
    .footer-copyright p:first-child {
        font-size: 13px;
        color: #96BEFF;
    }

    /* Floating buttons - adjust position to avoid right whitespace */
    .floating-cta {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    p { font-size: 16px; }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        font-size: 17px;
        padding: 13px 28px;
    }
    
    .btn-large {
        font-size: 18px;
        padding: 15px 32px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .container {
        padding: 0 12px;
    }
}

/* ============================================================
   Marketing & Page Layout Styles
   ============================================================ */

/* Global Styles */
body {
    overflow-x: hidden;
}

/* Header */
.top-bar {
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #e0e8f5;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-contact {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.top-bar-contact a {
    color: #112341;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.top-bar-contact a:hover {
    color: #164084;
}

.main-header {
    background: #fff;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo img {
    max-height: 75px;
    width: auto;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #164084;
    line-height: 1.2;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.main-nav {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-left: 40px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.main-nav a {
    color: #112341;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 0;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #164084, #96BEFF);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.main-nav a:hover {
    color: #164084;
}
.main-nav a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    font-weight: 600;
    color: #112341;
    font-size: 17px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 64, 132, 0.6) 0%, rgba(17, 35, 65, 0.65) 100%);
    z-index: 1;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
}
.hero-content h1 {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    letter-spacing: -1px;
}
.hero-content p {
    font-size: 26px;
    margin-bottom: 50px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
    padding: 60px 0;
    border-top: 1px solid #e0e8f5;
    border-bottom: 1px solid #e0e8f5;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 0;
}
.stat-card {
    text-align: center;
    padding: 45px 30px;
    background: linear-gradient(135deg, #1a50a8 0%, #164084 100%);
    border-radius: 20px;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.3);
}
.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.4);
}
.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1;
}
.stat-label {
    font-size: 19px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #fff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}
.service-card {
    background: linear-gradient(135deg, #fafcff 0%, #f8f9fa 100%);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.04);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #164084, #96BEFF, #164084);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.service-card:hover::before {
    transform: translateX(100%);
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.12);
    border-color: #96BEFF;
    background: #fff;
}
.service-icon {
    font-size: 68px;
    color: #164084;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
}
.service-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #112341;
}
.service-card p {
    font-size: 17px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Results Section */
.results-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}
.result-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
}
.result-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.18);
}
.result-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.result-item:hover img {
    transform: scale(1.1);
}
.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(22, 64, 132, 0.95), rgba(22, 64, 132, 0.5) 60%, transparent);
    color: #fff;
    padding: 30px 25px 25px;
}
.result-overlay h4 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}
.result-overlay p {
    font-size: 15px;
    color: #96BEFF;
    margin: 0;
}

/* Doctors Section */
.doctors-section {
    padding: 100px 0;
    background: #fff;
}
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 60px;
}
.doctor-profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}
.doctor-profile-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    gap: 30px;
    transition: all 0.3s;
}
.doctor-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    border-color: #164084;
}
.doctor-profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e8f5;
    flex-shrink: 0;
    transition: all 0.3s;
}
.doctor-profile-card:hover img {
    border-color: #164084;
    box-shadow: 0 4px 12px rgba(22,64,132,0.2);
}
.doctor-profile-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #112341;
    font-weight: 600;
}
.doctor-profile-card .doctor-title {
    font-size: 16px;
    color: #164084;
    margin-bottom: 15px;
    font-weight: 500;
}
.doctor-profile-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}
.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.doctor-specialties span {
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef8 100%);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #164084;
    font-weight: 500;
    transition: all 0.3s;
}
.doctor-specialties span:hover {
    background: linear-gradient(135deg, #164084 0%, #00d9ff 100%);
    color: #fff;
}
.doctor-info {
    padding: 25px;
    text-align: center;
}
.doctor-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #112341;
}
.doctor-info p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Hospital Environment Section */
.hospital-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.hospital-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}
.hospital-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    background: #fff;
}
.hospital-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(22, 64, 132, 0.15);
}
.hospital-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hospital-item:hover img {
    transform: scale(1.05);
}
.hospital-item-info {
    padding: 22px 25px;
}
.hospital-item-info h4 {
    font-size: 20px;
    color: #112341;
    margin-bottom: 8px;
}
.hospital-item-info p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a50a8 0%, #112341 100%);
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* About Barley Section */
.about-barley-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.about-barley-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-barley-text h2 {
    margin-bottom: 30px;
}
.about-barley-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 22px;
}
.about-barley-video video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.2);
}

/* Patient Photos Section */
.photos-section {
    padding: 100px 0;
    background: #fff;
}
.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}
.photo-item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.05);
}
.photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.15);
}
.photo-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.photo-item:hover img {
    transform: scale(1.05);
}
.photo-info {
    padding: 25px;
}
.photo-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #112341;
}
.photo-info p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a50a8 0%, #112341 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.cta-section .container {
    position: relative;
    z-index: 1;
}
.cta-section h2 {
    font-size: 52px;
    color: #fff;
    margin-bottom: 25px;
}
.cta-section p {
    font-size: 24px;
    margin-bottom: 40px;
    color: #96BEFF;
}
.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form Section */
.form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    border: 1px solid #e0e8f5;
    box-shadow: 0 8px 30px rgba(22, 64, 132, 0.08);
}
.form-container h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #112341;
}
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a50a8 0%, #112341 100%);
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 19px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 64, 132, 0.3);
}
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(22, 64, 132, 0.4);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #164084 0%, #112341 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.site-footer > * {
    position: relative;
    z-index: 1;
}

/* Footer Navigation Horizontal */
.footer-nav-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 0 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 30px;
}
.footer-nav-group {
    padding: 0 25px;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.footer-nav-group:last-child {
    border-right: none;
}
.footer-nav-group h4 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 600;
}
.footer-nav-group a {
    color: #96BEFF;
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 4px 0;
    transition: color 0.3s;
}
.footer-nav-group a:hover {
    color: #fff;
}

/* Footer Locations */
.footer-locations {
    padding: 0 0 35px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 30px;
}
.footer-locations-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px;
}
.footer-locations-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 2;
}
.footer-locations-links a {
    color: #96BEFF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-locations-links a:hover {
    color: #fff;
}
.footer-locations-divider {
    color: rgba(255,255,255,0.25);
}

/* Footer Copyright */
.footer-copyright {
    text-align: center;
    padding: 25px 0;
}
.footer-copyright p {
    color: #96BEFF;
    font-size: 14px;
    margin: 0;
}

/* Floating Contact Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.floating-btn.wechat {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff;
}
.floating-btn.email {
    background: linear-gradient(135deg, #1a50a8 0%, #112341 100%);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        flex: none;
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hospital-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Detailed Content Sections */
.dark-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.dark-section-alt {
    padding: 100px 0;
    background: linear-gradient(135deg, #112341 0%, #164084 100%) !important;
}
.dark-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.dark-section-alt .container {
    display: block !important;
}
.dark-section-alt .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.dark-section-alt .section-header .section-title {
    color: #fff !important;
}
.dark-section-alt .section-header .section-subtitle {
    color: rgba(255,255,255,0.8) !important;
}
.dark-section h2.section-title,
.dark-section-alt h2.section-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
    color: #fff !important;
}
/* .dark-section has a light background (#f0f4fa → #f8f9fa), so use dark text colors */
.dark-section h2.section-title {
    color: #112341 !important;
}
.dark-section h3 {
    font-size: 30px;
    margin-bottom: 25px;
    color: #112341 !important;
}
.dark-section p {
    font-size: 18px;
    line-height: 1.9;
    color: #444 !important;
    margin-bottom: 22px;
}
.dark-section ul,
.dark-section-alt ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
/* .dark-section has light background, so use dark text */
.dark-section li {
    font-size: 17px;
    color: #444 !important;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}
/* .dark-section-alt has dark background, so use white text */
.dark-section-alt li {
    font-size: 17px;
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.dark-section img,
.dark-section-alt img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Override page-specific card text colors inside dark backgrounds */
.dark-section-alt .benefit-card h3,
.dark-section-alt .benefit-card p,
.dark-section-alt .tech-card h3,
.dark-section-alt .tech-card p,
.dark-section-alt .benefit-h-card h3,
.dark-section-alt .benefit-h-card p,
.dark-section-alt .timeline-step h3,
.dark-section-alt .timeline-step p,
.dark-section-alt .step-card h3,
.dark-section-alt .step-card p {
    color: #fff !important;
}
.dark-section-alt .benefit-card p,
.dark-section-alt .tech-card p,
.dark-section-alt .benefit-h-card p,
.dark-section-alt .timeline-step p,
.dark-section-alt .step-card p {
    color: rgba(255,255,255,0.85) !important;
}
.dark-section-alt .benefit-card,
.dark-section-alt .tech-card,
.dark-section-alt .step-card {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
}
.dark-section-alt .benefit-card:hover,
.dark-section-alt .tech-card:hover,
.dark-section-alt .step-card:hover {
    background: rgba(255,255,255,0.12) !important;
}

/* Ensure all text elements in dark sections have proper contrast */
.dark-section-alt .section-subtitle,
.dark-section-alt .section-header .section-subtitle,
.info-section .section-subtitle,
.info-section-header .section-subtitle {
    color: rgba(255,255,255,0.85) !important;
}

/* Override gradient text effects in dark sections */
.dark-section-alt .section-title,
.dark-section-alt .section-header .section-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #fff !important;
    background-clip: unset !important;
    color: #fff !important;
}

/* Ensure buttons in dark sections are visible */
.dark-section-alt .btn,
.info-section .btn {
    color: #fff !important;
}
.dark-section-alt .btn-primary,
.info-section .btn-primary {
    background: linear-gradient(135deg, #1a50a8 0%, #164084 100%) !important;
    color: #fff !important;
    border-color: #96BEFF !important;
}
.dark-section-alt .btn-secondary,
.info-section .btn-secondary {
    background: linear-gradient(135deg, #a8ccff 0%, #96BEFF 100%) !important;
    color: #112341 !important;
}

/* Reusable: Two-column info section (title top center, text left, image+button right) */
.info-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #112341 0%, #164084 100%) !important;
}
.info-section .container {
    display: block !important;
}
.info-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.info-section-header .section-title {
    text-align: center;
    color: #fff !important;
    margin-bottom: 15px;
}
.info-section-header .section-subtitle {
    text-align: center !important;
    color: rgba(255,255,255,0.8) !important;
    font-size: 20px;
    margin: 0 auto !important;
    max-width: 750px;
}
.info-section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.info-section-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 18px;
}
.info-section-text ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.info-section-text ul li {
    font-size: 17px;
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.info-section-text .btn {
    display: inline-block;
    margin-top: 10px;
}
.info-section-text h3,
.info-section-text h4 {
    color: #fff !important;
}
.info-section-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.info-section-visual img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .info-section {
        padding: 60px 0;
    }
    .info-section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .info-section-text p {
        font-size: 16px;
    }
    .info-section-text ul li {
        font-size: 16px;
    }
    .info-section-visual img {
        max-width: 100%;
    }
}

/* Reusable: Stories section (title top center, cards horizontal grid) */
.stories-section {
    padding: 100px 0;
    background: #fff;
}
.stories-section .container {
    display: block !important;
}
.stories-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}
.stories-section .section-header .section-title {
    text-align: center;
    margin-bottom: 15px;
}
.stories-section .section-header .section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 768px) {
    .stories-section {
        padding: 60px 0;
    }
}

/* Doctor Card Enhanced */
.doctor-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.06);
    display: flex;
    flex-direction: column;
}
.doctor-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(22, 64, 132, 0.15);
    border-color: #96BEFF;
}
.doctor-card .doctor-image {
    text-align: center;
    padding: 35px 25px 25px;
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef7 100%);
}
.doctor-card .doctor-image img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 25px rgba(22, 64, 132, 0.15);
    transition: transform 0.4s ease;
}
.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}
.doctor-card h3 {
    font-size: 24px;
    margin: 25px 25px 10px;
    color: #112341;
    text-align: center;
}
.doctor-card .doctor-title {
    font-size: 16px;
    color: #164084;
    font-weight: 600;
    margin: 0 25px 18px;
    text-align: center;
}
.doctor-card > p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 28px 22px;
    flex-grow: 1;
}
.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 25px 28px;
    margin-top: auto;
}
.doctor-specialties span {
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef7 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #164084;
    font-weight: 500;
    transition: all 0.3s ease;
}
.doctor-specialties span:hover {
    background: linear-gradient(135deg, #164084 0%, #1a50a8 100%);
    color: #fff;
}

/* Testimonials Enhanced */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.testimonial-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 24px;
    border: 1px solid #e0e8f5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: #e0e8f5;
    font-family: Georgia, serif;
    line-height: 1;
    font-style: italic;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.12);
    border-color: #96BEFF;
}
.testimonial-content {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 30px;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 25px;
    border-top: 2px solid #e0e8f5;
}
.author-avatar {
    font-size: 42px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef7 100%);
    border-radius: 50%;
}
.author-name {
    font-size: 20px;
    font-weight: 700;
    color: #112341;
}
.author-location {
    font-size: 15px;
    color: #666;
    margin-top: 4px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info {
    background: #fff;
    padding: 55px;
    border-radius: 24px;
    border: 1px solid #e0e8f5;
    box-shadow: 0 4px 25px rgba(22, 64, 132, 0.06);
}
.contact-info h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #112341;
}
.contact-info > p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 30px;
    color: #555;
}
.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e8f5;
    transition: all 0.3s ease;
}
.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.contact-item:hover {
    transform: translateX(5px);
}
.contact-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef7 100%);
    color: #164084;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    border: 2px solid #e0e8f5;
    transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #164084 0%, #1a50a8 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(22, 64, 132, 0.3);
}
.contact-detail h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #112341;
}
.contact-detail p {
    font-size: 16px;
    color: #555;
    margin: 0 0 8px 0;
}
.contact-detail a {
    color: #164084;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.contact-detail a:hover {
    color: #112341;
}
.wechat-qr {
    margin-top: 25px;
    text-align: center;
}
.wechat-qr img {
    width: 200px;
    height: 200px;
    border-radius: 18px;
    border: 3px solid #e0e8f5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.wechat-qr img:hover {
    transform: scale(1.05);
}
.wechat-qr p {
    font-size: 15px;
    color: #666;
    margin-top: 15px;
}
.contact-form {
    background: #fff;
    padding: 55px;
    border-radius: 24px;
    border: 1px solid #e0e8f5;
    box-shadow: 0 4px 25px rgba(22, 64, 132, 0.06);
}
.contact-form h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #112341;
}
.contact-form > p {
    font-size: 17px;
    color: #666;
    margin-bottom: 30px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-note {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-top: 25px;
}

/* Branches Section */
.branches-section {
    padding: 100px 0;
    background: #fff;
}
.branches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}
.branch-card {
    background: linear-gradient(135deg, #fafcff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(22, 64, 132, 0.04);
}
.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(22, 64, 132, 0.12);
    border-color: #96BEFF;
    background: #fff;
}
.branch-card h4 {
    font-size: 22px;
    color: #112341;
    margin-bottom: 10px;
}
.branch-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Results Category Navigation */
.results-nav {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e0e8f5;
}
.results-nav .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* City Page Styles */
.city-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}
.city-features .feature-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.05);
}
.city-features .feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.12);
    border-color: #96BEFF;
}
.city-features .feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #164084;
}
.city-features .feature-card p {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

.related-cities {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4fa 0%, #f8f9fa 100%);
}
.related-cities h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: #112341;
    position: relative;
    padding-bottom: 20px;
}
.related-cities h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #164084, #96BEFF);
    border-radius: 2px;
}
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.city-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.05);
    border: 1px solid #e0e8f5;
}
.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.12);
    border-color: #96BEFF;
}
.city-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #112341;
}
.city-card a {
    color: #164084;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.city-card a:hover {
    color: #112341;
    transform: scale(1.05);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}
.benefit-card {
    background: #fff;
    padding: 45px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e0e8f5;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 64, 132, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(22, 64, 132, 0.12);
    border-color: #96BEFF;
}
.benefit-icon {
    font-size: 60px;
    margin-bottom: 25px;
    color: #164084;
    transition: transform 0.3s ease;
}
.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}
.benefit-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #112341;
}
.benefit-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    flex-grow: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1a50a8 0%, #112341 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(22, 64, 132, 0.4);
    text-decoration: none;
    border: none;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: linear-gradient(135deg, #164084 0%, #0d1b33 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(22, 64, 132, 0.5);
}

/* Responsive Additions */
@media (max-width: 992px) {
    .dark-section .container,
    .dark-section-alt .container {
        grid-template-columns: 1fr;
    }
    .dark-section h2.section-title,
    .dark-section-alt h2.section-title {
        text-align: center;
    }
    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .doctor-profiles-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .city-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stories-grid {
        grid-template-columns: 1fr;
    }
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reach-us-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .faq-categories {
        gap: 15px;
    }
}
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
    }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 85px;
        right: 15px;
        left: auto;
        max-width: calc(100vw - 30px);
        width: 200px;
        background: #fff;
        box-shadow: 0 8px 30px rgba(0,0,0,0.25);
        padding: 15px 20px;
        z-index: 10000;
        border-radius: 12px;
        gap: 2px;
        box-sizing: border-box;
    }
    .main-nav.active a {
        padding: 10px 0;
        font-size: 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    .main-nav.active a:last-child {
        border-bottom: none;
    }
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-content p {
        font-size: 20px;
    }
    .stats-grid,
    .services-grid,
    .results-grid,
    .doctors-grid,
    .testimonials-grid,
    .hospital-grid,
    .photos-grid,
    .patents-grid,
    .products-grid,
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-container {
        padding: 40px 25px;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .city-features,
    .cities-grid,
    .blog-grid,
    .videos-grid,
    .contact-info-grid,
    .locations-grid,
    .benefits-grid,
    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 36px;
    }
    .section-subtitle {
        font-size: 19px;
    }
    .cta-section h2 {
        font-size: 36px;
    }
    .cta-section p {
        font-size: 20px;
    }
    .article-content h1 {
        font-size: 36px;
    }
    .article-content h2 {
        font-size: 28px;
    }
}

/* ===== Global Mobile Responsive Rules ===== */

/* 1. Inline grid layouts - force single column on mobile */
@media (max-width: 768px) {
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
    }
}

/* 2. Recovery timeline - stack vertically on mobile */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column !important;
    }
    .timeline-label {
        min-width: auto !important;
        width: 100% !important;
    }
}

/* 3. Large section padding reduction on mobile */
@media (max-width: 768px) {
    section[style*="padding: 100px"] {
        padding: 50px 0 !important;
    }
    section[style*="padding: 80px"] {
        padding: 40px 0 !important;
    }
}

@media (max-width: 480px) {
    section[style*="padding: 100px"] {
        padding: 35px 0 !important;
    }
    section[style*="padding: 80px"] {
        padding: 30px 0 !important;
    }
}

/* 4. Large font size scaling on mobile */
@media (max-width: 768px) {
    [style*="font-size: 120px"] { font-size: 60px !important; }
    [style*="font-size: 72px"] { font-size: 42px !important; }
    [style*="font-size: 64px"] { font-size: 38px !important; }
    [style*="font-size: 56px"] { font-size: 34px !important; }
    [style*="font-size: 48px"] { font-size: 30px !important; }
    [style*="font-size: 42px"] { font-size: 26px !important; }
    [style*="font-size: 36px"] { font-size: 24px !important; }
    [style*="font-size: 32px"] { font-size: 22px !important; }
}

@media (max-width: 480px) {
    [style*="font-size: 120px"] { font-size: 48px !important; }
    [style*="font-size: 72px"] { font-size: 36px !important; }
    [style*="font-size: 64px"] { font-size: 32px !important; }
    [style*="font-size: 56px"] { font-size: 28px !important; }
    [style*="font-size: 48px"] { font-size: 26px !important; }
    [style*="font-size: 42px"] { font-size: 22px !important; }
    [style*="font-size: 36px"] { font-size: 20px !important; }
    [style*="font-size: 32px"] { font-size: 20px !important; }
}

/* 5. Back to top button adjustment on mobile */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

/* 6. Hero section padding reduction on mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 !important;
    }
}

/* 7. Container padding on mobile */
@media (max-width: 480px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* 8. Mobile grid helper classes */
@media (max-width: 768px) {
    .mobile-grid-1,
    .mobile-grid-2,
    .mobile-grid-3,
    .mobile-grid-4 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .mobile-grid-1,
    .mobile-grid-2,
    .mobile-grid-3,
    .mobile-grid-4 {
        grid-template-columns: 1fr !important;
    }
}

/* 9. Contact three column layout on mobile */
@media (max-width: 768px) {
    .contact-three-column {
        grid-template-columns: 1fr !important;
    }
}