/* Global Styles */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;
}
   
body {
    background-color: #ffffff;
    color: #3F4847;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
}

   
   
  
/* Animation for bounce and rotate */
@keyframes bounceRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.nav-logo {
    width: 50px;
    height: auto;
    vertical-align: middle;
    cursor: pointer;
}

.nav-logo.bounce-rotate {
    animation: bounceRotate 1s ease-in-out;
}
   

   nav ul li {
    margin-right: 20px;
   }
   
   nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
   }
   
   nav ul li a:hover {
    color: #bbb;
   }
   
   /* Hero Section */
   .hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Vertically center the content */
    align-items: center; /* Horizontally center the content */
    text-align: center;
    padding-top: 1rem; /* Space below the navigation bar */
    overflow: hidden; /* Prevent content from overflowing the hero section */
    margin-bottom: auto;
}
   
   .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire screen */
    z-index: -1;
   }
   
   .hero-content {
    z-index: 1; /* Ensure it appears above the video */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Space between elements */
}
   
   .hero h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    color: #ffffff; /* Set the text color to white */

   }
   
   .hero p {
    font-size: 1.2rem;
    margin-bottom: 20px; /* Space between text and button */
   }
  
/* Animation for bounce and rotate */
/* Animation for bounce and rotate */
@keyframes bounceRotate {
    0% {
        transform: scale(.3) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Base styles for the hero logo */
.hero-logo {
    width: 30%;
    max-width: 300px;
    height: auto;
    position: relative;
    z-index: 1;
    cursor: pointer; /* Optional for interactivity */
    animation: bounceRotate 3s ease-in-out; /* Trigger animation automatically */
    animation-fill-mode: forwards; /* Ensures the element stays in the end state after animation */
}


/* Trigger animation on hover */
.hero-logo:hover {
    animation: bounceRotate 0.6s ease-in-out; /* Same as nav logo */
}


   /* Quote Button */
   .btn {
    background-color: #3F4847; /* Black background */
    color: #fff; /* White text */
    padding: 20px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    transition: background-color 0.3s;
   }
   
   .btn:hover {
    background-color: #333; /* Lighter shade on hover */
   }
   
   
   /* Portfolio Section */
   .portfolio {
    padding: 60px 20px;
    text-align: center;
   }
   
   .portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
   }
   
   .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-items: center;
   }
   
   /* Portfolio images - smaller and with rounded corners */
.portfolio-item img {
    width: 100%; /* Responsive size for the grid */
    height: auto;
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.portfolio-item img:hover {
    transform: scale(1.05); /* Slight scale-up on hover */
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 80%; /* Control the image size */
    max-height: 80%;
    object-fit: contain; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for modal image */
    transition: transform 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.05); /* Slight scale-up on hover for modal images */
}

/* Modal control buttons */
.controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

   
   /* Modal Transitions */
   .modal.fade-in {
    animation: fadeIn 0.5s;
   }
   
   @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
   }
   .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #3F4847;
    justify-content: center;
    align-items: center;
   }
   
   /* Global Styles */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
   }

   
   /* Navigation Bar */
   nav {
    background-color: #3F4847;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem; /* Adjust this to make the nav thinner */
}

   
   nav ul {
    list-style: none;
    display: flex;
   }
   
   nav ul li {
    margin-right: 20px;
   }
   
   nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
   }
   
   nav ul li a:hover {
    color: #bbb;
   }
   
   /* Contact Section Styling */
   .contact {
    padding: 60px 20px;
    background: white;
    text-align: center;
    font-size: 2rem;
   }

   #form-footer {
    margin-top: 40px; /* Space between submit button and footer section */
    background-color: #3F4847;
    color: white;
    text-align: center;
    padding: 15px 10px; /* Adjust padding for better layout */
    border-radius: 8px; /* Optional rounded corners */
}

#form-footer .social-media {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between icons */
    margin-bottom: 10px; /* Space below social media icons */
}

#form-footer .social-icon {
    width: 40px; /* Smaller icons for form integration */
    height: auto;
    transition: transform 0.3s ease;
}

#form-footer .social-icon:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

#form-footer p {
    margin: 5px 0; /* Spacing between paragraphs */
    font-size: 0.9rem; /* Slightly smaller text */
}

#form-footer .footer-contact p {
    margin: 5px 0;
    font-size: 0.85rem; /* Smaller contact details */
}

#form-footer .footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem; /* Adjust link font size */
}

#form-footer .footer-link:hover {
    text-decoration: underline;
}

   
   
   /* Form Styling */
   form {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
   }
   
   .form-group {
    margin-bottom: 20px;
    text-align: left;
   }
   
   .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #333;
   }
   
   .form-group input,
   .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
   }
   
   .form-group input:focus,
   .form-group textarea:focus {
    border-color: #000;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    outline: none;
   }
   
   /* Button Styling */
   .btn {
    background-color: #3F4847;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
   }
   
   .btn:hover {
    background-color: #333;
   }
   

   /* Global Styles */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
       font-family: 'Arial', sans-serif;
   }
   
   body {
       background-color: #ffffff;
       color: #3F4847;
       line-height: 1.6;
   }
   
   /* Navigation Bar */
   nav {
       background-color: #3F4847;
       color: #fff;
       display: flex;
       justify-content: space-between;
       align-items: center;
   }
   
   
   nav ul li {
       margin-right: 20px;
   }
   
   nav ul li a {
       color: #fff;
       text-decoration: none;
       font-weight: bold;
   }
   
   nav ul li a:hover {
       color: #bbb;
   }
   
   /* About Section and Service Boxes */
   .section {
       padding: 40px 20px;
       text-align: center;
   }
   
   .content-box {
    background-color: #3F4847;
    color: #fff;
    padding: 30px; /* Adjust padding inside the box */
    margin-bottom: 20px;
    border-radius: 10px;
    max-width: 1500px; /* Limit the maximum width */
    margin-left: auto;
    margin-right: auto; /* Center the box */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 60px;

    /* Additions for responsiveness */
    word-wrap: break-word; /* Prevents text overflow */
    overflow-wrap: break-word; /* Alternative for word wrapping */
    text-align: center; /* Centers text */
}

/* Adjustments for smaller screens */
@media (max-width: 468px) {
    .content-box {
        padding: 20px; /* Reduce padding for smaller screens */
        max-width: 90%; /* Reduce max width for smaller screens */
    }

    .content-box h2, .content-box h3 {
        font-size: 1.5rem; /* Reduce font size for headings */
    }

    .content-box p {
        font-size: 1rem; /* Adjust font size for readability */
    }
}

.content-box h2, .content-box h3 {
    font-size:45px;
    margin-bottom: 20px;
    color: #fff;
    white-space: normal; /* Allows text to wrap naturally */
    word-break: break-word; /* Breaks long words to fit */
    overflow-wrap: break-word; /* Alternative wrapping */
}

.content-box p {
    font-size: 1.2rem;
    color: #ddd;
}

.content-box:hover {
    background-color: #3d514d;
    transform: translateY(-10px);
}

   
   /* Images */
   .work-image {
    width: 100%;
    max-width: 600px;
    height: 400px; /* Set a specific height to standardize image dimensions */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    margin-left: auto;
    transition: transform 0.3s ease;
    object-fit: cover; /* Crops and centers image to fit defined width and height */
}

@media (max-width: 468px) {
    .work-image {
        max-width: 90%; /* Reduce width for smaller screens */
    }
}
#epoxy-work .work-image {
    width: 100%;
    max-width: 700px; /* Larger maximum width for images */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    transition: transform 0.3s ease;
    object-fit: cover; /* Ensures the image fills the space */
}


   
   .work-image:hover {
       transform: scale(1.05);
   }
   
   
   /* Global Styles */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
   }
   
   body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
   }
   
   
   nav ul li {
    margin-right: 20px;
   }
   
   nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
   }
   
   nav ul li a:hover {
    color: #bbb;
   }
   

   .services {
       padding: auto;
       text-align: center;
       background-color: white;
   }
   
   .services h2 {
       font-size: 60px;
       margin-bottom: 60px;
       color: #333;
   }
   
   .service-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Default: 6 items in a row */
    gap: 15px; /* Space between items */
    justify-content: center; /* Center the grid content */
    align-items: center; /* Align items vertically */
    margin: 20px;
}

/* Adjust for smaller screens */
@media (max-width: 700px) { /* Target smaller devices */
    .service-list {
        grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    }
}

@media (max-width: 468px) { /* Target very small devices */
    .service-list {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    }
}

@media (max-width: 480px) { /* For mobile devices */
    .service-list {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
}


/* Divider Styling */
.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #3F4847, #fff, #3F4847);
    margin: 40px 0; /* Space around the divider */
    opacity: 0.6; /* Slightly faded look */
}

   
.service-item {
    background-color: #3F4847;
    color: #fff;
    padding: 5px; /* Reduce padding inside each service item */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
   
   .service-item:hover {
       transform: translateY(-10px);
       background-color: #3d514d;
   }
   
   .service-item h3 {
       font-size: 1.8rem;
       margin-bottom: 10px;
   }
   
   .service-item p {
       font-size: 1.2rem;
       color: #ddd;
   }
   
   .service-img {
       width: 100%;
       border-radius: 5px;
       margin: 10px, auto;
       height:auto;
   }

   /* Service Item Hover Effect */
.service-item {
    background-color: #3F4847;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-10px); /* Moves the element up slightly */
    background-color: #3d514d;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); /* Increase shadow depth to enhance the levitating effect */
}

   
   /* Footer */
   footer {
    width: 100%;
       background-color: #3F4847;
       color: white;
       text-align: center;
       padding: 20px;
       margin-top: 60px;
       margin-bottom: 0;
   }
   
   /* Modal Styling */
/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #3F4847; /* Dark background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 60%; /* Adjust this value to control the size of the image */
    max-width: 800px; /* Maximum size to maintain image quality */
    max-height: 80%; /* Limit the height to avoid very tall images */
    object-fit: contain; /* Ensure the image maintains its aspect ratio */
    border-radius: 10px;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Apply rounded corners to all modal images */
.modal-content {
    width: 60%;
    max-width: 800px;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px; /* Ensure rounded corners are applied */
}

img {
    border-radius: 10px; /* Apply to all images globally, if needed */
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 20px;
}
/* About Section Background */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;
}

body {
    background-color: transparent; /* Set body background to transparent */
    color: #3F4847;
    line-height: 1.6;
}

.lumber-img, .restoration-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.lumber-img:hover, .restoration-img:hover {
    transform: scale(1.05);
}
/* Consistent styling for all service images */
.service-img {
    width: 100%;            /* Full width within the container */
    max-width: 300px;       /* Sets a consistent max width for images */
    height: 200px;          /* Consistent height for all images */
    border-radius: 10px;    /* Rounded corners */
    margin-bottom: 15px;    /* Space below images */
    transition: transform 0.3s ease; /* Smooth hover effect */
    object-fit: cover;      /* Ensures the image scales to fit the container */
}

.service-item {
    background-color: #3F4847; /* Matches the background color */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.service-item:hover {
    transform: translateY(-10px); /* Moves the element up slightly */
    background-color: #3d514d;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1.2rem;
    color: #ddd;
    text-align: center; /* Center align text for consistency */
}

/* Style for the down arrow */
.scroll-arrow {
    display: block;
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-top: 80px;
    animation: bounce 1.5s infinite;
    cursor: pointer;
    text-decoration: none;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;
}




nav a {
    text-decoration: none;
}

.nav-logo {
    width: 50px;
    height: auto;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #bbb;
}

/* Navigation Bar */
nav {
    background-color: #3F4847;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem; /* Adjust this to make the nav thinner */
    position: relative; /* Required for absolute positioning of mobile nav */
    z-index: 10;
}

.nav-links {
    list-style: none;
    display: flex; /* Default layout for larger screens */
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #bbb;
}

/* Hamburger Menu (Hidden by Default) */
.hamburger {
    display: none; /* Hidden on larger screens */
    flex-direction: column;
    cursor: pointer;
    z-index: 20; /* Above the content */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Show Hamburger and Hide Links for Smaller Screens */
@media (max-width: 480px) {
    .hamburger {
        display: flex; /* Show hamburger menu */
    }

    .nav-links {
        display: none; /* Hide the menu by default */
        flex-direction: column; /* Stack items vertically */
        background: #3F4847; /* Background for dropdown */
        position: absolute;
        top: 60px; /* Below the navbar */
        right: 0;
        width: 200px;
        border-radius: 10px;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex; /* Show the menu when toggled */
    }

    .nav-links li {
        margin: 10px 0; /* Add spacing between menu items */
        text-align: center; /* Center align menu items */
    }
}

/* Hamburger Animation */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0; /* Hide the middle bar */
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



/* Inventory Section */
.inventory {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.inventory h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #333;
}

/* Inventory List */
.inventory-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Inventory Item */
.inventory-item {
    background-color: #3F4847;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.inventory-item:hover {
    transform: translateY(-10px);
    background-color: #3d514d;
}

.inventory-item h3 {
    font-size: 1.8rem;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
    
}

.inventory-item p {
    font-size: 1rem;
    color: #ddd;
}

.inventory-item strong {
    color: #fff;
}

.inventory-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.inventory-img:hover {
    transform: scale(1.05);
}


/* For Mobile Screens */
@media (max-width: 468px) {
    .hero {
        padding-top: 8rem; /* Add more space for mobile nav */
    }

    .hero-logo {
        width: 50%; /* Shrink the logo on smaller screens */
        max-width: 200px; /* Adjust maximum size for smaller devices */
    }

    .hero-content h1 {
        font-size: 2rem; /* Adjust heading size */
    }

    .hero-content a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* For Tablets */
@media (min-width: 468px) and (max-width: 1024px) {
    .hero-logo {
        width: 40%; /* Slightly larger for tablets */
        max-width: 250px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* For Desktops */
@media (min-width: 1024px) {
    .hero {
        padding-top: 6rem; /* Maintain spacing below the nav */
        margin-bottom: 80px;
    }

    .hero-logo {
        width: 30%; /* Default size for desktops */
        max-width: 300px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
}

:root {
    --animation-version: 1; /* This changes on page load */
}

/* Update the animation with the version variable */
.hero-logo {
    animation: bounceRotate var(--animation-version) 2s ease-in-out;
}


/* Clients Section */
.clients {
    padding: auto;
    text-align: center;
    background-color: #ffffff;
}

.clients h2 {
    font-size: 60px;
    margin-bottom: 60px;
    color: #333;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

.client-logo img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 5px;
    margin-top: auto;
}

.client-logo:hover {
    transform: translateY(-10px); /* Slight upward movement */
}

/* Adjust the grid for the Partners section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between items */
    justify-items: center;
    padding: 20px; /* Add padding around the grid */
}

/* Style for the links in the footer */
.footer-link {
    color: white; /* Ensures the links are white */
    text-decoration: none; /* Removes the underline */
}

.footer-link:hover {
    text-decoration: underline; /* Optional: underline on hover for better UX */
}


.social-media {
    margin-left: 20px;
    margin-top:10px;
    gap:20px; /* Adds space between icons */
}

.social-icon {
    width: 50px; /* Adjust size as needed */
    height: auto;
    margin: 10px;
    transition: transform 0.3s; /* Smooth hover effect */
}

.social-icon:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}



.footer-link:hover {
    text-decoration: underline;
}

/* Ensure footer content is stacked properly on smaller screens */
@media (max-width: 468px) {
    .footer-content {
        flex-direction: column; /* Stack content vertically */
        text-align: center; /* Center align content */
    }
    .social-media {
        margin-bottom: 10px; /* Add space between social icons and text */
    }
}

/* Service Area Section */
.service-area {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 40px; /* Adds spacing inside the section (20px top/bottom, 40px left/right) */
    text-align: center;
    margin-bottom: 40px; /* Space below this section */
    max-width: 1100px; /* Restrict maximum width of the content */
    margin-left: auto; /* Center the section horizontally */
    margin-right: auto; /* Center the section horizontally */
}


.service-area-content h2 {
    font-size: 60px;
    color: #333;
    padding: 0;
    letter-spacing: 2px;
    margin-top: auto;
}

.service-area-content .service-area-image {
    max-width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Optional: Adds a subtle shadow */
    margin-top: 60px; /* Space above the image */
}
