/* =========================================
   MUHARAT SPECIFIC STYLES - UPDATED
========================================= */

/* 1. Page Background Override */
.consult-wrapper {
    padding: 80px 0;
    position: relative;
    background: url('images/marriage-bg.jpg') center/cover fixed;
}

.consult-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78); /* adjust here */
    z-index: 1;
}

.consult-wrapper > * {
    position: relative;
    z-index: 2;
}


/* 2.  Readability Improvements */
.consult-main-title {
    font-weight: 900; 
    letter-spacing: 1px;
    color: var(--astro-primary);
    margin-bottom: 15px;
}

.consult-desc {
    color: #333; /* Darkened from light grey for professional readability */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 30px;
}

/* 3. Unique List Style for Muharat Types */
.muharat-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.muharat-list li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background: white;
    padding: 20px; /* Increased padding for better breathing room */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    border-left: 5px solid var(--astro-accent); /* Thicker gold bar */
}

.muharat-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.muharat-list li strong {
    font-size: 1.2rem;
    font-weight: 800; /* Made bolder as requested */
    color: var(--astro-primary);
    display: block;
}

.muharat-list li .text-muted {
    color: #2e2d2d !important; /* Darker Hindi text for contrast */
    font-weight: 600;
    margin-top: 2px;
    font-size: 1.2rem;
}

.icon-circle {
    width: 55px; height: 55px; /* Slightly larger icon circles */
    background: var(--astro-primary); 
    color: var(--astro-accent);      
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 4. Ringing Call Button Animation */
.btn-consult-call {
    display: inline-flex; align-items: center;
    background-color: var(--astro-primary);
    color: white !important;
    padding: 16px 40px; border-radius: 50px;
    font-weight: 800; text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(92, 0, 0, 0.3);
    transition: all 0.3s ease; border: 2px solid var(--astro-primary);
}

.btn-consult-call:hover {
    background-color: var(--astro-accent);
    color: var(--astro-primary) !important;
    border-color: var(--astro-accent);
    transform: translateY(-3px);
}

@keyframes phoneRing {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}
.animate-ring { animation: phoneRing 2s infinite ease-in-out; }

/* 5. Booking Card & Fees Badge */
.booking-card.muharat-card-style {
    background: #ffffff;
    padding: 50px 40px 40px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(92, 0, 0, 0.1);
    position: relative;
    border-top: 6px solid var(--astro-primary);
    margin-top: 20px;
}

.fees-pill {
    position: absolute;
    top: -22px; left: 50%;
    transform: translateX(-50%);
    background: var(--astro-accent);
    color: var(--astro-primary);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 900; font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 4px solid white;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* 6. Form Inputs Enhancement */
.form-label-pro {
    font-weight: 800; /* Bolder labels */
    font-size: 0.95rem; 
    color: var(--astro-primary);
    margin-bottom: 8px; 
    display: block;
}

.form-control-pro {
    width: 100%; padding: 14px 18px;
    border: 2px solid #eee; /* Thicker border */
    border-radius: 10px;
    background: #fdfdfd; 
    font-weight: 600;
    color: #111;
    transition: all 0.3s ease;
}

.form-control-pro:focus {
    border-color: var(--astro-primary); 
    outline: none;
    box-shadow: 0 0 0 4px rgba(92, 0, 0, 0.1);
    background: #fff;
}

.btn-proceed {
    background-color: var(--astro-primary); color: white;
    padding: 16px; font-weight: 800; border: none;
    border-radius: 10px; text-transform: uppercase; letter-spacing: 1.5px;
    transition: 0.3s; margin-top: 15px;
}

.btn-proceed:hover {
    background-color: #400000; transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92, 0, 0, 0.3);
}

/* Mobile Fixes */
@media (max-width: 576px) {
    .booking-card.muharat-card-style { padding: 60px 20px 30px 20px; }
    .fees-pill { font-size: 1.1rem; padding: 10px 25px; top: -20px; }
    .consult-main-title { font-size: 1.8rem; }
    .muharat-list li { padding: 15px; }
}


/* FINAL FIX FOR SMALL MOBILE SCREENS (382px and below) */
@media (max-width: 383px) {
    /* Target the container wrapping the button to ensure it centers its child */
    .mt-5 {
        text-align: center !important; 
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .btn-consult-call {
        padding: 10px 15px !important;
        font-size: 0.99rem !important;
        width: 100% !important;
        max-width: 290px !important;
        display: inline-flex !important;
        white-space: nowrap !important;
        letter-spacing: 0px;
        /* CRITICAL: Centers the button itself if it's smaller than the screen */
        margin: 0 auto !important; 
        justify-content: center; /* Centers icon and text inside the button */
    }

    .btn-consult-call i {
        font-size: 0.8rem;
        margin-right: 5px !important;
    }
}