html {
    scroll-behavior: smooth;
    scroll-padding: 60px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden; /* Ensure no horizontal scrolling */
}

/* Hero Banner Section */
.hero-banner {
    
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background-image: url('/IMAGES/web-design/section1background.jpg'); /* Replace with the actual path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.933));
    z-index: 1;
}


@media (max-width: 768px) {
    .hero-banner {
        position: relative;
        width: 100%;
        height: 400px; /* Adjust height as needed */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .hero-banner {
        position: relative;
        width: 100%;
        height: 300px; /* Adjust height as needed */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        margin: 0 auto;
    }
}


.section2 {
    height: 500px;
    background-image: url('/IMAGES/web-design/section2background.webp'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-color: #333; /* Fallback background color */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the top */
    align-items: center; /* Center items horizontally */
    padding-top: 50px; /* Creates the 50px space from the top */
    color: rgb(0, 145, 255);
    text-align: center;
    position: relative;
    
    z-index: 3;
}

.text-overlay {
    width: 100%;
    text-align: center;
    
    box-sizing: border-box;
}

.section2 .text-overlay h2 {
    font-size: 2em;
    color: rgb(0, 119, 166);
    margin-bottom: 0.5em;
    z-index: 3;
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.section2 .text-overlay p {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    z-index: 4;
    margin-top: -10px;
    padding-left: 20px;
    padding-right: 20px;
    color: rgb(96, 96, 96);
}

@media (max-width: 520px) {
.section2 {
    position: relative;
}

.section2 .text-overlay h2 {
    font-size: 1.8em;
}

.section2 .text-overlay p {
    font-size: 1.2em;
}


}



.section3 {
  height: 600px;
    background-color: #ffd500; /* Existing background color */
    background-image: url('/IMAGES/web-design/section3background.webp');
    background-repeat: no-repeat; /* Prevents tiling */
    background-size: cover;
    background-position: center;
    
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    padding-top: 50px;
    text-align: center;
    overflow: hidden; /* Prevents any overflow beyond the section boundaries */
    z-index: 3;
}

   

.reveal-content {
    opacity: 0;
    transform: translateY(50px); /* Start slightly shifted down */
    transition: opacity 2s ease, transform 2s ease;
    text-align: center;
    position: relative;
    
}

.reveal-image {
    width: auto;
    height: 500px;
    position: absolute;
    top: 100px;
    bottom: 0;
    
    transform: translateX(-50%);
    
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}


.text-overlay {
    position: relative;
    color: white;
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    
}

.section3 .text-overlay h2 {
    font-size: 2em;
   
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.777));
}

.section3 .text-overlay p {
    margin-top: -10px;
    font-size: 1.5em;
    padding-left: 100px;
    padding-right: 100px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.835));
}

@media (max-width: 768px) {
    .section3 .text-overlay h2 {
        font-size: 2em;
        margin-top: 50px;
    }

    .section3 .text-overlay p {
        font-size: 1.5em;
        padding-left: 20px;
        padding-right: 20px;
    }

    .reveal-image {
        width: auto;
        height: 450px;
        position: absolute;
        top: 150px;
        bottom: 0;
        
        transform: translateX(-50%);
        
    }

}

@media (max-width: 520px) {
    .section3 .text-overlay h2 {
        font-size: 1.8em;
    }

    .section3 .text-overlay p {
        font-size: 1.2em;
    }
}



.cms-section {
    height: 600px;
    background-image: url('/IMAGES/web-design/section4background.jpg'); /* Replace with your background image path */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    z-index: 3; 
}

.cms-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.606); /* Semi-transparent overlay color */
    transition: background-color 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cms-section .overlay {
    opacity: 0; /* Initial state - fully transparent */
    transition: opacity 2s ease-in-out; /* Adjust duration as needed */
}

.cms-section .overlay.fade-in {
    opacity: 1; /* Fully visible when in view */
}

.cms-section .text-overlay {
    position: relative;
    color: #fff;
    padding-left: 50px;
    padding-right: 50px;
}

.cms-section .text-overlay h2 {
    font-size: 2.5em;
    
}

.cms-section .text-overlay p {
    font-size: 1.5em;
}

@media (max-width: 520px) {
    .cms-section {
        min-height: 100px;
        display: flex;
        align-items: center; /* Center items vertically */
        
    }
    
    .cms-section .overlay {
        display: flex;
        align-items: center; /* Center items vertically */
        justify-content: center; /* Center items horizontally */
        flex-direction: column;
        
        
    }
    
    .cms-section .text-overlay {
        margin-top: 50px;
        
        padding-left: 10px;
        padding-right: 10px;
    }


    .cms-section .text-overlay h2 {
     
        font-size: 2em; /* Adjusted font size for smaller screens */
   
    
    }
    
    .cms-section .text-overlay p {
        font-size: 1.5em; /* Adjusted font size for smaller screens */
    }
}



.section5 {
    height: 600px;
    background-image: url('/IMAGES/web-design/section5background.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    z-index: 3;
}

.section5 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.606); /* Semi-transparent overlay color */
    transition: background-color 2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.section5 .overlay {
    opacity: 0; /* Initial state - fully transparent */
    transition: opacity 2s ease-in-out; /* Adjust duration as needed */
}

/* Fade-in effect */
.section5 .fade-in {
    opacity: 1;
    
}

.text-overlay {
    position: relative;
    color: #fff;
}

.text-overlay h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.text-overlay p {
    font-size: 1.5em;
}

@media (max-width: 520px) {
    .section5 {
        height: 350px;
        padding-top: 50px; /* Adds top padding to avoid overlap on smaller screens */
    }
    
    .section5 .text-overlay {
        margin-top: 60px;
    }

    .text-overlay h2 {
        font-size: 2em; /* Adjusted font size for smaller screens */
    }
    
    .text-overlay p {
        font-size: 1.5em; /* Adjusted font size for smaller screens */
    }
    
}

.section6 {
    height: 600px;
    background-image: url('/IMAGES/web-design/section6background.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    z-index: 3;
}

.section6 .overlay {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.726); /* Semi-transparent overlay color */
    height: 50%;
    backdrop-filter: blur(4px);
    transition: background-color 6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.section6 .overlay {
    opacity: 0; /* Initial state - fully transparent */
    transition: opacity 4s ease-in-out; /* Adjust duration as needed */
}

/* Fade-in effect */
.section6 .fade-in {
    opacity: 1;
    
}

.text-overlay {
    position: relative;
    color: #fff;
}

.section6 .text-overlay h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: rgb(123, 255, 0);
}

.text-overlay p {
    font-size: 1.5em;
}

@media (max-width: 520px) {
    .section6 {
        height: 350px;
        padding-top: 50px; /* Adds top padding to avoid overlap on smaller screens */
    }
    
    .text-overlay h2 {
        font-size: 2em; /* Adjusted font size for smaller screens */
    }
    
    .text-overlay p {
        font-size: 1.5em; /* Adjusted font size for smaller screens */
    }
    
}

/* Inquiry Form Section ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.inquiry-section {
    position: relative;
    width: 100%;
    min-height: 600px; /* Full height of the viewport */
    background-color: #333; /* Fallback background color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 50px;
    box-sizing: border-box;
    z-index: 2;
    
}



.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* Display the bottom part of the image */
    opacity: 0.6; /* Slight opacity for blending */
    
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for better contrast */
    z-index: 1;
}

.styled-form {
    position: relative;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    z-index: 2; /* Ensure the form is above the background and overlay */
    box-sizing: border-box; /* Ensure padding is included in width calculations */
    margin: 0; /* Remove default margins */
}

.styled-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.styled-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="tel"],
.styled-form input[type="date"],
.styled-form input[type="time"],
.styled-form select,
.styled-form textarea {
    width: 100%; /* Ensure all elements are the same width */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly opaque background for input fields */
}

.styled-form textarea {
    resize: vertical;
}

/* Style the file upload button */
#inspirationUpload {
    padding: 10px 15px; /* Makes the button larger */
    font-size: 16px;    /* Increases font size */
    margin-bottom: 20px; /* Adds space below the button */
}


.styled-form button {
    width: 100%; /* Matches the width of the input fields */
    padding: 12px 20px; /* Adjusts button height and padding */
    background-color: #007bff; /* Primary color */
    color: #fff; /* Text color */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text for emphasis */
    border: none; /* Removes border */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s; /* Smooth transitions for hover effects */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds depth with shadow */
    margin-top: 20px; /* Spacing from the previous input field */
}


.styled-form button:hover {
    background-color: #0056b3;
    transform: scale(1.02); /* Slight hover scaling effect */
}





