/* =========================================================================
   MUKHUTI & ASSOCIATES - MASTER STYLESHEET (style.css)
   ========================================================================= */

:root {
    --brand-black: #0B0F19;
    --brand-dark-blue: #0F2027;
    --brand-blue: #0052CC;
    --brand-sky-blue: #00B4D8;
    --brand-light-blue: #E8F1F5;
    --brand-white: #FFFFFF;
    --brand-gray-light: #F4F6F9;
    --text-main: #1C2534;
    --text-muted: #5A6A80;
    --border-color: #DDE3EA;
    --brand-yellow: #FFB606;
    --badge-gold-bg: #404040;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-gray-light);
    color: var(--text-main);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', serif;
    color: var(--brand-black);
}

/* Custom Utility Classes */
.text-blue { color: var(--brand-blue) !important; }
.text-sky { color: var(--brand-sky-blue) !important; }
.text-black-custom { color: var(--brand-black) !important; }
.bg-black-custom { background-color: var(--brand-black) !important; }
.bg-blue-custom { background-color: var(--brand-blue) !important; }
.bg-light-blue { background-color: var(--brand-light-blue) !important; }

/* Buttons & Elements */
.btn-blue {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-weight: 600;
    border: none;
    padding: 11px 26px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
    position: relative;
    overflow: hidden;
}
.btn-blue:hover {
    background-color: #003D99;
    color: var(--brand-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.35);
}

.btn-yellow {
    background-color: var(--brand-yellow);
    color: var(--brand-black);
    font-weight: 700;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-yellow:hover {
    background-color: #e0a000;
    color: var(--brand-black);
}

.btn-outline-blue {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-outline-blue:hover {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    transform: translateY(-2px);
}

/* Top Bar & Navbar */
.top-bar {
    background-color: var(--brand-black);
    color: var(--brand-white);
    font-size: 0.85rem;
    border-bottom: 2px solid var(--brand-blue);
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-menu {
    margin-top: 0 !important;
    border-top: 3px solid var(--brand-blue) !important;
}

/* Megamenu Custom Styling & Hover Gap Fix */
.megamenu-li { position: static !important; }
.megamenu-li::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    display: none;
}
.megamenu-li:hover::after {
    display: block;
}

.megamenu {
    left: 0; right: 0; width: 100%;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
}
.megamenu-title {
    font-size: 14px; font-weight: 700; color: var(--brand-black);
    padding-bottom: 6px; margin-bottom: 10px;
    border-bottom: 2px solid var(--brand-light-blue);
    position: relative;
}
.megamenu-title::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 30px; height: 2px; background-color: var(--brand-blue);
}
.megamenu-links li { margin-bottom: 6px; }
.megamenu-links li a {
    font-size: 13px; color: var(--text-muted);
    text-decoration: none; transition: all 0.2s ease; display: block;
}
.megamenu-links li a:hover {
    color: var(--brand-blue); padding-left: 5px;
}

@media (min-width: 992px) {
    .border-end-lg { border-right: 1px solid var(--border-color); }
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .megamenu {
        top: 100% !important;
    }
}

/* Breadcrumb & Hero Sections */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--brand-black) 0%, var(--brand-dark-blue) 100%);
    padding: 45px 0;
    color: var(--brand-white);
    border-bottom: 3px solid var(--brand-sky-blue);
}
.breadcrumb-item a { color: var(--brand-sky-blue); text-decoration: none; }
.breadcrumb-item.active { color: #CBD5E1; }

.hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 241, 245, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover;
    padding: 95px 0 75px;
    border-bottom: 1px solid var(--border-color);
}

.hero-section-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(232, 241, 245, 0.9) 100%), 
                url('../images/waiting_area.jpeg') center/cover;
    padding: 20px 0 20px;
    border-bottom: 1px solid var(--border-color);
}

.hero-badge-custom {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
}
.hero-form-card .form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 8px;
}
.hero-form-card .form-control:focus {
    background-color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

/* Cards & Frames */
.card-custom {
    background: var(--brand-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}
.card-custom::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 0; background: var(--brand-blue);
    transition: height 0.3s ease;
}
.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(11, 15, 25, 0.1);
    border-color: var(--brand-blue);
}
.card-custom:hover::before { height: 100%; }

.office-img-frame {
    width: 100% !important; border-radius: 12px;
    overflow: hidden; border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); background-color: var(--brand-white);
}
.office-img-frame img, img.responsive-img-full {
    width: 100% !important; max-width: 100% !important;
    height: auto !important; display: block; object-fit: cover;
    transition: transform 0.5s ease;
}
.office-img-frame:hover img { transform: scale(1.05); }

.icon-box-blue {
    width: 52px; height: 52px; background: var(--brand-light-blue);
    color: var(--brand-blue); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; transition: all 0.3s ease;
}
.card-custom:hover .icon-box-blue {
    background: var(--brand-blue); color: var(--brand-white);
    transform: rotateY(180deg);
}

/* Category & Popular Service Badges */
.category-box {
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: block;
    text-decoration: none;
    height: 100%;
}
.category-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    color: #fff;
}
.category-box i {
    font-size: 38px;
    margin-bottom: 14px;
    display: block;
}
.category-box span {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-badge-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #4A4A4A 0%, #1A1A1A 100%);
    border: 4px solid var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: var(--brand-yellow);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.popular-card:hover .service-badge-circle {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--brand-blue);
    color: var(--brand-white);
}
.popular-card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    transition: all 0.3s ease;
}
.popular-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--brand-blue);
}

/* Combo / Pricing Boxes */
.combo_box {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}
.combo_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--brand-yellow);
}
.combo_header {
    background: var(--brand-yellow);
    color: var(--brand-black);
    text-align: center;
    padding: 20px 10px;
}
.combo_title { font-size: 20px; font-weight: 700; }
.combo_price { font-size: 28px; margin: 10px 0 5px; font-weight: 800; }
.combo_content { padding: 20px 15px; min-height: 180px; }
.combo_desc ul { list-style: none; padding-left: 0; }
.combo_desc ul li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 14px; }
.combo_desc ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    color: var(--brand-blue);
    position: absolute;
    left: 0;
}

/* Widgets & Map */
.map-container {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border-color); height: 350px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

.floating-whatsapp {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: white; width: 56px; height: 56px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 999; transition: all 0.3s ease; animation: pulse-green 2s infinite;
    text-decoration: none !important;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.toast-container { position: fixed; bottom: 20px; left: 20px; z-index: 1050; }

/* Fixed Login Button Styles */
.fixed-right-login-wrapper {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
}

.fixed-login-btn {
    background-color: var(--brand-blue, #0052CC);
    color: var(--brand-white, #FFFFFF);
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.fixed-login-btn-horizontal {
    background-color: var(--brand-blue, #0052CC);
    color: var(--brand-white, #FFFFFF);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fixed-login-btn:hover, 
.fixed-login-btn-horizontal:hover {
    background-color: #003D99;
    color: #FFFFFF;
    padding-right: 22px;
}

/* Profile Sidebar Card & Custom Nav Styles */
.profile-sidebar-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.custom-nav-link {
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
}

.custom-nav-link:hover {
    background-color: #F8FAFC;
    color: #0052CC !important;
    padding-left: 10px !important;
}

.custom-nav-link:hover i {
    color: #0052CC !important;
}

.active-menu-item {
    font-weight: 700 !important;
    color: #0052CC !important;
    background-color: #F1F5F9;
}

.active-menu-item i {
    color: #0052CC !important;
}

.fs-7 {
    font-size: 0.85rem;
}

/* Print Media Query */
@media print {
    .top-bar, .navbar-custom, .breadcrumb-section, footer, .floating-whatsapp, .no-print { display: none !important; }
    body { background-color: #fff; }
    .card-custom { border: none !important; box-shadow: none !important; }
}