:root {
    --title-color: #000000;
    --font-montserrat: "Montserrat", sans-serif;
    --font-open-sans: "Open Sans", sans-serif;
    --white-color: #fff;
    --black-color: #000;
    --black-color2: #1D1D1D;
    --title-color: #13141A;
    --card-title-color: #07b81a;
    --text-color: #000;
    --title-color2: #13141A,
        --primary-color1: #5fb552;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Search input and button container */
.top-bar .search-area form .form-inner {
    display: flex;
    align-items: center;
    position: relative;
}

.top-bar .search-area form .form-inner input {
    height: 35px;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 5px 0 0 5px;
    padding: 0 15px;
    width:100%;
    font-size: 14px;
    outline: none;
    background-color: #FFFFFF;
}


.company-logo img{
width: 180px;
}
.top-bar .search-area form .form-inner input:focus {
    border-color: #9ca3af;
}

/* Search button base styling */
.top-bar .search-area form .form-inner button {
    width: 50px;
    height: 35px;
    border-radius: 0 5px 5px 0;
    background-color: var(--title-color);
    transition: .5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Search button hover effect */
.top-bar .search-area form .form-inner button::after {
    position: absolute;
    content: "";
    display: block;
    left: 15%;
    right: -20%;
    top: -4%;
    height: 150%;
    width: 150%;
    bottom: 0;
    border-radius: 0 5px 5px 0;
    background-color: var(--primary-color1);
    transform: skewX(45deg) scale(0, 1);
    z-index: -1;
    transition: all .5s ease-out 0s;
}

.primary-btn1::after {
    position: absolute;
    content: "";
    display: block;
    left: 15%;
    right: -20%;
    top: -4%;
    height: 150%;
    width: 150%;
    bottom: 0;
    border-radius: 0 5px 5px 0;
    background-color: var(--text-color);
    transform: skewX(45deg) scale(0, 1);
    z-index: -1;
    transition: all .5s ease-out 0s;
}

.primary-btn1:hover::after {
    transform: skewX(45deg) scale(1, 1);
}

.top-bar .search-area form .form-inner button:hover::after {
    transform: skewX(45deg) scale(1, 1);
}

.top-bar .search-area form .form-inner button i {
    position: relative;
    z-index: 2;
    font-size: 14px;
}

/* Menu hover effect */
.menu-list a {
    position: relative;
    padding-bottom: 2px;
}

.row {
    margin: 0 !important;
}

/* Header with proper z-index */
.header-area {
    z-index: 100 !important;
}

/* Parent Container */
.position-inherit {
    position: relative;
}

/* Dropdown Trigger Link */
.drop-down {
    display: inline-block;
    padding: 20px 25px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.drop-down:hover {
    color: #22c55e;
}

.mega-menu .menu-row .menu-single-item h6 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--title-color);
    font-family: var(--font-montserrat);
    font-size: 15px;
    font-weight: 600;
}

/* Mega Menu Container - Fixed z-index */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 28rem;
    width: 70vw;
    margin-left: calc(-50vw + 50%);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 10000 !important;
    /* High enough for dropdowns */
    padding: 2rem 3rem;
    /* Initial hidden state - collapsed at top */
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    /* Smooth expand transition */
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.3s ease;

    transform-origin: top center;
    transform: scaleY(0);
}

.main-menu {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Show dropdown on hover - Expands downward */
.position-inherit:hover .mega-menu {
    max-height: 800px;
    opacity: 1;
    transform: scaleY(1);
}

.container {
    width: 90% !important;
    margin: auto;
}


@media (max-width: 700px) {
  .container {
    width: 95% !important;
  }
  .top-bar .search-area form .form-inner input {
    width: 90% !important;
    margin-left: 10px;
  }
  .company-logo img{
width: 8rem !important;
}
.modal-content-wrap {
    height: 65vh;
    /* display: flex; */


}
}
/* Menu Lists */ 
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-row {
    display: flex;
}

.mega-menu li {
    margin-bottom: 16px !important;
}

.mega-menu li a {
    padding: 0 !important;
}

.submenu-list li a {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.menu-list li {
    margin: 0;
    padding: 0;
}

.menu-list li a {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    padding: 15px 20px;
    font-size: 13px;
    text-transform: uppercase;
    /* letter-spacing: 1px; */
}

.menu-list li a:hover {
    color: var(--primary-color1);
}

.explore-more-btn a {
    font-weight: 600 !important;
    font-size: 14px !important;
    font-family: var(--font-montserrat) !important;
    color: var(--title-color);
    text-transform: capitalize;
    position: relative;
    font-family: var(--font-montserrat);
    text-transform: uppercase;
}

.primary-btn1 {
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(7, 45, 23, 1) 50%, #2c5b36 100%);
    font-family: var(--font-open-sans);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    padding: 5px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: .5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.mega-menu .menu-row .menu-single-item {
    display: block;
    padding: 0;
    padding-right: 20px;
    position: relative;

}

#profile-btn {
    background-color: #f5f5f5;
    border-radius: 100px;
    padding: 5px;
}

/* Mobile Menu */
#mobile-menu {
    display: none !important;
    z-index: 999999 !important;
}

#mobile-menu.show {
    display: block !important;
    z-index: 999999 !important;
}

body.menu-open {
    overflow: hidden;
}


.profile-drop-menu {
    border-bottom: 1px solid #dee2e6 !important;
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: black;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;

}

.profile-drop-menu:hover {
    background: linear-gradient(90deg, rgba(7, 45, 23, 1) 50%, #2c5b36 100%);
    color: white;
}


.mobile-menu-drop >div>a {
        color: var(--title-color);
      font-family: "Montserrat", sans-serif;
   
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    line-height: 1;
    padding: 12px 0;
      font-size: 13px;
        font-weight: 600;
        border-bottom: 1px solid rgba(233, 228, 228, .5);
}

.mobile-menu-drop > h6 {
            color: #b5b5b5;
        position: relative;
        padding-left: 15px;
           font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.mobile-menu-drop > h6::before {
            height: 8px;
        width: 8px;
        background-color: #b5b5b5;
        border-radius: 50%;
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
}

.mobile-menu-item {
    padding: 10px 0;
      font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    transition: all .5s ease-out 0s;
    position: relative;
        color: var(--title-color);
        width: 100%;
}

#profile-dropdown {
    overflow: hidden;
    border-radius: 4px 4px 5px 5px;
    box-shadow: 0px 0px 1px rgb(0 0 0 / 21%);
}

#profile-dropdown>.profile-drop-menu:last-child {
    border-bottom: none !important;
    border-radius: 0 0 3px 3px;


}

#profile-dropdown>a>.profile-drop-menu:first-child {
    border-radius: 4px 4px 0px 0px;


}



.call-link {
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--title-color);
    transition: .5s;
    margin: 0;
}

.menu-icon {
    border: 1px solid #ddd;
    text-align: center;
    padding: 7px;
    border-radius: 30px;
    font-size: 10px;
    margin-right: 5px;
}


.call-text {
    font-family: var(--font-montserrat);
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: var(--title-color2);
    transition: .5s;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .mega-menu {
        position: static;
        margin-left: 0;
        width: 100%;
    }
}

/* Add smooth animation for content inside */
.position-inherit:hover .mega-menu-content {
    animation: slideInContent 0.4s ease forwards;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.snackbar {
    min-width: 300px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.snackbar.show {
    opacity: 1;
    transform: translateY(0);
}

.snackbar-success {
    background-color: #10b981;
}

.snackbar-error {
    background-color: #ef4444;
}

.snackbar-info {
    background-color: #3b82f6;
}

.snackbar-warning {
    background-color: #f59e0b;
}