/* ==========================================================================
   1. VARIABLES & GLOBAL
   ========================================================================== 
*/
:root {
    --brand-blue: #0f4c81;
    --brand-accent: #f47c2c;
    --brand-accent-hover: #d6651e;
    --light-bg: #f8fbff;
    --template-bg: #f7f2f0;
    --text-dark: #1f2d3d;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- Utilities --- */
.text-brand-accent { color: var(--brand-accent) !important; }
.bg-brand-accent { background-color: var(--brand-accent) !important; }
.border-brand-accent { border-color: var(--brand-accent) !important; }
.bg-light-peach { background-color: var(--template-bg); }
.fw-600 { font-weight: 600; }
.fw-bold { font-weight: 700; }
.opacity-90 { opacity: 0.9; }
.tracking-wider { letter-spacing: 1.5px; }

/* ==========================================================================
   2. NAVIGATION & FOOTER
   ========================================================================== 
*/
.navbar {
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.navbar-nav {
    margin-left: auto; 
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1.2rem !important;
}

.nav-link:hover {
    color: var(--brand-accent) !important;
}

.footer { background-color: var(--template-bg); }

.footer-link a { color: var(--text-dark); text-decoration: none; }

.footer-link:hover { color: var(--brand-accent) !important; }

/* ==========================================================================
   3. HERO & CTA RIBBON
   ========================================================================== 
*/
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #eaf4fb 0%, #ffffff 80%);
    text-align: center;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--brand-blue);
}

.cta-ribbon {
    background: linear-gradient(135deg, var(--brand-accent) 0%, #612a06 100%);
    position: relative;
    overflow: hidden;
}

.cta-ribbon::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 32px 32px;
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== 
*/
.btn-brand, .btn-brand-accent {
    background-color: var(--brand-accent);
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 24px;
    border: none;
    transition: 0.3s;
}

.btn-brand:hover, .btn-brand-accent:hover {
    background-color: var(--brand-accent-hover);
    transform: translateY(-2px);
}

.btn-light {
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    background-color: #ffffff;
}

/* ==========================================================================
   5. CARDS & FEATURES
   ========================================================================== 
*/
.feature-card, .reason-card, .process-card, .pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #f1f1f1;
    transition: 0.3s ease;
    height: 100%;
}

.feature-card:hover, .reason-card:hover, .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border-color: var(--brand-accent);
}

/* Reason/Feature Specifics */
.reason-section, .benefit { background-color: var(--template-bg); }

.icon-wrapper {
    width: 60px; height: 60px;
    background-color: rgba(244, 124, 44, 0.1);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Benefit Box */
.benefit-box {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-box:hover { border-color: var(--brand-accent); transform: translateY(-3px); }

/* Process Card Step Numbers */
.step-number {
    width: 50px; height: 50px;
    background: var(--brand-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(244, 124, 44, 0.3);
}

/* ==========================================================================
   6. IDEAL ITEMS & LISTS
   ========================================================================== 
*/
.ideal-item {
    background: #fdfdfd;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #f1f1f1;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ideal-item:hover {
    background: #fff;
    border-color: var(--brand-accent);
    box-shadow: 0 4px 12px rgba(244, 124, 44, 0.08);
}

.ideal-icon-circle {
    width: 32px; height: 32px;
    background-color: var(--brand-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   7. PRICING & FAQ
   ========================================================================== 
*/
.pricing-card.featured {
    border: 2px solid var(--brand-accent);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--brand-accent);
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--brand-accent);
}

.custom-faq .accordion-item {
    border: 1px solid #eee !important;
}

/* ==========================================================================
   8. TESTIMONIALS & IMAGES
   ========================================================================== 
*/
.testimonial-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 24px;
    max-width: 950px;
    margin: 0 auto;
    overflow: hidden;
}

.profile-bg { background-color: var(--template-bg); }

.quote-icon {
    color: var(--brand-accent);
    opacity: 0.15;
    font-size: 3rem;
    position: absolute;
    top: 20px; left: 20px;
}

.doctor-img {
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.home-chat-img {
    max-width: 750px;
    width: 100%;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== 
*/
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 20px 0;
        align-items: flex-start;
    }
    .btn-brand {
        margin: 15px 0 0 0;
        width: 100%;
    }
    .cta-ribbon h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .profile-bg {
        border-bottom: 1px solid #eee;
    }
    .pricing-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
}