@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin:0;
    padding:0;
}


/* =========================
   HEADER
========================= */

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    width: 90%;
    max-width: 1500px;
    min-height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Logos */

.header-logo {
    display: block;
    flex-shrink: 0;
}

.header-logo img {
    width: 310px;
    max-height: 110px;
    object-fit: contain;
    padding: 10px;
}

/* Default logo */

.logo-normal {
    display: block;
}

/* Dark logo hidden before scrolling */

.logo-sticky {
    display: none;
}

/* Sticky header */

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.10);
}

.main-header.sticky .logo-normal {
    display: none;
}

.main-header.sticky .logo-sticky {
    display: block;
}


/* =========================
   NAVIGATION
========================= */

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 35px 0;
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.main-header.sticky .nav-list > li > a {
    color: #222222;
}

.nav-list > li > a:hover {
    color: #e49b32;
}

.arrow {
    margin-left: 3px;
    font-size: 12px;
}

/* Partner link */

.nav-list > .partner-link > a {
    padding: 12px 14px;
    border: 1px solid currentColor;
    border-radius: 3px;
}


/* =========================
   PRODUCTS DROPDOWN
========================= */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -413px;
    width: 1120px;
    /* max-height: 380px; */
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    padding: 12px;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.dropdown-menu a {
    font-family: "Montserrat", sans-serif;

    display: block;
    padding: 11px 10px;
    color: #333333;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
}

.dropdown-menu a:hover {
    color: #e49b32;
    background: #f5f5f5;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================
   HERO IMAGE SLIDER
========================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 550px;
    overflow: hidden;
    background: #222222;
}

/* Individual slides */

.hero-slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);

    transition: opacity 1s ease, transform 5s ease,
                visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Black overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

/* Text container */

.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1500px;
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
}

/* Left-side vertical center text */

.hero-content {
    width: 100%;
    max-width: 700px;
    padding-top: 90px;
    color: #ffffff;
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #f0b34f;
}

.hero-content h1 {
    margin: 0 0 22px;
    font-family: "Montserrat", sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.18;
    color: #ffffff;
}

.hero-content p {
    max-width: 600px;
    margin: 0 0 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #f1f1f1;
}

/* Banner buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-btn {
    font-family: "Montserrat", sans-serif;

    display: inline-block;
    padding: 15px 25px;
    background: #ff0000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ff0000;
    border-radius: 3px;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #c9811e;
    border-color: #c9811e;
}

.hero-btn-outline {
    background: transparent;
    border-color: #ffffff;
}

.hero-btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #222222;
}


/* =========================
   SLIDER DOTS
========================= */

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 5%;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 30px;
    height: 5px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.slider-dot.active {
    width: 45px;
    background: #e49b32;
}


/* Banner Side Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);

    color: #ffffff;
    font-size: 20px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}

.slider-arrow:hover {
    background: #e49b32;
    border-color: #e49b32;
    color: #ffffff;
}

/* Mobile Arrows */
@media (max-width: 600px) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }
}



/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: none;
    padding: 5px;
    border: none;
    background: transparent;
    color: #000;
    font-size: 30px;
    cursor: pointer;
}

.main-header.sticky .menu-toggle {
    color: #222222;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1200px) {
    .header-container {
        gap: 15px;
    }

    .header-logo img {
        width: 145px;
    }

    .nav-list {
        gap: 13px;
    }

    .nav-list > li > a {
        font-size: 12px;
    }
}

@media (max-width: 950px) {
    .header-container {
        min-height: 80px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: #ffffff;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.10);
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        display: block;
        padding: 10px 5%;
    }

    .nav-list > li > a,
    .main-header.sticky .nav-list > li > a {
        padding: 14px 5px;
        color: #222222;
        font-size: 14px;
        border-bottom: 1px solid #eeeeee;
    }

    .nav-list > .partner-link > a {
        margin: 10px 0;
        padding: 12px;
        text-align: center;
        border: 1px solid #dddddd;
    }

    /* Mobile dropdown */

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        max-height: 300px;
        grid-template-columns: 1fr;
        padding: 5px 10px;
        overflow-y: auto;

        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f7f7f7;
    }

    .dropdown.open > .dropdown-menu {
        display: grid;
    }

    .dropdown-menu a {
        padding: 10px;
    }

    .hero-slider {
        height: 620px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-content h1 {
        font-size: 44px;
    }
}

@media (max-width: 600px) {
    .header-container,
    .hero-container {
        width: 90%;
    }

    .header-logo img {
        width: 220px;
        max-height: 170px;
    }

    .hero-slider {
        height: 580px;
        min-height: 520px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.25;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-btn {
        padding: 13px 17px;
        font-size: 13px;
    }

    .slider-dots {
        bottom: 20px;
    }
}
