/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Apply to all sections */
section {
	margin-top: 0px;
}

/* Sticky header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Header text styling */
.sticky-header-text {
    display: flex;
	align-items: center;
	text-align: center;
	font-size: clamp(10px, 2vw, 28px); /* Text scales based on viewport width */
	transition: font-size 0.3s ease;
}

/* Header container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    transition: padding 0.3s;
}

/* Logo styling */
.logo {
    max-height: 120px;
	transition: height 0.3s;
}

/* Shrinking effects on scroll */
.sticky-header.shrink {
    height: 80px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); /* Gradient background */
}

.sticky-header.shrink .header-container {
    padding: 5px 20px;
}

.sticky-header.shrink .logo {
    max-height: 60px;
}

.sticky-header.shrink .sticky-header-text {
    font-size: clamp(10px, 2vw, 20px);
}

/* Navigation menu styles */
.sticky-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.sticky-header nav ul li {
    margin: 0 10px;
}

.sticky-header nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: color 0.3s;
}

.sticky-header nav ul li a:hover {
    color: #007bff;
}

/* Toggle button for mobile view */
#menuToggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}



/* Show the toggle button on small screens */
@media (max-width: 768px) {
    #menuToggle {
        display: block;
		position: absolute;
		right: 10px;
    }

    .sticky-header nav ul {
        display: none; /* Hide the normal menu */
    }

	#navMenu.menu-open {
        display: none; /* Show dropdown vertically when toggled */
		flex-direction: column;
		position: absolute;
		top: 120px;
		right: 0;
		width: 40%;
		background-color: white;
		z-index: 999;
		padding: 10px 0;
	}


    #navMenu li {
        display: block;
    }
}

/* Fixed container for images */
.fixed-container img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.fixed-container {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Media query for small screens */
@media (max-width: 768px) {
    #menuToggle {
        display: block; /* Show the toggle button on small screens */
    }

    /* Hide the horizontal menu on small screens */
    .sticky-header nav ul {
        display: none; 
    }
	
	.sticky-header nav ul li {
        font-size: 16px; /* Default dropdown font size */
        margin: 10px 0; /* Space between dropdown items */
    }

    .sticky-header nav ul li a {
        font-size: 16px; /* Font size of the links in dropdown */
    }
	
    .sticky-header.shrink nav ul li a {
        font-size: 12px; /* Font size of the links in dropdown */
    }

    /* Show vertical dropdown on toggle */
    #navMenu {
        display: none; 
    }

    #navMenu.menu-open {
        display: flex; /* Vertical dropdown when toggled */
    }

    #navMenu li {
        display: block;
    }
}

html {
    scroll-behavior: smooth;
}
