@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Navbar styles */
.navbar {
    background-color: #fff;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd; /* Optional: to give a subtle separation */
}

.navbar-logo img {
    height: 135px; /* Adjusted height for a larger logo */
    width: 135px; /* Make the logo square */
    object-fit: cover; /* Ensures the logo covers the entire area */
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-menu li {
    position: relative; /* Required for dropdown positioning */
}

.navbar-menu li a {
    font-size: 20px;
    text-transform: uppercase;
    padding: 0 15px; /* Reduced padding for better spacing */
    color: #1b559f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.4s ease;
}

.navbar-menu li a:hover {
    color: #c67335;
    text-decoration: underline solid 2px;
}

/* Dropdown menu styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position below the parent */
    left: 0;
    background-color: #fff;
    min-width: 200px; /* Adjust based on content */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensure it appears above other content */
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 10px;

}

.dropdown-menu li a {
    color: #1b559f; /* Match navbar link color */
    font-weight: normal; /* Reset font weight */
    text-decoration: none; /* Remove underline */
    display: block; /* Full-width clickable area */
    font-size: 15px;
}

.dropdown-menu li a:hover {
    color: #c67335;
    background-color: #f1f1f1; /* Slight background on hover */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #d8e9f7;
    width: 100%;
    height: 68px;
}

.header-left, .header-middle, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-middle {
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
}

.header-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.header p {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.header p i {
    margin-right: 8px;
    color: #1b559f;
    
}

.quote-button {
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.quote-button:hover {
    background-color: #1b559f;
}

h2{
    color: #255489 ;
}


/* Form section styles */
.quote-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    position: relative;
}

.form-container h2 {
    margin-top: 0;
}

.form-container label {
    display: block;
    margin: 10px 0 5px;
}

.form-container input, .form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-container button {
    background-color: #1b559f;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: #58a4db;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}


.hero-section {
    text-align: center;
    margin-top: 20px; /* Add margin for spacing */
}

.hero-image-container {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the image covers the area */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 18px;
}

.portfolio-section {
    text-align: center;
}

.portfolio-image-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.portfolio-image {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the image covers the area */
}


.portfolio-text {
    position: absolute;
    top: 50%;
    left: 0; /* Align text container to the left */
    transform: translateY(-50%); /* Vertically center the text container */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    text-align: left; /* Align text to the left */
    padding: 20px; /* Add padding for spacing */
    width: 50%; /* Set a width for the text container */
}

.portfolio-text h1 {
    font-size: 37px;
    margin-bottom: 15px;
    text-transform: uppercase;
    align-items: center;
}

.portfolio-text p {
    font-size: 22px;
    margin-bottom: 20px; /* Add margin below the paragraph */
}

.portfolio-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background-color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.portfolio-button:hover {
    background-color: #9dd3f7;
}

.logo-section {
    padding: 50px 20px;
    background-color: #f9f9f9; /* Background color for the section */
    text-align: center;
}

.logo-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #255489 ;
}

.logo-content p {
    font-size: 17px;
    margin-bottom: 18px;
    color: #333; /* Text color for better readability */
}

.logo-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #255489;
    text-transform: uppercase;
}

.logo-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
}

.logo-form input, 
.logo-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.logo-form button {
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logo-form button:hover {
    background-color: #255489;
}

.services-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: color: #255489;
    text-transform: uppercase;
}

.services-section p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.service-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 230px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left; /* Align text to the left */
    position: relative; /* Position for image alignment */
}

.service-box img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;    
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.5); /* Blue shadow on hover */

}

.service-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    font:  sans-serif;
}


.work-process-section {
    padding: 40px 20px;
    background-color: #f8f8f8; /* Light background for contrast */
    text-align: center; /* Center text */
}

.work-process-container {
    display: flex;
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center; /* Center items horizontally */
    gap: 20px; /* Space between text and image */
    max-width: 1200px; /* Limit width for better readability */
    margin: 0 auto; /* Center container */
}

.work-process-text {
    max-width: 600px; /* Limit width for better readability */
}

.work-process-text h2 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #255489;
    text-transform: uppercase;
    font-weight: 700;
}

.work-process-text p {
    font-size: 18px;
    color: black; /* Gray color for the paragraph */
    line-height: 1.6;
}

.work-process-image {
    max-width: 100%; /* Make sure image container is responsive */
    text-align: center; /* Center the image */
}

.work-process-image img {
    max-width: 100%; /* Make sure image is responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Responsive design for larger screens */
@media (min-width: 768px) {
    .work-process-container {
        flex-direction: column; /* Keep items stacked vertically on larger screens */
        align-items: center; /* Center items horizontally */
        gap: 30px; /* Increase gap between text and image */
    }

    .work-process-text {
        max-width: 60%; /* Adjust width for larger screens */
    }

    .work-process-image {
        max-width: 80%; /* Adjust width for larger screens */
    }
}


.portfolio {
    padding: 40px 20px;
    text-align: center;
}

.portfolio-categories {
    margin-bottom: 20px;
}

.category-button {
    background-color: #1b559f; /* Primary button color */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.category-button:hover,
.category-button.active {
    background-color: #3498db; /* Hover and active button color */
}

.portfolio-categories h2 {
    font-size: 16px;
    color: #c67335; /* Subheading color */
    font-weight: 300;
}

.portfolio-categories h3 {
    font-size: 40px;
    color: #1b559f; /* Main heading color */
    text-transform: uppercase;
    margin-bottom: 20px;
}

.portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.portfolio-item {
    width: calc(33.333% - 20px); /* Adjust width and gap to fit 3 items per row */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Ensure items are displayed by default */
}

.portfolio-item img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Optional: Add responsiveness for smaller screens */
@media (max-width: 768px) {
    .portfolio-item {
        width: calc(50% - 20px); /* 2 items per row on medium screens */
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        width: 100%; /* 1 item per row on small screens */
    }
}




.logo-slider {
    overflow: hidden;
    width: 100%;
    background-color: #f7f7f7;
    padding: 20px 0;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(200px * 20); /* Adjust width based on the total number of logos (original + duplicate) */
    animation: scroll 20s linear infinite; /* Controls the speed of the scrolling */
}

.logo-item {
    flex: 0 0 200px; /* Each logo takes up 200px of space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1); /* Slightly enlarge the logo on hover */
}

@keyframes scroll {
    0% {
        transform: translateX(0); /* Start position */
    }
    100% {
        transform: translateX(-50%); /* End position (scrolls halfway through the track) */
    }
}

.customer-reviews-section {
    padding: 40px 20px;
    background-color: #f9f9f9; /* Light background for contrast */
    text-align: center; /* Center text */
}

.customer-reviews-container {
    max-width: 1100px; /* Limit width for better readability */
    height: 500px;
    margin: 0 auto; /* Center container */
}

.customer-reviews-container h2 {
    font-size: 30px;
    margin-bottom: 40px; /* Space below the heading */
    color: #1b559f; /* Dark color for the heading */
    font-weight: 700;
    text-transform: uppercase;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Two columns, responsive */
    gap: 30px; /* Space between review boxes */
}

.review {
    background-color: #ffffff; /* White background for reviews */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Center text within the review */
}

.reviewer-photo {
    width: 120px;
    height:120px;
    border-radius: 50%; /* Circular photo */
    object-fit: cover; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Space below photo */
}

.review-content {
    width: 100%;
}

.review-text {
    font-size: 18px;
    color: #666; /* Gray color for the text */
    margin-bottom: 15px;
    line-height: 1.6;
}

.reviewer-name {
    font-size: 16px;
    color: #333; /* Dark color for the name */
    font-weight: 600;
}


.footer {
    background-color: #052c59;
    color: #fff;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
    margin: 10px 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ff8427 ;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: yellow;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-logo {
    margin-top: 15px;
    max-width: 100px;
}

.newsletter-form input[type="email"] {
    width:50%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 30%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444444;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo-bottom {
    width: 100px;
    height:100px;
    margin-right: 15px;
}

.footer-left p {
    margin-right: 15px;
}

.footer-left a {
    color: #f39c12;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-left a:hover {
    color: #fff;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin-bottom: 10px;
    font-size: 18px;
    color: #f39c12;
    font-weight: 600;
}

.footer-right img {
    max-width: 40px;
    margin-left: 10px;
}
