:root {
    --color-premium-green: #0a3622;
    --color-premium-gold: #c6a87c;
    --color-drawer-bg: rgba(6, 28, 17, 0.95);
    /* Darker, richer translucent green */
    /* --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif; */
}

/* body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    min-height: 200vh;
} */

/* ==========================================================================
           Header Layout & Aesthetics
           ========================================================================== */
/* .custom-site-header {
background-color: #034932;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
    transition: all 0.3s ease;
} */

.custom-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1080;
    /* background: #063147; */
    transition: all 0.4s ease;
}

.modal-open-header {
    filter: blur(4px);
    transition: 0.3s;
    z-index: 1040 !important;
}

.custom-site-header.scrolled {
  background-color: #063147; /* scroll korle ei color hobe */
}

/* Extended gradient layer */
/* .custom-site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 180px;
    pointer-events: none;
    z-index: -1;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.75) 35%,
        rgba(0, 0, 0, 0.35) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: opacity 0.6s ease;
}

.custom-site-header.menu-open::before {
 opacity: 0;
 transition-delay: 0.15s;
} */

/* // for header-gradient layer */
.header-gradient-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    pointer-events: none;

    /* background: linear-gradient(to bottom, rgb(0 0 0 / 77%) 0%, rgb(0 0 0 / 61%) 44%, rgb(0 0 0 / 42%) 70%, rgba(0, 0, 0, 0) 100%); */
    /* background: linear-gradient(360deg, rgb(1 12 27 / 0%) 24.56%, rgb(0 4 10 / 38%) 69.86%, rgb(0 4 9 / 80%) 114.03%); */

    z-index: 1040;
     transition: opacity .4s ease;
}

.gradient-hidden {
    opacity: 0;
}
/* // for header-gradient layer */

.custom-site-header.header-scrolled {
        background-color: #034932;
}

/* Enforce a consistent height to help with vertical centering */
.header-wrapper {
    height: 100px;
    transition: all 0.5s ease;
}

.custom-site-header.header-scrolled .header-wrapper {
    height: 69px;
}

/* Logo Sizing */
.main-logo {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    transform-origin: left center;
    transform: translateX(-34px);
}

.main-logo.levlogo {
    max-height: 58px;
    transform: translateX(0px);
}

.custom-site-header.header-scrolled .main-logo {
    max-height: 41px;
}

/* .main-logo:hover {
    transform: scale(1.05);
} */

.header-logo {
        display: flex;
    gap: 25px;
    align-items: center;
}

/* ==========================================================================
           Pure CSS Morphing Hamburger
           ========================================================================== */

.header-action {
    /* background: #05334a; */
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.custom-site-header.header-scrolled .header-action {
    scale: 0.8;
}

.menu-toggle-btn {
    position: relative;
    width: 32px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
}

.menu-toggle-btn .line {
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy morph effect */
    border-radius: 2px;
    border: none;
}

.menu-toggle-btn .line-1 {
    top: 0;
}

.menu-toggle-btn .line-2 {
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
}

.menu-toggle-btn .line-3 {
    bottom: 0;
}

/* Active State: Morph into 'X' */
.menu-toggle-btn.is-active .line-1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
background-color: white;
}

.menu-toggle-btn.is-active .line-2 {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

.menu-toggle-btn.is-active .line-3 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
background-color: white;
}

/* ==========================================================================
           Full-Screen Top-Down Menu Drawer
           ========================================================================== */
.menu-overlay-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
background-color: #05334a;
    backdrop-filter: blur(12px);
    /* Premium glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    z-index: 1070;
    /* Drops behind the header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 85px;
    /* Offset by header height */

    /* Slide down from top */
    transform: translateY(-100%);
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay-panel.is-open {
    transform: translateY(0);
}

/* Drawer Navigation Links */
.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.drawer-nav-item {
    margin: 1.2rem 0;
    overflow: hidden;
    /* Crucial for the slide-up reveal clipping */
}

.drawer-nav-link {
    font-size: 20px;
    /* font-weight: 400; */
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;

    /* Initial state for staggered animation */
    opacity: 0;
    transform: translateY(100%);

    /* Separate transition properties to avoid hover clashing with entry animation */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, color 0.4s ease, letter-spacing 0.4s ease;
}

/* Reveal links when drawer is open */
.menu-overlay-panel.is-open .drawer-nav-link {
    opacity: 1;
    transform: translateY(0);
}

/* Sophisticated Stagger Delays */
.menu-overlay-panel.is-open .drawer-nav-item:nth-child(1) .drawer-nav-link {
    transition-delay: 0.3s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(2) .drawer-nav-link {
    transition-delay: 0.4s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(3) .drawer-nav-link {
    transition-delay: 0.5s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(4) .drawer-nav-link {
    transition-delay: 0.6s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(5) .drawer-nav-link {
    transition-delay: 0.7s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(6) .drawer-nav-link {
    transition-delay: 0.8s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(7) .drawer-nav-link {
    transition-delay: 0.9s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(8) .drawer-nav-link {
    transition-delay: 1s;
}

.menu-overlay-panel.is-open .drawer-nav-item:nth-child(9) .drawer-nav-link {
    transition-delay: 1.1s;
}
.menu-overlay-panel.is-open .drawer-nav-item:nth-child(10) .drawer-nav-link {
    transition-delay: 1.2s;
}

/* Premium Hover Effects */
.drawer-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(-50%);
}

.drawer-nav-link:hover {
    color: #cd8032;
    letter-spacing: 2px;

}

.drawer-nav-link:hover::after {
    width: 100%;
    /* Sleek growing underline */
}

/* ==========================================================================
           Responsive Adjustments
           ========================================================================== */
@media (max-width: 992px) {
   
}

@media (max-width: 768px) {
    /* .rera-logo {
        max-height: 26px;
    } */

    .main-logo {
        max-height: 60px;
    }

    .custom-site-header.header-scrolled .main-logo {
    max-height: 37px;
}

    .header-action {
        scale: 0.75;
                margin-right: -6px;
    }

    .custom-site-header.header-scrolled .header-action {
    scale: 0.65;
}
}

@media (max-width: 600px) {
    .rera-logo {
        display: none;
    }

    

    .header-wrapper {
        height: 70px;
    }

    /* .menu-overlay-panel {
        padding-top: 70px;
    } */

    .main-logo {
        transform: translateX(0);
                max-height: 55px;
    }
}






/* Modal */


/* Modal */

.modal-content{

border:none;

overflow:hidden;

border-radius:35px;

box-shadow:
0 30px 70px rgba(0,0,0,.15);

}



/* Right */

.form-side{

padding:50px;

}

.form-side h3{

font-weight:700;


}

.custom-input{

height:58px;

border-radius:15px;

border:1px solid #ececec;

padding-left:20px;

box-shadow:none;

}

.custom-input:focus{

border-color:#cd8032;

box-shadow:none;

}

.submit-btn{

background:#cd8032;

color:#fff;

border:none;

height:58px;

font-weight:600;

border-radius:0px;

transition:.4s;

}

.submit-btn:hover{

background:#222;
color:#fff;

}

@media(max-width:991px){

.left-side{

padding:30px;

}

.left-side h2{

font-size:30px;

}

.form-side{

padding:30px;

}

}

/* ==========================================
   DARK THEME OVERRIDES - Premium Obsidian-Gold
   ========================================== */

.menu-overlay-panel {
  background-color: rgba(8, 8, 10, 0.98) !important;
}

.custom-site-header.scrolled {
  background-color: #08080a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.modal-content {
  background: #15161c !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #a0a2ad !important;
}

.modal-content h3 {
  color: #f3f1ed !important;
}

.custom-input,
.form-control.custom-input,
.form-select.custom-input {
  background-color: #08080a !important;
  color: #657482 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.custom-input::placeholder {
  color: #64748b !important;
}

.custom-input:focus {
  border-color: #cd8032 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(205, 128, 50, 0.15) !important;
}

.btn-close {
  filter: invert(1) grayscale(1) brightness(2) !important;
}
