/* General Styles */
html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */

}




/* Header styles */
header {
    
    color: black;
    background-color: transparent; /* Transparent by default */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0); /* Optional shadow for clarity */
    padding: 15px 30px;
    display: flex;
    justify-content: space-evenly; /* Align logo and navigation properly */
    align-items: center;
    position: fixed; /* Fixed to stay on top */
    top: 0;
    left: 0;
    width: 100%; /* Ensure header spans full width */
    z-index: 1000; /* Keep above video */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    

    
}

header.scrolled {
    background-color: white; /* Header turns white on scroll */
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0); /* Add shadow for clarity */

}

.logo img {
    max-height: 33px;
}

/* Navigation Menu */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

/* Highlight the active page link */
nav ul li a.active {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Hover effect for navigation links */
nav ul li a:hover {
    color: #4B9FD0;
}

/* Button */
.main-button {
    background-color: transparent;
    color: black;
    border: 2px solid #4B9FD0;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.main-button:hover {
    background-color: #4B9FD0;
    color: white;
}

/* Main Section */
#main {
    position: relative;
    background: transparent;
    overflow: hidden; /* Prevent scrolling due to video overflow */
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85vh; /* Adjusted height for your layout */
}

#main video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Fit the video to the container width */
    height: auto; /* Maintain aspect ratio */
    max-height: 100%; /* Prevent height overflow */
    object-fit: cover; /* Ensures the video covers the container without zooming */
    z-index: 0; /* Keep it behind other content */
}

#main h2,
#main p {
    position: relative;
    z-index: 2;
    margin: 0;
}

#main h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #4B9FD0;
}

#main p {
    font-size: 20px;
    color: white;
}



/*STATS SECTION STARTS HERE*/

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-between; /* Distribute items evenly */
    align-items: flex-start;
    padding: 20px 0; /* Remove left and right padding for consistent layout */
    background: white;
    margin: 0 auto;
    max-width: 1140px; /* Matches other sections for consistent alignment */
    position: relative; /* Ensures overlapping elements are positioned relative to this container */
    z-index: 2; /* Place it above the video */
}

/* Stat Item */
.stat-item {
    text-align: center;
    color: black;
    max-width: 300px;
}

.stat-item img {
    max-height: 100px;
    transition: opacity 0.3s ease;
    margin-bottom: -10px;
}

.stat-item img:hover {
    opacity: 1;
}

.stat-item h4 {
    font-size: 24px;
    color: #4B9FD0;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #666666;
}

/* Stats Section for the Different Item */
.stats-section2 {
    display: flex;
    justify-content: space-between; /* Distribute items evenly */
    align-items: flex-start;
    padding: 10px 0; /* Remove left and right padding */
    background: white;
    margin: 0 auto;
    max-width: 1140px; /* Matches other sections for consistent alignment */
}

/* Stat Item Different */
.stat-item-different {
    text-align: center;
    color: black;
    background-color: white;
    max-width: 300px;
    padding: 20px;
    border: 2px solid #4B9FD0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 3; /* Ensure it appears above the video */
    margin-top: -35%;
}

/* Hover Effects */
.stat-item-different:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Stat Item Content */
.stat-item-different img {
    max-height: 100px;
    margin-bottom: -5px;
}

.stat-item-different h4 {
    font-size: 24px;
    color: #4B9FD0;
    margin-bottom: 10px;
}

.stat-item-different p {
    font-size: 16px;
    color: #666666;
}



/*CLIENT SECTION STARTS HERE*/

.clients-section {
    background-color: white;
    color: black;
    padding: 60px 20px;
    text-align: center;
}

.clients-section h3 {
    font-size: 16px;
    color: #4B9FD0;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the carousel */
    overflow: hidden; /* Hide logos outside the visible area */
    max-width: 1200px;
    margin: 0 auto;
}

.clients-logos-wrapper {
    width: 100%;
    max-width: 900px; /* Width for 6 logos and gaps */
    overflow: hidden; /* Ensure only 6 logos are visible */
}

.clients-logos {
    display: flex;
    gap: 20px; /* Space between logos */
    transition: transform 0.5s ease; /* Smooth scrolling effect */
    width: max-content; /* Prevent wrapping */
}

.clients-logos img {
    max-height: 60px; /* Adjust logo size */
    flex-shrink: 0; /* Prevent logos from shrinking */
    object-fit: contain; /* Maintain aspect ratio */
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clients-logos img:hover {
    transform: scale(1.1); /* Slight zoom-in effect */
    filter: grayscale(0%); /* Restore color on hover */
}

/* Navigation Arrows */
.clients-section {
    background-color: transparent;
    color: black;
    padding: 80px 0; /* Removed left and right padding for consistent layout */
    text-align: center;
}

.clients-section h3 {
    font-size: 24px;
    color: #4B9FD0;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hide logos outside the visible area */
    max-width: 1140px; /* Matches other sections for consistent spacing */
    margin: 0 auto; /* Centers the carousel horizontally */
    padding: 0; /* No internal padding */
}

.clients-logos-wrapper {
    width: 100%;
    max-width: 900px; /* Width for 6 logos and gaps */
    overflow: hidden; /* Ensure only 6 logos are visible */
    max-height: 60px;
    margin: 0 auto; /* Center the logos wrapper */
}

.clients-logos {
    display: flex;
    gap: 20px; /* Space between logos */
    transition: transform 0.5s ease; /* Smooth scrolling effect */
    width: max-content; /* Prevent wrapping */
}

.clients-logos img {
    max-height: 60px; /* Adjust logo size */
    flex-shrink: 0; /* Prevent logos from shrinking */
    object-fit: contain; /* Maintain aspect ratio */
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clients-logos img:hover {
    transform: scale(1.1); /* Slight zoom-in effect */
    filter: grayscale(0%); /* Restore color on hover */
}

/* Navigation Arrows */
.carousel-arrow {
    background: none;
    border: none;
    font-size: 2rem;
    color: #4B9FD0;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}


/* Services Section */
.services-section {
    background: white;
    padding: 40px 0; /* Removed left and right padding for consistent layout */
    text-align: center;
}

/* Section Header */
.services-section h3 {
    font-size: 24px;
    color: #4B9FD0;
    margin-bottom: 30px;
}

/* Services Grid */
.services-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three items per row */
    gap: 20px; /* Adjusted spacing between items */
    max-width: 1140px; /* Matches other sections for consistent spacing */
    margin: 0 auto; /* Centers the grid horizontally */
    padding: 0; /* No internal padding */
}

/* Individual Service Item */
.service-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.0); /* Subtle shadow */
    overflow: hidden;
    text-align: center;
    padding: 10px 15px; /* Reduced vertical and horizontal padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px; /* Slightly wider items */
}

.service-item:hover {
    transform: translateY(-3px); /* Slightly reduced hover lift */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0); /* Hover shadow */
}

/* Service Image */
.service-item img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #4B9FD0;
    border-radius: 8px 8px 0 0;
}

/* Service Title */
.service-item h4 {
    font-size: 18px; /* Font size for title */
    color: #4B9FD0;
    margin-top: 10px;
    margin-bottom: 5px; /* Reduced margin below */
}

/* Service Description */
.service-item p {
    font-size: 14px; /* Description font size */
    color: #666666;
    line-height: 1.4; /* Balanced line spacing */
    text-align: justify;
    margin: 0;
}









/* Avoid justification on small screens */
@media (max-width: 768px) {
    .service-item p {
        text-align: left;
    }
}

/* Slide-up animation */
.slide-up {
    opacity: 0; /* Initially invisible */
    transform: translateY(50px); /* Start 50px below its final position */
    transition: opacity 1.2s ease, transform 1.2s ease; /* Smooth animation */
}

/* When visible */
.slide-up.visible {
    opacity: 1;
    transform: translateY(0); /* Move to its original position */
}



/*WHAT-WE-DO-SECTION STARTS HERE*/

.what-we-do-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0; /* Removed left and right padding for consistent layout */
    background: white;
    color: #666666;
}

.what-we-do-section h3 {
    font-size: 24px;
    color: #4B9FD0;
    margin-bottom: 30px;
}

.what-we-do-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1140px; /* Matches other sections for consistent spacing */
    margin: 0 auto; /* Centers the content horizontally */
    padding: 0; /* No internal padding */
}

.what-we-do-left, .what-we-do-right {
    flex: 1;
    min-width: 300px; /* Maintain responsiveness */
}

.what-we-do-left h4 {
    color: #4B9FD0;
}

.what-we-do-left img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.what-we-do-right ul {
    list-style-type: none;
    padding: 0;
}

.what-we-do-right ul li {
    margin-bottom: 20px;
}

.what-we-do-right ul li h4 {
    color: #4B9FD0;
    margin-bottom: 10px;
}




/*WORK PROCESS SECTION*/

.work-process-section {
    position: relative;
    text-align: center;
    padding: 70px 20px;
    color: black;
}

.work-process-section {
    background-image: url('/images/work-process-section/wave2.jpg');
    background-size: cover;
    background-position: top;
    position: relative;
    text-align: center;
    padding: 70px 20px;
    color: black;
}

.work-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* White overlay */
    opacity: 0.8; /* Increase opacity for more fading */
    z-index: 0;
}

.work-process-section h3,
.work-process-section h4,
.work-process-section p,
.process-steps {
    position: relative;
    z-index: 1; /* Ensures the content is above the background */
}

.work-process-section h3 {
    color: #4B9FD0;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}

.work-process-section h4 {
    color: black;
    font-size: 36px;
    margin-bottom: 10px;
}

.work-process-section p {
    color: black;
    font-size: 16px;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.process-steps .step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.process-steps .step img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.process-steps .step h5 {
    color: #4B9FD0;
    font-size: 18px;
    margin-bottom: 5px;
}

.process-steps .step p {
    color: black;
    font-size: 14px;
}


/*WHAT MAKES US DIFFERENT SECTION*/

.what-makes-us-different {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 0; /* Remove left and right padding to rely on content-wrapper */
    background-color: white;
    gap: 30px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px; /* Matches the width of other sections */
    margin: 0 auto; /* Centers the wrapper */
    padding: 0; /* Ensure no internal padding adds offsets */
}

.left-content {
    flex: 1;
    max-width: 35%; /* Keep width consistent */
}

.left-content h3 {
    color: #4B9FD0;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.left-content h4 {
    color: black;
    font-size: 36px;
    margin-bottom: 20px;
}

.left-content p {
    color: black;
    font-size: 16px;
    margin-bottom: 20px;
    color: #666666;
}

.center-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

.right-content {
    flex: 1;
    max-width: 35%; /* Keep width consistent */
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background-color: white;
    transition: transform 0.3s ease-in-out;
}

.accordion-button {
    background-color: white;
    color: #4B9FD0;
    font-size: 16px;
    font-weight: bold;
    border: none;
    width: 100%;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover {
    background-color: #f9f9f9;
}

.accordion-arrow {
    border: solid #0066cc;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(-135deg); /* Arrow pointing up */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 2s ease, transform 1s ease, padding 0.5s ease;
    padding: 0 10px;
    background-color: white;
    color: #666666;
    position: relative;
    transform: translateY(0);
}

.accordion-item.active {
    transform: translateY(-10px); /* Adjust for upward effect */
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust for content size */
    padding: 10px;
    transform: translateY(-10px);
}

.accordion-item.active .accordion-button {
    background-color: white;
}


/*PROJECTS SECTION STARTS HERE*/

.projects-section {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

/* Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px; /* Slightly reduced spacing between items */
    max-width: 1140px; /* Adjusted grid width for alignment */
    margin: 0 auto; /* Centers the grid horizontally */
    padding: 0; /* Remove unnecessary padding */
    position: relative; /* Allow for precise positioning */
    left: 5px; /* Slight shift to the right */
}

/* Project Item Styling */
.project-item {
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%; /* Adjusts to the grid column width */
    height: 475px; /* Reduced height */
}

/* Hover Effect for Project Items */
.project-item:hover {
    transform: scale(1.05); /* Adds the zoom effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow for emphasis */
    border-color: #4B9FD0; /* Highlighted border on hover */
}

.projects-section h3 {
    color: #4B9FD0;
    font-size: 24px;
}


.projects-section h4 {
    color: black;
    font-size: 36px;
}

.projects-section p {
    color: black;
    margin-bottom: 30px;
}

/* Project Item Title */
.project-item h5 {
    background: white;
    padding: 10px;
    margin: 0;
    font-size: 14px; /* Slightly smaller font */
    font-weight: bold;
    color: #4B9FD0;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

/* Project Item Images */
.project-item img {
    width: 100%;
    height: 325px; /* Reduced image height */
    object-fit: cover; /* Ensure the image fits nicely */
    transition: filter 0.3s ease, transform 0.3s ease; /* Smooth hover transitions */
    filter: grayscale(100%); /* Initial greyscale effect */
}

/* Hover Effect for Images */
.project-item img:hover {
    filter: grayscale(0%); /* Restore original colors */
    transform: scale(1.03); /* Slight zoom on hover */
}

/* Project Details Layout */
.project-details {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: white;
}

/* Left and Right Details */
.details-left, .details-right {
    width: 48%; /* Equal width for both sections */
}

.details-left p, .details-right p {
    margin: 5px 0; /* Consistent spacing between rows */
    font-size: 12px; /* Slightly smaller font size */
    color: #666666;
}

.details-left p strong, .details-right p strong {
    color: #4B9FD0; /* Blue color for headings */
    display: block; /* Ensure each item starts on a new line */

}






/*testimonials start here*/


.testimonials-section {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.testimonials-section h3 {
    color: #4B9FD0;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.testimonials-section h4 {
    color: black;
    font-size: 36px;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Ensure proper spacing across rows */
    gap: 10px; /* Control spacing between items */
    padding: 0; /* Ensure no extra padding in the grid */
    margin: 0 auto; /* Center the grid in its container */
    max-width: 1200px; /* Limit grid width for better layout control */
}

.testimonial-item {
    background-color: white;
    border: 2px solid #4B9FD0;
    border-radius: 10px;
    max-width: 300px; /* Control the width of each item */
    flex: 1 1 300px; /* Allow items to grow/shrink while maintaining a grid layout */
    padding: 15px;
    margin: 0; /* Remove any external margins */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-item blockquote {
    font-style: italic;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.testimonial-item blockquote::before {
    content: "“";
    font-size: 20px;
    color: #0066cc;
    position: absolute;
    left: -8px;
    top: -8px;
}

.testimonial-item .client-info {
    display: flex;
    align-items: center;
    gap: 10px; /* Proper spacing between image and text */
}

.testimonial-item .client-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial-item .client-info h5 {
    color: #4B9FD0;
    font-size: 16px;
    margin: 0;
}

.testimonial-item .client-info p {
    color: #333;
    font-size: 13px;
    margin: 0;
}









/* Footer Section */
.footer-section {
    background-color: white; /* Black background */
    color: #666666; /* White text color */
    padding: 50px 20px;
}




.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.footer-logo-description {
    text-align: left;
    display: flex;
    flex-direction: column; /* Stack the logo and text */
    justify-content: flex-start; /* Align items at the top */
    gap: 15px; /* Add spacing between the logo and the text */
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo-description p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.linkedin-link {
    color: #4B9FD0; /* Red for LinkedIn icon */
    text-decoration: none;
    font-size: 16px;
    margin-top: -30px;
}

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



/* Contact Info */
.footer-contact-info h4,
.footer-useful-info h4,
.footer-newsletter h4 {
    font-size: 16px;
    font-weight: bold;
    color: #4B9FD0;
    margin-bottom: 10px;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: #4B9FD0;
    margin-right: 10px;
}

/* Useful Info */
.footer-useful-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-useful-info li {
    margin-bottom: 10px;
}

.footer-useful-info a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
}

.footer-useful-info a:hover {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Newsletter */
.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666666;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 2px solid #4B9FD0;
    border-radius: 5px;
    font-size: 14px;
    flex: 1;
    background-color: white;
    color: #666666;
}

.newsletter-form input::placeholder {
    color: #666666;
    opacity: 0.8;
}

.newsletter-form button {
    background-color: white;
    border: 2px solid #4B9FD0;
    color: #4B9FD0;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #4B9FD0;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #4B9FD0;
    padding-top: 15px;
    font-size: 14px;
    color: #666666;
}

.newsletter-form {
    position: relative;
    margin-bottom: 10px;
}

#newsletter-message {
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

