/* ===== CSS Variables ===== */
:root {
    --color-primary: #4e3b4d;
    --color-primary-dark: #3d2f3c;
    --color-plum: #5f3c6f;
    --color-rose-pink: #d48b9b;
    --color-pink: #f5eff8;
    --color-pink-light: #fff8f9;
    --color-pink-btn: #f8dde0;
    --color-pink-border: #e8c4c8;
    --color-accent-red: #c54b4b;
    --color-gray-dark: #2d2d2d;
    --color-gray: #6b6b6b;
    --color-gray-light: #9a9a9a;
    --color-white: #ffffff;
    --color-orange: #e8a54b;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-cursive: 'Dancing Script', cursive;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-dark);
    overflow-x: hidden;
}

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

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

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.navbar {
    padding: 15px 0;
}

.logo-icon {
    max-height: 100px;
    width: auto;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    color: #1F4E79 !important;
    font-weight: 600;
    padding: 10px 16px !important;
    border-radius: 30px;
    transition: all .3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #EAF8F8;
    color: #2CA6A4 !important;
}

.nav-separator {
    display: none;
}

/* Buttons */

.btn-patient-login {
    background: #fff;
    color: #1F4E79;
    border: 2px solid #EAF8F8;
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-patient-login:hover {
    background: #EAF8F8;
    color: #2CA6A4;
}

.btn-header {
    background: #2CA6A4;
    color: #fff;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-header:hover {
    background: #1F4E79;
    color: #fff;
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* ===== Hero Section ===== */
.hero-section {
    padding: 100px 0;
    background: #F8FAFB;
}

.hero-label {
    display: inline-block;
    background: #EAF8F8;
    color: #2CA6A4;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1F4E79;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #2CA6A4;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-hero-primary:hover {
    background: #1F4E79;
    color: #fff;
    transform: translateY(-3px);
}

.hero-image-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border-top: 5px solid #2CA6A4;
}

.hero-img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* ===== Section Common Styles ===== */
.section-title {
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
}

.section-title-serif {
    font-family: var(--font-heading) !important;
    font-weight: 600;
}

.section-desc {
    color: var(--color-gray);
    font-size: 1rem;
    max-width: 600px;
}

.section-header.text-center .section-desc {
    margin: 0 auto;
}

/* ===== Services Section ===== */


.services-section {
    background: #F8FAFB;
}

.section-title {
    color: #1F4E79;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-desc {
    color: #666;
    max-width: 700px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    border-top: 5px solid #2CA6A4;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(44,166,164,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #EAF8F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 30px;
    color: #2CA6A4;
}

.service-title {
    color: #1F4E79;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== Specialists Section ===== */
/* ===== Providers Section ===== */
.providers-section{
    background:#ffffff;
}

.provider-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    border-top:5px solid #2CA6A4;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s ease;

    display:flex;
    align-items:center;
    gap:30px;
    text-align:left;
}

.provider-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(44,166,164,.15);
}

.provider-img{
    width:220px;
    height:220px;
    object-fit:cover;
    border-radius:15px;
    border:4px solid #EAF8F8;
    flex-shrink:0;
}

.provider-role{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:#EAF8F8;
    color:#2CA6A4;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:15px;
}

.provider-name{
    color:#1F4E79;
    font-size:1.8rem;
    font-weight:700;
    margin-bottom:15px;
}

.provider-desc{
    color:#666;
    line-height:1.8;
    margin-bottom:0;
}

/* Mobile */
@media (max-width: 768px){
    .provider-card{
        flex-direction:column;
        text-align:center;
    }

    .provider-img{
        width:180px;
        height:180px;
    }
}




/* ===== Insurance Section ===== */
.insurance-card {
    max-width: 600px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #2CA6A4; /* Teal accent */
}

.insurance-card h2 {
    color: #1F4E79;
    margin-bottom: 10px;
}

.insurance-card .section-desc {
    color: #666;
    margin-bottom: 25px;
}

.insurance-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.insurance-badges span {
    background: #eef8f8;
    color: #2CA6A4;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
}

.insurance-note {
    font-size: 0.9rem;
    color: #777;
}

/* ===== Testimonials Section ===== */
.testimonials-section{
    background:#F8FAFB;
}

.testimonials-section .section-title{
    color:#1F4E79 !important;
}

.testimonials-section .section-desc{
    color:#666;
}

.testimonial-card{
    background:#fff;
    padding:30px;
    border-radius:20px;
    border-top:5px solid #2CA6A4;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    height:100%;
}

.stars{
    margin-bottom:20px;
}

.stars i{
    color:#FFC107;
    margin-right:3px;
}

.testimonial-text{
    color:#666;
    font-size:1rem;
    line-height:1.8;
    margin-bottom:25px;
}

.author-avatar-wrapper{
    width:70px;
    height:70px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid #EAF8F8;
    flex-shrink:0;
}

.author-avatar{
    width:100%;
    height:100%;
    object-fit:cover;
}


.author-name{
    display:block;
    color:#1F4E79;
    font-weight:600;
}

.author-location{
    color:#888;
    font-size:.9rem;
}
/* ===== Patient Portal Section ===== */
.portal-section {
    background: var(--color-white);
}

.portal-image {
    position: relative;
}

.portal-logo-badge {
    margin-top: 1rem;
}

.healow-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.btn-portal {
    background: var(--color-orange) !important;
    color: var(--color-white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-portal:hover {
    background: #d8943a !important;
    color: var(--color-white) !important;
}

.portal-signin {
    color: var(--color-gray) !important;
    font-size: 0.95rem;
}

.portal-signin a {
    color: var(--color-primary);
}

.portal-signin a:hover {
    text-decoration: underline;
}

/* ===== healow Setup Section ===== */
.healow-setup-section {
    background: var(--color-white);
}

.setup-step {
    padding: 1rem;
}

.setup-icon {
    width: 64px;
    height: 64px;
    background: #d4e8f7;
    color: #2a7ab8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.setup-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2a7ab8;
    margin-bottom: 0.5rem;
}

.setup-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
}

.promo-code-row {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.promo-code-box {
    flex: 1;
    min-width: 200px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-code-blue {
    background: #1e3a5f;
    color: var(--color-white);
    font-size: 0.95rem;
}

.promo-code-orange {
    background: #e8a54b;
    color: var(--color-white);
}

.promo-code-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* ===== Tools Section ===== */
.tools-section {
    background: var(--color-white);
}

.tools-tabs .nav-link {
    color: var(--color-gray) !important;
    border: none !important;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.tools-tabs .nav-link:hover {
    color: var(--color-primary) !important;
}

.tools-tabs .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.tools-tabs .nav-link.active {
    color: var(--color-primary) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--color-primary) !important;
    margin-bottom: -1px;
}

/* ===== Check-in / Kiosk ===== */
.checkin-image img,
.kiosk-image img,
.app-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-dark);
}

.feature-list i {
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-schedule {
    background: var(--color-orange) !important;
    color: var(--color-white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-schedule:hover {
    background: #d8943a !important;
    color: var(--color-white) !important;
}

/* ===== App Section ===== */
.app-section {
    background: var(--color-white);
}

.app-instruction {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-app-store,
.btn-google-play {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-app-store:hover,
.btn-google-play:hover {
    background: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
}

/* ===== Kiosk Section ===== */
.kiosk-section {
    background: var(--color-white);
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--color-white);
}

.accordion-wrapper {
    max-width: 700px;
}

.accordion-item {
    border: none !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    margin-bottom: 0;
    overflow: hidden;
}

.accordion-item:last-child {
    border-bottom: none !important;
}

.accordion-button {
    font-weight: 600 !important;
    color: var(--color-gray-dark) !important;
    background: var(--color-white) !important;
    box-shadow: none !important;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    border-bottom: 1px solid #eee;
}

.accordion-button::after {
    flex-shrink: 0;
}

.accordion-body {
    padding: 1rem 1.25rem;
    color: var(--color-gray);
}

/* ===== CTA Section ===== */
.cta-section{
    background:#fff;
    padding:80px 0;
}

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

.cta-box{
    background:#1F4E79;
    border-radius:30px;
    padding:70px 40px;
    color:#fff;
    position:relative;
    overflow:hidden;
}

.cta-box::before{
    content:'';
    position:absolute;
    width:250px;
    height:250px;
    background:rgba(44,166,164,.15);
    border-radius:50%;
    top:-100px;
    right:-100px;
}

.cta-title{
    font-size:2.5rem;
    font-weight:700;
    margin-bottom:20px;
}

.cta-desc{
    max-width:700px;
    margin:auto;
    color:rgba(255,255,255,.85);
    font-size:1.1rem;
    line-height:1.8;
}

.cta-buttons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.btn-cta-primary{
    background:#2CA6A4;
    color:#fff;
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
}

.btn-cta-primary:hover{
    background:#24918f;
    color:#fff;
}

.btn-cta-outline{
    background:#fff;
    color:#1F4E79;
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
}

.btn-cta-outline:hover{
    background:#EAF8F8;
    color:#1F4E79;
}

/* ===== Footer ===== */
.footer{
    background:#F8FAFB;
    border-top:1px solid rgba(0,0,0,.08);
}

.footer-desc{
    color:#666;
    line-height:1.8;
}

.footer-heading{
    color:#1F4E79;
    font-size:1.1rem;
    font-weight:700;
    margin-bottom:20px;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#666;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#2CA6A4;
}

.social-icons{
    display:flex;
    gap:12px;
}

.social-icons a{
    width:42px;
    height:42px;
    background:#fff;
    color:#2CA6A4;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.social-icons a:hover{
    background:#2CA6A4;
    color:#fff;
}

.footer-bottom{
    border-top:1px solid rgba(0,0,0,.08);
    padding-top:25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.copyright{
    color:#777;
}

.footer-legal{
    display:flex;
    gap:20px;
}

.footer-legal a{
    color:#777;
    text-decoration:none;
}

.footer-legal a:hover{
    color:#2CA6A4;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .navbar-nav {
        margin: 0 !important;
    }
    
    .nav-separator {
        display: none !important;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .btn-header {
        margin-top: 0;
        display: block;
        text-align: center;
    }
    
    .hero-section {
        padding: 3rem 0 4rem;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .specialist-img-wrapper {
        max-width: 200px;
    }
    
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .cta-section{
        padding: 2rem 0rem;
    }
}

@media (max-width: 767px) {
    .hero-subheadline {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .tools-tabs .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary {
        width: 100%;
        text-align: center;
    }
    
    .section-header {
        text-align: left !important;
    }
    
    .section-header.text-center .section-desc {
        margin: 0;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .btn-app-store,
    .btn-google-play {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
    }
    
    .testimonial-card {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .insurance-placeholder {
        padding: 1.5rem;
        min-height: 80px;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(78, 59, 77, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease,
                background 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 24px rgba(78, 59, 77, 0.45);
}

.back-to-top:focus {
    outline: 2px solid var(--color-plum);
    outline-offset: 2px;
}

.back-to-top i {
    font-size: 1.1rem;
}
