a img {
    text-decoration: none; 
    transition: transform 0.2s ease-in-out;
}

a:hover img {
    transform: scale(1.05);
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-weight: 400;
}

header {
    position: fixed;
    width: 100%;
    padding: 1rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 1000;
    transition: background 1s, padding 0.5s;
}

header.scrolled {
    background: #000000;
    padding: 0.2rem 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-left {
    justify-content: flex-start;
}

.nav-left li a {
    font-size: 1.2rem;
}

.nav-right {
    justify-content: flex-end;
    position: relative;
    padding-right: 3rem;
}

.nav-right li a {
    font-size: 1.5rem; /* Increase font size */
}

.nav-menu {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.80rem;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 400;
}

nav ul li a.active {
    background: #555;
}

nav ul li a:hover {
    color: #a1a1a1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1rem 0rem;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 3px 0;
    transition: 0.4s;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .nav-link {
    color: #fff;
    
    font-weight: 400;
    margin-left: 0.5rem;
    transition: color 0.3s;
}

.navbar-brand:hover .brand-text {
    color: #a1a1a1;
}


.dropdown-menu {
    position: fixed;
    right: 0;
    background: #000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    flex-direction: column;
    width: auto;        /* Change from 100% to auto */
    min-width: 150px;   /* Define minimum width */
    max-width: 200px;   /* Increase maximum width */
    left: auto;         /* Ensure left isn't interfering */
    transition: top 0.5s ease;
}



.dropdown-menu.open {
    display: flex;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: #555;
    color: #a1a1a1;
}

.main-slider {
    height: 100vh;
    overflow: visible;
}

.main-slider .flexslider {
    height: 100%;
}

.main-slider .flexslider .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100vh;
}

.flexslider .flex-next, .flexslider .flex-prev {
    display: none;
}

.navbar-logo {
    filter: brightness(0) invert(1); 
    height: 40px;
}

.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 999;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
}


.slider-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slider-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.flexslider {
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.flexslider .slides {
    margin: 0;
    padding: 0;
}

.flexslider .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flexslider .slides li {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
}

.slides li {
    position: relative;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
        padding: 1rem; 
    }

    .nav-right {
        display: flex;
        align-items: center;
        padding-right: 1rem; 
    }
}

.flexslider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


