* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;

}

/* ----------------------------------------------- Navbar start ------------------------------------------------------------------- */
/* Existing Navbar Styles */
.navbar {
    background: #fff;
    height: 6.25rem; /* 100px */
    display: flex;
    font-size: 2rem;
    z-index: 1000; /* Ensure navbar is above submenu */
    position: fixed;
    top: 0;
    width: 100%; /* Full width */
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6.25rem;
    width: 100%;
    padding: 0 1rem; /* Padding for smaller screens */
}

#pms_logo {
    height: 3rem;
    width: auto;
    margin: 0;
    margin-left: 112%;
    margin-top: 6%;
}

.navbar_menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 6%;
    margin-bottom: 1%;
}

.navbar_item {
    display: flex;
    align-items: center;
    position: relative; /* For absolute positioning of submenu */
}

.navbar_button {
    border: none;
    background-color: #fff;
    margin: 0 1.25rem;
    font-size: 1rem;
    color: #00A651;
    cursor: pointer;
    padding: 0;
    position: relative;
    letter-spacing: 1px;
    margin-top: 3rem;
    display: flex;
    align-items: center;
}

/* Underline Effect on Hover for Navbar Button */
.navbar_item .navbar_button::after {
    content: "";
    background-color: #00A651;
    height: 3px;
    position: absolute;
    width: 0; 
    left: 0;
    bottom: -0.35rem;
    opacity: 0;
    transition: all 0.6s;
    pointer-events: none;
}

.services-toggle:hover .navbar_button::after {
    opacity: 1;
    width: 100%; 
}

/* Navbar Links Styling */
.navbar_menu .navbar_links {
    color: #00A651;
    display: flex;
    position: relative;
    text-decoration: none;
    margin: 0 1.25rem;
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    align-items: center;
}

.navbar_menu .navbar_links::after {
    content: "";
    background-color: #00A651;
    height: 3px;
    width: 0%;
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    opacity: 0;
    transition: all 0.6s;
    pointer-events: none;
}

.navbar_menu .navbar_links:hover::after {
    opacity: 1;
    width: 100%;
}

/* Language Switcher Button Styling */
.navbar_lang {
    border: none;
    background-color: #fff;
    color: #9e9b9b;
    display: flex;
    position: relative;
    text-decoration: none;
    margin: 0 1.25rem;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 1rem;
    cursor: pointer;
}

/* Sticky Navbar Styling */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    height: 6.25rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure navbar is above submenu */
}

.content-wrapper {
    padding-top: 6.25rem; 
}

/* Hover-Based Submenu Display */
.services-toggle {
    position: relative;
}

/* Hover-Maintaining Div Styling */
.hover-maintain {
    height: 2rem; /* Increased height from 1rem to 2rem */
    width: 100%; /* Span the full width */
    /* No box-shadow or background */
}

/* Submenu Styling */
.services-slide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Slight upward movement for animation */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 105.5%;
    left: -2.7rem;
    background: #fff;
    border: none;
    z-index: 999; /* Below navbar */
    width: 17rem; /* 1rem margin on both sides */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    list-style-type: none;
}

.services-toggle.active .services-slide {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move to original position */
}

/* Submenu Links Styling */
.serv-nav-item {
    display: block;
    text-decoration: none;
    color: #00A651;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    text-align: left;
    padding-left: 4rem;
    letter-spacing: 1px;
}

.services-slide .serv-nav-item {
    justify-content: center;
}

.serv-nav-item:hover {
    color: #9e9b9b;
}

.en-slide.show-lang-slide {
    display: block;
}

.toggle-slide {
    display: none;
    position: absolute;
    top: 6.2rem;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    text-align: center;
}

#fiala {
    margin-top: 1%;
}

/* Show the submenu when active */
.services-toggle.active .services-slide {
    display: block;
}

/* Disable transitions when no-transition class is present */
.services-toggle.no-transition .services-slide {
    transition: none;
}

.language-switcher-container {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
}

#language-toggle-button {
    font-size: 1rem;
    margin-top: 3rem;
    border: none;
    color: #9e9b9b;
}

.language-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 120px;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-dropdown li {
    width: 100%;
}

.language-dropdown li button {
    width: 100%;
    padding: 1.2rem 0.75rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    color: #9e9b9b;
    font-size: 1rem;
}

.language-dropdown li button:hover {
    color: #00A651;
}

#anchor_nav {
    color: #00A651;
    margin-left: -1rem !important;
    margin-right: 0.9rem;
    padding: 0;
    font-size: 1rem;
    margin-top: 1rem;
}
    


/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) { 

    .navbar_container {
        display: flex;
        justify-content: space-between;
        margin-left: 0;
    }

    .navbar_menu,
    .services-slide,
    .en-slide {
        display: none;
    }

    .navbar.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    #mobile_dash_menu {
        margin-right: 3rem;
        cursor: pointer;
        display: block;
    }

    #mobile_dash_menu .bar {
        display: block;
        width: 1.9rem;
        height: 3px;
        background-color: #00A651;
        margin: 0.4rem 0;
    } 

    #pms_logo {
        height: 3rem;
        width: auto;
        margin: 0; /* Remove margin to center it better */
        margin-left: 44%;
        margin-top: 7%;
    }

    /* Styling the toggle-slide */
    .toggle-slide {
        display: none;
        position: absolute;
        top: 6.2rem;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        text-align: center;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
        left: 0;
        right: 0;
    }

    .toggle-slide.show-toggle-slide {
        display: block;
    }

    /* Show the toggle sublists */
    .toggle-slide .show-sublist {
        display: block !important;
    }

    /* Ensure the navbar links are styled correctly for mobile */
    .toggle-slide a {
        display: block;
        padding: 3vh;
        text-decoration: none;
        color: #00A651;
        margin: 0;
        font-size: 2.6vw;
    }

    .navbar_links::after {
        display: none;
    }

    /* Styling the sublists */
    .sub-services {
        padding-left: 0;
        display: none; /* Hidden by default */
        transition: max-height 0.5s ease, opacity 0.5s ease;
    }

    .sub-services a {
        display: block;
        text-decoration: none;
        color: #fff !important;
        text-align: center;
        margin-right: 0;
        background-color: #00A651 !important;
        padding: 3vh;
        width: 100%;
        margin-left: 0 !important;
        font-size: 2.6vw;
    }

    .toggle-slide #language-toggle-button {
        padding: 0;
        margin: 0;
    }

    #language-toggle-button .navbar_lang {
        display: block;        /* Make it cover the full width */
        width: 100%;           /* Ensure the button takes up the full width */
        height: 8vh;
        padding: 0;
        text-align: center;      /* Align the text to the left */
        cursor: pointer;       /* Ensure the pointer cursor is shown */
        background-color: transparent; /* No background */
        border: none;          /* Remove button border */
        color: #9e9b9b;        /* Button text color */
        margin: 0;
        font-size: 2.6vw;
    }
    
    #language-toggle-button .navbar_lang:hover {
        background-color: #f0f0f0; /* Optional: Background change on hover */
        color: #007f45;            /* Optional: Text color change on hover */
    }

    .services-container {
        display: flex;
        justify-content: center;
        gap: 1.5rem; /* Adjust as needed */
        align-items: first baseline;
        margin-right: 1rem;
    }

    #toggle-services {
        padding-right: 0;
    }

    #toggle-services,
    #anchor_nav {
        display: inline-block;
    }

    #anchor_nav {
        font-size: 2.6vw;
    }
    
    #language-toggle-button-toggle {
        width: 100vw;
        border: none;
        padding: 3vh;
        font-size: 2.4vw;
        color: #9e9b9b;
        align-items: center;
        margin-left: 1%;
    }

    #language-dropdown-toggle {
        width: 100vw;
    }

    .language-btn {
        font-size: 2.4vw !important; /* Ensure the font-size is applied to language buttons */
        color: #9e9b9b;
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: center !important;
        padding: 3vh !important;
    }
}

/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .navbar_menu,
    .services-slide,
    .en-slide {
        display: none;
    }

    .navbar_container {
        display: flex;
        justify-content: space-between; /* Space out the logo and the menu icon */
        align-items: center; /* Vertically center the items */
        height: 6.25rem; /* Ensure the height is consistent */
        padding: 0 1rem; /* Add padding to the sides */
    }

    #mobile_dash_menu {
        cursor: pointer;
        display: block;
        margin-right: 5%;
    }

    #mobile_dash_menu .bar {
        display: block;
        width: 1.9rem;
        height: 3px;
        background-color: #00A651;
        margin: 0.4rem 0;
    } 

    .toggle-slide {
        display: none; /* Initially hidden */
        position: absolute;
        top: 6.2rem;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        text-align: center;
        left: 0;
        right: 0;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    }
    
    .toggle-slide.show-toggle-slide {
        display: block; /* This will make it visible */
        
    }

    .sub-services a,
    .sub-lang a {
        display: block;
        text-decoration: none;
        color: #fff !important;
        text-align: center;
        margin-right: 1.5rem;
        background-color: #00A651 !important;
        padding: 3.2vh;
        font-size: 3.6vw;
    }

    .toggle-slide a {
        display: block;
        padding: 3.2vh;
        text-decoration: none;
        color: #00A651;
        margin: 0;
        font-size: 3.6vw;
    }

    .navbar_links::after {
        display: none;
    }

    #pms_logo {
        margin-left: 11%;
        margin-top: 7%;
    }

    .toggle-slide #language-toggle-button {
        padding: 0;
        margin: 0;
    }
    
    .services-container {
        display: flex;
        justify-content: center;
        gap: 1.5rem; /* Adjust as needed */
        align-items: first baseline;
        margin-right: 1rem;
    }

    #toggle-services {
        padding-right: 0;
    }

    #toggle-services,
    #anchor_nav {
        display: inline-block;
    }

    #anchor_nav {
        font-size: 3.6vw;
    }
    
    #language-toggle-button-toggle {
        width: 100vw;
        border: none;
        padding: 3vh;
        font-size: 3.6vw;
        color: #9e9b9b;
        align-items: center;
        margin-left: 1%;
    }

    #language-dropdown-toggle {
        width: 100vw;
    }

    .language-btn {
        font-size: 3.6vw !important; /* Ensure the font-size is applied to language buttons */
        color: #9e9b9b;
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: center !important;
        padding: 3vh !important;
    }
}


/* For phones */
@media (max-width: 479px) {

    .navbar_menu,
    .services-slide,
    .en-slide {
        display: none;
    }

    .navbar_container {
        display: flex;
        justify-content: space-between; /* Space out the logo and the menu icon */
        align-items: center; /* Vertically center the items */
        height: 6.25rem; /* Ensure the height is consistent */
        padding: 0 1rem; /* Add padding to the sides */
    }

    #mobile_dash_menu {
        cursor: pointer;
        display: block;
        margin-right: 5%;
    }

    #mobile_dash_menu .bar {
        display: block;
        width: 1.9rem;
        height: 3px;
        background-color: #00A651;
        margin: 0.4rem 0;
    } 

    .toggle-slide {
        display: none; /* Initially hidden */
        position: absolute;
        top: 6.2rem;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        text-align: center;
        left: 0;
        right: 0;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    }
    
    .toggle-slide.show-toggle-slide {
        display: block; /* This will make it visible */
        
    }

    .sub-services a,
    .sub-lang a {
        display: block;
        text-decoration: none;
        color: #fff !important;
        text-align: center;
        margin-right: 1.5rem;
        background-color: #00A651 !important;
        padding: 3.2vh;
        font-size: 4.6vw;
    }

    .toggle-slide a {
        display: block;
        padding: 3.2vh;
        text-decoration: none;
        color: #00A651;
        margin: 0;
        font-size: 4.6vw;
    }

    .navbar_links::after {
        display: none;
    }

    #pms_logo {
        margin-left: 11%;
        margin-top: 7%;
    }

    .toggle-slide #language-toggle-button {
        padding: 0;
        margin: 0;
    }
    
    .services-container {
        display: flex;
        justify-content: center;
        gap: 1.5rem; /* Adjust as needed */
        align-items: first baseline;
        margin-right: 1rem;
    }

    #toggle-services {
        padding-right: 0;
    }

    #toggle-services,
    #anchor_nav {
        display: inline-block;
    }

    #anchor_nav {
        font-size: 4.6vw;
    }
    
    #language-toggle-button-toggle {
        width: 100vw;
        border: none;
        padding: 3vh;
        font-size: 4.6vw;
        color: #9e9b9b;
        align-items: center;
        margin-left: 1%;
    }

    #language-dropdown-toggle {
        width: 100vw;
    }

    .language-btn {
        font-size: 4.6vw !important; /* Ensure the font-size is applied to language buttons */
        color: #9e9b9b;
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: center !important;
        padding: 3vh !important;
    }
}

@media (min-width: 1920px) {
    
    .navbar_button {
        border: none;
        background-color: #fff;
        margin: 0 1.25rem;
        font-size: 1.2rem;
        color: #00A651;
        cursor: pointer;
        padding: 0;
        position: relative;
        letter-spacing: 1px;
        margin-top: 3rem;
        display: flex;
        align-items: center;
    }

    /* Navbar Links Styling */
    .navbar_menu .navbar_links {
        color: #00A651;
        display: flex;
        position: relative;
        text-decoration: none;
        margin: 0 1.25rem;
        font-size: 1.2rem;
        margin-top: 1rem;
        letter-spacing: 1px;
        cursor: pointer;
        align-items: center;
    }

    #language-toggle-button {
        font-size: 1.2rem;
        margin-top: 3.2rem;
        border: none;
        color: #9e9b9b;
    }

    .language-dropdown li button {
        width: 100%;
        padding: 1.2rem 0.75rem;
        border: none;
        background: none;
        text-align: left;
        cursor: pointer;
        color: #9e9b9b;
        font-size: 1.2rem;
    }

    #anchor_nav {
        color: #00A651;
        margin-left: -1rem !important;
        margin-right: 0.9rem;
        padding: 0;
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    .serv-nav-item {
        display: block;
        text-decoration: none;
        color: #00A651;
        padding: 1rem 0.75rem;
        font-size: 1.2rem;
        text-align: left;
        padding-left: 4rem;
        letter-spacing: 1px;
    }
}

/* ----------------------------------------------- Table start ------------------------------------------------------------------- */

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
    margin-right: 1%;
}

.row {
    display: flex;
    justify-content: center;
    margin-bottom: 1%;
}

.image-container {
    flex: 0 0 auto;
    width: 25.64%; 
    margin: 0 1%; 
    position: relative;
    transition: transform 0.01s ease-in-out;
    z-index: 2;
}

.image-container:first-child,
.image-container:last-child {
    margin: 0; 
}

.image-container img {
    max-width: 100%;
    display: block;
    cursor: pointer;
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) { 

    .gallery {
        margin-top: 0%;
    }
}

/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .gallery {
        margin-top: 0%;
    }
}

/* For phones */
@media (max-width: 479px) {
    
    .gallery {
        margin-top: 0%;
    }
}

/* ----------------------------------------------- Static part start ------------------------------------------------------------------- */

.static-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 14%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    overflow: hidden;
    cursor: pointer;
}

.static-content h4 {
    color: #fff;
    font-size: 1.25vw;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 300;
    margin: 0;
    margin-left: 5.8%;
    padding-top: 1%;
    transition: text-decoration 0.3s ease;
    position: relative;
    z-index: 3;
    width: 100%;

}

.static-content .learn-more {
    text-decoration: none;
    transition: text-decoration 0.3s ease;
    z-index: 3;
    margin-left: 3%;
}

.arrow {
    font-size: 1.5vw;
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) { 

    .static-content {
        width: 100%;
        height: 15%;
    }

    .static-content h4 {
        color: #fff;
        font-size: 2.7vw;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 300;
        margin: 0;
        margin-left: 8%;
        padding-top: 3%;
        transition: text-decoration 0.3s ease;
        position: relative;
        z-index: 3;
    }
    
    .static-content .learn-more {
        text-decoration: none;
        transition: text-decoration 0.3s ease;
        z-index: 3;
        padding-bottom: 4rem;
        font-size: 2.7vw;
    }

    .arrow {
        font-size: 1.7rem;
    }
}

/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .static-content h4 {
        color: #fff;
        font-size: 5.5vw;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 300;
        margin: 0;
        margin-left: 7.5%;
        padding-top: 1%;
        padding-bottom: 5rem;
        transition: text-decoration 0.3s ease;
        position: relative;
        z-index: 3;
    }
    
    .static-content .learn-more {
        text-decoration: none;
        transition: text-decoration 0.3s ease;
        z-index: 3;
        padding-bottom: 5rem;
    }

    .arrow {
        font-size: 5.5vw;
    }
}

/* For phones */
@media (max-width: 479px) {
    .static-content h4 {
        color: #fff;
        font-size: 5.5vw;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 300;
        margin: 0;
        margin-left: 7.5%;
        padding-top: 1%;
        padding-bottom: 5rem;
        transition: text-decoration 0.3s ease;
        position: relative;
        z-index: 3;
    }
    
    .static-content .learn-more {
        text-decoration: none;
        transition: text-decoration 0.3s ease;
        z-index: 3;
    }

    .arrow {
        font-size: 5.5vw;
    }

}

/* ----------------------------------------------- Moving part start ------------------------------------------------------------------- */

.gallery .row {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8%;
}

.gallery .row .image-container {
    flex: 0 0 auto;
    width: 25.97%;
    margin: 0 0.4%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery .row .image-container img {
    max-width: 100%;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    overflow: hidden; 
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: 0.1s ease-in-out;
    z-index: 1; 
}

.image-container:hover::before {
    background:  rgba(0, 166, 81, 0.8); 
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-container:hover .text-overlay {
    opacity: 1; /* Show text on hover */
}

.image-container:hover img {
    transform: scale(1.1); /* Increase the scale factor for zoom effect */
    transition: transform 0.3s ease-in-out;
}

/* Overlay styles */

.gallery .row .image-container .overlay {
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 15%;
    transition: 0.3s ease;
    z-index: 1;
    cursor: pointer;
}

.gallery .row .image-container:hover .overlay {
    height: 42%;
}

.gallery .row .image-container .overlay p {
    opacity: 0;
    color: #fff;
    font-size: 1.22vw;
    margin-left: 6%;
    margin-top: 2%;
    transition: opacity 0.4s ease;
    width: 85%;
    font-weight: 300;
}

.gallery .row .image-container:hover .overlay p {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.gallery .row .image-container .overlay h3 {
    color: #fff;
    font-size: 1.4vw;
    margin-left: 6%;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.gallery .row .image-container .overlay h4 {
    color: #fff;
    font-size: 1.22vw;
    margin-left: 6%;
    margin-top: 0.5%;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 300;
    z-index: 3;
}

.image-container:hover::before #con-end {
    background: none; 
}


#con-end:hover::before {
    background: none; 
}

#gallery-tablet {
    display: none;
}

/* **Tablets (768px to 1024px)** */
@media (min-width: 768px) and (max-width: 1024px) { 

    /* **Hide the desktop gallery** */
    #gallery-desktop {
        display: none;
    }

    /* **Show the tablet gallery container** */
    #gallery-tablet {
        display: block;
    }

    /* **Styles for the tablet gallery** */
    #gallery-tablet .gallery .row {
        display: flex;
        justify-content: center;
        margin: 0;
    }
    
    #gallery-tablet .gallery .image-container {
        flex: 0 0 calc(51%); /* Two images per row */
        position: relative;
        overflow: hidden;
        cursor: pointer;
        box-sizing: border-box;
        margin: 0;
    }
    
    #gallery-tablet .gallery .image-container img {
        width: 100%;
        display: block;
        transition: transform 0.2s ease-in-out;
    }
    
    /* Overlay styles for the tablet gallery */
    #gallery-tablet .gallery .image-container .overlay {
        position: absolute;
        bottom: 8%;
        left: 0;
        right: 0;
        width: 100%;
        height: 20%;
        transition: 0.3s ease;
        z-index: 1;
        cursor: pointer;
    }
    
    #gallery-tablet .gallery .image-container:hover .overlay {
        height: 50%;
    }
    
    #gallery-tablet .gallery .image-container .overlay p {
        opacity: 0;
        color: #fff;
        font-size: 2.7vw;
        margin-left: 8%;
        margin-top: 2%;
        transition: opacity 0.4s ease;
        width: 85%;
    }
    
    #gallery-tablet .gallery .image-container:hover .overlay p {
        opacity: 1;
        transition: opacity 0.2s ease;
    }
    
    #gallery-tablet .gallery .image-container .overlay h3 {
        color: #fff;
        font-size: 3.3vw;
        margin-left: 8%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    
    #gallery-tablet .gallery .image-container .overlay h4 {
        color: #fff;
        font-size: 2.7vw;
        margin-left: 8%;
        margin-top: 0.5%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 300;
        z-index: 3;
    }
}


/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .gallery .row {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        margin: 0;
        padding: 0;
    }
    
    .gallery .row .image-container {
        flex: 0 0 auto;
        width: 101%;
        margin: 0 0 0 0; /* Optional: Add some bottom margin between images */
        position: relative;
        overflow: hidden;
        cursor: pointer;
        padding: 0;
    }

    .gallery .row .image-container .overlay h3 {
        color: #fff;
        font-size: 6.5vw;
        margin-left: 7.5%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    .gallery .row .image-container .overlay h4 {
        color: #fff;
        font-size: 5vw;
        margin-left: 7.5%;
        margin-top: 0.5%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 300;
        z-index: 3;
    }

    .gallery .row .image-container:hover .overlay {
        height: 43%;
    }

    .gallery .row .image-container .overlay p {
        opacity: 0;
        color: #fff;
        font-size: 5vw;
        margin-left: 7.5%;
        margin-top: 2%;
        transition: opacity 0.4s ease;
        width: 85%;
    }

    #gallery-tablet {
        display: none;
    }

    .gallery .row .image-container .overlay {
        bottom: 14%;
    }
}

/* For phones */
@media (max-width: 479px) {

    .gallery .row {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        margin: 0;
        padding: 0;
    }
    
    .gallery .row .image-container {
        flex: 0 0 auto;
        width: 101%;
        margin: 0 0 0 0; /* Optional: Add some bottom margin between images */
        position: relative;
        overflow: hidden;
        cursor: pointer;
        padding: 0;
    }

    .gallery .row .image-container .overlay h3 {
        color: #fff;
        font-size: 6.5vw;
        margin-left: 7.5%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    .gallery .row .image-container .overlay h4 {
        color: #fff;
        font-size: 5vw;
        margin-left: 7.5%;
        margin-top: 0.5%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 300;
        z-index: 3;
    }

    .gallery .row .image-container:hover .overlay {
        height: 43%;
    }

    .gallery .row .image-container .overlay p {
        opacity: 0;
        color: #fff;
        font-size: 5vw;
        margin-left: 7.5%;
        margin-top: 2%;
        transition: opacity 0.4s ease;
        width: 85%;
    }

    #gallery-tablet {
        display: none;
    }

    .gallery .row .image-container .overlay {
        bottom: 14%;
    }
}

/* ----------------------------------------------- Contact form ------------------------------------------------------------------- */

.container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-top: 8%;
    margin-bottom: 14%;

}

form .title {
    margin-bottom: 8rem; 
    margin-left: auto; 
    margin-right: auto; 
    text-align: center; 
    position: relative;
}

form .title::after {
    content: "";
    position: absolute;
    bottom: -2.2rem;
    left: 50%; 
    transform: translateX(-50%); 
    width: 10rem; 
    height: 2px; 
    background-color: #00A651; 
}

form .title h4 {
    font-size: 2.7rem;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

form .title h5 {
    font-size: 1rem;
    font-weight: 300;
    text-transform: none;
}

form .first,
form .third {
    display: flex;
    flex-direction: column;
}

form .second {
    display: flex;
    justify-content: space-between;
    
}

form textarea {
    margin-top: 0.5%;
}

form .second .item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1%;
}

form .second .item input {
    width: 49.5vh;
    margin-top: 0.5%;
}

form .first input {
    margin-top: 0.5%;
}

form .third #message {
    margin-bottom: 3%;
    height: 7rem;
    font-size: 1rem;
    border: 1px solid #bcbcbc;
    font-size: 1.2rem;
    outline: none;
    padding-top: 0.7rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #504f4f;
}

form .fourth {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100vh;
}

#submitBtn{
    position: relative;
    background-color: #00A651;
    color: #fff;
    border: none;
    padding: 1.3rem 1.7rem;
    margin-top: 3%;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 10%;
    overflow: hidden;
    z-index: 1; 
    white-space: nowrap;
}

#submitBtn::before {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 0;
    background-color: #04753b;
    transition: height 0.3s ease-in-out; 
    z-index: -1;
}

#submitBtn:hover::before {
    height: 100%;
}

form .fourth .item p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #504f4f;
    margin-left: 0;
    width: 100%;
}

label {
    font-size: 0.9rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem; /* Add top padding if needed */
    margin-bottom: 0.5rem; /* Use margin to space from inputs */
    color: #7a7a7a;
}

form input {
    margin-bottom: 1%;
    height: 3.2rem;
    border: 1px solid #bcbcbc;
    font-size: 1.2rem;
    outline: none;
    padding: 1rem;
    color: #504f4f;
    padding-right: 1rem;
}

form .first input {
    width: 100vh;
}

mark.green {
    color: #00A651;
    background-color: #fff;
    font-size: 1.1rem;
}

mark.white {
    color: #fff;
    background-color: #fff;
    font-size: 1.1rem;
}

.clickable-text {
    color: #00A651;
    background-color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}


/* Hide overlay by default */
.overlay2 {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    animation-duration: 0.5s;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 0;
}

.overlay-content2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 120vh;
    max-height: auto;
    background-color: #fff;
    color: #fff;
    text-align: left;
    overflow-y: auto; /* Enable scrolling if content exceeds max-height */
}

.overlay-content2 img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; 
}

.close-btn {
    position: absolute;
    margin-top: 0;
    right: 0;
    cursor: pointer;
    color: rgba(255, 255, 255,);
    background-color: #00A651;
    font-size: 3rem;
    z-index: 1001;
    padding: 0 7px;

}

/* CSS for the animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

.opened {
    animation-name: slideDown;
    display: block;
}

.closed {
    animation-name: slideUp;
    display: block;
}

.overlay2 .text-document {
    display: block;
    background-color: #fff;
    padding: 0;
    color: #111;
    width: 100%;
    max-width: 1200px;
    height: auto;
    text-align: left;
    z-index: 1001;
    overflow-y: auto; /* Allows scrolling for long content */
    max-height: 80vh; /* Ensure content doesn't overflow screen */
}

.overlay2 .text-document #konc {
    padding-bottom: 3rem;
}

.overlay2 .text-document h2 {
    margin-left: 7%;
    margin-top: 4%;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    width: 90%;
}

.overlay2 .text-document p {
    width: 90%;
    margin-left: 7%;
    font-size: 1.05rem;
    font-weight: 300;
    margin-top: 0%;
    width: 87%
}

.hidden {
    display: none;
}

/* Style for invalid fields */
.invalid-input {
    border: 2px solid red;
}

.invalid-label {
    color: red;
}

.invalid-mark {
    color: red;
}

#uploadBtn {
    position: relative;
    background-color: #888585; /* Light grey background */
    color: #fff;
    border: none;
    padding: 19px 25px;
    margin-top: 3%;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-right: 10px; /* Adjust this to place it closer to the submit button */
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

#uploadBtn::before {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 0;
    background-color: #504f4f; /* Slightly darker grey for hover effect */
    transition: height 0.3s ease-in-out;
    z-index: -1;
}

#uploadBtn:hover::before {
    height: 100%;
}

#uploadBtn .upload-icon {
    width: 40px;
    height: auto;
    margin-right: 8px; /* Spacing between icon and text */
    vertical-align: middle;
}

/* Ensure the buttons align properly next to each other */
.fourth .item {
    display: flex;
    align-items: center;
}

#submitBtn {
    margin-left: 2%; /* Adjust this to position the buttons properly */
}

#uploadBtn .fas {
    font-size: 22px; /* Adjust this value for different icon sizes */
    vertical-align: middle;
}

#fileNameDisplay {
    font-size: 1rem;
    color: #629ed9;
}

.first #thx1 {
    font-size: 1.6rem;
    font-weight: 100;
    color: #504f4f;
    margin: auto;
    margin-top: 1rem;
}

.second #thx2 {
    font-size: 1.6rem;
    font-weight: 100;
    color: #504f4f;
    margin: auto;
    margin-top: 0.3rem;
}

.third #thx3 {
    font-size: 1.1rem;
    font-weight: 100;
    color: #504f4f;
    margin-top: 6rem;
    margin-bottom: 5rem;
    text-align: center;
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) { 
    
    .container {
        margin-top: 0;
        margin-bottom: 13%;
    }

    form {
        width: 78%;
    }

    form .second .item input {
        width: 100%;
    }

    form .fourth {
        width: 100%;
    }

    form .first input {
        width: 100%;
    }

    form .third #message {
        height: 6.5rem;
    }

    form .second .item input {
        width: 38.6vw;
    }

    form label {
        font-size: 2vw;
    }

    .overlay-content2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 60vh;
        max-height: auto;
        background-color: #fff;
        color: #fff;
        text-align: left;
        overflow-y: auto; /* Enable scrolling if content exceeds max-height */
    }

    .overlay2 .text-document {
        display: block;
        width: 100%;
        max-width: 1200px;
        height: auto;
        color: #111;
        background-color: #fff;
        padding: 2rem; /* Add padding for better readability */
        text-align: left; /* Set text alignment to left */
        z-index: 999; /* Higher z-index for text-document */
    }
    
    .overlay2 .text-document #konc {
        padding-bottom: 2rem;
    }
    
    .overlay2 .text-document h2 {
        margin-left: 5%;
        margin-top: 3%;
        font-size: 1.7rem;
        font-weight: 300;
        margin-bottom: 3rem;
    }
    
    .overlay2 .text-document p {
        width: 90%;
        margin-left: 5%;
        font-size: 1.2rem;
        font-weight: 300;
    }

    .clickable-text {
        color: #00A651;
        background-color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
    }

    form .title h4 {
        margin-top: 15%;
    }

    form .fourth .item p {
        width: 40vw;
    }
    
}

/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        margin-top: 5%;
        margin-bottom: 10%;
        width: 85%;
        margin-left: 7.5%;
    }

    form .title {
        display: block; /* Ensure it's a block-level element */
        margin-bottom: 5rem;
    }

    form .title h4 {
        font-size: 1.6rem;
    }

    form .title h5 {
        font-size: 0.9rem;
    }

    form .second {
        flex-direction: column;
    }

    form .second .item input {
        width: 100%;
    }

    form .fourth {
        flex-direction: column;
        width: 100%;
    }

    form .fourth button {
        width: 100%;
    }


    form .first input {
        width: 100%;
    }

    form .third #message {
        height: 5rem;
    }

    form .fourth button{
        position: relative;
        background-color: #00A651;
        color: #fff;
        border: none;
        padding: 1.42rem 1.7rem;
        margin-top: 3%;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-left: 0;
        overflow: hidden;
        z-index: 1; 
        white-space: nowrap;
    }

    .overlay-content2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: auto;
        max-width: 47vh;
        background-color: #fff;
        color: #fff;
        text-align: left;
        overflow-y: auto; /* Enable scrolling if content exceeds max-height */
    }

    .overlay2 .text-document {
        display: block;
        width: 100%;
        max-width: 1200px;
        height: auto;
        color: #111;
        background-color: #fff;
        padding: 2rem; /* Add padding for better readability */
        text-align: left; /* Set text alignment to left */
        z-index: 999; /* Higher z-index for text-document */
    }
    
    .overlay2 .text-document #konc {
        padding-bottom: 2rem;
    }
    
    .overlay2 .text-document h2 {
        margin-left: 0;
        margin-top: 3%;
        font-size: 1.4rem;
        font-weight: 300;
        margin-bottom: 3rem;
    }
    
    .overlay2 .text-document p {
        width: 100%;
        margin-left: 0;
        font-size: 1.05rem;
        font-weight: 300;
    }

    form .title::after {
        width: 5rem; 
    }

    .overlay2 .text-document #konc {
        padding-bottom: 1rem;
    }
}

/* For phones */
@media (max-width: 479px) {
    .container {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        margin-top: 5%;
        margin-bottom: 10%;
        width: 85%;
        margin-left: 7.5%;
    }

    form .title {
        display: block; /* Ensure it's a block-level element */
        margin-bottom: 5rem;
    }

    form .title h4 {
        font-size: 1.6rem;
    }

    form .title h5 {
        font-size: 0.9rem;
    }

    form .second {
        flex-direction: column;
    }

    form .second .item input {
        width: 100%;
    }

    form .fourth {
        flex-direction: column;
        width: 100%;
    }

    form .fourth button {
        width: 100%;
    }

    form .first input {
        width: 100%;
    }

    form .third #message {
        height: 5rem;
    }

    form .fourth button{
        position: relative;
        background-color: #00A651;
        color: #fff;
        border: none;
        padding: 1.42rem 1.7rem;
        margin-top: 3%;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-left: 0;
        overflow: hidden;
        z-index: 1; 
        white-space: nowrap;
    }

    .overlay-content2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: auto;
        max-width: 47vh;
        background-color: #fff;
        color: #fff;
        text-align: left;
        overflow-y: auto; /* Enable scrolling if content exceeds max-height */
    }

    .overlay2 .text-document {
        display: block;
        width: 100%;
        max-width: 1200px;
        height: auto;
        color: #111;
        background-color: #fff;
        padding: 2rem; /* Add padding for better readability */
        text-align: left; /* Set text alignment to left */
        z-index: 999; /* Higher z-index for text-document */
    }
    
    .overlay2 .text-document #konc {
        padding-bottom: 2rem;
    }
    
    .overlay2 .text-document h2 {
        margin-left: 0;
        margin-top: 3%;
        font-size: 1.4rem;
        font-weight: 300;
        margin-bottom: 3rem;
    }
    
    .overlay2 .text-document p {
        width: 100%;
        margin-left: 0;
        font-size: 1.05rem;
        font-weight: 300;
    }

    form .title::after {
        width: 5rem; 
    }

    .overlay2 .text-document #konc {
        padding-bottom: 1rem;
    }
}

@media (min-width: 1920px) {
    
    form .title h4 {
        font-size: 2.9rem;
        text-transform: uppercase;
        font-weight: 200;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }
    
    form .title h5 {
        font-size: 1.2rem;
        font-weight: 300;
        text-transform: none;
    }
    
    mark.green {
        color: #00A651;
        background-color: #fff;
        font-size: 1.2rem;
    }
    
    mark.white {
        color: #fff;
        background-color: #fff;
        font-size: 1.2rem;
    }
    
    .clickable-text {
        color: #00A651;
        background-color: #fff;
        font-size: 1.2rem;
        cursor: pointer;
    }

    #uploadBtn {
        position: relative;
        background-color: #888585; /* Light grey background */
        color: #fff;
        border: none;
        padding: 19px 25px;
        margin-top: 3%;
        font-size: 19px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-right: 10px; /* Adjust this to place it closer to the submit button */
        overflow: hidden;
        z-index: 1;
        white-space: nowrap;
    }

    .overlay2 .text-document h2 {
        margin-left: 7%;
        margin-top: 4%;
        font-size: 2.3rem;
        font-weight: 300;
        margin-bottom: 2rem;
        width: 90%;
    }
    
    .overlay2 .text-document p {
        width: 90%;
        margin-left: 7%;
        font-size: 1.2rem;
        font-weight: 300;
        margin-top: 0%;
        width: 87%
    }

    label {
        font-size: 1rem;
        padding-bottom: 1.2rem;
        padding-top: 0.5rem; /* Add top padding if needed */
        margin-bottom: 0.5rem; /* Use margin to space from inputs */
        color: #7a7a7a;
    }
    
    form input {
        margin-bottom: 1%;
        height: 3.2rem;
        border: 1px solid #bcbcbc;
        font-size: 1.3rem;
        outline: none;
        padding: 1rem;
        color: #504f4f;
        padding-right: 1rem;
    }
}
/* ----------------------------------------------- Project ------------------------------------------------------------------- */

.bckgrnd9 {
    position: relative;
    background-image: url("../project/9/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.data h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 8vw;
    margin-left: 10.3%;
    text-transform: uppercase;
    position: relative;
}

.data h3::before {
    content: '';
    position: absolute;
    top: 25%;
    left: -5.4rem; 
    width: 3.6rem; 
    height: 2px; 
    background-color: #00A651;
}

#white::before {
    content: '';
    position: absolute;
    top: 73%; 
    left: -5.4rem; 
    width: 3.6rem; 
    height: 2px; 
    background-color: #fff; 
}


.data h4 {
    font-size: 2.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.5%;
    margin-left: 10.3%;
    text-transform: uppercase;
}

.first_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    margin-top: 10%;
    margin-left: 10.4%;
}

.data .first_container p {
    font-size: 1.32vw;
    font-weight: 300;
    width: 70%;
    margin-top: -0.2rem;
    line-height: 1.5;
    margin-left: 1%;
}

.first_container img {
    max-width: 80%;
    max-height: 100%;
    
}

.title {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 9%;
    text-transform: uppercase;
}

.panel {
    margin-top: 11%;
    background-color: #00A651;
    color: #fff;
    width: 100%;
    height: 16rem;
    position: relative;
}

.panel h3 {
    padding-top: 3%;
    
}

.panel .facts {
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    
}

.panel .facts .fact h5 {
    font-size: 3rem;
    margin-top: 25%;
    position: relative;
    width: 150px; /* Adjust this width based on the longest expected text */
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.additional-text {
    visibility: hidden; /* Hide the extra text initially */
}


.panel h6 {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 5%;
}

.panel h6:hover {
    text-decoration: none;
    cursor: text;
}

.scnd_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    margin-top: 8%;
    margin-left: 10%;
}

.scnd_container p {
    font-size: 1.32vw;
    font-weight: 300;
    width: 70%;
    margin-top: -0.3rem;
    line-height: 1.5;
    margin-left: 1%;
}

.scnd_container img {
    max-width: 80%;
}

.reference {
    margin-top: 3%;
    background-color: #00A651;
    color: #fff;
    width: 35.9%;
    height: auto;
    position: relative;
    /* Remove margin-right to prevent offset from right */
    /* margin-right: 10%; */ /* Commented out or removed */
    margin-left: auto; /* Pushes the element to the right */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers content vertically */
    margin-bottom: 10%;
    margin-right: 9%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.reference .pp {
    width: 100%;
    line-height: 200%;
    margin-left: 8%;
}

.reference .ppp {
    width: 100%;
    line-height: 200%;
    margin-right: 0;
}

.reference p {
    margin-top: 0.3rem;
    font-size: 1.6vw;
    font-weight: 300;
}

@media (min-width: 768px) and (max-width: 1024px) {
    
    .data h3 {
        font-size: 1.2rem;
        margin-top: 8%;
        margin-left: 8.4%;
    }
    
    .data h3::before {
        display: none;
    }
    
    #white::before {
        display: none;
    }

    .panel .facts {
        margin-left: 0%;
    }
    
    .data h4 {
        font-size: 2.3rem;
        font-weight: 600;
        letter-spacing: 1px;
        margin-top: 0.7%;
        margin-left: 8.4%;
        text-transform: uppercase;
    }

    .first_container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }

    .first_container img {
        max-width: 82.5%; /* Adjust image size */
        margin-bottom: 1rem; /* Add space below image */
    }

    .data .first_container p {
        width: 82.5%; /* Adjust text width */
        text-align: left; /* Center the text */
        margin-left: auto;
        margin-right: auto;
        margin-top: 10%;
        font-size: 1.2rem;
    }

    .scnd_container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }
    
    .scnd_container p {
        font-size: 1.2rem;
        font-weight: 300;
        width: 82.5%;
        margin-top: -0.3rem;
        line-height: 1.5;
        margin-left: 0;
        margin-bottom: 10%;
    }
    
    .scnd_container img {
        max-width: 82.5%; /* Adjust image size */
    }

    .reference {
        margin-top: 6%;
        background-color: #00A651;
        color: #fff;
        width: 82.5%;
        height: auto;
        position: relative;
        /* Remove margin-right to prevent offset from right */
        /* margin-right: 10%; */ /* Commented out or removed */
        margin-left: 8.4%; /* Pushes the element to the right */
        display: flex;
        justify-content: center;
        align-items: center; /* Centers content vertically */
        margin-bottom: 10%;
        padding-top: 3%;
        padding-bottom: 3%;
        margin-left: 8.8%;
    }

    #white {
        padding-top: 5%;
    }

    .panel h3 {
        margin-top: 0%;
        
    }

    .reference p {
        font-size: 1.4rem;
    }

}

@media (min-width: 480px) and (max-width: 767px) {
    
    .data h3 {
        font-size: 1rem;
        margin-top: 8%;
        margin-left: 7.3%;
    }
    
    .data h3::before {
        display: none;
    }
    
    #white::before {
        display: none;
    }

    .panel .facts {
        margin-left: 3%;
    }
    
    .data h4 {
        font-size: 2rem;
        font-weight: 600;
        letter-spacing: 1px;
        margin-top: 1%;
        margin-left: 7.3%;
        text-transform: uppercase;
    }

    .first_container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }

    .first_container img {
        max-width: 100%; /* Adjust image size */
        margin-bottom: 0; /* Add space below image */
    }

    .data .first_container p {
        width: 85%; /* Adjust text width */
        text-align: left; /* Center the text */
        margin-left: 0%;
        margin-top: 10%;
        font-size: 1.2rem;
    }

    .scnd_container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }
    
    .scnd_container p {
        font-size: 1.2rem;
        font-weight: 300;
        width: 85%;
        margin-left: 0%;
        margin-bottom: 10%;
    }
    
    .scnd_container img {
        max-width: 100%; /* Adjust image size */
    }

    .reference {
        margin-top: 0;
        background-color: #00A651;
        color: #fff;
        width: 100%;
        height: 12.8rem;
        position: relative;
        /* Remove margin-right to prevent offset from right */
        /* margin-right: 10%; */ /* Commented out or removed */
        margin-left: 0; /* Pushes the element to the right */
        display: flex;
        justify-content: center;
        align-items: center; /* Centers content vertically */
        margin-bottom: 10%;
    }

    .panel {
        margin-top: 11%;
        background-color: #00A651;
        color: #fff;
        width: 100%;
        height: auto;
        position: relative;
    }

    .panel .facts {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers items horizontally */
    }
    
    .fact h5 {
        font-size: 3rem;
        margin-top: 1.5rem;
        position: relative;
        width: 150px; /* Adjust this width based on the longest expected text */
        display: inline-block;
        white-space: nowrap;
        text-align: center;
    }

    #endfact {
        display: flex;
        flex-direction: column; /* Stack h5 and h6 vertically */
        align-items: center;    /* Center them horizontally */
        margin-bottom: 10%;     /* Retain existing margin-bottom */
    }

    .fact h6 {
        text-align: center;
    }

    #white {
        padding-top: 7%;
    }

    .info h3 {
        display: none;
    }

    .panel h3 {
        margin-top: 0%;
    }

    .reference p {
        font-size: 1.2rem;
    }

}

/* For phones */
@media (max-width: 479px) {

    #white {
        display: none;
    }
    
    .data h3 {
        font-size: 1rem;
        margin-top: 9%;
        margin-left: 7.3%;
    }
    
    .data h3::before {
        display: none;
    }

    .info h3 {
        display: none;
    }
    
    #white::before {
        display: none;
    }
    
    .data h4 {
        font-size: 2rem;
        font-weight: 600;
        letter-spacing: 1px;
        margin-top: 1%;
        margin-left: 7.3%;
        text-transform: uppercase;
    }

    .first_container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }

    .first_container img {
        max-width: 100%; /* Adjust image size */
        margin-bottom: 0; /* Add space below image */
    }

    .data .first_container p {
        width: 85%; /* Adjust text width */
        text-align: left; /* Center the text */
        margin-left: 0%;
        margin-top: 10%;
        font-size: 1.2rem;
    }

    .scnd_container {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }
    
    .scnd_container p {
        font-size: 1.2rem;
        font-weight: 300;
        width: 85%;
        margin-left: 0%;
        margin-bottom: 10%;
    }
    
    .scnd_container img {
        max-width: 100%; /* Adjust image size */
    }

    .reference {
        margin-top: 0;
        background-color: #00A651;
        color: #fff;
        width: 100%;
        height: 12.8rem;
        position: relative;
        /* Remove margin-right to prevent offset from right */
        /* margin-right: 10%; */ /* Commented out or removed */
        margin-left: 0; /* Pushes the element to the right */
        display: flex;
        justify-content: center;
        align-items: center; /* Centers content vertically */
        margin-bottom: 10%;
    }

    .reference p {
        font-size: 1.1rem;
    }

    .panel {
        margin-top: 11%;
        background-color: #00A651;
        color: #fff;
        width: 100%;
        height: auto;
        position: relative;
    }

    .panel .facts {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers items horizontally */
        margin-top: 3%;
    }
    
    .fact h5 {
        font-size: 3rem;
        margin-top: 2rem;
        position: relative;
        width: 150px; /* Adjust this width based on the longest expected text */
        display: inline-block;
        white-space: nowrap;
        text-align: center;
    }

    #endfact {
        display: flex;
        flex-direction: column; /* Stack h5 and h6 vertically */
        align-items: center;    /* Center them horizontally */
        margin-bottom: 14%;     /* Retain existing margin-bottom */
    }

    .fact h6 {
        text-align: center;
    }

    #white {
        padding-top: 7%;
    }
}

@media (min-width: 1920px) {

    .data h3::before {
        content: '';
        position: absolute;
        top: 22%;
        left: -5.4rem; 
        width: 3.6rem; 
        height: 2px; 
        background-color: #00A651;
    }

    #white::before {
        content: '';
        position: absolute;
        top: 77%; 
        left: -5.4rem; 
        width: 3.6rem; 
        height: 2px; 
        background-color: #fff; 
    }
  
    .reference p {
        margin-top: 0.3rem;
        font-size: 1.3vw;
        font-weight: 300;
    }

    .panel h6 {
        font-size: 1.2rem;
        font-weight: 300;
        margin-top: 5%;
    }

}

/*-------------------------------------------------- project - slider ---------------------------------------------------------------*/


.slider {
    position: relative;
    overflow: hidden;
    width: 100%; /* Adjust as needed */
    margin-top: 7%;
    --slides-per-view: 3;
}

/* Slides container */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
  }

/* Individual slide */
.slide {
    flex-shrink: 0;
    width: calc(100% / 3); /* Each slide takes up one-third of the container */
    /* Additional styling */
  }

.slide img {
    width: 100%; /* Ensure images fill their containers */
    border: 2px solid white;
}

/* Navigation Buttons Styling */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.71);
    transition: all 1s;
    font-weight: 400;
    background-color: transparent;
    border: none;
    font-size: 3rem;
    cursor: pointer;
}

.prev {
    left: 1.2rem;
}
  
.next {
    right: 1.2rem;
}

.next:hover {
    color: #fff;
}

.prev:hover {
    color: #fff;
}



@media (min-width: 768px) and (max-width: 1024px) {
    
    .slider {
        --slides-per-view: 2;
    }

    .slide {
        height: auto;
    }

    .slider button {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .slider {
        --slides-per-view: 1;
    }

    .slide {
        flex: 0 0 100%; /* Display 1 slide in a row */
        scroll-snap-align: center;
        scroll-snap-stop: always; /* Add this line */
    }

    .slides {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide navigation buttons on small screens if desired */
    .slider button {
        display: none;
    }

    .title h3 {
        display: none;
    }

    .title {
        display: none;
    }

    .reference {
        margin-bottom: 0;
    }
    
    .slider {
        margin-top: 0;
    }
}

/* For phones */
@media (max-width: 479px) {

    .slider {
        --slides-per-view: 1;
    }

    .slide {
        flex: 0 0 100%; /* Display 1 slide in a row */
        scroll-snap-align: center;
        scroll-snap-stop: always; /* Add this line */
    }

    .slides {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide navigation buttons on small screens if desired */
    .slider button {
        display: none;
    }

    .title h3 {
        display: none;
    }

    .title {
        display: none;
    }

    .reference {
        margin-bottom: 0;
    }
    
    .slider {
        margin-top: 0;
    }
}


/*------------------------------------------------ contact start --------------------------------------------------------------------*/

.contact {
    background-image: url("../images/contact.png");
    background-repeat: no-repeat;
    background-size: cover; /* This makes the entire image fit within the container */
    background-position: center; /* Center the image */
    width: 100%;
    max-height: 72vh; /* Keep the max height as desired */
    position: relative;
}

.contact h1 {
    padding-top: 10%;
    margin-left: 10%;
    position: relative;
    color: #111;
    font-size: 3.2rem;
    font-weight: 600;
}

.contact p {
    padding-top: 2%;
    margin-left: 10.3%;
    position: relative;
    color: #111;
    font-size: 1.1rem;
    font-weight: 300;
    width: 45%;
    line-height: 1.5;
}


.con-left {
    position: relative;
    overflow: hidden;
    background-color: #00A651;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 10.3%;
    margin-top: 4%;
    z-index: 1; /* Ensure the button content stays above the pseudo-element */
    margin-bottom: 10%;
}

.con-left::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #04753b;
    transition: top 0.2s ease-in-out;
    z-index: -1; /* Position behind the button content */
}

.con-left:hover::before {
    top: 0;
}

.con-right {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    color: #00A651;
    border: 2px #00A651 solid;
    padding: 0.88rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 1%;
    margin-top: 4%;
    z-index: 1;
    transition: color 0.01s ease-in-out; /* Adding transition for text color change */
}

.con-right::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00A651;
    transition: top 0.2s ease-in-out;
    z-index: -1; /* Position behind the button content */
}

.con-right:hover::before {
    top: 0;
    transition: top 0.3s ease-in-out; /* Transition for pseudo-element on hover */
}

.con-right:hover {
    color: #fff; /* Change text color to white on hover */
}

a {
    text-decoration: none; /* Remove default underline */
}

@media (min-width: 768px) and (max-width: 1024px) {
    
    .contact h1 {
        font-size: 2.5rem;
        margin-left: 8%;
    }

    .contact p {
        font-size: 0.9rem;
        font-weight: 300;
        width: 44%;
        margin-left: 8.2%;
    }

    .con-left {
        padding: 0.8rem 1.5rem;
        font-size: 0.7rem;
        margin-left: 8.2%;
    }

    .con-right {
        padding: 0.68rem 1.5rem;
        font-size: 0.7rem;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .contact h1 {
        font-size: 2rem;
        margin-left: 8%;
    }

    .contact p {
        margin-top: 4%;
        width: 78%;
        margin-left: 8.4%;
    }
    
    .con-left {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
        margin-left: 8.4%;
        margin-bottom: 0;
        margin-top: 10%;
    }

    .con-right {
        padding: 0.6rem 1.34rem;
        font-size: 0.7rem;
        margin-left: 8.4%;
        margin-top: 4%;
        margin-bottom: 15%;
    }
}

/* For phones */
@media (max-width: 479px) {

    .contact h1 {
        font-size: 2rem;
        margin-left: 8%;
    }

    .contact p {
        margin-top: 4%;
        width: 78%;
        margin-left: 8.4%;
    }
    
    .con-left {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
        margin-left: 8.4%;
        margin-bottom: 0;
        margin-top: 10%;
    }

    .con-right {
        padding: 0.6rem 1.34rem;
        font-size: 0.7rem;
        margin-left: 8.4%;
        margin-top: 4%;
        margin-bottom: 15%;
    }
}

@media (min-width: 1920px) {

    .contact p {
        padding-top: 2%;
        margin-left: 10.3%;
        position: relative;
        color: #111;
        font-size: 1.2rem;
        font-weight: 300;
        width: 45%;
        line-height: 1.5;
    }
    
    
    .con-left {
        position: relative;
        overflow: hidden;
        background-color: #00A651;
        color: #fff;
        border: none;
        padding: 1rem 2rem;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-left: 10.3%;
        margin-top: 4%;
        z-index: 1; /* Ensure the button content stays above the pseudo-element */
        margin-bottom: 10%;
    }
    
    .con-right {
        position: relative;
        overflow: hidden;
        background-color: #f9f9f9;
        color: #00A651;
        border: 2px #00A651 solid;
        padding: 0.88rem 2rem;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-left: 1%;
        margin-top: 4%;
        z-index: 1;
        transition: color 0.01s ease-in-out; /* Adding transition for text color change */
    }
}

/*------------------------------------------------ the end part --------------------------------------------------------------------*/

.end {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.end .line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items at the top */
    width: 100%;
    background-color: #36383e;
}

.logos {
    margin-right: 6.95rem;
    display: flex;
    cursor: pointer;
    margin-top: 2.5%;
}

#insta,
.fa {
    padding-right: 1rem; /* Adjust as needed */
    margin: 0;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 58%; /* Adjust the width of the .menu */
    margin-left: 10.3%;
    margin-bottom: 3%;
    margin-top: 3%;
}

.menu h6 {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 1rem;

}

.logo {
    margin-top: 2.5%;
    margin-left: 10.3%;
    margin-bottom: 2%;
    width: 34%;

}

.logo img {
    width: 22%;
}

.end .part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #202123;
    height: auto;
}

.sentence {
    display: flex;
    margin-top: 1.8%;
    margin-left: auto;
    margin-right: 0%;
}

.sentence p {
    color: #cecdcd;
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 3%; /* Removes default bottom margin */
    margin-right: 6.95rem;
    width: 25.85rem;
}


/* Target only <a> elements with data-localize within .navbar_menu */
.menu a[data-localize] {
    color: #fff; /* Desired navbar link color */
    text-decoration: none; /* Remove underline */
    cursor: pointer;
}

.menu a[data-localize]:hover {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    color: #00A651;
}

.con_block {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}

.con_part {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #cecdcd;
    margin-top: 0.5rem;
    font-weight: 200;
}

.con_part a {
    margin-top: 2%;
    color: #cecdcd;
    font-weight: 300;
}

.con_part a[data-localize] {
    color: #cecdcd;
    text-decoration: none; /* Remove underline */
    cursor: pointer;
    font-weight: 300;
    margin-top: 5%;
}


.left_end {
    text-align: left; /* Ensures the text inside <p> starts on the left */
}

@media (min-width: 768px) and (max-width: 1024px) {

    .logo {
        margin-left: 8.1%;
        margin-top: 2.5%;
        align-self: flex-end; /* Align the logo to the bottom */
        width: 25%;
    }   
    
    .end .line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the top */
        width: 100%;
        background-color: #36383e; /* If needed */
    }

    .logo img {
        width: 34%;
    }

    .menu {
        width: 100%; /* Adjust the width of the .menu */
        margin-left: 8.1%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 3%;
    }

    .logos {
        margin-top: 3%;
        margin-right: 3.5rem;
    }

    h6 {
        font-size: 0.8rem;
    }

    .end .part {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* Align the logo and sentence to the bottom */
        width: 100%;
        margin-bottom: 0;
    }

    .sentence {
        display: flex;
        margin-top: 1.8%;
        margin-left: auto;
        margin-right: 0%;
    }
    
    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 0.7rem;
        margin-bottom: 5.5%; /* Removes default bottom margin */
        margin-right: 3.5rem;
        width: 20.1rem;
    }

    .con_part {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .end {
        width: 100%;
        height: auto;
    }

    .menu {
        display: block;
        margin-top: 5%;
        margin-left: 9.1%;
        margin-bottom: 5%;
    }

    .logos {
        margin-top: 5%;
        margin-right: 2rem;
    }

    h6 {
        font-size: 0.7rem;
    }

    .menu a {
        display: block;
        margin-top: 3%;
        color: #fff;
    }

    .end .line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the top */
        width: 100%;
        background-color: #36383e; /* If needed */
    }

    .end .part {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* Align the logo and sentence to the bottom */
        width: 100%;
        margin-bottom: 0;
    }

    .sentence {
        display: block;
        width: 100%;
        margin-left: 8%;
        padding-left: 0;
        margin-top: 2%;
        width: 10.1rem;
        margin-right: 2rem;
    }

    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 0.5rem;
        margin-bottom: 11.5%; /* Removes default bottom margin */
        width: 10.1rem;
    }

    .logo {
        margin-left: 9.1%;
        margin-top: 4%;
        align-self: flex-end; /* Align the logo to the bottom */
        width: 100%;
        margin-bottom: 4%;
    } 

    .logo img {
        width: 5rem;
        margin-top: 2%;
    }

    .logos {
        display: flex;
        align-items: center; /* Align logos vertically at the center */
    }


    h6 {
        margin: 0;
        padding: 0;
        line-height: 1; /* Ensure no extra space around the text */
    }

    .con_part {
        display: none;
    }
}

/* For phones */
@media (max-width: 479px) {

    .end {
        width: 100%;
        height: auto;
    }

    .menu {
        display: block;
        margin-top: 5%;
        margin-left: 9.1%;
        margin-bottom: 5%;
    }

    .logos {
        margin-top: 5%;
        margin-right: 2rem;
    }

    h6 {
        font-size: 0.7rem;
    }

    .menu a {
        display: block;
        margin-top: 3%;
        color: #fff;
    }

    .end .line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the top */
        width: 100%;
        background-color: #36383e; /* If needed */
    }

    .end .part {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* Align the logo and sentence to the bottom */
        width: 100%;
        margin-bottom: 0;
    }

    .sentence {
        display: block;
        width: 100%;
        margin-left: 8%;
        padding-left: 0;
        margin-top: 2%;
        width: 10.1rem;
        margin-right: 2rem;
    }

    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 0.5rem;
        margin-bottom: 11.5%; /* Removes default bottom margin */
        width: 10.1rem;
    }

    .logo {
        margin-left: 9.1%;
        margin-top: 4%;
        align-self: flex-end; /* Align the logo to the bottom */
        width: 100%;
        margin-bottom: 4%;
    } 

    .logo img {
        width: 5rem;
        margin-top: 2%;
    }

    .logos {
        display: flex;
        align-items: center; /* Align logos vertically at the center */
    }


    h6 {
        margin: 0;
        padding: 0;
        line-height: 1; /* Ensure no extra space around the text */
    }

    .con_part {
        display: none;
    }
}

@media (min-width: 1920px) {

    .menu h6 {
        margin: 0;
        padding: 0;
        font-weight: 400;
        font-size: 1.2rem;
    }

    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 1rem;
        margin-bottom: 3%; /* Removes default bottom margin */
        margin-right: 6.95rem;
        width: 25.85rem;
    }

    .con_part {
        display: flex;
        flex-direction: column;
        font-size: 1.1rem;
        color: #cecdcd;
        margin-top: 0.5rem;
        font-weight: 200;
    }
}



/*------------------------------------------------ background images --------------------------------------------------------------------*/

/*-- 4000x1125-----*/

.bckgrnd1 {
    position: relative;
    background-image: url("../project/1/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd2 {
    position: relative;
    background-image: url("../project/2/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}


.bckgrnd3 {
    position: relative;
    background-image: url("../project/3/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}


.bckgrnd4 {
    position: relative;
    background-image: url("../project/4/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd5 {
    position: relative;
    background-image: url("../project/5/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd6 {
    position: relative;
    background-image: url("../project/6/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd7 {
    position: relative;
    background-image: url("../project/7/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd8 {
    position: relative;
    background-image: url("../project/8/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd10 {
    position: relative;
    background-image: url("../project/10/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd11 {
    position: relative;
    background-image: url("../project/11/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd12 {
    position: relative;
    background-image: url("../project/12/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd13 {
    position: relative;
    background-image: url("../project/13/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd14 {
    position: relative;
    background-image: url("../project/14/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd15 {
    position: relative;
    background-image: url("../project/15/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd16 {
    position: relative;
    background-image: url("../project/16/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bckgrnd17 {
    position: relative;
    background-image: url("../project/17/1.jpg");
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Responsive adjustments for all .bckgrnd* classes */
@media (min-width: 768px) and (max-width: 1024px) {
    [class^="bckgrnd"] {
        height: 30vh;
        background-position: center;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    [class^="bckgrnd"] {
        height: 25vh;
        background-position: center;
    }
}

/* For phones */
@media (max-width: 479px) {
    [class^="bckgrnd"] {
        height: 20vh;
        background-position: center;
    }
}