/*
Theme Name: My Hybrid Theme
*/

/* ===================== */
/* GLOBAL RESET */
/* ===================== */
body {
    margin: 0;
    padding-top: 0;
	font-family: 'Inter', sans-serif;
}

/* ===================== */
/* LET BUILDERS CONTROL TYPOGRAPHY */
/* ===================== */

/* Beaver Builder */
.fl-builder-content {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* Elementor */
.elementor {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* Reset ONLY inside builders (safe) */
.fl-builder-content h1,
.fl-builder-content h2,
.fl-builder-content h3,
.fl-builder-content h4,
.fl-builder-content h5,
.fl-builder-content h6,
.fl-builder-content p,
.fl-builder-content span,
.fl-builder-content a,
.fl-builder-content li,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6,
.elementor p,
.elementor span,
.elementor a,
.elementor li {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* ===================== */
/* NAVBAR */
/* ===================== */

header.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    background-color: transparent !important;
    transition: all 0.3s ease-in-out !important;
    padding: 10px 0 !important;
    overflow: visible !important;
}

.admin-bar .site-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
}

header.site-header.scrolled {
    background-color: #0C2340 !important;
    padding: 5px 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
}

.main-nav {
    display: flex !important;
    justify-content: center !important;
    flex-grow: 1;
}

.menu {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu > li {
    position: static !important;
    padding: 20px 0;
}

.menu > li > a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase !important;
    letter-spacing: 1px;
	font-family: 'Inter', sans-serif;
    font-weight: 700; /* bold */
}

/* ===================== */
/* DROPDOWN */
/* ===================== */

.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    max-width: 100vw;
    background-color: #0c1a32;
    padding: 25px 0;
    border-top: 3px solid #0055ff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.menu .sub-menu::before {
    content: "";
    color: #0055ff;
    font-weight: bold;
    letter-spacing: 2px;
}

.menu .sub-menu::after {
    content: "";
    width: 350px;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    margin-bottom: 15px;
}

.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu li {
    display: inline-block;
    margin: 0 15px;
}

.sub-menu li a {
    color: #fff !important;
    text-decoration: none;
    text-transform: capitalize;
}

.sub-menu li:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-right: 25px;
}

/* ===================== */
/* BUTTONS */
/* ===================== */

/* Let builder control font-size */
.btn-contact {
    display: inline-block !important;
    background: linear-gradient(90deg, #2b00ff, #00c6ff) !important;
    color: #fff !important;
    padding: 19px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    white-space: nowrap;
    margin-left: 20px;
    text-transform: uppercase;
	 font-family: 'Inter', sans-serif;
    font-weight: 700; /* bold */
	transition: transform 0.3s ease;
}

.btn-contact:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: linear-gradient(45deg, #2b00ff, #00c6ff);
    padding: 15px 30px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

/* ===================== */
/* LOGO */
/* ===================== */

.logo img,
.custom-logo-link img {
    filter: brightness(0) invert(1) !important;
	max-height: 60px; /* control desktop size */
    width: auto;
}

/* ===================== */
/* HERO */
/* ===================== */

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 80px;
    box-sizing: border-box;
}
.hero-content {
    position: relative;
    color: #fff;
    max-width: 800px;
}
.hero-overlay {
    pointer-events: none;
}

.fl-button {
    position: relative;
    z-index: 9999;
}



/* Builder controls hero text */
.hero h1,
.hero p {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* ===================== */
/* MOBILE */
/* ===================== */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 1024px) {

    .menu > li {
        position: relative !important;
    }

    .menu .sub-menu {
        width: 250px;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        top: 100%;
    }

    .menu .sub-menu::before,
    .menu .sub-menu::after {
        display: none !important;
    }
	.fl-bg-video {
    position: absolute !important;
    inset: 0;
    overflow: hidden !important;
}

.fl-bg-video video {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    min-width: 100% !important;
    min-height: 100% !important;

    width: auto !important;
    height: auto !important;

    object-fit: cover !important;
}

}

@media (max-width: 769px) {

	.logo img,
	.custom-logo-link img {
		max-height: 40px;
	}
	
.menu-toggle {
    display: block !important;
    color: #fff;
    font-size: 24px;
    order: 2;
}
/* ===================== */
/* BLUR OVERLAY */
/* ===================== */
body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 9998;
}
/* ===================== */
/* SCROLLBAR STYLING (ROYAL BLUE) */
/* ===================== */

/* Chrome, Edge, Safari */
.main-nav::-webkit-scrollbar {
    width: 6px;
}

.main-nav::-webkit-scrollbar-track {
    background: transparent;
}

.main-nav::-webkit-scrollbar-thumb {
    background-color: #4169e1; /* royal blue */
    border-radius: 10px;
}

/* Firefox */
.main-nav {
    scrollbar-width: thin;
    scrollbar-color: #4169e1 transparent;
}


/* ===================== */
/* SIDE DRAWER MENU */
/* ===================== */
.main-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;

    width: 50%;
    height: 100vh;

    background: #0c1a32;
    flex-direction: column !important;

    /* hidden state */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;

    z-index: 9999;
    overflow-y: auto;
}

/* ACTIVE STATE (SLIDE IN) */
.main-nav.active {
    transform: translateX(0);
}

/* MENU STRUCTURE */
.menu {
    flex-direction: column !important;
    width: 100%;
    margin-top: 60px; /* space for top */
}

.menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.menu > li > a {
    display: block;
    color: #fff !important;
    text-transform: uppercase;
    padding: 14px 25px; 
    text-align: left;
}


/* SUB MENU */
.menu .sub-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
    padding: 0 20px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transition: max-height 0.3s ease;
}

.menu li.open > .sub-menu {
    max-height: 500px;
    padding: 10px 20px;
}

.sub-menu li {
    display: block;
    margin: 0;
    border: none;
}

.sub-menu li a {
    display: block;
    padding: 10px 35px;
}


/* CONTACT BUTTON */
.btn-contact {
    display: block !important;
    width: 80%;
    margin: 20px auto;
    padding: 10px;
    background: #0055ff !important;
    text-align: center;
}

	  .fl-bg-video {
        position: absolute !important;
        inset: 0;
        overflow: hidden !important;
    }

    .fl-bg-video video {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        width: auto !important;
        height: auto !important;

        transform: translate(-50%, -50%) !important;

        object-fit: cover !important;
        object-position: 70% center !important;
    }
}
/* ===================== */
/* VERY SMALL MOBILE (≤480px) */
/* ===================== */
@media (max-width: 480px) {

    /* SIDE MENU FULL WIDTH */
    .main-nav {
        width: 100% !important;
    }

    /* MENU ITEMS SPACING */
    .menu > li > a {
        padding: 16px 20px;
        font-size: 15px;
    }

    /* SUBMENU INDENT REDUCED (fits small screen better) */
    .sub-menu li a {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* SUBMENU CONTAINER */
    .menu .sub-menu {
        padding: 0 15px;
    }

    .menu li.open > .sub-menu {
        padding: 10px 15px;
    }

    /* CONTACT BUTTON FULL WIDTH FEEL */
    .btn-contact {
        width: 90%;
        font-size: 14px;
    }

    /* LOGO SMALLER */
    .logo img,
    .custom-logo-link img {
        max-height: 32px;
    }

    /* SCROLLBAR THINNER (optional cleaner look) */
    .main-nav::-webkit-scrollbar {
        width: 4px;
    }
}


/* ===================== */
/* FOOTER */
/* ===================== */

.site-footer {
    background-color: #111;
    color: #ccc;
    padding: 40px 60px;
    text-align: center;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget-title {
    color: #fff;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    margin-top: 20px;
}