/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
:root {
    --kc-gold: #c2983b;
    --kc-gold-hover: #b3882f;
    --kc-gold-bg: #fdf8eb;
    --kc-dark-text: #1a2434;
    --kc-white: #ffffff;
    --kc-gray-sub: #8a92a3;
    --kc-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: #ad8a3d !important;
}

/* ==========================================================================
   1. FIXED / STICKY HEADER (Hamesha top par rahega)
   ========================================================================== */
.kc-navbar {
    position: fixed;
    /* Header hamesha screen par pinned rahega */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: transparent;
    padding: 18px 0;
    transition: var(--kc-transition);
}

.kc-nav-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo Styling */
.kc-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.kc-brand img {
    height: 48px;
    width: auto;
    transition: var(--kc-transition);
}

/* Default (Top/Hero View): White Logo */
.kc-navbar:not(.kc-scrolled) .kc-logo-white {
    display: block;
    filter: brightness(0) invert(1);
}

.kc-navbar:not(.kc-scrolled) .kc-logo-dark {
    display: none;
}

/* Nav Links Base */
.kc-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kc-nav-link {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--kc-white);
    /* Pre-scroll: White Text */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    position: relative;
    transition: color 0.25s ease;
}

.kc-chevron {
    font-size: 11px;
    transition: transform 0.25s ease;
}

/* Active Link (Gold Line under Home) */
.kc-nav-link.kc-active,
.kc-nav-links>li.current-menu-item>a {
    color: var(--kc-gold) !important;
}

.kc-nav-link.kc-active::after,
.kc-nav-links>li.current-menu-item>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--kc-gold);
    border-radius: 2px;
}

.kc-nav-link:hover {
    color: var(--kc-gold);
}

/* ==========================================================
   MOBILE MENU EXACT SCREENSHOT 3 DESIGN (RIGHT SIDEBAR)
   ========================================================== */
@media (max-width: 1199px) {

    /* 1. Sidebar Container setup */
    #kcNavCollapse {
        display: block !important;
        position: fixed !important;
        top: 0;
        right: -320px;
        /* Hidden outside right screen */
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100000;
        overflow-y: auto;
        padding: 0;
    }

    #kcNavCollapse.show-sidebar {
        right: 0;
        /* Slide in from right */
    }

    /* 2. Dark Header inside Sidebar (Screenshot 3) */
    .kc-mobile-sidebar-header {
        background-color: #0D131F;
        /* Dark Navy Background */
        padding: 24px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* border-bottom: 3px solid #C59B27; */
    }

    .kc-mobile-sidebar-header img {
        height: 50px;
        filter: brightness(0) invert(1);
        /* Forces logo to be white */
    }

    #kcMobileClose {
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
    }

    /* 3. Base Menu Links (Force Dark Text to fix blank issue) */
    .kc-nav-links {
        display: flex;
        flex-direction: column !important;
        padding: 0 0 40px 0 !important;
        margin: 0;
    }

    .kc-nav-link {
        color: #172033 !important;
        /* Force dark text even before scrolling */
        font-size: 15.5px !important;
        font-weight: 500 !important;
        padding: 16px 24px !important;
        display: flex !important;
        justify-content: space-between;
        border-bottom: 1px solid #f2f4f8 !important;
    }

    /* Active Menu Item ("Home" styling in Screenshot 3) */
    .kc-nav-link.kc-active {
        background-color: #F9F5EA !important;
        /* Light Gold BG */
        color: #A67E1E !important;
        /* Dark Gold Text */
        border-left: 3px solid #C59B27;
        /* Left gold highlight */
    }

    .kc-nav-link.kc-active::after {
        display: none !important;
    }

    /* Remove underline */

    /* 4. Sub-menus (Practice Areas) Dropdown in Mobile */
    .kc-mega-dropdown,
    .kc-sub-dropdown {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        transform: none !important;
        background: #Fcfaf6 !important;
        /* Very faint cream */
        display: none;
        /* Hidden by default */
        opacity: 1 !important;
        visibility: visible !important;
    }

    .kc-mega-header {
        display: none;
    }

    /* Hide "AREAS OF PRACTICE" text on mobile */
    .kc-mega-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* Expanded State triggered by JS */
    .kc-has-mega.expand-mobile-dropdown .kc-mega-dropdown,
    .kc-has-dropdown.expand-mobile-dropdown .kc-sub-dropdown {
        display: block;
    }

    /* Mega Menu Items (Sub-links) Styling */
    .kc-mega-item {
        padding: 14px 24px 14px 45px !important;
        /* Indented padding */
        border-bottom: 1px solid #f2f4f8;
        background: transparent !important;
    }

    .kc-mega-title {
        font-size: 13.5px !important;
        color: #5b6777 !important;
        /* Muted text like screenshot */
        font-weight: 400 !important;
    }

    .kc-icon-box {
        background: transparent !important;
        color: #C59B27 !important;
        /* Gold Icons */
        width: 20px !important;
        height: 20px !important;
        font-size: 15px !important;
        margin-right: -4px;
    }

    /* 5. Mobile Dark Overlay Background */
    .kc-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 19, 31, 0.6);
        backdrop-filter: blur(3px);
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease;
    }

    .kc-mobile-overlay.show-overlay {
        opacity: 1;
        /* visibility: visible; */
    }

    .nav-item {
        text-align: left !important;
        /* padding-left: 30px !important; */
        width: 100% !important;
    }

    #kc-navbar:not(.kc-scrolled) .kc-nav-link {
        color: #1a2434 !important;
    }
}

/* ==========================================================
   FIX 1: HIDE EXTRA MOBILE LOGO ON DESKTOP
   ========================================================== */
@media (min-width: 1200px) {
    .kc-mobile-sidebar-header {
        display: none !important;
        /* Bada logo desktop par gayab kar dega */
    }

    .kc-mobile-overlay {
        display: none !important;
    }
}

/* ==========================================================
   FIX 2: CONTACT POPUP MODAL & EXACT FORM STYLES (Screenshot Match)
   ========================================================== */
.kc-contact-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 22, 0.85);
    /* Dark blur background */
    backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.kc-contact-popup-overlay.show-popup {
    opacity: 1;
    visibility: visible;
}

.kc-contact-popup-box {
    background: #ffffff;
    width: 92%;
    max-width: 650px;
    border-radius: 4px;
    /* Clean sharp corners */
    position: relative;
    transform: scale(0.95);
    transition: all 0.3s ease;
    /* max-height: 90vh; */
    overflow-y: auto;
    padding: 20px 40px 0px 40px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
    text-align: left;
}

.kc-contact-popup-overlay.show-popup .kc-contact-popup-box {
    transform: scale(1);
}

/* Popup Close Button (X) */
.kc-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #102A43;
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.kc-popup-close:hover {
    color: #C59B27;
}

/* Form Eyebrow & Heading */
.kc-contact-form-wrapper .kc-eyebrow {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    color: #C59B27 !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 18px !important;
    font-style: italic !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    background: none;
    padding: 0;
    /* margin-bottom: 12px !important; */
}

.kc-contact-form-wrapper .kc-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: #C59B27;
}

.kc-contact-form-wrapper h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 36px !important;
    color: #0A0E16 !important;
    font-weight: 600;
    /* margin-bottom: 35px !important; */
    margin-top: 0;
    letter-spacing: -0.01em;
}

/* Form Fields Grid */
.kc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    /* margin-bottom: 25px; */
}

.kc-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Labels */
.kc-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #667085;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

/* Inputs (Underline Style Match) */
.kc-form-group input,
.kc-form-group select,
.kc-form-group textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 0 12px 0;
    /* Zero left/right padding */
    border: none;
    border-bottom: 1px solid #E4E7EC;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    color: #172033;
    background: transparent;
    transition: 0.3s;
    outline: none;
    box-sizing: border-box;
}

.kc-form-group input::placeholder,
.kc-form-group textarea::placeholder,
.wpcf7-form-control::placeholder {
    color: #98A2B3;
}

.kc-form-group input:focus,
.kc-form-group select:focus,
.kc-form-group textarea:focus,
.wpcf7-form-control:focus {
    border-bottom-color: #C59B27;
    box-shadow: none;
}

.kc-form-group textarea,
.wpcf7-form-control.wpcf7-textarea {
    min-height: 80px !important;
    height: 80px !important;
    resize: vertical;
}

/* Disclaimer */
.kc-form-disclaimer {
    font-size: 12px !important;
    color: #667085;
    /* margin: 20px 0 25px 0; */
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.kc-form-disclaimer p {
    font-size: 12px !important;
}

/* Submit Button Styling */
.kc-form-submit input[type="submit"],
.kc-form-submit button,
.wpcf7-submit {
    width: 100%;
    background: #0A0E16;
    /* Black/Deep Navy */
    color: #ffffff;
    border: none;
    padding: 18px;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease;
}

.kc-form-submit input[type="submit"]:hover,
.kc-form-submit button:hover,
.wpcf7-submit:hover {
    background: #C59B27;
}

/* Popup Responsive for Mobile */
@media (max-width: 768px) {
    .kc-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        /* margin-bottom: 20px; */
    }

    .kc-contact-popup-box {
        padding: 40px 25px !important;
    }

    .kc-contact-form-wrapper h3 {
        font-size: 28px !important;
    }
}

/* ==========================================================================
   2. SCROLLED STATE (Jab user page niche scroll kare)
   ========================================================================== */
.kc-navbar.kc-scrolled {
    background: var(--kc-white);
    /* Solid White Background */
    padding: 11px 0;
    /* Thoda compact aur sleek ho jayega */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Clean drop shadow */
    border-bottom: 1px solid #f0f2f5;
}

/* Scrolled: Logo toggle to colored/original */
.kc-navbar.kc-scrolled .kc-logo-white {
    display: none;
}

.kc-navbar.kc-scrolled .kc-logo-dark {
    display: block;
    filter: none;
}

/* Scrolled: Text turns Dark Navy / Charcoal */
.kc-navbar.kc-scrolled .kc-nav-link {
    color: var(--kc-dark-text);
}

.kc-navbar.kc-scrolled .kc-nav-link:hover,
.kc-navbar.kc-scrolled .kc-nav-link.kc-active {
    color: var(--kc-gold) !important;
}

/* ==========================================================================
   3. MEGA MENU DROPDOWN (Screenshot 3 Match)
   ========================================================================== */
.kc-has-mega,
.kc-has-dropdown {
    position: relative;
}

/* Hover par Dropdown reveal */
.kc-has-mega:hover .kc-mega-dropdown,
.kc-has-dropdown:hover .kc-sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kc-has-mega:hover .kc-chevron,
.kc-has-dropdown:hover .kc-chevron {
    transform: rotate(180deg);
}

.kc-mega-dropdown {
    position: absolute;
    top: 100%;
    left: -120px;
    width: 680px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 16px 36px rgba(10, 20, 40, 0.12);
    border: 1px solid #f0f2f6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px 26px;
    z-index: 100000;
}

.kc-mega-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--kc-gray-sub);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-left: 6px;
}

.kc-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.kc-mega-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kc-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.kc-mega-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--kc-dark-text);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.kc-icon-box {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: #fbf5e9;
    color: var(--kc-gold);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Hover or Selected Practice Area Item */
.kc-mega-item:hover {
    background-color: var(--kc-gold-bg);
}

.kc-mega-item:hover .kc-mega-title {
    color: #a8812a;
}

/* Standard Single Dropdown (Our People) */
.kc-sub-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 230px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 16px 36px rgba(10, 20, 40, 0.12);
    border: 1px solid #f0f2f6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    padding: 10px;
    z-index: 100000;
}

/* Mobile Hamburger */
.kc-hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.kc-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.kc-navbar.kc-scrolled .kc-hamburger span {
    background: var(--kc-dark-text);
}

@media (max-width: 1199px) {
    .kc-hamburger {
        display: flex;
    }

    .kc-desktop-menu {
        display: none;
    }
}

/* ==========================================================
   HEADER: DEFAULT (TOP PAR 100% TRANSPARENT)
   ========================================================== */
#kc-navbar.kc-navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;

    /* Top par background transparent rahega */
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle light line, optional */

    padding: 20px 0;
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Pre-scroll Links: White */
#kc-navbar:not(.kc-scrolled) .kc-nav-link {
    color: #ffffff;
}

/* Pre-scroll Logos: White logo on, colored off */
#kc-navbar:not(.kc-scrolled) .kc-logo-white {
    display: block !important;
    filter: brightness(0) invert(1);
}

#kc-navbar:not(.kc-scrolled) .kc-logo-dark {
    display: none !important;
}

/* ==========================================================
   HEADER: SCROLLED (JAB SCROLL HOGA TO SOLID WHITE)
   ========================================================== */
#kc-navbar.kc-navbar.kc-scrolled {

    background: #ffffff !important;
    padding: 12px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #eef1f6 !important;
}

/* Scrolled Links: Dark Navy/Charcoal */
#kc-navbar.kc-scrolled .kc-nav-link {
    color: #1a2434 !important;
}

/* Scrolled Active & Hover Link: Gold */
#kc-navbar.kc-scrolled .kc-nav-link:hover,
#kc-navbar.kc-scrolled .kc-nav-link.kc-active,
#kc-navbar.kc-scrolled .kc-nav-links>li.current-menu-item>a {
    color: #c2983b !important;
}

/* Scrolled Logos: White logo off, colored on */
#kc-navbar.kc-scrolled .kc-logo-white {
    display: none !important;
}

#kc-navbar.kc-scrolled .kc-logo-dark {
    display: block !important;
    filter: none !important;
}

/* Mobile Hamburger Color toggle */
#kc-navbar:not(.kc-scrolled) .kc-hamburger span {
    background: #ffffff;
}

#kc-navbar.kc-scrolled .kc-hamburger span {
    background: #1a2434;
}

/* =========================================
   FOOTER STYLES (Screenshot Match)
   ========================================= */
.kc-footer {
    background-color: #08101d;
    /* Deep Midnight Navy */
    color: #8795a8;
    font-family: inherit;
    padding: 80px 0 25px;
    position: relative;
}

.kc-footer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 90px;
}

.kc-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 0.9fr 0.6fr;
    gap: 50px;
    padding-bottom: 60px;
}

/* Col 1 Brand */
.kc-footer-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.kc-footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #7d8b9e;
    margin-bottom: 28px;
    max-width: 280px;
    text-align: justify;
}

/* Social Box Icons */
.kc-footer-socials {
    display: flex;
    gap: 12px;
}

.kc-footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7d8b9e;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.kc-footer-socials a:hover {
    border-color: #c2983b;
    color: #c2983b;
    background-color: rgba(194, 152, 59, 0.08);
    transform: translateY(-2px);
}

/* Columns Typography */
.kc-footer-title {
    color: #c2983b;
    /* Gold Accent */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.kc-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.kc-footer-links a {
    color: #8795a8;
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: inline-block;
}

.kc-footer-links a:hover {
    color: #ffffff;
}

/* Bottom Bar */
.kc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.kc-copyright {
    font-size: 11.5px;
    color: #5f6d80;
}

.kc-credit-link {
    color: #c2983b;
    text-decoration: none;
    font-weight: 600;
}

.kc-credit-link:hover {
    text-decoration: underline;
}

.kc-footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
}

.kc-footer-legal a {
    font-size: 12px;
    color: #5f6d80;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kc-footer-legal a:hover {
    color: #8795a8;
}

/* Scroll To Top Round Button */
.kc-scroll-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #c2983b;
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.kc-scroll-top:hover {
    background-color: #aa832d;
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1024px) {
    .kc-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .kc-footer {
        padding: 60px 0 30px;
    }

    .kc-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .kc-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .kc-footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }

    .kc-scroll-top {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Home Page */