/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
} 

html {
    height: 100%;
}

body {
    font-family: "Montserrat", sans-serif; 
    background-color: #b90001;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
} 

.wrapper {
    flex: 1;
}

/* SNOW ANIMATION */

.snow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snow {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    animation: fallingSnow 3s linear infinite;
    position: absolute;
    left: 10%;
    top: -40px;
}

@keyframes fallingSnow {
 0%{
    transform: translateY(0)
}

100%{
    transform: translateY(100vh)
}
}

.snow:nth-child(1) {
    left: 80%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
    animation-duration: 6s;
}

.snow:nth-child(2) {
    left: 50%;
    width: 30px;
    height: 30px;
    animation-delay: 7s;
}

.snow:nth-child(3) {
    left: 25%;
    width: 40px;
    height: 40px;
    animation-delay: 4s;
}

.snow:nth-child(4) {
    left: 95%;
    width: 30px;
    height: 30px;
    animation-delay: 2s;
}

.snow:nth-child(5) {
    left: 40%;
    width: 25px;
    height: 25px;
    animation-delay: 3s;
}

.snow:nth-child(6) {
    left: 65%;
    width: 45px;
    height: 45px;
    animation-delay: 2s;
}

.snow:nth-child(7) {
    left: 36%;
    width: 25px;
    height: 25px;
    animation-delay: 8s;
}

.snow:nth-child(8) {
    left: 75%;
    width: 15px;
    height: 15px;
    animation-delay: 3s;
}

.snow:nth-child(9) {
    left: 15%;
    width: 15px;
    height: 15px;
    animation-delay: 0s;
}





/* HORIZONTAL LINE STYLES */

hr {
    background-color: #f99420;
    padding: 20px;
    border: #f99420;
}

/* BACKGROUND IMAGE STYLES */

.container {
    width: 100%;
    height: 700px;
    position: relative;
    display: flex;
}

.background-image {
    width: 100%;
    height: 700px;
    object-fit: contain;
}


 /* NAVIGATION STYLES */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

/* Logo styles */

.logo {
    height: 10%;
    width: 20%;
    transform: rotate(9deg);
}

/* Navigation links for desktop */
.nav-items {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    background-color: #b90001;
}


/* Links and button styling */
a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    margin-right: 2rem;
}

a:hover {
    color: #f99420;
}

.btn {
    border: none;
    border-radius: 12px;
    padding: 15px;
    background-color: #f99420;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease; 
}

.btn:hover {
    background-color: #0480AF;
    color: #fff;
}


/* Sidebar (Hamburger Menu) */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #f99420;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    justify-content: flex-start;
    padding: 2rem 1rem;
    transition: right 0.3s ease-in-out;
    gap: 10px;
}

.sidebar .btn {
    background-color: #b90001;
}

/* Sidebar Close Button */
.sidebar i {
    color: white;
    font-size: 30px;
    margin-bottom: 2rem;
    cursor: pointer;
}

/* Hamburger Icon */
.sidebar-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

/* Show the sidebar when active */
.sidebar.open {
    right: 0;
}


h1, p {
    text-align: center;
    color: white;
}


/* BANNER STYLES */


#banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: nowrap; 
    padding: 2rem; 
}

.banner-text {  
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    text-align: center;
    flex-direction: column;
    font-size: 17px;
    margin-top: 2em; 
    gap: 1.5em; 
}

.image-banner {
    width: 100%; 
    max-width: 300px;
    height: auto;
    margin: 2rem; 
    border-radius: 10px;
}

.banner-text h1 {
    color: #f99420;
    margin-bottom: 0.5em; 
}

#banner .btn {
    font-size: 20px;
    padding: 0.8em 1.5em; 
    background-color: #f99420;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#banner .btn:hover {
    background-color: #0480AF; 
    color: #fff;
}


/* CARDS STYLING */

.cards {
    display: flex;
    align-items: stretch; 
    justify-content: space-around;
    gap: 20px;
    padding: 6rem;
    flex-wrap: wrap;
}

.card-1, .card-2, .card-3 {
    background-color: #f99420;
    padding: 6rem 3rem;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    transition: all 0.5s ease-in-out;
    flex: 1; 
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* Similar hover effects for card-2 and card-3 */
.card-1:hover, .card-2:hover, .card-3:hover {
    background-color: #f99420;
    transform: scale(1.1);
}


.cards p {
    font-size: 15px;
    margin-top: 5%;
}

/* IMAGE GRID STYLES */

#title {
    text-align: center;
    background-color: #f99420;
    color: white;
    font-weight: 400;
    padding: 10px;
}


.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: auto;              
    gap: 10px;                              
    background-color: #b90001;
    margin: 2%;
}

/* Grid Item Styling */
.photo {
    align-self: stretch;                    
}

.photo img {
    width: 100%;
    height: 100%;                         
    object-fit: cover;                     
    border-radius: 5px;
}

/* Specific grid placement for individual images */
.image-0 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.image-1 {
    grid-column: 3 / span 1;
    grid-row: 4 / span 1;
}

.image-2, .image-3, .image-4, .image-5 {
    grid-column: span 1;
    grid-row: span 1;                       
}

.image-6 {
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
}

.image-8 {
    grid-column: 4 / span 1;
    grid-row: 1 / span 2;
}

.image-9 {
    grid-column: 3 / span 2;
    grid-row: 3 / span 2;
}

.image-10 {
    grid-column: 3 / span 1;
    grid-row: 1 / span 1;                  
}



/* FOOTER STYLES */

.footer {
    background-color: #f99420;
    padding: 10px;
    position: relative;
}

#footer {
    background-color: #f99420; 
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

#footer p {
    margin: 0;
}


/* FORM STYLES */



form {
    background-color: #f99420;
    padding: 10px;
    border-radius: 5px;
}
#container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-container {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    max-width: 1200px; 
}

.contact-info {
    width: 50%; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
}

.contact-form {
    width: 50%; 
    padding: 20px;
    background-color: #f99420;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 20px;
}

.contact-text {
    color: white;
    text-align: center;
    font-size: 15px;
    margin-top: 0;
    padding: 10px;
}

.contact-text h1 {
    font-size: 30px;
}

.contact-text p {
    margin: 25px 0; 
}

.contact-details {
    display: flex; 
    justify-content: center; 
    flex-direction: column; 
    align-items: center; 
    margin-top: 15px; 
}

.contact-detail {
    display: flex;
    align-items: center; 
    margin: 10px 0; 
}

.contact-detail i {
    margin-right: 10px; 
    font-size: 20px;
    color: white; 
}

.contact-detail a {
    margin: 0; 
    font-size: 15px; 
    color: white; 
}

.contact-detail a:hover {
    color: #f99420;
}

/* Additional styles for the form */
.contact-form input, 
.contact-form textarea {
    margin-bottom: 15px;
    color: black;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form label {
    margin-bottom: 15px;
    color: white;
}

.contact-form textarea {
    resize: none; /
}

input[type=submit] {
    background-color: #b90001;
    border: none;
    color: #fff;
}

input[type="submit"]:hover {
    background-color: #0480AF;
    color: #fff;
}

/* #upload-button {
    border: none;
} */




    /* MEDIA QUERIES*/ 

/*----SMALL SCREENS----*/ 

@media only screen and (max-width: 480px) {

    .nav-items {
        display: none;
    }

    .sidebar-toggle {
        display: block;
        color: white;
    }


    .logo {
        height: 60%;
        width: 70%;
    }

    .sidebar .btn {
        margin-right: 15%;
    }

    .snow-wrapper {
        overflow: hidden;
        position: absolute; 
        width: 100vw;
        height: 100vh;
    }
    


    #banner {
        flex-direction: column;
    }

    .image-banner {
        height: auto;
        width: auto;
        margin-bottom: 0;
        flex-wrap: wrap;
    }

    #banner .btn {
        margin-left: 30px;
    }


    .image-grid {
        display: flex;
        flex-direction: column;
        margin: 5%;
    }

     .cards {
            flex-direction: column; 
            padding: 4rem;
            gap: 15px; 
        }
    
        .card-1, .card-2, .card-3 {
            padding: 2rem 1rem; 
            font-size: 16px; 
            flex-basis: 100%; 
        }        
    


        .contact-info, 
        .contact-form {
            width: 100%; 
            margin: 0;
        }
    
        .form-image img {
            width: 100%; 
            height: auto;
        }
    
        .contact-text h1 {
            font-size: 24px;
        }
        
        .contact-text p {
            font-size: 14px; 
            margin: 10px 0;
        }
    
        .contact-form {
            padding: 10px; 
            margin: 20px; 
        }

        #container {
            flex-wrap: wrap;
        }
    
        .contact-container {
            flex-wrap: wrap;
        }
    
}





    /*----MEDIUM SCREENS----*/

    @media only screen and (min-width: 481px) and (max-width: 1366px) {
        
      
    
        .logo {
            height: 20%;
            width: 30%;
        }
    
        .sidebar .btn {
            margin-right: 15%;
        }

    
    
        #banner {
            flex-direction: column;
        }

        .image-banner {
            margin-bottom: 0;
        }

          .image-grid {
        display: flex;
        flex-direction: column;
        margin: 5%;
    }
  


}















