/*
Theme Name: Sterling Medical Portfolio
Theme URI: https://example.com/sterling-medical-theme
Author: Tahir
Author URI: https://example.com/antigravity
Description: A premium, one-page doctor portfolio theme specifically built for Elementor.
Version: 1.0.0
Text Domain: sterling-medical
Tags: medical, portfolio, doctor, elementor, one-page
*/

/* 
    Import existing styles (I'll copy them here or enqueue them)
    I'll copy them to keep it self-contained for now.
*/

:root {
    /* Primary Colors */
    --primary: #2a4759;
    --primary-light: #e6ebed;
    --primary-soft: #ccd7dc;
    --primary-hover: #223947;

    /* Secondary Colors */
    --secondary: #e55050;

    /* Neutral Palette */
    --bg: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;

    /* Accent & Functional */
    --accent: #0ea5e9;
    --success: #10b981;
    --card-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Spacing & Borders */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 2. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 0.5rem;
}

.text-white {
    color: #ffffff !important;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.23);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
}

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

.btn-primary-small {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
}

/* 3. Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 4. Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: radial-gradient(circle at top right, var(--primary-light), transparent 60%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

/* Hero Image Side */
.hero-image-wrapper {
    position: relative;
}

.hero-image-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-soft);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    animation: floating 3s ease-in-out infinite;
}

.floating-card i {
    width: 45px;
    height: 45px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.floating-card strong {
    display: block;
    font-size: 1rem;
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.experience-card {
    top: 10%;
    left: -32%;
}

.appointment-card {
    bottom: 10%;
    right: -10%;
    animation-delay: 1.5s;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 5. Services Bento Grid */
.services {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 132, 199, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--transition);
}

.service-card:hover .service-overlay i {
    transform: scale(1);
}

.service-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 6. About Section */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.image-stack {
    position: relative;
}

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

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 140px;
    height: 140px;
    border: 8px solid var(--white);
}

.experience-badge .year {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit';
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.2rem;
}

.about-content h2 {
    margin-bottom: .5rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-muted);
}

.credentials-list {
    margin-bottom: 3rem;
}

.credentials-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.credentials-list li i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-signature {
    padding-top: .2rem;
    border-top: 1px solid var(--border);
}

.signature {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    font-style: italic;
    font-weight: 300;
    margin-top: 0.5rem;
}

.signature-text-small {
    font-style: italic;
    font-size: 0.95rem;
}

/* 7. Experience Timeline */
.experience {
    padding: 8rem 0;
    background: var(--bg);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-soft);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.timeline-item.right .timeline-item-icon {
    justify-content: flex-start;
}

.timeline-item.left .timeline-item-icon {
    justify-content: flex-end;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--white);
    border: 3px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.timeline-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.timeline-date {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.institution {
    font-weight: 600;
    color: var(--text-main);
    margin: 0.2rem 0 0.8rem;
}

.timeline-content p:last-child {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 23px;
    }

    .right {
        left: 0%;
    }
}

/* 8. Testimonials */
.testimonials {
    padding: 8rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.testimonial-card.highlighted {
    background: var(--primary-light);
    border-color: var(--primary-soft);
}

.stars {
    color: #f59e0b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.patient-info strong {
    display: block;
}

.patient-info span {
    color: var(--text-muted);
}

/* 8. Contact & Form */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
}

.booking-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.booking-card h2 {
    margin-bottom: 1rem;
}

.modern-form {
    margin-top: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.input-group textarea {
    height: 120px;
}

/* Custom Shortcode Form Styling Overrides */
.custom-form-shortcode {
    margin-top: 3rem;
}

.custom-form-shortcode input:not([type="submit"]):not([type="button"]),
.custom-form-shortcode select,
.custom-form-shortcode textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.custom-form-shortcode input:focus,
.custom-form-shortcode select:focus,
.custom-form-shortcode textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.custom-form-shortcode input[type="submit"],
.custom-form-shortcode button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
}

.custom-form-shortcode input[type="submit"]:hover,
.custom-form-shortcode button[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.23);
}

/* Fix for CF7 responsive columns if user uses them */
.custom-form-shortcode .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0.5rem;
}

.input-group textarea,
.custom-form-shortcode textarea {
    resize: none;
}

.location-info {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-muted);
}

.map-placeholder {
    height: 350px;
    background: linear-gradient(45deg, var(--bg), var(--primary-soft));
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.map-overlay i {
    font-size: 3rem;
    opacity: 0.4;
}

/* 8. Lifestyle Transformation */
.lifestyle-section {
    padding: 10rem 0;
    background: var(--white);
    overflow: hidden;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
}

.lifestyle-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lifestyle-image:hover img {
    transform: scale(1.05);
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-soft);
    top: 40px;
    left: -40px;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.lifestyle-content h2 {
    line-height: 1.1;
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.transformation-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.point-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.point-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.point-item span {
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .lifestyle-content {
        order: -1;
    }

    .transformation-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 9. Footer */
footer {
    padding: 4rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

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

.footer-social a:hover {
    color: var(--primary);
}

/* 10. Responsive Design */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero {
        padding-top: 12rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-main,
    .bento-wide {
        grid-column: span 1;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Fade-In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.elementor-element-f6b289e .e-con-inner {
    max-width: 100%;
}

.stat-num {
    text-align: center;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 7rem;
    }

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

    .btn {
        padding: 1rem;
        font-size: 13px;
    }

    .appointment-card {
        bottom: -20%;
        right: 0;
        animation-delay: 1.5s;
    }

    .experience-card {
        top: -9%;
        left: -14%;
    }

    .floating-card {
        padding: .34em;
    }

    .service-img-wrapper {
        position: relative;
        height: 200px;
    }

    .service-content p {
        margin-bottom: 1rem;
    }
}

/* 11. Practice Locations Widget */
.practice-locations {
    background: var(--bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    margin: 0 auto;
}

.locations-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.locations-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.locations-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-main);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.location-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.location-card:hover {
    border-color: var(--primary-soft);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.location-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.location-timings {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-timings li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.location-timings li:last-child {
    margin-bottom: 0;
}

.location-timings li i {
    color: var(--secondary);
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.locations-footer {
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.locations-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.cta-number:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .practice-locations {
        padding: 2rem;
    }
}

.e-con-inner {
    max-width: 100%;
}