/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
/* =Theme customization starts here
------------------------------------------------------- */
/* Centered logo remains the same */
#logo-sticky {
    width: 40px;
}
#logo-static {
    width: 90px;
}
.centered-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: auto;
    transition: all 0.4s ease;
}

.logo_container {
    /* margin: 0 40px; */
    position: relative;
    width: 120px;
    margin: -40px auto 0 auto;
    /* no left/right space */
    display: flex;
    justify-content: center;
}

.logo_container a img {
    width: 100px;
    transform: 2s
}

/* Header container */
.container-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9;
    padding: 10px 20px;
    max-width: 1280px;
    margin: auto;
}

/* Navigation Menu Styling */
.nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    display: inline-block;
}

.nav li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    padding: 20px 5px;
    letter-spacing: 1px;
    font-weight: 300;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav li a:hover {
    color: #ffffffff;
}
#main-header {
    /* transition: height 2s ease, padding 2s ease,
        box-shadow 0.4s ease; */
    /* original height */
}

/* Sticky Header */
#main-header.sticky {
   height: 60px;
    position: fixed;
    background: #000000a7;
    z-index: 9;
    width: 100%;
}

#main-header.static {
   background:  linear-gradient(#000000, #ffffff00);
        position: fixed;
    height: 140px;
    width: 100%;
    z-index: 9;
} 
.search-menu-container{flex: 0 0 40%;justify-content: flex-start;}
.logo_container{flex: 0 0 20%;}
.social-media-destop{flex: 0 0 40%; justify-content: flex-end;}
#main-header ::before{background-color: red; height: 200px;}
/* Responsive (optional basic mobile tweak) */
@media(max-width: 996px) {
    .search-menu-container, .social-media-destop{display: none!important;}

    .sub-menu {
    top: 5px!important;
}
.sub-menu li a {
    padding: 5px 0px!important;}
    .social-desktop{display: none;}
    .container-custom {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    #main-header.sticky {
   height: 80px;
}

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .centered-logo {
        position: static;
        transform: none;
        margin: 10px 0;
    }
}

.logged-in.admin-bar .sticky{
    top: 32px!important;
}

.my-tabs-wrapper {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.tab-buttons {
    justify-content: space-between;
    gap: 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    align-items: center;
    display: flex;
}

.tab-buttons button:hover {
    transform: scale(1.1)
}

.tab-buttons button {
    background: none;
    transition: 1s;
    border: none;
    font-size: 22px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    flex-basis: 100%;
    color: #222;
}

.tab-buttons button.active {
    color: #000;
}

.tab-buttons button.active::after {
    content: '';
    height: 3px;
    background: #f5b301;
    width: 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.tab-content {
    display: none;
    flex-wrap: wrap;
    gap: 40px;
}

.tab-content.active {
    display: flex;
}

.tab-left,
.tab-right {
    flex: 1;
    min-width: 300px;
}

.tab-left p {
    font-size: 15px;
    line-height: 1.8;
}



/* --- Layout --- */
.custom-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: sans-serif;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.custom-col-6 {
    width: 50%;
    padding: 0 10px;
    box-sizing: border-box;
}

.custom-col-12 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* --- Fields --- */
.custom-input,
.custom-textarea {
    width: 100%;
    padding: 8px 9px !important;
    margin-bottom: 20px !important;
    border: 1px solid #ccc !important;
    font-size: 13px;
    border-radius: 0;
    box-sizing: border-box;
}

.custom-textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- Checkboxes --- */
.field-title {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.wpcf7-checkbox label {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 4px;
    cursor: pointer;
}

.wpcf7-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #f5a100;
    /* matches the orange */
}

/* --- Submit Button --- */
.custom-submit {
    background-color: #f5a100;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.custom-submit:hover {
    background-color: #d88d00;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .custom-col-6 {
        width: 100%;
    }
}

/* Show mobile header content and hide original nav on small screens */
@media (max-width: 996px) {


    #left-menu,
    #rght-menu,
    .logo_container,
    form[action*="s"],
    svg.bi-search,
    #logo-sticky,
    .et_menu_container>svg,
    .et_menu_container>div[style*="border-"] {
        display: none !important;
    }
}


@media (max-width: 996px) {
    .mobile-header-content {
        display: block !important;
        width: 100%;
    }

    #left-menu,
    #rght-menu,
    .logo_container,
    #logo-sticky,
    .et_menu_container>svg,
    form[action*="s"],
    .et_menu_container>div[style*="border-"] {
        display: none !important;
    }

    .nav-mobile {
        list-style: none;
        padding-left: 0;
        margin: 0;
        padding: 0 15px;
    }

    .nav-mobile li {
        padding: 8px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-mobile li a {
        color: #fff;
        text-decoration: none;
    }

    #mobile-menus {
        width: 100%;
    }
}

.container-custom-mobile {
    z-index: 9;
    position: relative;
}

@media (max-width: 996px) {
    .inter-menu {
          display: flex;
            padding: 10px;
            justify-content: space-between;
            align-items: center;
            flex-wrap: nowrap;
            flex-direction: row;
    }
    .inter-menu > div{flex: 1; /* 👈 Makes all children equal width */
        }    .menu-container{text-align: right;}

}

.wp-block-search__inside-wrapper {
    display: flex;
    flex-direction: row-reverse;
}

.wp-block-search__inside-wrapper #wp-block-search__input-2 {
    background: transparent;
    padding: 5px 10px;
    margin-right: 5px;
    border: none;
}

/* Hide submenu initially */
.sub-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #222 !important;
    min-width: 220px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-item-has-children {
    position: relative;
}

.sub-menu .menu-item {
    width: 100%;
}

/* Show submenu on hover of parent li */
.menu-item-has-children:hover>.sub-menu {
    display: block;
}
@media (max-width: 996px) {
    .menu-item-has-children>.sub-menu {
        display: none;
        position: relative;
        box-shadow: none;
    }

    .menu-item-has-children.open>.sub-menu {
        display: block;
    }

    /* Style submenu links if needed */
    .sub-menu li a {
        background-color: #333;
    }
}

/* Submenu items */
.sub-menu li {
    position: relative;
}

/* Submenu links */
.sub-menu li a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    background-color: #222;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

/* Hover effect on submenu links */
.sub-menu li a:hover {
    background-color: #444;
}

.menu-item-has-children>a::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
}

.my-tabs-wrapper {
    width: 100%;
}

/* Tab Buttons Wrapper */
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-buttons button {
    flex: 1 1 auto;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    gap: 20px;
}

.tab-left,
.tab-right {
    flex: 1;
}

/* Responsive Behavior */
@media (max-width: 996px) {
.et_menu_container{background:linear-gradient(180deg, #000000a1, #ffffff00)}

    .tab-buttons {
        flex-direction: column;
    }

    .tab-buttons button {
        width: 100%;
    }

    .tab-content.active {
        flex-direction: column;
    }
}
#main-header .logo {
    position: absolute;
    top: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;

}
#main-header .logo.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

#main-header .logo.show {
    opacity: 1;
    transform: scale(1);
}
.fixed-menu {
    position: fixed;
    width: 100%;
    z-index: 999;
}

.search-menu-container, .social-media-destop {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

