* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    min-height: 50vh;
    height: 45%;
    background: url(../img/home3.jpg) no-repeat center center;
    background-size: cover;
    margin-top: 5em;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: 0.3s;
}


/* Navbar Styles */
.nav-container {
    position: fixed;  /* Ensures navbar stays on top */
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000; /* Ensures navbar is above all content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}


.nav-left, .nav-right {
    display: flex;
    gap: 200px;
    list-style-type: none; /* Remove black dots */
    align-items: center;
}

.nav-left a, 
.nav-right a, 
.dropdown-toggle {
    text-decoration: none;
    color: black;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-left a:hover,
.nav-right a:hover,
.dropdown-toggle:hover {
    color: red;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    list-style: none;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    display: block;
}


.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: black;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Logo */
.logo img {
    max-width: 150px;
    height: auto;
}

/* Hamburger Menu */
/* Ensure the menu button is visible */
.menu-btn {
    display: block;
    cursor: pointer;
    font-size: 24px;
    z-index: 1100;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-left, .nav-right {
        display: none; /* Initially hidden */
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
    }

    .nav-container.active .nav-left,
    .nav-container.active .nav-right {
        display: flex; /* Show when active */
    }
}




.about {
    text-align: center;
    padding: 200px 180px 140px; /* Adjust bottom padding to make space for the video */
    background-size: cover;
    background-position: center;
    background-color: transparent;
    margin-top: 40px;
    color: whitesmoke;
    font-size: 60px;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 0 5px 10px rgb(0,0,0,1);
}



/* Hero Section */
.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero .text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d52020;
    max-width: 800px;
    line-height: 1.4;
    margin: 0 auto;
    animation: fadeInDown 1.6s ease;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Modern Button Style */
.services button {
    padding: 15px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: rgb(22, 14, 14);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services button:hover {
    background-color: rgb(135, 126, 126);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.services a {
    text-decoration: none;
}

/* Simple Fade-in Animation */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*footer design starts here**/
footer {
    position: relative;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: ghostwhite;
    color: black;
    padding: 10px 0;
    transition: bottom 0.5s ease-in-out;
    text-align: center;
}

footer .footer-info p{
    text-align: center;
}

/* Ensure the page has enough height to push the footer down */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Pushes the footer to the bottom */
}

.footer-info p:last-child {
    color: #bbb; /* Light grey color */
    font-size: 14px; /* Adjust size for readability */
    text-align: center; /* Center the text */
    margin-top: 5px; /* Space from other footer content */
}

.footer-info p:last-child a {
    color: #ddd; /* Slightly brighter grey for the link */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make name stand out */
    transition: color 0.3s ease-in-out; /* Smooth hover effect */
}

.footer-info p:last-child a:hover {
    color: #ffffff; /* Change color to white on hover */
    text-decoration: underline; /* Add underline on hover */
}

/*footer design ends here*/

/*horizontal slidder*/
.s-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 500px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    align-items: center;
}

.s-container .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 5px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 50%;
}

.slide .item:nth-child(4){
    left: calc(50% + 220px);
}

.slide .item:nth-child(5){
    left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}


.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
    text-shadow: 0 5px 10px rgb(0,0,0,1);
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
    text-shadow: 0 5px 10px rgb(0,0,0,1);
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
    text-shadow: 0 5px 10px rgb(0,0,0,1);
}

.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}


.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}


