/* ============================================
   Healow Healthcare - Exact Figma Match
   ============================================ */

:root {
    --dark-purple: #2d1b4e;
    --dark-purple-gray: #3d3468;
    --light-purple: #7c3aed;
    --pink: #ec4899;
    --hot-pink: #db2777;
    --red: #dc2626;
    --orange: #f97316;
    --blue: #2563eb;
    --dark-blue: #1e40af;
    --teal: #0d9488;
    --light-blue: #4dc3df;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-600);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Playfair Display for all headings */
h1, h2, h3, h4, .section-title, .portal-title, .tools-title, .insurance-title {
    font-family: 'Playfair Display', serif;
}

/* Top Bar - Dark purple-gray */
.top-bar {
    background: #1F4E79;
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .sep {
    margin: 0 12px;
    opacity: 0.8;
}

/* Main Navigation */
.main-nav {
    background: var(--white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav .logo-text {
    font-family: 'Playfair Display', serif;
}

.logo-icon {
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    background: transparent;
    border-radius: 8px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-purple);
}

.main-nav .nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    padding: 0 16px !important;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--light-purple) !important;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login {
    padding: 10px 20px;
    background: #1F4E79;
    color: var(--white) !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.btn-appointment {
    padding: 10px 24px;
    background:linear-gradient(90deg, #1F4E79, #7FB8D4);
    color: var(--white) !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.btn-appointment:hover {
    opacity: 0.95;
    color: var(--white) !important;
  background: #1a0f2e;
  
}
.btn-login:hover {
    opacity: 0.95;
    color: var(--white) !important;
  background: #1a0f2e;
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 580px;
    background: url('../assets/Hero1_copy.webp') center/cover no-repeat;
    padding-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 35, 60, 0.8) 0%, rgba(42, 110, 160, 0.5) 55%, rgba(160, 210, 240, 0.2) 100%);
}

.hero-content {
    position: relative;
    padding: 90px 0 160px;
}

.hero-title {
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
   color: #fff;
}

.hero-line {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
}

@media (max-width: 991px) {
    .hero-line {
        font-size: 48px;
    }
}

@media (max-width: 575px) {
    .hero-line {
        font-size: 36px;
    }
}

.hero-line.gradient-text {
    background: linear-gradient(90deg, var(--pink), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: #fff;
    font-size: 16px;
    max-width: 540px;
    margin-bottom: 0;
}


/* Hero Content */
.hero-content {
    text-align: center;
}

.hero-title,
.hero-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    max-width: 750px;
}

/* Hero Cards Section */
.hero-cards {
    text-align: center;
}

/* Center all card contents */
.hero-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Center icons */
.hero-card-icon {
    margin: 0 auto 20px;
}

/* Center buttons */
.btn-hero-card {
    margin-top: auto;
}

/* Since you only have 3 cards, center them in the row */
.hero-cards .row {
    justify-content: center;
}


/* Hero Cards */
.hero-cards {
    position: relative;
    margin-top: -110px;
    z-index: 10;
}

.hero-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
    color: var(--white);
}

.hero-card-icon.red { background: var(--red); }
.hero-card-icon.orange { background: var(--orange); }
.hero-card-icon.purple { background: var(--light-purple); }
.hero-card-icon.teal { background: var(--teal); }

.hero-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 18px;
}

.btn-hero-card {
    display: inline-block;
    padding: 10px 20px;
    background: #1F4E79;
    color: var(--white) !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-hero-card:hover {
    opacity: 0.9;
    color: var(--white) !important;
}

/* Conditions We Commonly Treat */

.section-title {
    color: #1F4E79;
    font-weight: 600;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    color: #5a6b7b;
}

/* List Styling */
.condition-list {
    list-style: none;
    padding-left: 0;
}

.condition-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Icon */
.condition-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #4FA3D1;
    font-weight: bold;
}

/* Hover effect */
.condition-list li:hover {
    color: #1F4E79;
    transform: translateX(5px);
}

.comprehensive-care {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    color: #1F4E79;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 680px;
    margin-bottom: 36px;
}

.care-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
}

.care-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.care-card-overlay {
    position: absolute;
    inset: 0;
}

.care-card-overlay.pink { background: linear-gradient(to top, rgba(236, 72, 153, 0.8), transparent 55%); }
.care-card-overlay.hot-pink { background: linear-gradient(to top, rgba(219, 39, 119, 0.8), transparent 55%); }
.care-card-overlay.purple { background: linear-gradient(to top, rgba(124, 58, 237, 0.8), transparent 55%); }

.care-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
}

.care-card-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}


.services-section {
    background-color: #ffffff;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Icon (slightly different from conditions for variation) */
.service-list li::before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 0;
    color: #4FA3D1;
    font-weight: bold;
}

/* Hover effect */
.service-list li:hover {
    color: #1F4E79;
    transform: translateX(5px);
}

.practice-info {
    background: #f8fafc;
}

.lead-text {
    max-width: 800px;
    margin: 0 auto;
    color: #5f7285;
    font-size: 1.1rem;
}

.practice-info h4 {
    color: #1F4E79;
    font-weight: 600;
    margin-bottom: 15px;
}

.practice-info p {
    color: #5f7285;
    line-height: 1.8;
}

.practice-highlight {
    background: rgba(79, 163, 209, 0.08);
    border-left: 4px solid #4FA3D1;
    padding: 25px;
    border-radius: 8px;
} 

.provider-section {
    background-color: #ffffff;
}

.provider-name {
    color: #1F4E79;
    font-weight: 600;
    margin-bottom: 15px;
}

.provider-section p {
    color: #4a5a6a;
    line-height: 1.6;
    margin-bottom: 12px;
}

.provider-goal {
    font-weight: 500;
    color: #1F4E79;
}

.provider-image img {
    border-radius: 10px;
    object-fit: cover;
}

/* Insurance Section - Solid dark purple */
.insurance-section {
    background: #4FA3D1;
    padding: 56px 0;
    color: var(--white);
}

.insurance-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 700;
}

.insurance-section p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
    font-size: 15px;
}

.insurance-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.insurance-list li {
    padding: 4px 0;
    position: relative;
    padding-left: 18px;
}

.insurance-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
}

.insurance-note {
    font-size: 14px;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials .section-desc {
    margin-bottom: 48px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 12px;
    border: 1px solid var(--gray-200);
}

.testimonial-stars {
    color: var(--red);
    font-size: 13px;
    margin-bottom: 14px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.65;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px !important;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-purple);
    font-size: 14px;
}

/* Patient Portal */
.patient-portal {
    padding: 80px 0;
}

.portal-image-wrap {
    position: relative;
}

.portal-image-wrap img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
}

.portal-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    color: var(--gray-600);
}

.portal-title {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 18px;
}

.patient-portal p {
    color: var(--gray-500);
    margin-bottom: 22px;
    font-size: 15px;
}

.portal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
}

.portal-features li {
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-features li i {
    color: #22c55e;
    font-size: 15px;
}

.btn-portal {
    display: inline-block;
    padding: 14px 28px;
    background: var(--orange);
    color: var(--white) !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

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

.portal-learn {
    font-size: 14px;
}

.portal-learn a {
    color: var(--light-blue);
    text-decoration: underline;
}

.portal-learn a:hover {
    color: var(--teal);
}

/* Mobile App */
.mobile-app {
    padding: 80px 0;
}

.mobile-app .section-title {
    margin-bottom: 18px;
}

.mobile-app p {
    color: var(--gray-500);
    margin-bottom: 14px;
    font-size: 15px;
}

.app-availability {
    font-weight: 500;
    color: var(--gray-600) !important;
}

.app-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.app-store-btn,
.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1f2937;
    color: var(--white) !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

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

.app-setup-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 50px 0 40px;
}

.phone-mockups {
    position: relative;
    height: 380px;
}

.phone-mockups img {
    position: absolute;
    max-width: 200px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

.phone-1 {
    right: 100px;
    top: 20px;
}

.phone-2 {
    right: 20px;
    bottom: 20px;
}

/* App Setup Steps */
.step-item {
    text-align: center;
    padding: 22px 12px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 0 auto 16px; */
    margin: 0 10px;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.step-item p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
}

.practice-code-box {
    display: flex;
    margin-top: 44px;
    border-radius: 10px;
    overflow: hidden;
}

.code-left {
    flex: 1;
    background: var(--dark-blue);
    color: var(--white);
    padding: 22px 28px;
    font-size: 14px;
}

.code-right {
    background: #fef3c7;
    color: var(--gray-600);
    padding: 22px 48px;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
}

.tools-tabs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 36px;
    padding: 0;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 6px;
}

.tools-tabs li a {
    display: block;
    padding: 12px 18px;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
}

.tools-tabs li.active a {
    background: var(--dark-blue);
    color: var(--white) !important;
}

.tools-tabs li a:hover {
    color: var(--dark-purple);
}

.tools-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 22px;
}

.kiosk-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.tools-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tools-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tools-features li i {
    color: #22c55e;
    font-size: 16px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.faq-section .section-title {
    margin-bottom: 36px;
}

.faq-section .accordion-item {
    border: 1px solid var(--gray-200);
    margin-bottom: 12px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--dark-blue) !important;
    background: var(--white) !important;
    box-shadow: none !important;
    padding: 18px 22px;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--dark-blue) !important;
}

.faq-section .accordion-body {
    padding: 0 22px 18px;
    color: var(--gray-500);
}

/* CTA Banner */
.cta-banner {
    padding: 56px 0;
}

.cta-content {
    background: linear-gradient(90deg, rgba(15, 35, 60, 0.8) 0%, rgba(42, 110, 160, 0.5) 55%, rgb(160 210 240) 100%);
    border-radius: 14px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 15px;
}

.btn-cta {
    padding: 14px 32px;
    background: #1F4E79;
    color: var(--white) !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.btn-cta:hover {
    background: #1a0f2e;
    color: var(--white) !important;
}

/* Footer */
.main-footer {
    background: var(--gray-100);
    padding: 56px 0 24px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-logo .logo-icon {
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    background: transparent;
    border-radius: 8px;
}


.footer-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-purple);
}

.main-footer p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 18px;
}

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

.social-icons a {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F4E79;
    text-decoration: none;
}

.social-icons a:hover {
    background: #7FB8D4;
    color: var(--white);
}

.main-footer h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 18px;
}

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

.main-footer ul li {
    margin-bottom: 8px;
}

.main-footer ul li a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
}

.main-footer ul li a:hover {
    color: var(--light-purple);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray-500);
    font-size: 14px;
}

.contact-list li i {
    color: var(--pink);
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 991px) {
    .main-nav .navbar-collapse {
        padding-top: 18px;
    }
    .main-nav .nav-link {
        color: var(--gray-600) !important;
        font-weight: 500;
        padding: 5px 0px !important;
        border-bottom: 1px solid #dbdbdb;
    }
    .main-nav .nav-item:last-child .nav-link {
        border-bottom: 0px solid #dbdbdb;
    }
    .insurance-list li::before{
        content: "";
    }
    .nav-buttons {
        margin-top: 12px;
    }

    .hero-content {
        padding: 70px 0 180px;
    }

    .hero-cards {
        margin-top: -90px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .phone-mockups {
        height: 320px;
    }

    .phone-mockups img {
        max-width: 160px;
    }

    .phone-1 {
        right: 70px;
    }

    .practice-code-box {
        flex-direction: column;
    }

    .code-right {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .top-bar .col-md-6 {
        text-align: center !important;
    }

    .top-bar .sep {
        display: none;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 60px 0 200px;
    }

    .hero-cards {
        margin-top: -100px;
    }

    .care-card {
        height: 280px;
    }

    .insurance-section .row {
        text-align: center;
    }

    .insurance-title {
        margin-bottom: 22px;
    }

    .tools-tabs {
        justify-content: center;
    }

    .phone-mockups {
        height: 260px;
    }

    .phone-mockups img {
        max-width: 130px;
    }
}

/* OWL Carousel */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.owl-nav button {
    position: absolute;
    width: 42px;
    height: 42px;
    background: var(--white) !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: var(--dark-purple) !important;
    pointer-events: all;
}

.owl-nav button.owl-prev {
    left: -15px;
}

.owl-nav button.owl-next {
    right: -15px;
}

.owl-nav button:hover {
    background: var(--dark-purple) !important;
    color: var(--white) !important;
}

@media (max-width: 767px) {
    .owl-nav button.owl-prev {
        left: 0;
    }

    .owl-nav button.owl-next {
        right: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--light-purple);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--dark-purple);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.5);
}

.back-to-top i {
    font-size: 18px;
}
