/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* General Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; /* Reduced padding for more compactness */
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slightly darker shadow for more depth */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .logo img {
    height: 45px; /* Adjusted height for a more balanced logo size */
    width: auto;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem; /* Increased space for better legibility */
}

.navbar .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s, transform 0.3s ease-in-out;
}

.navbar .nav-links a:hover {
    color: #800000;
    transform: scale(1.1);
}

.navbar .nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #800000;
    transition: width 0.3s ease-in-out;
}

.navbar .nav-links a:hover:after {
    width: 100%;
}

.navbar .cta-button {
    background: #800000;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s ease-in-out;
}

.navbar .cta-button:hover {
    background: #a00000;
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
}

/* Mobile Navbar Styling */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 1rem 3%;
    }

    .navbar .nav-links {
        display: flex;
        gap: 2rem;
    }
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .navbar .nav-links {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease-in-out;
    }

    .navbar .nav-links a {
        font-size: 1.2rem;
    }

    .navbar .cta-button {
        display: none; /* Hide the button on mobile */
    }

    .hamburger {
        display: flex;
    }

    .navbar.open .nav-links {
        left: 0;
    }

    .navbar.open .hamburger .line {
        background-color: #800000; /* Change color when the menu is open */
    }

    /* Add a subtle effect for the mobile nav toggle */
    .navbar.open .nav-links {
        background-color: #f9f9f9;
    }
}

/* Animations */
.navbar.open .nav-links a {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Hero Section */
.experience-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #800000, #a00000);
    color: #fff;
    padding: 40px 5%;
    flex-wrap: wrap;
    height: auto;
    text-align: center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
}

/* Timeline Section */
.timeline {
    padding: 60px 10%;
    background: #fff;
    text-align: center;
}

.timeline h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #800000;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 6px;
    background: #800000;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background: #fff;
    border: 4px solid #800000;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-icon {
    position: absolute;
    top: 10px;
    right: -40px;
    background: #800000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -40px;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
}

/* Industries Section */
.industries {
    padding: 60px 10%;
    background: #f5f5f5;
    text-align: center;
}

.industries h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #800000;
}

.industries-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.industry-item {
    width: calc(33.333% - 40px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.industry-item:hover {
    transform: translateY(-10px);
}

.industry-item img {
    /* width: 100%; */
    height: 100px;
    /* object-fit: cover; */
}

.industry-item h3 {
    font-size: 1.5rem;
    color: #333;
    padding: 20px;
}

/* Case Studies Section */
.case-studies {
    padding: 60px 10%;
    background: #fff;
    text-align: center;
}

.case-studies h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #800000;
}

.case-studies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.case-study-item {
    background: #f9f9f9;
    border-radius: 10px;
    width: calc(50% - 40px);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-study-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-study-item h3 {
    font-size: 1.5rem;
    color: #333;
    padding: 20px 20px 10px;
}

.case-study-item p {
    font-size: 1rem;
    color: #555;
    padding: 0 20px 20px;
}

.case-study-item .read-more {
    text-decoration: none;
    color: #800000;
    font-weight: 600;
    padding: 0 20px 20px;
    display: inline-block;
    transition: color 0.3s;
}

.case-study-item .read-more:hover {
    color: #a00000;
}

/* Call to Action Section */
.experience-cta {
    background: #800000;
    color: #fff;
    text-align: center;
    padding: 60px 10%;
}

.experience-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.experience-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.experience-cta .cta-button {
    background: #fff;
    color: #800000;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.experience-cta .cta-button:hover {
    background: #800000;
    color: #fff;
}

.footer {
    background: linear-gradient(135deg, #2f2f2f, #1d1d1d); /* Gradient background */
    color: white;
    padding: 60px 10%; /* Increased padding */
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; /* Increased gap for better spacing */
}

.footer-column {
    flex: 1 1 300px;
    margin-bottom: 30px; /* Increased bottom margin for spacing */
}

.footer-column h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #f04c5a; /* Eye-catching header color */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-column p {
    font-size: 1rem;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
}

.footer-column ul li a {
    color: #f04c5a;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-weight: 500;
}

.footer-column ul li a:hover {
    color: #ffffff;
    transform: translateX(5px); /* Subtle slide effect */
}

.footer-column ul li i {
    margin-right: 12px;
    color: #f04c5a;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.95rem;
    color: #b0b0b0;
}

.footer-bottom a {
    color: #f04c5a;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-bottom a:hover {
    color: #ffffff;
    transform: translateX(5px); /* Subtle hover effect */
}

/* Media Queries */
@media (max-width: 992px) {
    .timeline-item {
        width: 100%;
        left: 0 !important;
        margin-left: 0;
        padding-left: 70px;
    }

    .timeline-item::after {
        left: 60px;
    }

    .timeline-container::after {
        left: 30px;
    }

    .timeline-icon {
        left: 0;
    }

    .industry-item,
    .case-study-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .experience-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .industries h2,
    .case-studies h2 {
        font-size: 2rem;
    }
}

/* @media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .navbar .cta-button {
        align-self: center;
        margin-top: 10px;
    }
} */
.testimonials {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.testimonial-container {
    display: flex;
    flex-direction: column; /* Set column layout by default */
    gap: 20px; /* Add spacing between items */
    max-width: 1250px;
    margin: 0 auto;
    align-items: center; /* Center-align content */
}

.testimonial {
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 800px; /* Limit the width for large screens */
    box-sizing: border-box;
    text-align: left;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column; /* Always keep content stacked vertically */
    align-items: flex-start; /* Align content to the left inside each column */
}

.testimonial p {
    margin-bottom: 5px;
}

.testimonial h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.testimonial ul {
    padding-left: 20px; /* Add indentation for list items */
}

.testimonial ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.testimonial-details {
    margin-top: 15px; /* Add spacing between sections */
}
.working{
    margin-left: 0px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials {
        padding: 30px 10px;
    }

    .testimonial {
        padding: 15px;
        max-width: 100%; /* Take full width on small screens */
    }

    .testimonial h4 {
        font-size: 1.5rem;
    }

    .testimonial ul li {
        font-size: 0.9rem; /* Adjust font size for small screens */
    }

    .testimonial p {
        font-size: 1rem;
    }

    .testimonial-details {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem; /* Adjust heading size */
    }

    .testimonial {
        padding: 10px;
    }

    .testimonial ul li {
        font-size: 0.85rem;
    }
    .working{
        margin-left: 0px;
    }
}
