/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --dark-blue: #1b6aaa;
    --light-blue: #3b82f6;
    --accent-orange: #bf3139;
    --accent-orange-hover: #ea580c;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --black: #111111;
    --gray: #64748b;
    --dark-gray: #334155;
    --text-dark: #1e293b;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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


/* Header Styles */

.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 8px;
    position: relative;
}

.logo-icon::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 24px;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-call {
    background: var(--accent-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-call:hover {
    background: var(--accent-orange-hover);
}


/* Sticky Form Styles */

.sticky-form {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    z-index: 999;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.form-container {
    background: #1b6aaa;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    color: var(--white);
}

.form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    outline: none;
    transition: box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form-group select {
    cursor: pointer;
}

.btn-submit {
    background: var(--accent-orange);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Poppins', sans-serif;
}

.btn-submit:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-rating {
    margin-top: 20px;
    text-align: center;
}

.form-rating p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star {
    font-size: 1.2rem;
    color: #fbbf24;
}

.star.filled {
    color: #fbbf24;
}

.star:not(.filled) {
    color: rgba(255, 255, 255, 0.3);
}


/* Main Content Styles */

.main-content {
    margin-right: 390px;
    padding: 0;
}


/* Banner Section */

.banner-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #93c5fd 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.banner-text {
    color: var(--text-dark);
}

.banner-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.banner-subtext {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-weight: 400;
}

.banner-cta {
    width: 100%;
    margin-top: 25px;
}

.cta-row {
    width: 100%;
    margin: 0 -10px;
    font-size: 0;
}

.cta-col-6 {
    display: inline-block;
    width: calc(50% - 20px);
    margin: 0 10px;
    vertical-align: top;
    font-size: 1rem;
}

.cta-row-secondary {
    width: 100%;
    text-align: center;
}

.cta-col-6-secondary {
    display: inline-block;
    width: auto;
    margin: 0 12px;
    vertical-align: top;
    font-size: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.cta-button.phone {
    background: var(--accent-orange);
    color: var(--white);
}

.cta-button.phone:hover {
    background: var(--primary-blue);
    transform: translateX(5px);
}

.cta-button.email {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button.email:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.cta-button.appointment {
    background: var(--accent-orange);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(191, 49, 57, 0.35);
}

.cta-button.appointment:hover {
    background: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: 0 14px 28px rgba(30, 58, 138, 0.25);
}

.cta-icon {
    font-size: 1.3rem;
}

.cta-icon i {
    font-size: inherit;
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-image-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--white), #e0f2fe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.doctor-image-placeholder img,
.doctor-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.doctor-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}


/* Section Styles */

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 35px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    text-align: center;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}


/* Why Choose Section */

.why-choose-section {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
    justify-items: stretch;
    align-items: stretch;
}

/* Largest screens: 2 columns with increased gap */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Large desktop (900px-1200px): 2 columns */
@media (min-width: 900px) and (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* iPad/Medium screens (768px-900px): 2 columns */
@media (min-width: 768px) and (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens (<768px): 1 column */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .feature-card-content {
        text-align: center;
    }
    
    .feature-card h5,
    .feature-card .feature-description {
        text-align: center;
    }
}

.feature-card {
    background: linear-gradient(135deg, #f2f5f7 0%, #cedbe2 50%, #c3d8f0 100%);
    padding: 15px 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-height: 160px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.feature-icon {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.feature-icon img {
    width: 100%;
    height: auto;
    max-width: 90px;
}

.feature-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card h5 {
    font-size:20px;
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.feature-card .feature-description {
    color: var(--black);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}


/* What We Treat Section */

.what-we-treat-section {
    background: var(--white);
}

.conditions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-blue);
}

.condition-item:hover {
    background: #e0f2fe;
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.condition-media {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.condition-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.condition-content h4 {
    margin: 0 0 6px;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 600;
}

.condition-content p {
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

.condition-cta {
    display: inline-flex;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
}

.condition-cta:hover {
    color: var(--primary-blue);
}


/* Procedure Section */

.procedure-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.procedure-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    justify-items: stretch;
    align-items: stretch;
}

@media (max-width: 768px) {
    .procedure-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.step-card {
    background: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.step-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin: 15px 0 10px;
    font-weight: 600;
    flex-grow: 0;
}

.step-card p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.9rem;
    flex-grow: 1;
}


/* Doctor Section */

.doctor-section {
    background: var(--white);
}

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.doctor-image-wrapper {
    display: flex;
    justify-content: center;
}

.doctor-photo-placeholder {
    width: 100%;
    max-width: 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.doctor-photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.doctor-info {
    color: var(--text-dark);
}

.doctor-info h2 {
    text-align: left;
}

.doctor-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.doctor-cta h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doctor-cta .contact-options.contact-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.doctor-cta .contact-row .contact-col-6 {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

@media (max-width: 768px) {
    .doctor-cta .contact-row .contact-col-6 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid var(--accent-orange);
}

.contact-link:hover {
    background: #e0f2fe;
    transform: translateX(10px);
    color: var(--primary-blue);
}

.contact-icon {
    font-size: 1.3rem;
}

.contact-link.dual-phone {
    gap: 15px;
}

.contact-link.dual-phone .contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-dark);
}

.phone-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.phone-list a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.phone-list a:hover {
    color: var(--accent-orange);
}

.phone-list .divider {
    color: var(--gray);
}

.contact-link.dual-email {
    gap: 15px;
}

.contact-link.dual-email .contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-dark);
}

.email-list a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.email-list a:hover {
    color: var(--accent-orange);
}

.contact-icon i {
    font-size: inherit;
    color: var(--dark-blue);
}


/* Next Step Section */

.next-step-section {
    background-color: var(--dark-blue);
    color: var(--white);
}

.next-step-section .section-title,
.next-step-section .section-intro {
    color: var(--white);
}

.next-step-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button-large.phone {
    background: var(--accent-orange);
    color: var(--white);
}

.cta-button-large.phone:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
}

.cta-button-large.email {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-button-large.email:hover {
    background: #f0f9ff;
    transform: scale(1.05);
}


/* Location Section */

.location-section {
    background: var(--light-gray);
    padding-top: 40px;
}

.location-address {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.8;
}

.location-note {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.location-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-card,
.map-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px var(--shadow);
}

.location-card {
    /* border-left: 6px solid var(--primary-blue); */
}

.location-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 6px;
}

.location-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.location-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.location-highlights.row {
    flex-direction: row;
    flex-wrap: wrap;
}

.location-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.location-chip i {
    color: var(--primary-blue);
}

.location-visual {
    display: flex;
    align-items: stretch;
}

.map-card {
    border: 1px solid rgba(30, 58, 138, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.map-pin {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
}

.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}


/* Footer */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}


/* Responsive Design */

@media (max-width: 1200px) {
    .sticky-form {
        width: 320px;
        right: 15px;
    }
    .main-content {
        margin-right: 360px;
    }
}

@media (max-width: 968px) {
    .sticky-form {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 500px;
        margin: 30px auto;
    }
    .main-content {
        margin-right: 0;
    }
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .banner-headline {
        font-size: 2.2rem;
    }
    .doctor-content {
        grid-template-columns: 1fr;
    }
    .location-content {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner-headline {
        font-size: 1.8rem;
    }
    .banner-subtext {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .features-grid,
    .conditions-list,
    .procedure-steps {
        grid-template-columns: 1fr;
    }
    .cta-col-6 {
        width: 100%;
        margin: 0 0 10px 0;
        display: block;
    }
    .cta-row-secondary {
        margin: 0;
        text-align: center;
    }
    .cta-col-6-secondary {
        width: 100%;
        margin: 0 0 10px 0;
        display: block;
    }
    .next-step-cta {
        flex-direction: column;
    }
    .cta-button-large {
        width: 100%;
        justify-content: center;
    }
}


/* Smooth Scrolling */

html {
    scroll-behavior: smooth;
}


/* Custom Scrollbar for Sticky Form */

.sticky-form::-webkit-scrollbar {
    width: 6px;
}

.sticky-form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sticky-form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.sticky-form::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}


/* Ripple Effect */

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.cta-button,
.cta-button-large,
.contact-link {
    position: relative;
    overflow: hidden;
}


/* Success Message */

.success-message {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

img.why-choose-img {
    width: 90px;
    height: 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    object-fit: cover;
}
.footer-locations .header_title {
    text-align: center;
    margin-bottom: 10px;
}

.footer-locations .header_title h3 {
    font-size: 36px;
    color: #35353a;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-locations .header_title h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e74c3c;
}


/* Tab Styles */

.tab {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tablinks {
    background: #ffffff;
    color: #2c3e50;
    border: none;
    border: 2px solid #d9555170;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tablinks:hover {
    background: #e74c3c;
    color: #fff;
}

.tablinks.active {
    background: #d95551;
    color: #fff;
}


/* Tab Content Styles */

.tabcontent {
    display: none;
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.location-content {
    background: #1b6aaa !important;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.location-info h4 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.location-info p {
    color: #ecf0f1;
    margin-bottom: 15px;
    line-height: 1.6;
}

.location-info p a {
    color: #fff;
}

.location-info p strong {
    color: #fff;
    font-weight: 600;
}

.location-info i {
    color: #e74c3c;
    margin-right: 10px;
}

.location-content iframe {
    border-radius: 8px;
    height: 100%;
    min-height: 250px;
    border: 2px solid #e74c3c;
}

@media (max-width: 768px) {
    .tablinks {
        padding: 8px 15px;
        font-size: 14px;
    }
    .location-content {
        padding: 20px;
    }
    .location-info {
        margin-bottom: 20px;
    }
}


/* Modern HR Style */

.location-info hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #fff8f7, transparent);
    margin: 20px 0;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .tablinks {
        padding: 8px 15px;
        font-size: 14px;
    }
    .location-content {
        padding: 20px;
    }
    .location-info {
        margin-bottom: 20px;
    }
}

.footer-locations {
    /* background: #1a1a1a !important; */
    padding: 30px 0 !important;
}

.footer-locations .header_title {
    text-align: center;
    margin-bottom: 25px;
}

.footer-locations .header_title h3 {
    font-size: 24px;
    color: #484343;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
}

.footer-locations .header_title h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #e74c3c;
}


/* Tab Styles */

.tab {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tablinks {
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tablinks:hover {
    background: #e74c3c;
}

.tablinks.active {
    background: #e74c3c;
}


/* Tab Content Styles */

.tabcontent {
    display: none;
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.location-content {
    background: #2c3e50;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.location-info h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.location-info p {
    color: #ecf0f1;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 14px;
}

.location-info p strong {
    color: #fff;
    font-weight: 600;
}

.location-info i {
    color: #e74c3c;
    margin-right: 8px;
}

.location-content iframe {
    border-radius: 8px;
    height: 200px;
    border: 2px solid #e74c3c;
}


/* Modern HR Style */

.location-info hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #fff8f7, transparent);
    margin: 15px 0;
    opacity: 0.5;
}

.cliclskil1 .back_ {
    font-size: 37px;
    color: #231f1f;
    background: none;
    margin: 0px;
    padding: 7px;
    text-align: left;
     border-radius: 0px;
}

.ba_image {
    padding: 10px 0px;
}

@media (max-width: 768px) {
    .footer-locations {
        padding: 20px 0 !important;
    }
    .tablinks {
        padding: 6px 12px;
        font-size: 13px;
    }
    .location-content {
        padding: 15px;
    }
    .location-info {
        margin-bottom: 15px;
    }
    .location-content iframe {
        height: 180px;
    }
    .cliclskil1 .back_ {
        font-size: 30px;
        color: #231f1f;
        background: none;
        margin: 0px;
        padding: 7px;
        text-align: left;
        border-radius: 0px;
    }
}


/* css for service page start */

.main-heading {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.content-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.content-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin: 30px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

.content-section h3 {
    color: #34495e;
    font-size: 22px;
    margin: 25px 0 15px;
    font-weight: 600;
    padding-left: 15px;
    border-left: 4px solid #3498db;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
    text-align: justify;
}

.border-bottom {
    border-bottom: 2px solid #e0e0e0;
    margin: 25px 0;
    padding-bottom: 5px;
}

.serv_img,
.serv_img1 {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-section ul li {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    position: relative;
    padding-left: 30px;
}

.content-section ul li img {
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
}

.content-section b {
    color: #2c3e50;
    font-weight: 600;
}

.content-section .highlight {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
}

.content-section .treatment-list {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.content-section .treatment-list li {
    margin-bottom: 10px;
    padding-left: 25px;
}

.content-section .treatment-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 28px;
    }
    .content-section h2 {
        font-size: 24px;
    }
    .content-section h3 {
        font-size: 20px;
    }
    .content-section {
        padding: 20px;
    }
}

.miss-logo-container {
    text-align: center;
    margin: 20px 0 30px 0;
}


/* css service page end */


/* blog page css start */


/* Blog Grid Layout Improvements */

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

.gallery_inner.blog .row {
    margin: 0 -15px;
}

.gallery_inner.blog .col-lg-3,
.gallery_inner.blog .col-md-4,
.gallery_inner.blog .col-sm-6 {
    padding: 0 15px;
    margin-bottom: 30px;
}

.gallery_inner.blog .gallery {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery_inner.blog .gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery_inner.blog .gallery a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.gallery_inner.blog .gallery img {
    width: 100%;
    height: 300px;
    /* object-fit: cover; */
    border: none;
    border-radius: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gallery_inner.blog .gallery h1 {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    background: #1b6aaa;
    padding: 10px 10px;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Responsive adjustments */

@media (max-width: 991px) {
    .gallery_inner.blog .gallery img {
        height: 300px;
    }
    .gallery_inner.blog .gallery h1 {
        font-size: 14px;
        padding: 12px 8px;
    }
}

@media (max-width: 767px) {
    .gallery_inner.blog .gallery img {
        height: auto;
    }
    .gallery_inner.blog .gallery h1 {
        font-size: 13px;
        padding: 10px 6px;
    }
}

@media (max-width: 575px) {
    .gallery_inner.blog .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .gallery_inner.blog .gallery img {
        height: auto;
    }
    .gallery_inner.blog .gallery h1 {
        font-size: 14px;
        padding: 12px 8px;
    }
}


/* Override existing gallery styles for blog page */

.gallery_inner.blog .gallery {
    margin: 0 !important;
}

.gallery_inner.blog .gallery img {
    border: none !important;
}


/* Ensure proper Bootstrap grid behavior */

.gallery_inner.blog .row::after {
    content: "";
    display: table;
    clear: both;
}


/* Fix any potential float issues */

.gallery_inner.blog .col-lg-3,
.gallery_inner.blog .col-md-4,
.gallery_inner.blog .col-sm-6 {
    float: left;
    position: relative;
    min-height: 1px;
}


/* Ensure equal height cards */

.gallery_inner.blog .row {
    display: flex;
    flex-wrap: wrap;
}

.gallery_inner.blog .col-lg-3,
.gallery_inner.blog .col-md-4,
.gallery_inner.blog .col-sm-6 {
    display: inline-block;
}


/* Additional improvements for better visual appeal */

.gallery_inner.blog {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.gallery_inner.blog .gallery a {
    color: inherit;
}

.gallery_inner.blog .gallery a:hover {
    text-decoration: none;
    color: inherit;
}


/* Ensure consistent spacing between rows */

.gallery_inner.blog .row {
    margin-bottom: 20px;
}


/* Add subtle animation for better UX */

.gallery_inner.blog .gallery {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Stagger animation for multiple items */

.gallery_inner.blog .col-lg-3:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery_inner.blog .col-lg-3:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery_inner.blog .col-lg-3:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery_inner.blog .col-lg-3:nth-child(4) {
    animation-delay: 0.4s;
}


/* blog */


/* language switcher css start */

.language-switcher {
    padding: 15px 0;
}

.language-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.language-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1b6aaa;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #1b6aaa;
    min-width: 90px;
    text-align: center;
}

.language-btn:hover {
    background: #ad100c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(173, 16, 12, 0.3);
    border-color: #ad100c;
}

.language-btn.active {
    background: #ad100c;
    color: #fff;
    border-color: #ad100c;
}

.language-btn.active:hover {
    background: #8d0d0a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(141, 13, 10, 0.3);
    border-color: #8d0d0a;
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .language-switcher {
        padding: 12px 0;
    }
    .language-buttons {
        gap: 10px;
    }
    .language-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .language-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .language-btn {
        width: 150px;
        padding: 10px 16px;
    }
}


/* language switcher css end */

/* Location section spacing tweak */
.location-section {
    padding-bottom: 40px;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fb;
    padding-top: 40px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-item {
    border: 1px solid #e3e7ef;
    border-left: 4px solid var(--accent-orange);
    border-radius: 8px;
    margin-bottom: 12px;
    background: var(--light-gray);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.faq-item.open {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-item:hover {
    background: #dff3ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: #1b1b1b;
}

.faq-question:focus-visible {
    outline: 2px solid #0052cc;
    outline-offset: 2px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ff5a5f;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    color: #4a4a4a;
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 1.25rem 1rem;
}

@media (max-width: 576px) {
    .faq-question {
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }

    .faq-answer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .faq-item.open .faq-answer {
        padding: 0 1rem 0.85rem;
    }
}

/* Book Appointment CTA Section */
.book-appointment-cta {
    background: linear-gradient(135deg, #fbb4b4 0%, #fde2e2 50%, #fcb7b7 100%);
    padding: 35px 20px;
    text-align: center;
    border-radius: 15px;
    margin: 20px 20px 25px;
    max-width: 1200px;
}

.book-appointment-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-description {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
}

.cta-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #c0d8f8;
    color: var(--primary-blue);
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: #03133f;
    color: var(--white);
    transform: translateX(8px);
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.25);
}

.schedule-btn {
    background: #03133f;
    color: var(--white);
}

.schedule-btn:hover {
    background: #03133f;
    color: var(--white);
    transform: translateX(8px);
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.25);
}

.cta-inline-btn .btn-icon {
    font-size: 1.5rem;
    color: inherit;
}

.cta-inline-btn .btn-text {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    line-height: 1.2;
}

.cta-inline-btn .btn-text span:last-child {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: none;
}

.phone-btn .btn-icon {
    color: var(--accent-orange);
}

.schedule-btn .btn-icon {
    color: var(--white);
}

.cta-inline-btn:hover .btn-icon {
    color: var(--white);
}

@media (max-width: 768px) {
    .book-appointment-cta {
        padding: 40px 15px;
        border-radius: 10px;
        margin: 20px 15px 30px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
    }
    
    .cta-action-row {
        flex-direction: column;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .cta-inline-btn {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Reviews Section */
.reviews-section {
    background: #f4f8ff;
    padding-bottom: 40px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.review-card {
    background: var(--light-gray);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 18px 20px;
    border-left: 4px solid var(--accent-orange);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.reviewer-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.reviewer-meta {
    font-size: 0.9rem;
    color: var(--gray);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    color: #f6ad55;
    font-size: 0.95rem;
}

.review-rating .stars i {
    color: #ffc107;
    font-size: 0.95rem;
}

.review-score {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.9rem;
    color: var(--gray);
}

.review-text {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card:hover {
    background: #dff3ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.12);
}

.review-readmore {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.review-readmore::after {
    content: '\f178';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

.review-readmore:hover {
    color: var(--accent-orange);
    transform: translateX(4px);
}

.review-map-cta {
    margin-top: 20px;
    text-align: center;
}

.review-map-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 10px;
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 90, 95, 0.3);
}

.review-map-button:hover {
    background: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: 0 12px 32px rgba(5, 32, 73, 0.25);
}

@media (max-width: 576px) {
    .review-card {
        padding: 16px;
        min-height: auto;
    }
}