/* =========================================
   CONSULTANCY PAGE - EXACT PHOTO MATCH
========================================= */

.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;
}

/* --- LEFT SIDE DESIGN --- */
.consult-main-title {
    color: var(--astro-primary); /* Maroon */
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.consult-divider {
    width: 80px;
    height: 5px;
    background-color: var(--astro-accent); /* Yellow Line */
    margin-bottom: 25px;
}

.consult-desc {
    font-size: 1.15rem;
    color: #383636;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 600;
}

.consult-features {
    list-style: none;
    padding: 0;
}

.consult-features li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a0000; /* Darker Maroon for text */
}

/* Yellow Check Icon */
.consult-features li i {
    color: var(--astro-accent);
    font-size: 1.3rem;
    margin-right: 15px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- RIGHT SIDE: BOOKING CARD --- */
.booking-card {
    background: #ffffff;
    padding: 50px 40px 40px 40px; /* Top padding extra for the badge */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1); /* Soft shadow */
    position: relative;
    border-top: 5px solid var(--astro-primary); /* Maroon top line */
}

/* The "Fees: 1100" Badge sitting on top */
.fees-pill {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--astro-accent); /* Yellow */
    color: var(--astro-primary);     /* Maroon Text */
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 3px solid white; /* Makes it pop */
}

.form-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2a0000;
    margin-bottom: 30px;
}

/* Form Inputs like the photo */
.form-label-pro {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--astro-primary);
    margin-bottom: 5px;
    display: block;
}

.form-control-pro {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control-pro:focus {
    border-color: var(--astro-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 0, 0, 0.1);
}

/* Maroon Button */
.btn-proceed {
    background-color: var(--astro-primary);
    color: white;
    padding: 15px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-proceed:hover {
    background-color: #400000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* Mobile Tweak */
@media (max-width: 991px) {
    .booking-card {
        margin-top: 40px;
        padding: 40px 25px 30px 25px;
    }
}

/* =========================================
   MOBILE FIXES (Add to bottom of consultancy.css)
========================================= */

@media (max-width: 576px) {
    /* 1. Push the form title down so the badge doesn't cover it */
    .booking-card {
        padding-top: 70px !important; /* Increased from 40px */
        margin-top: 50px; /* Adds breathing room from the top section */
    }

    /* 2. Resize the Fees Badge for mobile screens */
    .fees-pill {
        font-size: 0.95rem; /* Smaller text */
        padding: 8px 20px;  /* Smaller pill size */
        top: -18px;         /* Adjust position slightly */
        width: max-content; /* Prevents text from squishing */
        white-space: nowrap; /* Forces text to stay on one line */
        box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Lighter shadow for mobile */
    }

    /* 3. Adjust Heading Size */
    .form-heading {
        font-size: 1.5rem; /* Slightly smaller title for better fit */
        margin-bottom: 20px;
    }
}

/* --- Call Button Styling --- */
.btn-consult-call {
    display: inline-flex;
    align-items: center;
    background-color: var(--astro-primary); /* Maroon */
    color: white !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px 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); /* Gold */
    color: var(--astro-primary) !important;
    border-color: var(--astro-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Subtle Ringing Animation for the Icon */
@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;
}

/* 1. Increase gap between button and line above for ALL devices */
/* ADD THIS BLOCK */
.consult-btn-box {
    margin-top: 3rem !important; 
    display: flex;
    justify-content: flex-start; 
}

@media (max-width: 576px) {
    .consult-btn-box {
        justify-content: center;
        margin-top: 2.5rem !important;
    }
}

/* 2. Fix for Mobile Screens (360px and below) */
@media (max-width: 576px) {
   

    .btn-consult-call {
        padding: 10px 15px !important;  /* Reduced padding to fit screen */
        font-size: 0.9rem !important;   /* Scaled text for smaller width */
        width: 100% !important;          /* Expands to fill container */
        max-width: 290px !important;     /* Prevents it from becoming too huge */
        display: inline-flex !important; /* Keeps icon and text on one line */
        white-space: nowrap !important;  /* Prevents number from wrapping */
        margin: 0 auto !important;       /* Centers button itself */
        justify-content: center;         /* Centers content inside the button */
    }

    .btn-consult-call i {
        font-size: 0.8rem;               /* Smaller icon for tight spaces */
        margin-right: 8px !important;
    }
}