/* =========================================================
   LATHIKA POLYCLINIC - MAIN CSS
   Corrected version
   - Global styles retained
   - Font Awesome icons enabled
   - Header/logo alignment fixed
   - Broken icon square prevention
   - Responsive navigation fixes
   ========================================================= */

/* Icon library used by the existing <i> icon elements */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/* =========================================================
   ICON COMPATIBILITY
   The existing stylesheet uses <i> elements for icons.
   These rules prevent missing-glyph square boxes.
   ========================================================= */

i[class^="fa-"],
i[class*=" fa-"],
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
    font-style: normal;
    line-height: 1;
    display: inline-block;
}

/* Common icon areas */
.service-icon i,
.specialty-image-wrap i,
.c-point i,
.card-icon-huge i,
.icon-circle i,
.badge-icon i,
.google-icon i,
.review-stars i,
.google-summary-stars i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    line-height: 1;
}

/* Brand icons such as Google/WhatsApp/Instagram */
.fa-brands,
.fab,
.google-icon .fa-google,
.fa-whatsapp,
.fa-instagram,
.fa-facebook,
.fa-youtube,
.fa-linkedin {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* Never show a square for an intentionally empty icon element */
.elementor-button-icon:empty,
.elementor-icon:empty {
    display: none !important;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header,
.main-header,
.lp-header {
    width: 100%;
    position: relative;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e8f0f2;
    box-shadow: 0 3px 18px rgba(20, 70, 80, 0.06);
}

/* Keep the logo at the left edge of the header container */
.site-header .container,
.main-header .container,
.lp-header .container {
    max-width: 100%;
    padding-left: 25px;
    padding-right: 25px;
}

/* WordPress/Elementor logo */
.site-header .custom-logo,
.site-header .custom-logo-link img,
.main-header .custom-logo,
.main-header .custom-logo-link img,
.lp-header img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 65px;
}

/* Header flex layout when these classes are used */
.site-header .header-inner,
.main-header .header-inner,
.lp-header .header-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.site-header .site-branding,
.main-header .site-branding,
.lp-header .site-branding {
    margin-right: auto;
}

.site-header .main-navigation,
.main-header .main-navigation,
.lp-header .main-navigation {
    margin-left: auto;
}

/* WordPress menu */
.site-header .main-navigation ul,
.main-header .main-navigation ul,
.lp-header .main-navigation ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .main-navigation a,
.main-header .main-navigation a,
.lp-header .main-navigation a {
    color: #173f4b;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 14px;
}

.site-header .main-navigation a:hover,
.main-header .main-navigation a:hover,
.lp-header .main-navigation a:hover {
    color: #078c9c;
}

/* Elementor header layout */
.lp-header .elementor-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 25px;
    padding-right: 25px;
}

.lp-header .elementor-widget-image {
    margin-left: 0 !important;
}

.lp-header .elementor-widget-nav-menu {
    margin-left: auto;
}

.lp-header .elementor-nav-menu {
    justify-content: flex-end;
}

.lp-header .elementor-nav-menu > li > a {
    color: #173f4b;
    font-weight: 600;
}

.lp-header .elementor-nav-menu > li > a:hover,
.lp-header .elementor-nav-menu > li.current-menu-item > a,
.lp-header .elementor-nav-menu > li.current-menu-ancestor > a {
    color: #078c9c;
}

/* Elementor appointment button: no broken icon box */
.lp-header .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-color: #078c9c;
    color: #ffffff;
    border-radius: 10px;
    padding: 13px 21px;
    font-weight: 700;
}

.lp-header .elementor-button:hover {
    background-color: #066f7c;
    color: #ffffff;
}

.lp-header .elementor-button-icon:empty,
.lp-header .elementor-button .elementor-button-icon {
    min-width: 0;
}

/* If Book Appointment has no icon, remove the empty reserved space */
.lp-header .elementor-button-icon:empty {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   RESPONSIVE HEADER
   ========================================================= */

@media screen and (max-width: 767px) {
    .site-header .container,
    .main-header .container,
    .lp-header .elementor-container,
    .lp-header .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-header .custom-logo,
    .site-header .custom-logo-link img,
    .main-header .custom-logo,
    .main-header .custom-logo-link img,
    .lp-header img {
        max-width: 155px;
        max-height: 55px;
    }

    .site-header .main-navigation ul,
    .main-header .main-navigation ul {
        display: none;
    }

    .lp-header .elementor-nav-menu--dropdown {
        background: #ffffff;
        border-top: 1px solid #e8f0f2;
        box-shadow: 0 15px 30px rgba(20, 70, 80, 0.10);
    }

    .lp-header .elementor-nav-menu--dropdown a {
        color: #173f4b !important;
        padding: 14px 20px !important;
    }

    .lp-header .elementor-menu-toggle {
        color: #078c9c;
        background: transparent;
        border: 0;
    }
}


/* =========================================================
   PAGE CSS LOADING
   =========================================================
   IMPORTANT:
   The uploaded main.css already contains the styles for:
   Home, services, appointments, doctors, testimonials,
   contact, archive and single-post layouts.

   Do NOT add @import statements for unknown page CSS files.
   If separate page CSS files exist in the theme, enqueue them
   from functions.php instead of guessing filenames here.
   ========================================================= */

/* 1. Reset & General Defaults */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Screen Reader Utility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* 2. Container Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f4f6fa;
}

/* Helper background colors */
.bg-primary-light { background-color: var(--primary-light); }
.bg-accent-light { background-color: rgba(255, 120, 31, 0.1); }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-orange { color: #ff781f; }
.text-success { color: #25d366; }
.text-muted { color: #8892a0; }

/* 3. Utility Components & Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-headings);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-size: 15px;
    gap: 8px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 20px;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 120, 31, 0.2);
}

.btn-success {
    background-color: #25d366;
    color: var(--white);
}

.btn-success:hover {
    background-color: #20ba59;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Card Shadows and Hovers */
.card-shadow {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.02);
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0px;
}

.form-row .form-group {
    flex: 1;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

label {
    display: block;
    font-family: var(--font-family-headings);
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}


/* 4. Section Headings */
.section-header {
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-tagline {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    color: var(--heading-color);
}

.section-desc {
    color: #666;
    font-size: 16px;
}


/* 5. Hero Banner Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e6eef6 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-tagline {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrap {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-img-bg-box {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.12) 0%, rgba(255, 120, 31, 0.08) 100%);
    filter: blur(40px);
    z-index: 1;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.08);
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 10;
    position: relative;
    animation: floatY 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-number {
    font-family: var(--font-family-headings);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    font-weight: 500;
}


/* 6. Highlights / Promo Section */
.highlights-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.highlight-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.highlight-desc {
    color: #666;
    font-size: 14px;
}


/* 7. Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    text-align: left;
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-desc {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    font-family: var(--font-family-headings);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
}


/* 8. Appointment Layout Section */
.appointment-flex {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0 35px;
}

.c-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.c-point i {
    color: #25d366;
}

.booking-cards-flex {
    display: flex;
    gap: 20px;
}

.booking-card {
    flex: 1;
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.border-primary { border-top: 4px solid var(--primary-color); }
.border-accent { border-top: 4px solid var(--accent-color); }

.card-icon-huge {
    font-size: 32px;
    margin-bottom: 10px;
}

.booking-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.booking-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.appointment-form-wrap {
    background: var(--white);
    padding: 40px;
}

.appointment-form-wrap h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.appointment-form-wrap p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}


/* 9. Doctors Cards Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    padding: 0;
    overflow: hidden;
}

.doctor-img-wrap {
    height: 240px;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.doctor-avatar-fallback {
    font-size: 90px;
    color: #cbd5e0;
}

.doctor-info {
    padding: 30px;
}

.doc-name {
    font-size: 22px;
    margin-bottom: 4px;
}

.doc-spec {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.doc-bio {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

.doc-contact {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-size: 13px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* 10. Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-item {
    position: relative;
}

.testimonial-stars {
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    font-size: 16px;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 15px;
    color: var(--heading-color);
}

.author-tag {
    font-size: 12px;
    color: #8892a0;
}


/* 11. Maps & Detailed Contacts */
.contact-map-flex {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 500px;
}

.contact-details-box {
    background: #1a2530;
    color: #fff;
    padding: 80px 60px;
}

.contact-details-box .section-title {
    color: #fff;
    margin-bottom: 40px;
}

.map-contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.map-contact-item h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

.map-contact-item p, .map-contact-item a {
    color: #cbd5e0;
    font-size: 14px;
}

.map-contact-item a:hover {
    color: var(--accent-color);
}

.map-iframe-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}


/* 12. Standard Inner Pages Style (Gutenberg Wrapper) */
.main-content-wrap {
    padding-top: 60px;
    padding-bottom: 80px;
}

.content-area-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

.sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    align-self: start;
}

.widget {
    margin-bottom: 35px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f3f6;
}

.widget li:last-child {
    border-bottom: none;
}

.widget li a {
    color: #555;
    font-size: 14px;
}

.widget li a:hover {
    color: var(--primary-color);
}

/* Post Cards List styles */
.posts-archive-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.post-list-card {
    padding: 0;
    overflow: hidden;
    display: flex;
}

.post-card-thumbnail {
    width: 250px;
    flex-shrink: 0;
    overflow: hidden;
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-list-card:hover .post-card-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-content h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.post-card-content h2 a {
    color: var(--heading-color);
}

.post-card-content h2 a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 13px;
    color: #8892a0;
    margin-bottom: 15px;
}

.entry-meta a {
    color: #8892a0;
}

.entry-meta a:hover {
    color: var(--primary-color);
}

.entry-summary {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.read-more-btn {
    align-self: flex-start;
}

/* Single Post layouts */
.single-post-article {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.single-post-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.single-post-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.single-post-thumbnail {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-body {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.single-post-body p {
    margin-bottom: 1.5rem;
}

.single-post-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 13px;
    color: #8892a0;
    display: flex;
    gap: 20px;
}

.single-post-footer a {
    color: var(--primary-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
}

.nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}

.nav-links a {
    flex: 1;
}

.nav-links .nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #8892a0;
    font-weight: 600;
}

.nav-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
}

.nav-links a:hover .nav-title {
    color: var(--primary-color);
}

/* ==========================================
   GLASSMORPHISM & ANIMATION UPGRADES
   ========================================== */

/* Glass Cards & Panels */
.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.08);
}

/* Glassmorphism Shine effect */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.85s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.shine-effect:hover::before {
    left: 150%;
}

/* Counter card custom styling */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.counter-card {
    text-align: center;
    padding: 30px 20px;
}

.counter-number {
    font-size: 44px;
    font-weight: 800;
    font-family: var(--font-family-headings);
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    line-height: 1;
}

.counter-label {
    font-size: 13px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Specialty doctors list (6 specialties) */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.specialty-card {
    text-align: left;
}

.specialty-image-wrap {
    height: 180px;
    background: rgba(0, 86, 179, 0.04);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.specialty-image-wrap i {
    font-size: 64px;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.specialty-card:hover .specialty-image-wrap i {
    transform: scale(1.15) rotate(6deg);
    color: var(--accent-color);
}

.specialty-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.specialty-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Google Reviews Section */
.google-reviews-section {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.8) 0%, rgba(224, 236, 248, 0.8) 100%);
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.review-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.015);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(0, 86, 179, 0.15);
}

.reviewer-name h4 {
    font-size: 15px;
    margin-bottom: 2px;
    font-weight: 700;
}

.reviewer-name span {
    font-size: 11px;
    color: #8892a0;
    display: block;
}

.google-icon {
    color: #4285f4;
    font-size: 22px;
}

.review-stars {
    color: #fbbc05;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 3px;
}

.review-text {
    font-size: 13.5px;
    color: #4c566a;
    line-height: 1.6;
    font-style: italic;
}

.google-summary-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: var(--shadow-sm);
}

.google-rating-num {
    font-size: 18px;
    font-weight: 800;
    color: #1a2530;
}

.google-summary-stars {
    color: #fbbc05;
    display: inline-flex;
    gap: 2px;
    font-size: 12px;
}

/* Animations for hero banner */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.float-y {
    animation: floatY 5s ease-in-out infinite;
}

.float-x {
    animation: floatX 4s ease-in-out infinite;
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1.5s;
}

.delay-2 {
    animation-delay: 3s;
}

/* Hero Doctors Animation Layout overlay */
.hero-doctor-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 14px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 20;
    min-width: 220px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.hero-doctor-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.hero-badge-1 {
    top: 15%;
    left: -18%;
}

.hero-badge-2 {
    bottom: 18%;
    right: -12%;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
}

.badge-text span {
    font-size: 11px;
    color: #8892a0;
    display: block;
    font-weight: 500;
}

.badge-text strong {
    font-size: 14px;
    color: var(--heading-color);
    font-weight: 700;
}
