/* General Styles */
html {
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
    height: 100%;
    line-height: 1.6; /* Improves readability */
}

/* Navbar */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: burlywood;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 15px 80px;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

nav ul.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul.menu li {
    display: inline-block;
    margin-right: 20px;
}

nav ul.menu li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

nav ul.menu li a:hover {
    color: #0056b3;
    text-decoration: solid;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
}

.header-text {
    display: none; /* Hide by default */
    color: white; /* Ensure text is visible */
    font-size: 24px; /* Adjust font size as needed */
}



nav {
    position: relative; /* Allow positioning of absolute elements */
}

/* Style for the logo in the top right corner */
.top-logo {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: -55px; /* Adjust as needed */
    width: 55px; /* Set width as needed */
    height: 45px; /* Maintain aspect ratio */
    transform: translateY(-15px);
}

/* Style for the logo next to the title */
.logo {
    width: 30px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between icon and text */
}



/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: #000;
}

.slideshow-container {
    position: relative;
    height: 100%;
    max-width: 100%;
    margin: auto;
}

.slide img {
    width: 100%;
    height: 85vh;
    
}

.text1 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-15%);
    color: black;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    z-index: 10;
}

.text,.text2 {
    position: absolute;
    bottom: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    z-index: 10;
}


/* About Us Section */
.about-us {
    padding: 50px 20px;
    background-color: #fff;
}

.about-container {
    display: flex;
    justify-content: space-between; /* Change to space-between for equal halves */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1; /* Take half of the container */
    padding-right: 20px;
}

.about-text h2 {
    color: #0056b3;
    font-style: italic;
    font-size: xx-large;
}

.about-text p {
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    margin: 10px 0;
}

.about-image {
    flex: 1; /* Take half of the container */
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
}
/* Services Section */
.services {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    color: #0056b3;
    margin-bottom: 50px;
    font-size: xx-large;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 5px;
    justify-content: center;
}

.service-box {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background-color: #f1f1f1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-box img {
    width: 100%;
    border-radius: 10px;
}

.service-box h3 {
    margin: 20px 0 10px;
    color: #0056b3;
}

.service-box p {
    font-size: 16px;
    color: #666;
}

/* Client Testimonials Section */
.testimonials {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.testimonials h2 {
    color: #0056b3;
    margin-bottom: 30px;
    font-size: xx-large;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap; /* Add this to allow wrapping */
    justify-content: space-between; /* Distribute items evenly */
}

.testimonial-box {
    flex: 1 0 23%; /* Take approximately 23% of the container */
    margin: 10px; /* Add some margin for spacing */
}

.testimonial-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial-box p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.rating {
    color: #FFD700;
    font-size: 20px;
    margin: 10px 0;
}

/* Trusted Partners Section */
.partners {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.partners h2 {
    color: #0056b3;
    margin-bottom: 30px;
    font-size: xx-large;
}

.partner-container {
    display: flex;
    flex-wrap: wrap; /* Add this to allow wrapping */
    justify-content: space-between; /* Distribute items evenly */
}

.partner-box {
    flex: 1 0 23%; /* Take approximately 23% of the container */
    margin: 10px; /* Add some margin for spacing */
}
.partner-box img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.partner-box p {
    font-size: 16px;
    color: #333;
}

/* Active Tab Style */
nav ul.menu li a.active {
    color: #0056b3;
    font-weight: bold;
    border-bottom: 2px solid burlywood;
}


/* Services Section Styles */
.services {
    padding: 20px;
    text-align: center;
    background-color: #ffffff; /* White background for contrast */
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 images per row for larger screens */
    gap: 20px; /* Space between service boxes */
    margin: 20px auto;
    max-width: 1200px; /* Center the container */
}

.service-box {
    background: #f9f9f9; /* Light gray box for services */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    cursor: pointer; /* Pointer on hover */
    transition: transform 0.2s; /* Smooth transition on hover */

}

.service-box:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.service-box img {
    width: 100%; /* Make images responsive */
    border-radius: 5px 5px 0 0; /* Rounded top corners */
}

.service-box h3 {
    font-size: 20px;
    margin: 10px 0;
}

.service-box p {
    padding: 0 10px 10px; /* Add some padding */
}

/* Service Detail Section */
.service-detail {
    padding: 20px;
    
}
.detail-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between; /* Distribute items evenly */
}

.detail-image {
    width: 50%; /* Half width for image */
    border-radius: 15px; /* Rounded corners */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    padding-right: 10px; /* Add some padding to create space between image and text */
   
}

.detail-text {
    width: 50%; /* Half width for text */
    padding: 20px;
    text-align: left; /* Left align text */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    padding-left: 10px; /* Add some padding to create space between image and text */
    font-size: 20px;
}


.detail-text h2 {
    margin-bottom: 15px; /* Space below the heading */
    color: #007bff;
}

.detail-text p {
    margin-bottom: 10px; /* Space below paragraphs */
}

button {
    padding: 10px 15px;
    background: burlywood; /* Button color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #003b29; /* Darker shade on hover */
}



/* Blog preview styles */
.blog-container {
    width: 90%;
    gap: 20px;
    margin: auto;
    padding: 20px;
    
    
  }
  
  .blog-post-preview {
    display: flex;
    cursor: pointer;
    margin-bottom: 20px;
    
  }
  
  .blog-image {
    width: 25%;
    background-size: cover;
    background-position: center;
    height: 150px;
    border-radius: 5px; /* Rounded corners */
    

  }
  
  .blog-content {
    padding-left: 15px;   
     justify-content: space-between; /* Change to space-between for equal halves */

      }
  
  .blog-detail-container {
    width: 90%;
    margin: auto;
    padding: 20px;
    transform: translateY(15%);




  }
  
  .blog-detail-image {
    height: 50vh;
    background-size: cover;
    justify-content: space-between; 
    width: 50vw;
    margin-top: 0px;
    background-position: center;
    border-radius: 5px; /* Rounded corners */
    justify-content: space-between; /* Change to space-between for equal halves */
    margin-bottom: 20px;
    transform: translateY(6%);

  }
  
  
/* Footer */

footer {
    background-color: burlywood;;
    color:black;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {

    .blog-container h1 {
        font-size: 24px;
        text-align: center;
        margin-top: 20px;
        padding: 0 15px;
        color: blue; /* Or any color that fits your theme */
        transform: translateY(160%);
        margin-bottom: 20px;

      }

    .blog-post-preview {
        flex-direction: column;
        align-items: center;
    }

    .blog-image {
        width: 100%;
        height: 200px;
        margin-top: 45px;
    }

    .blog-content {
        padding-left: 0;
        text-align: center;
    }

    .blog-detail-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .blog-detail-image {
        width: 100%;
        height: 250px; /* Adjust as needed */
        margin-bottom: 15px;
    }

    .blog-detail-content {
        width: 100%;
        text-align: left; /* Center text if preferred */
        padding: 10px;
    }
  
}

/* Responsive Styles */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row on mobile */
    }
    .services h2 {
        font-size: 24px; /* Increase or adjust the size for better visibility */
        margin-top: 20px; /* Adjust spacing as needed */
        color: #0056b3; /* Ensure contrast for visibility */
        display: block; /* Ensure it remains visible */
        transform: translateY(160%);
    
    }

    .detail-image {
        width: 100%; /* Full width for images on mobile */
        margin-top: 60px;
    }

    .detail-container {
        flex-direction: column; /* Stack image and text vertically */
    }

    .detail-text {
        font-size: 16px; /* Adjust the font size as needed for better readability on mobile */
        padding: 10px; /* Adjust padding for better spacing on mobile */
        width: 90%;
    }

    .service-box {
        margin: 10px 0; /* Space between service boxes on mobile */
    }
}

@media (max-width: 480px) {
    .header-text {
        font-size: 20px; /* Smaller header text */
    }

    .menu a {
        font-size: 16px; /* Smaller menu text */
    }

    button {
        width: 100%; /* Full-width button on mobile */
    }
  
    

    .service-box h3 {
        font-size: 18px; /* Smaller service title */

    }


    .service-box p {
        font-size: 14px; /* Smaller service description */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Navbar and Header adjustments for mobile */
    header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        background-color:burlywood;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        padding: 15px 20px;
        border-radius: 0;
        transform: none;
       
    }

    .header-text {
        display: block; /* Show in mobile view */
        flex-grow: 1; /* Make the header text grow to fill space */
        text-align: center; /* Center text */
        color: black; /* Ensure text is visible */
        font-size: 20px; /* Adjust font size as needed */
        text-decoration: dotted;
        font-style: bold;
    }

    /* Hamburger Menu */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: white;
        margin-right: 20px;
    }

    /* Hide menu initially */
    nav ul.menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background-color: black;
        width: 35%;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px; /* Adds padding around the edges */
        z-index: 100;
    }

    nav ul.menu li {
        margin-bottom: 20px; /* Space between menu items */
        font-weight: bold;
    }

    nav ul.menu li a {
        color: burlywood; /* Changes link color */
        font-family: 'Arial', sans-serif; /* Changes font style */
        font-size: 24px; /* Adjust font size */
        text-decoration: none; /* No underline by default */
    }

    nav ul.menu li a:hover {
        color: #0056b3; /* Changes color on hover */
        text-decoration: underline; /* Underline on hover */
    }

    /* Display menu on hamburger click */
    .show-menu {
        display: flex !important;
    }

    /* Media query for mobile view */

    .header-text {
        display: flex;
        align-items: center; /* Center vertically */
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    .top-logo {
        display: block; /* Hide the top right logo on mobile */
        margin-top: -22px;
        height: auto;       
        transform: translateX(-200px);

       
    }

    /* Adjust hero section for mobile */
    .hero {
        height: 45vh; /* Reduce height for mobile */
        transform: translateY(-10%); /* Adjust the translateY value to pull the image down */
        width: 100%;
        background-color: #f4f4f4;
       
       
       
    }

    .slide img {
        height: 100%; /* Adjust height to match hero section */
        width: 100%; /* Ensure the image takes the full width of its container */
        object-fit: contain; /* Ensure the image is fully visible */
       transform: translateY(40%);
        
        margin-top: 65px; /* Adjust the translateY value to pull the image down */
    }

    /* Adjust text sizes for better visibility on mobile */
    .text1 {
        display: none;
    }

    .text {
        display: none;
    }
    .text2 {
       display: none;
    }
}
 @media (max-width: 360px) {

    .text {
        
        display: none;
        
    }
    .text2 {
        display: none;

    }
    .text1 {

        transform: translateY(70%);
    }

 }
    /* Services Section for Mobile */
    .service-container {
        grid-template-columns: repeat(2, 1fr); /* Two items per row on mobile */
        gap: 48px; /* Gap adjustment for mobile */
        align-items:normal;
        margin-right: 15px; /* Adjust right margin for mobile */
    }

    .service-box {
        padding: 15px; /* Reduce padding for mobile */
        margin: 0; /* Reset margin if needed */
        
    }

    .service-box h3 {
        margin: 10px 0; /* Adjust heading margin */
    }

    .service-box p {
        font-size: 14px; /* Ensure readability on smaller screens */
    }

    /* Trusted Clients Section */
    .partner-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: space-between;
    }

    .testimonial-box {
        flex: 1 0 45%; /* Take approximately 45% of the container */
        margin: 10px; /* Add some margin for spacing */
    }

   /* About Us adjustments for mobile */
 

.about-text {
    width: 100%; /* Set the width to 100% for mobile */
    padding-right: 0;
}

.about-image {
    width: 100%; /* Set the width to 100% for mobile */
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100vw
}

.contact-image img {
    width: 100vw;
    height: 80vh;
    transform: translateX(-15%);
}

.contact-info {
    margin: 20px 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.google-map {
    margin: 20px 0;
}

.google-map h2 {
    margin-bottom: 10px;
}

.whatsapp-icon img {
    width: 24px; /* Adjust size as needed */
    height: auto;
    margin-right: 8px; /* Space between icon and text */
    vertical-align: middle; /* Center icon with text */
}


/* Mobile View Styles */
@media (max-width: 768px) {
    .contact-container {
        padding: 10px;
        margin-top: 20px; /* Add margin to create space between the menu bar and the contact image */
    }

    .contact-image img {
        width: 100%;
        height: auto;
        transform: translateY(20%);
        margin-top: 40px;
    }

    .contact-info,
    .contact-form {
        padding: 15px;
        margin-top: 20px;
    }

    .contact-form h2 {
        margin-bottom: 10px;
    }

    .contact-form label {
        margin-bottom: 3px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px;
        margin-bottom: 10px;
    }

    .contact-form button {
        padding: 8px 12px;
    }

    .google-map iframe {
        width: 100%;
        height: 300px;
    }

    .whatsapp-icon img {
        width: 20px; /* Adjust size as needed */
        margin-right: 6px; /* Space between icon and text */
    }
}

/* Desktop-specific adjustments */
@media (min-width: 769px) { /* Only apply this to desktop */
    .about-container {
        flex-direction: row; /* Ensure it remains horizontal on desktop */
    }

    .about-text {
        width: 50%; /* Keep text section at 50% width */
        padding-right: 20px; /* Space on the right */
    }

    .about-image {
        width: 50%; /* Keep image section at 50% width */
        text-align: center; /* Center the image */
    }

    /* Services Section */
.services {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    color: #0056b3;
    margin-bottom: 50px;
    font-size: xx-large;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 5px;
    justify-content: center;
}

.service-box {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background-color: #f1f1f1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-box img {
    width: 100%;
    border-radius: 10px;
}

.service-box h3 {
    margin: 20px 0 10px;
    color: #0056b3;
}

.service-box p {
    font-size: 16px;
    color: #666;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: burlywood;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 15px 80px;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Change to column for mobile */
        text-align: center; /* Center text for mobile */
        margin-top: 20px;
    }
    
    .about-text {
        width: 100%; /* Set the width to 100% for mobile */
        padding-right: 0; /* No right padding for mobile */
    }
    
    .about-image {
        width: 100%; /* Set the width to 100% for mobile */
        text-align: center;
    }
    
    .about-image img {
        width: 100%; /* Ensure the image takes the full width of its container */
        height: auto; /* Maintain the aspect ratio */
        max-width: 100%; /* Prevent the image from exceeding the container width */
        border-radius: 10px; /* Optional: retain rounded corners */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Optional: keep shadow */
    }

    
}

/* Meet the Team Section */
.team {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.team h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-member {
    width: 150px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.team-member p {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}

.team-member:hover {
    transform: scale(1.1);
}
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    z-index: 1000; /* Appears above all content */
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center; /* Align content inside the modal */
    max-width: 400px; /* Limits modal width */
    width: 90%; /* Ensures responsiveness */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease; /* Smooth fade-in effect */
}

.modal img {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Circular image */
    margin-bottom: 10px;
}

.modal h3 {
    margin: 10px 0;
}

.modal p {
    font-size: 14px;
    color: #666;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.back-button:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Responsive Styles */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        gap: 15px;
    }

    .team-member {
        width: 80%;
        margin: 0 auto;
    }

    .modal-content {
        width: 90%;
    }
}


