@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 */
.navbar {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd; /* Subtle separation */
}

.navbar-logo img {
    height: 135px; /* Larger logo */
    width: 135px; /* Square logo */
    object-fit: cover; /* Cover the logo area */
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-menu li {
    position: relative; /* Dropdown positioning */
}

.navbar-menu li a {
    font-size: 20px;
    text-transform: uppercase;
    padding: 0 15px;
    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 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    color: #1b559f;
    font-weight: normal;
    text-decoration: none;
    display: block;
    font-size: 15px;
}

.dropdown-menu li a:hover {
    color: #c67335;
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.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: 35px;
    color: #1b559f; /* Main heading color */
    text-transform: uppercase;
    margin-bottom: 20px;
    text-decoration: underline; /* Adds an underline */

}

.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;
}
