/* Basic Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff; /* A vibrant blue for digital marketing */
    --secondary-color: #6c757d; /* A soft grey */
    --accent-color: #ffc107; /* A bright yellow for highlights */
    --dark-color: #343a40; /* Dark grey for text/backgrounds */
    --light-color: #f8f9fa; /* Light grey for subtle backgrounds */
    --white-color: #ffffff;
    --text-color: #495057;
    --heading-color: #212529;

    --font-family-primary: 'Arial', sans-serif;
    --font-family-secondary: 'Roboto', sans-serif;

    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden; /* Prevent horizontal scroll from mobile menu */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: #0056b3; /* Darker shade of primary on hover */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

.text-white {
    color: var(--white-color);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: #0056b3; /* Darker blue */
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.secondary-btn:hover {
    background-color: #5a6268; /* Darker grey */
}

.primary-btn-inverted {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.primary-btn-inverted:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.secondary-btn-inverted {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.secondary-btn-inverted:hover {
    background-color: var(--white-color);
    color: var(--dark-color);
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo a {
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--white-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px; /* For underline effect */
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.whatsapp-btn {
    background-color: #25d366; /* WhatsApp Green */
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E; /* Darker WhatsApp Green */
}

.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white-color);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none; /* Hidden by default */
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 300px;
    height: 100%;
    background-color: var(--dark-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transition: right var(--transition-speed);
    z-index: 1001;
    padding-top: 80px;
}

.mobile-nav.active {
    right: 0; /* Slide in */
}

.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--white-color);
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav ul li {
    margin: 15px 0;
}

.mobile-nav ul li a {
    color: var(--white-color);
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .whatsapp-btn-mobile {
    display: block;
    width: fit-content;
    margin: 20px auto;
    background-color: #25d366;
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: url('https://www.lsdigital.com/wp-content/uploads/2021/01/Blog_Post-7thJan.jpg') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden; /* For animations */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.5s;
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-content .btn {
    font-size: 1.1rem;
    padding: 15px 35px;
    margin: 0 10px;
}

/* Keyframe Animations */
@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header Section (for inner pages) */
.page-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Section - Ambition */
.about-ambition .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-ambition .about-text {
    flex: 1;
}

.about-ambition .about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-ambition .about-image {
    flex: 1;
    text-align: center;
}

.about-ambition .about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Trusted Companies Section */
.trusted-companies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.trusted-companies .company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.trusted-companies .company-logos img {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--transition-speed), opacity var(--transition-speed);
}

.trusted-companies .company-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Industries Served Section */
.industries-served h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.industries-served .industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.industries-served .industry-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.industries-served .industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.industries-served .industry-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.industries-served .industry-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Our Services Section (Homepage Brief) */
.our-services-home h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.our-services-home .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.our-services-home .service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.our-services-home .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.our-services-home .service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.our-services-home .service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.our-services-home .service-card p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.our-services-home .service-card .read-more {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.our-services-home .service-card .read-more i {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling for multiple testimonials */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 20px; /* Space for scrollbar */
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background-color: var(--light-color);
    border-radius: 10px;
}


.testimonial-item {
    flex: 0 0 45%; /* Show two items per view for wider screens */
    min-width: 300px; /* Minimum width for each item */
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-item .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-item .client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-item .client-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.testimonial-item .client-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}


/* Call to Action Section */
.cta-section {
    text-align: center;
    background-color: var(--primary-color); /* Use primary color for strong CTA */
    color: var(--white-color);
}

.cta-section h2 {
    color: var(--white-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn {
    margin: 0 10px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 30px;
    font-size: 0.95rem;
}

.footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer .footer-col h3 {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer .footer-col p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer .footer-col ul li {
    margin-bottom: 10px;
}

.footer .footer-col ul li a {
    color: var(--white-color);
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.footer .footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer .footer-col i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-right: 15px;
    opacity: 0.8;
    transition: opacity var(--transition-speed), color var(--transition-speed);
}

.footer .social-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}


/* About Page Specific Styles */
.about-header {
    background: url('https://source.unsplash.com/random/1920x400/?about-us,team') no-repeat center center/cover;
    /* You can add a subtle overlay like in hero-section if desired */
}

.our-story .story-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.our-story .story-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.our-story .story-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.our-story .story-text {
    flex: 1;
    min-width: 300px;
}

.our-story .story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.mission-vision .mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-vision .mv-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.mission-vision .mv-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-vision .mv-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.why-choose-us .wcu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-choose-us .wcu-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform var(--transition-speed);
}

.why-choose-us .wcu-item:hover {
    transform: translateY(-5px);
}

.why-choose-us .wcu-item i {
    font-size: 3rem;
    color: var(--accent-color); /* Use accent color for these icons */
    margin-bottom: 15px;
}

.why-choose-us .wcu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* Services Page Specific Styles */
.services-header {
    background: url('https://source.unsplash.com/random/1920x400/?digital-services,marketing-solutions') no-repeat center center/cover;
}

.services-list .service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.services-list .service-item:last-child {
    margin-bottom: 0;
}

.services-list .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.services-list .service-item.reverse {
    flex-direction: row-reverse;
}

.services-list .service-item .service-image {
    flex: 1;
    min-width: 300px;
}

.services-list .service-item .service-image img {
    border-radius: var(--border-radius);
}

.services-list .service-item .service-content {
    flex: 1;
    min-width: 300px;
}

.services-list .service-item .service-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.services-list .service-item .service-content .short-description {
    font-weight: bold;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.services-list .service-item .service-content .long-description {
    margin-bottom: 25px;
}

.services-list .service-item .service-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Contact Page Specific Styles */
.contact-header {
    background: url('https://source.unsplash.com/random/1920x400/?contact-us,office') no-repeat center center/cover;
}

.contact-info .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-info .info-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info .info-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info .info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.map-section .map-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}


/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-ambition .about-content,
    .our-story .story-content {
        flex-direction: column;
        text-align: center;
    }

    .about-ambition .about-image,
    .our-story .story-image {
        order: -1; /* Image appears above text on mobile */
        margin-bottom: 30px;
    }

    .our-services-home .services-grid,
    .why-choose-us .wcu-grid,
    .contact-info .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .services-list .service-item,
    .services-list .service-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .services-list .service-item .service-image {
        margin-bottom: 20px;
    }

    .testimonials-slider {
        flex-wrap: nowrap; /* Keep it as a slider on smaller screens */
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .testimonial-item {
        flex: 0 0 90%; /* Show one item at a time */
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header .logo a {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        display: block;
        width: 80%;
        margin: 15px auto;
        font-size: 1rem;
        padding: 12px 25px;
    }

    .section-padding {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem !important; /* Override specific h2 sizes for smaller screens */
    }

    .about-ambition .about-text h2,
    .our-story .story-text h2,
    .mission-vision .mv-item h3,
    .why-choose-us .wcu-item h3,
    .our-services-home .service-card h3,
    .testimonials-section h2,
    .contact-info .info-item h3,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 1.8rem;
    }

    .footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer .footer-col ul {
        padding: 0;
    }

    .footer .footer-col ul li {
        margin-bottom: 5px;
    }

    .footer .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .services-list .service-item .service-content h3 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }
}