@font-face {
    font-family: 'thin-inter';
    src: local('thin-inter'), url('fonts/Inter_18pt-Light.ttf'), format("truetype");

}
@font-face {
    font-family: 'times-new-roman';
    src: local('times-new-roman'), url('fonts/TIMESBI.TTF'), format("truetype");
    
}

*{
    margin: 0;
    padding: 0;
    font-family: 'thin-inter', sans-serif;
    box-sizing: border-box;
}

/* General Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'thin-inter', sans-serif;
    color: white;
    background: #080808; /* Fallback background color */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Header */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #080808;
    position: fixed;
    max-height: 70px;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    max-width: 100;
    flex-shrink: 0; /* Prevent the logo from shrinking */
    padding-top: 194px;
    margin-left: 0px;
}

.logo-circle {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #ffffff 60%, #d3d3d3 100%);
    border-radius: 50%;
    z-index: 0;
}

.logo-circle img {
    position: relative;
    width: 380px;
    height: auto;
    z-index: 1;
}


.nav-options {
    display: flex;
    gap: 25px; 
    align-items: center;
    margin-left: auto;
}

.nav-options a {
    color: white;
    text-decoration: none;
    font-size: 23px;
    transition: color .5s ease;
    position: relative;
    white-space: nowrap;
}

.nav-options a:hover {
    color: #339ef6; 
}

/* Underline bar that slides in on hover */
.nav-options a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* Height of the sliding bar */
    background-color: #85d23d; /* Green color for the bar */
    transition: width 0.3s ease; /* Smooth sliding transition */
}

.nav-options a:hover::after {
    width: 100%; /* Bar width expands to 100% on hover */
}

.nav-options a:hover {
    color: skyblue;
}

/* Menu Button */
#menuButton {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    display: none;
    
}

#menuButton.hidden {
    display: none; /* Hide the hamburger menu when the sliding menu is open */
}

/* Sliding Menu */
#slidingMenu {
    position: fixed;
    top: 0;
    right: -300px; /* Start off-screen */
    width: 300px;
    height: 100vh;
    background-color: #0b0b0b;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease; /* Smooth slide-in effect */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#slidingMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#slidingMenu li a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    transition: color 0.3s ease;
}

#slidingMenu li a:hover {
    color: #85d23d;
}

/* Close Button */
#closeMenu {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
}

/* Show Sliding Menu */
#slidingMenu.show {
    right: 0; /* Slide in the menu */
}

/* Overlay (optional for focus management) */
body.menu-open {
    overflow: hidden; /* Prevent scrolling when menu is open */
}

/* Background Images Section */
.background-container {
    position: relative; /* Allows the container to scroll with the page */
    width: 100%; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden; /* Prevent overflow */
    background: #080808; /* Fallback background color */
}

.background-scroller {
    display: flex;
    width: 100%; /* Ensure the scroller matches the viewport width */
    height: 100%; /* Ensure the scroller matches the viewport height */
    transition: transform 1s ease-in-out; /* Smooth scrolling effect */
    position: relative; /* Keep the scroller positioned correctly */
}

.background-scroller .image {
    flex: 0 0 100%; /* Each image spans the full width of the viewport */
    height: 100%; /* Match the height of the viewport */
    position: relative; /* Keeps the image aligned */
}

.background-scroller .image img {
    width: 100%; /* Image scales to fit the full width of the container */
    height: 100%; /* Image scales to fit the height of the container */
    object-fit: cover; /* Ensure the image fills the container without distortion */
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    z-index: 1001;
    background-color: rgba(8, 8, 8, 0.5);
    color: white;
    font-size: 30px;
    border: none;
    padding: 10px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #080808;
}


@media (max-width: 900px) {
    .logo {
        max-width: 100;
        flex-shrink: 0; /* Prevent the logo from shrinking */
        padding-top: 100px;
        margin-left: 0px;
    }

    .logo-image {
        width: 240px;
        height:auto;
        object-fit: contain;
    }

    .logo-circle {
        position: relative;
        width: 200px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-circle img {
        position: relative;
        width: 240px;
        height: auto;
        z-index: 1;
    }
    
    .nav-options {
        display: none;
    }
    #menuButton {
        display: block; /* Show menu button on smaller screens */
    }

    #slidingMenu {
        display: flex; /* Ensure the sliding menu is enabled */
    }

    .nav-button {
        display: none;
    }
}

/* Normal Navigation for Larger Screens */
@media (min-width: 901px) {
    nav {
        display: flex;
        justify-content: flex-end;
        gap: 20px;
    }

    nav a {
        font-size: 18px;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    nav a:hover {
        color: #85d23d;
    }
}


/* Content Sections */
section {
    padding: 100px 10%;
    min-height: 100vh;
    color: white;
    position: relative;
    z-index: 1002; /* Ensure content scrolls over the background */
}


/* About Section */
#about {
    display: none;
    background-color: #080808;
    text-align: center;
    padding: 80px;
    min-height: auto;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

#about h1 {
    font-size: 48px;
    color: #85d23d;
    margin-bottom: 30px;
}

#about p {
    font-size: 20px;
    color: #ccc;
    line-height: 1.8;
}


/* Services Section */
#services {
    background-color: #080808;
    color: white;
    padding: 80px 5%;
}

#services h1 {
    font-size: 48px;
    margin-bottom: 70px;
    text-align: center;
    color: #85d23d; /* Green color for the heading */
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 40px;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 520px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.feature-text h2 {
    font-size: 36px;
    color: #85d23d;
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-image {
    flex: 1;
    cursor: pointer;
}

.feature-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-image.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-image.split img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.03);
}


.image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    cursor: zoom-out;
}

.image-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
}

/* Back to Selection Button */
#backToSelection {
    background-color: #85d23d;
    color: white;
    padding: 15px 30px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    display: block;
    margin: 0 auto;
    transition: background-color 0.3s ease;
    position: relative;
    scroll-margin: 30px;
}

#backToSelection:hover {
    background-color: #55920f;
    color:#080808
}

/* Responsive Design for Smaller Screens */
@media (max-width: 900px) {

    .feature-list {
        gap: 80px;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-text {
        max-width: 100%;
        margin: 0;
        padding: 0 10px;
    }

    .feature-text h2 {
        font-size: 28px;
    }

    .feature-text p {
        font-size: 16px;
    }

    .feature-image {
        width: 100%;
    }

    .feature-image.split {
        grid-template-columns: 1fr;
    }

    .feature-image.split img {
        height: 260px;
    }

    .feature-image img {
        width: 100%;
        max-height: 260px;
        border-radius: 10px;
    }
}



#testimonials {
    display: none;
    background-color: #080808;
    padding: 80px;
    min-height: auto;
}

#testimonials h1 {
    text-align: center;
    font-size: 48px;
    color: #85d23d;
    margin-bottom: 60px;
}

.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial {
    background: #0f0f0f;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.testimonial .quote {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.testimonial .author {
    font-size: 16px;
    color: #85d23d;
}

@media (max-width: 900px) {
    .testimonial-list {
        grid-template-columns: 1fr;
    }

    .testimonial {
        padding: 24px;
    }

    .testimonial .quote {
        font-size: 16px;
    }
}



#contact {
    background-color: #080808;
    color: white;
    padding: 50px 30%;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* Space between text and form */
}

.contact-left {
    flex: 1;
    text-align: center;
}

.contact-left h1 {
    font-size: 48px;
    color: #85d23d;
    margin-bottom: 20px;
}

.contact-left p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-logo {
    width: 300px;
    height: auto;
}

.contact-right {
    flex: 1;
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    background-color: #222;
    color: white;
}

.contact-right input::placeholder,
.contact-right textarea::placeholder {
    color: #ccc;
}

.contact-right button {
    background-color: #85d23d;
    color: white;
    padding: 10px 15px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-right button:hover {
    background-color: #55920f;
    color:#080808
}

#msg{
    color:#85d23d;
    margin-top: 10px;
    display: block;
    text-align: center;
}

@media (max-width: 1600px) {
    #contact {
        background-color: #080808;
        color: white;
        padding: 0px 4%;
    }

    .contact-logo {
        width: 150px;
        height: auto;
    }

    .contact-container {
        flex-direction: column; /* Stack text and form vertically */
        align-items: flex-start; /* Align items to the left */
        gap: 20px; /* Add space between the text and form */
        padding: 10px 0%;
        margin-left: 0%;
    }

    .contact-left, .contact-right {
        flex: unset; /* Remove fixed flex-basis */
        width: 100%; /* Make both sections take full width */
    }

    .contact-left h1 {
        text-align: center; /* Center-align the title */
    }

    .contact-left p {
        text-align: center; /* Center-align the contact details */
        margin-bottom: 10px;
        word-wrap: break-word; /* Ensure long words wrap cleanly */
        white-space: nowrap; /* Keep phone number on one line */
    }

    .contact-right form {
        width: 100%; /* Ensure the form spans full width */
        align-items: center; /* Center-align the form inputs */
        gap: 15px; /* Add spacing between form elements */
    }

    .contact-right input,
    .contact-right textarea {
        width: 100%; /* Ensure inputs and textarea span full width */
        padding: 12px; /* Increase padding for better touch experience */
        font-size: 16px; /* Adjust font size for better readability */
    }

    .contact-right textarea {
        min-height: 120px; /* Ensure the textarea is taller */
    }

    .contact-right button {
        width: 100%; /* Ensure the button spans the full width */
        padding: 15px; /* Add more padding for better visibility */
        font-size: 18px; /* Make the button text larger */
    }
}

/* Floating Back to Top Button */
#backToTopButton {
    position: fixed;
    bottom: 20px; /* Position from the bottom of the viewport */
    right: 20px; /* Position from the right of the viewport */
    width: 50px;
    height: 50px;
    background-color: rgba(133, 210, 61, 0.8); /* Transparent green */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1004;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTopButton:hover {
    background-color: rgba(133, 210, 61, 1); /* Full green on hover */
    transform: scale(1.1); /* Slightly larger when hovered */
}

#backToTopButton:active {
    transform: scale(1); /* Reset scale when clicked */
}