/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    font-size: 20px;
}

.contact-info {
    font-weight: bold;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 100px;
}

.social-media .icon {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.social-media .icon i {
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.social-media .icon i:hover {
    color: #f8b400;
}

/* Language Selector */
.language-selector {
    margin-left: 15px;
}

.language-selector select {
    padding: 5px;
    border-radius: 5px;
    border: none;
    background-color: white;
    cursor: pointer;
}

/* Navigation Bar */
nav{
    background-color: #080808;
    height: 65px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding-right: 180px;
}

/* Logo Placement */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    padding-left: 20px;
}

/* Navigation Links */
nav ul {
    list-style: none;
    padding-left: 400px;
    margin-left: 400px;
    display: flex;
}

nav ul li {
    margin: 0 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

/* Hover Effect */
nav ul li a:hover {
    color: #f8b400;
    text-decoration: underline;
}

/* Header Section */
header {
    position: relative;
    width: 100%;
    height: 100vh; /* Use full viewport height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px); /* Adjust blur strength */
    background-color: rgba(0, 0, 0, 0.10); /* Optional tint for better contrast */
    z-index: 0; /* Below text (which is z-index 2) but above slideshow images */
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgb(255, 0, 0);
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.scroll-indicator span {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.scroll-indicator i {
    font-size: 40px;
    animation: bounce 2s infinite;
    color: #f80000;
    z-index: 2;
}

/* Fade in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}


/* Slideshow Styling */
/* Slideshow Styling */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Ensure it fills the entire viewport height */
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    top: 0; /* Align image at the top */
    left: 0; /* Align image to the left */
    width: 100%;
    height: 100%; /* Full height of the viewport */
    object-fit: cover; /* Ensure the image fully covers the area without being stretched */
    object-position: center center; /* Keeps the main subject centered */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

/* Main Heading */
header h1 {
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 2; /* Ensures heading is above the slideshow */
}

/* Button Styling */
.book-button {
    display: inline-block;
    background-color: #f8b400;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    z-index: 2; /* Ensure button stays above the slideshow */
}

.book-button:hover {
    background-color: #ffcc00;
}

/* Sticky Button */
#stickyButton {
    position: fixed;
    bottom: 20px;
    right: 60px;
    background-color: #f8b400;
    color: black;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    transition: all 0.3s ease;
    z-index: 9999;
    border: 2px solid #a47900;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 90px;
    max-width: 110px;
}

#stickyButton:hover {
    background-color: #151412;
    color: white;
    border: 2px solid #f0f0f0;
    box-shadow: 0 0 15px rgba(223, 216, 195, 0.8);
    transform: scale(1.05);
}

/* Subtext Section */
.header-subtext {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.8;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.header-subtext span {
    color: #080808;
    background-color: #d6cb9d92;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.595) 30%, rgba(255, 255, 255, 0) 80%);
    pointer-events: none;
    z-index: 2;
}

.services {
    text-align: center;
    padding: 40px;
    background-color: #f8f8f8;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: rgba(214, 169, 136, 0.733);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    text-align: center;
}

.service-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.service-item h3 {
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
}

.service-item p {
    font-size: 16px;
    color: #555;
}

/* Service Item Hover Effects - Desktop Only */
@media screen and (min-width: 769px) {
    .service-item:hover {
        background-color: #f8b400;
        color: white;
        transform: scale(1.05);
        cursor: pointer;
    }

    .service-item:hover h3,
    .service-item:hover p {
        color: white;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* ... existing mobile styles ... */

    .service-item {
        padding: 15px;
        /* Remove hover transform */
        transform: none;
    }

    .service-item:hover {
        /* Remove hover effects on mobile */
        background: rgba(214, 169, 136, 0.733);
        color: inherit;
        transform: none;
        cursor: default;
    }

    .service-item:hover h3,
    .service-item:hover p {
        color: inherit;
    }
}

.services h2 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #FFD700, #FFC300, #FFB000, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.6);
}




/* happy clients css */
.happy-clients {
    text-align: center;
    padding: 50px 0;
    background-color: #c2bb93e6;
}
#rek{

    font-size: 1rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 10px rgba(251, 251, 251, 0.6);
}
.happy-clients h2 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #e1ce00, #ffe100, #ffd900, #c09600);
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px black; /* For WebKit browsers */
    
}

.client-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.client-item {
    width: 300px;
    background: rgb(255, 251, 0);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.client-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.client-story {
    font-style: italic;
    color: #555;
}



/* about section */
/* About Us Section */
.about-us {
    display: flex;
    align-items: center; /* Keeps items vertically aligned */
    justify-content: space-between; /* Ensures space between text and image */
    padding: 80px 10%;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 550px;
}

/* CONTAINER */
.about-container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    width: 100%;
    gap: 50px; /* Adds space between text & image */
}

/* IMAGE SECTION */
.about-image {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%; /* Ensures proper spacing */
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px; /* Controls size */
    border-radius: 10px;
    display: block;
    z-index: 2;
}

/* Yellow Circle Background */
.about-image::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 550px;
    background-color: #ffcc00;
    border-radius: 50%;
    z-index: 1;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* TEXT SECTION */
.about-text {
    flex: 1; /* Makes text take equal space */
    text-align: left;
    max-width: 50%; /* Ensures text doesn't stretch too much */
}

.about-text h2 {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 500px;
}


/* Contact Form - Floating Window Style */
.contact-section {
    display: flex;
    justify-content: center;
    padding: 50px;
    background: #f9f9f9;
}
.contact-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.344);
    border-radius: 10px;
    overflow: hidden;
}
.contact-info1 {
    flex: 1;
    padding: 30px;
    background: #ffefe0;
}
.contact-info1 h2 {
    color: #ff7a00;
    margin-bottom: 15px;
}
.social-icons a {
    margin-right: 10px;
    font-size: 20px;
    color: #ff7a00;
}
.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
    margin-top: 10px;
}
.contact-form {
    flex: 1;
    padding: 30px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.send-btn {
    width: 100%;
    padding: 10px;
    background: #ff7a00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.send-btn:hover {
    box-shadow: 0 0 10px #ff7a00;
}

/* Updated Button with White Background & Black Text */
.book-button {
    background-color:  #f8b400;
    color: black;
    padding: 12px;
    border: 2px solid #a47900;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.book-button:hover {
    background-color: #151412;
    color: white;
    border: 2px solid #f0f0f0;
    box-shadow: 0 0 15px rgba(223, 216, 195, 0.8);
    transform: scale(1.05);
}


/* Footer */
footer {
    background-color: #eaf8f4;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
    border-top: 1px solid #ddd;
}

footer .powered-by {
    margin-top: 10px;
    font-size: 13px;
    color: #aaa;
}

footer .powered-by .ald {
    color: #000; /* Black */
    font-weight: bold;
}

footer .powered-by .design {
    color: #e63946; /* A bold red */
    font-weight: bold;
}



/* MObile*/
/* General Mobile Styles */
@media screen and (max-width: 768px) {
    /* Top Bar Improvements */
    .top-bar {
        flex-direction: column;
        align-items: center;
        padding: 8px;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .social-media {
        margin-left: 0;
        justify-content: center;
        gap: 20px;
    }

    nav {
        height: auto;
        padding: 10px 0;
        overflow-x: hidden; /* Prevent accidental horizontal scroll */
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px !important; /* override desktop padding */
        margin: 0 auto !important; /* reset margin */
        width: 100%;
    }

    .logo img {
        height: 50px;
        margin-bottom: 10px;
        padding-left: 0 !important;
    }

    nav ul {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav ul li {
        margin: 5px 8px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 6px 10px;
        color: white;
        background-color: transparent;
        border-radius: 5px;
        transition: background 0.3s ease-in-out;
    }

    nav ul li a:hover {
        background-color: #1a1a1a;
        color: #f8b400;
        text-decoration: underline;
    }

/* Logo adjustments */
.logo img {
    height: 45px;
    width: 45px;
}

    /* Header Section Improvements */
    header {
        height: 80vh;
      
    }

    header h1 {
        font-size: 32px;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .header-subtext {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .header-subtext span {
        width: 100%;
        max-width: 250px;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Services Section Improvements */
    .services {
        padding: 30px 15px;
    }

    .services h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .service-item {
        padding: 15px;
        transition: transform 0.3s ease;
    }

    .service-item:hover {
        transform: translateY(-5px);
    }

    .service-item img {
        height: 200px;
    }

    /* Happy Clients Section Improvements */
    .happy-clients {
        padding: 30px 15px;
    }

    .happy-clients h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    #rek {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .client-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .client-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .client-item img {
        height: 300px;
    }

    .client-story {
        font-size: 14px;
        padding: 10px;
    }

    /* Contact Section Improvements */
    .contact-section {
        padding: 30px 15px;
    }

    .contact-container {
        flex-direction: column;
        border-radius: 15px;
        overflow: hidden;
    }

    .contact-info1 {
        padding: 20px;
        text-align: center;
    }

    .contact-info1 h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .social-icons {
        margin: 15px 0;
    }

    .social-icons a {
        font-size: 24px;
        margin: 0 10px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .send-btn {
        padding: 12px;
        font-size: 16px;
    }
   /* About us */
    .about-us {
        flex-direction: column;
        padding: 70px 6%;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .about-text {
        max-width: 100%;
        text-align: center;
        animation: fadeInText 1s ease-in-out forwards;
    }

    .about-image {
        max-width: 100%;
        justify-content: center;
        animation: fadeInImage 1s ease-in-out 0.3s forwards;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 17px;
    }

    .about-image::before {
        width: 250px;
        height: 250px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .about-image img {
        max-width: 85%;
    }

    /* Footer Improvements */
    footer {
        padding: 15px;
        font-size: 12px;
    }

    /* Sticky Button Mobile Improvements */
    #stickyButton {
        bottom: 15px;
        right: 45px;
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
        max-width: 100px;
    }

    /* Smooth Scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Touch-friendly interactions */
    a, button {
        -webkit-tap-highlight-color: transparent;
    }

    /* Improved form elements for touch */
    input, select, textarea {
        -webkit-appearance: none;
        border-radius: 8px;
    }

    /* Better touch targets for navigation */
    .nav-links a {
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-us {
        flex-direction: column;
        padding: 40px 5%;
        min-height: auto;
    }

    .about-container {
        flex-direction: column;
        gap: 20px;
    }

    .about-image {
        max-width: 50%;
    }

    .about-image img {
        max-width: 100%;
    }

    .about-text {
        text-align: center;
        max-width: 90%;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-image::before {
        width: 150px;
        height: 200px;
        left: 50%;
        top: 30%;
    }

}


/* Additional Small Screen Optimizations */
@media screen and (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    .service-item img {
        height: 180px;
        width: 100%; /* Ensure the image fills the container */
        object-fit: cover; /* Maintain aspect ratio and cover the space */
    }

    .client-item img {
        height: 250px;
        width: 100%; /* Ensure the image fills the container */
        object-fit: cover; /* Maintain aspect ratio and cover the space */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    /* Navigation adjustments for small screens */
    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px; /* Reduced space between li items */
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap; /* Allow items to wrap if needed */
    }

    nav ul li {
        display: flex;
        padding: 3px 5px; /* Smaller padding to fit items in */
        font-size: 12px; /* Slightly reduced font-size for mobile */
        white-space: nowrap;
        flex-shrink: 1; /* Allow items to shrink if necessary */
    }

    nav ul li a {
        font-size: 11px; /* Adjust font-size for better mobile appearance */
        padding: 4px 8px;
    }

    /* Logo adjustments */
    .logo img {
        height: 45px;
        width: 45px;
    }

    /* Sticky Button adjustments */
    #stickyButton {
        bottom: 12px;
        right: 20px; /* Adjusted to be more centered */
        padding: 5px 10px;
        font-size: 11px;
        min-width: 70px;
        max-width: 90px;
    }

    /* About Us Section adjustments */
    .about-text h2 {
        font-size: 26px; /* Slightly smaller font-size for better fit */
        margin-bottom: 15px;
    }

    .about-image::before {
        width: 250px;
        height: 250px; /* Adjusted to keep balance */
    }

    /* Work Slide Section adjustments */
    .work-slide {
        flex: 0 0 100%;
    }

    .work-slide img {
        height: 180px;
        width: 100%; /* Ensure image width adapts to screen size */
        object-fit: cover;
    }
}



/* iPhone 14 Specific Optimizations */
@media screen and (max-width: 390px) {
    .top-bar {
        padding: 10px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    nav {
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-container {
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
       
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: nowrap; /* Force all items on one line */
      }
      
      nav ul li {
        display: inline-block;
        padding: 5px 10px;
        font-size: 14px;
        white-space: nowrap;
      }
      
    
    nav ul li a {
        font-size: 12px;
   
      
    }
    
    .logo img {
        height: 35px;
        width: 35px;
    }
    
    /* Contact form improvements for iPhone 14 */
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .send-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .contact-info1 {
        padding: 15px;
    }
    
    .contact-form {
        padding: 15px;
    }

    /* Some of our work Section for iPhone 14 */
    .work-slide {
        flex: 0 0 100%;
    }

    .work-slide img {
        height: 180px;
    }
}


/* Additional Small Screen Optimizations */
@media screen and (max-width: 375px) {
    header h1 {
        font-size: 28px;
    }

    .service-item img {
        height: 180px;
        width: 100%; /* Ensure the image fills the container */
        object-fit: cover; /* Maintain aspect ratio and cover the space */
    }

    .client-item img {
        height: 250px;
        width: 100%; /* Ensure the image fills the container */
        object-fit: cover; /* Maintain aspect ratio and cover the space */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    /* Navigation adjustments for small screens */
    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px; /* Reduced space between li items */
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap; /* Allow items to wrap if needed */
    }

    nav ul li {
        display: flex;
        padding: 3px 5px; /* Smaller padding to fit items in */
        font-size: 12px; /* Slightly reduced font-size for mobile */
        white-space: nowrap;
        flex-shrink: 1; /* Allow items to shrink if necessary */
    }

    nav ul li a {
        font-size: 11px; /* Adjust font-size for better mobile appearance */
        padding: 4px 8px;
    }

    /* Logo adjustments */
    .logo img {
        height: 45px;
        width: 45px;
    }

    /* Sticky Button adjustments */
    #stickyButton {
        bottom: 12px;
        right: 20px; /* Adjusted to be more centered */
        padding: 5px 10px;
        font-size: 11px;
        min-width: 70px;
        max-width: 90px;
    }

    /* About Us Section adjustments */
    .about-text h2 {
        font-size: 26px; /* Slightly smaller font-size for better fit */
        margin-bottom: 15px;
    }

    .about-image::before {
        width: 250px;
        height: 250px; /* Adjusted to keep balance */
    }

    /* Work Slide Section adjustments */
    .work-slide {
        flex: 0 0 100%;
    }

    .work-slide img {
        height: 180px;
        width: 100%; /* Ensure image width adapts to screen size */
        object-fit: cover;
    }
}



/* Additional Small Screen Optimizations */
@media screen and (max-width: 385px) {
    header h1 {
        font-size: 28px;
    }

    .service-item img {
        height: 180px;
        width: 100%; /* Ensure the image fills the container */
        object-fit: cover; /* Maintain aspect ratio and cover the space */
    }

    .client-item img {
        height: 250px;
        width: 100%; /* Ensure the image fills the container */
        object-fit: cover; /* Maintain aspect ratio and cover the space */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    /* Navigation adjustments for small screens */
    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px; /* Reduced space between li items */
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap; /* Allow items to wrap if needed */
    }

    nav ul li {
        display: flex;
        padding: 3px 5px; /* Smaller padding to fit items in */
        font-size: 12px; /* Slightly reduced font-size for mobile */
        white-space: nowrap;
        flex-shrink: 1; /* Allow items to shrink if necessary */
    }

    nav ul li a {
        font-size: 11px; /* Adjust font-size for better mobile appearance */
        padding: 4px 8px;
    }

    /* Logo adjustments */
    .logo img {
        height: 45px;
        width: 45px;
    }

    /* Sticky Button adjustments */
    #stickyButton {
        bottom: 12px;
        right: 20px; /* Adjusted to be more centered */
        padding: 5px 10px;
        font-size: 11px;
        min-width: 70px;
        max-width: 90px;
    }

    /* About Us Section adjustments */
    .about-text h2 {
        font-size: 26px; /* Slightly smaller font-size for better fit */
        margin-bottom: 15px;
    }

    .about-image::before {
        width: 250px;
        height: 250px; /* Adjusted to keep balance */
    }

    /* Work Slide Section adjustments */
    .work-slide {
        flex: 0 0 100%;
    }

    .work-slide img {
        height: 180px;
        width: 100%; /* Ensure image width adapts to screen size */
        object-fit: cover;
    }
}