/*
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: 28px;
}

.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);
}

/* ==========================================================================
   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 !important;
}

/* 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 {
    /* Scroll hote hi background white ho jayega */
    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 35px;
    position: relative;
}

.kc-footer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
}

.kc-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 0.9fr 0.6fr;
    gap: 50px;
    padding-bottom: 70px;
}

/* 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: 380px;
}

/* 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);
}

/* 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: 12.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 */