@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --color-primary: #ffc100;
    --color-secondary: #00a9d4;
    --color-dark-blue: #003e4d;
    --color-dark-yellow: #503d00;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-overlay: rgba(0, 0, 0, 0.4);
}
html {
    scroll-behavior: smooth;
}
.text-primary {
    --bs-text-opacity: 1;
    color: var(--color-primary) !important;
}
.text-secondary {
    --bs-text-opacity: 1;
    color: var(--color-secondary) !important;
}
.text-primary-gradient {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(
        124deg,
        var(--color-secondary),
        var(--color-primary) 50%
    );
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: var(--color-secondary) !important;
}

.bg-primary-gradient {
    background-image: linear-gradient(
        90deg,
        var(--color-dark-blue),
        var(--color-dark-yellow) 81%
    );
}

.pointer {
    cursor: pointer;
}
.fm-roboto,
h2,
h3,
h4,
h5,
h6,
h1 {
    font-family: "Roboto Condensed", sans-serif;
    color: black;
}
header {
    z-index: 2;
}
.fm-serif {
    font-family: fangsong, serif;
}
.brand-logo {
    height: 100px;
    width: 100px;
}
.brand-logo img {
    width: 100%;
    height: 100%;
}
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.progress-wrap:after {
    color: var(--color-primary);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-overlay);
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    font-family: "Roboto Condensed", sans-serif;
}
.header-nav {
    z-index: 1;
}
.plus-sign {
    width: 100%;
    margin: 0 auto;
    z-index: 9999;
}

#offcanvasRight {
    width: 100vw;
    max-width: 100vw;
}
#offcanvasRight .nav-link {
    padding: 0.5rem var(--bs-nav-link-padding-x);
    font-size: 28px;
    font-weight: 500;
}

/* General nav link styles */

/* sidebar */

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-secondary) !important;
}

/* Sub-menu styles */
.sub-menu {
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    border-radius: 8px;
    position: relative;
    margin-top: 0.25rem;
}

/* When sub-menu is open */
.sub-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Sub-menu list item */
#offcanvasRight .sub-menu .nav-link {
    padding: 0.1rem var(--bs-nav-link-padding-x);
    font-size: 20px;
}
.sub-menu li a.nav-link {
    transition: color 0.3s ease;
}

.sub-menu li a.nav-link:hover,
.sub-menu li a.nav-link:focus,
.sub-menu li a.nav-link.active {
    color: var(--color-secondary) !important;
}

/* Parent nav item hover & active (dropdown parent) */
.has-submenu > .nav-link {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.has-submenu > .nav-link:hover,
.has-submenu > .nav-link:focus,
.has-submenu > .nav-link.active {
    color: var(--color-secondary);
}

/* Optional: Add caret style for dropdown toggle */
.has-submenu > .nav-link::after {
    content: " ▼";
    font-size: 0.65rem;
    margin-left: 0.3rem;
    vertical-align: middle;
}

/* End Sidebar */
.top-border {
    background-color: transparent !important;
    background-image: var(--color-primary);
    background-size: 80px !important;
    background-position: left;
    background-repeat: no-repeat !important;
    height: 5px !important;
    display: block;
    position: relative;
    top: 20px;
    bottom: 20px;
}

footer .social-menu a {
    color: var(--color-white);
    width: 50px;
    height: 50px;
    background: black;
}
footer .social-menu i {
    font-size: 1.5rem !important;
}
footer .social.social-muted a:not(.btn-circle):not([class*="link-"]) i {
    color: var(--color-white) !important;
}
.link {
    color: white !important;
}
.link:hover,
footer .social.social-muted a:not(.btn-circle):not([class*="link-"]) i:hover {
    color: var(--color-secondary) !important;
}


/* blog */
.blogs-hero {
    position: relative;
    height: 30vh;
    width: 100%;
    overflow: hidden;
}
.product-hero {
    position: relative;
    min-height: 50vh;
    width: 100%;
    overflow: hidden;
}
.feature-icon {
    height: 40px;
    width: 40px;
}
.feature-icon img {
    width: 100%;
    height: 100%;
}
.content-80-vh {
    height: 85vh !important;
}
.post {
    margin-bottom: 1.5rem;
}
.blog-card {
    height: 24.2rem;
}

.blog-show-banner {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    overflow: hidden;
}
.blog-show-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    width: 100%;
}

.blog-content p,
.blog-content ul li {
    color: black;
    font-size: 18px;
    font-weight: 400;
}

.blog-content p {
    margin-bottom: 2rem;
}

.blog-content h2 {
    font-size: 32px;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 3px solid transparent;
    box-shadow: inset 0 -1px 0 black;
    transition: box-shadow 0.2s ease;
}

.blog-content h3 {
    font-size: 25px;
    margin-bottom: 0.3rem;
}

.blog-content h2:hover {
    box-shadow: inset 0 -3px 0 black;
}
.hover-underline a:hover {
    text-decoration: underline;
}
.bg-overlay {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.bg-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgb(7 157 212), rgb(255 255 255 / 70%));
    z-index: -51;
}

/* Diagonal Divider */

.diagonal-divider::after {
    content: "";
    position: absolute;
    display: block;
    height: 5rem;
    background: var(--bg, black);
    border-bottom: 7px solid var(--color-primary);
    width: 100%;
}

.diagonal-divider {
    height: 5px;
    position: relative;
    background-color: #00000000;
    transform: skewY(-3deg);
    transform-origin: top left;
    margin-top: -15px;
}

/* .diagonal-divider.img-divider::after {
    height: 10rem !important;
    background: linear-gradient(
        0deg,
        var(--bg, black) 46%,
        #02225c08 92%,
        #02256400 137%
    ) !important;
    margin-top: -85px !important;
} */

/* <div class="diagonal-divider py-3" style="--bg: #fbff00;"></div> */

.benefits-img {
    width: 100%;
    height: 18rem;
    overflow: hidden;
}
.benefits-img img {
    width: 100%;
}

/* Team Page */
.team-role {
    color: #404040;
}

/* Privacy Policy */
.privacy-policy p {
    margin: 0;
}

.privacy-policy h3 {
    margin-top:12px;
}

/* Media Queries */

@media (min-width: 320px) and (max-width: 576px) {
    .product-short-description {
        font-size: 22px !important;
    }
    .benefits-img {
        height: auto !important;
    }

}
/* Medium devices (md: ≥768px) */
@media (min-width: 768px) {
    .blogs-hero {
        height: 25vh;
    }
    #offcanvasRight {
        width: 50vw;
    }
    .benefits-img {
        height: auto !important;
    }
     .hero-section {
        height: 55vh;
    }
}

/* Desktop (lg: ≥992px) */
@media (min-width: 992px) {
    .blogs-hero {
        height: 45vh;
    }
    .w-lg-75 {
        width: 75%;
    }
    .hero-section {
        height: 100vh;
    }
}

/* Large Desktop (xl: ≥1200px) */
@media (min-width: 1200px) {
    #offcanvasRight {
        width: 30vw;
    }

}
