/* ======== Google Fonts & Basic Setup ======== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #991608; /* Red */
    --dark-bg: #111111;
    --light-bg: #ffffff;
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --secondary-text: #666;
    --card-dark-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
}


/* ======== Navbar Section ======== */
.navbar {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle, .nav-toggle-label {
    display: none;
}

/* ======== Hero Section ======== */
.hero-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed navbar */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ======== About Section ======== */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}
.about-image img {
    max-width: 100%;
}

.about-text {
    flex: 1;
}
.about-text h2 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}
.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.about-text p {
    color: var(--secondary-text);
}


/* ======== Services Section (UPDATED) ======== */
.services-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.services-section .section-title {
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--card-dark-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

/* This new rule styles the PNG images */
.service-card img {
    height: 70px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #ccc;
    font-size: 0.9rem;
}

/* ======== Strategy Section ======== */
.strategy-roadmap {
    display: flex;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.strategy-roadmap::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.strategy-step {
    flex: 1;
    padding: 0 20px;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid #ddd;
}

.strategy-step h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.strategy-step p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ======== Clients Section ======== */
.clients-section {
    padding-bottom: 40px;
}

.client-slider {
    background: var(--light-bg);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.client-slider::before,
.client-slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.client-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.client-slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 30s linear infinite;
    display: flex;
    width: calc(250px * 14); /* 250px per logo * number of logos */
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.slide img {
    max-width: 150px;
    max-height: 50px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.slide:hover img {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); } /* half of the track width */
}


/* ======== Customer Reviews Section ======== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
}

.review-card p {
    font-style: italic;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-author h4 {
    margin: 0;
}

.review-author span {
    font-size: 0.9rem;
    color: var(--primary-color);
}


/* ======== Footer Section ======== */
.footer-section {
    background-color: var(--dark-bg);
    color: #ccc;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
}


/* ======== Media Queries for Responsiveness ======== */
@media (max-width: 992px) {
    h2.section-title { font-size: 2.2rem; }
    .hero-text h1 { font-size: 3rem; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
    
    .strategy-roadmap { flex-direction: column; gap: 30px; }
    .strategy-roadmap::before { display: none; }
}

@media (max-width: 768px) {
    /* Mobile Navbar */
    .nav-menu {
        position: absolute;
        top: 71px; /* Navbar height */
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 10px 0;
    }
    .nav-menu ul li {
        width: 100%;
        text-align: center;
    }
    .nav-menu ul li a {
        padding: 15px 0;
        display: block;
        width: 100%;
    }
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
    }
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: white;
        height: 2px;
        width: 25px;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease-in-out;
    }
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    .nav-toggle-label span::before { top: -8px; }
    .nav-toggle-label span::after { top: 8px; }

    #nav-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }
    #nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    #nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    #nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Other Sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image { order: -1; margin-bottom: 30px; }
    .hero-text h1 { font-size: 2.5rem; }

    .about-content { flex-direction: column; }
    .about-image { margin-bottom: 30px; }

    .reviews-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p { justify-content: center; }
    .social-links { margin: 0 auto 20px; }
}

@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2rem; }
}

/* ======== CSS STYLES FOR ABOUT US PAGE ======== */

/* Page Header Section */
.page-header {
    background-color: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
    padding: 140px 0 60px 0; /* Extra padding top for navbar */
}

.page-header h1 {
    font-size: 3rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Our Story Section */
.our-story-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* A slightly off-white background */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background-color: var(--light-bg);
    padding-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--primary-color);
    font-weight: 500;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    text-align: center;
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--secondary-text);
}


/* ======== RESPONSIVENESS FOR ABOUT PAGE ======== */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* ======== CSS STYLES FOR SERVICES PAGE ======== */

/* Strategic Approach Section */
.strategic-approach-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.approach-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.approach-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    min-width: 70px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--secondary-text);
}

/* ======== RESPONSIVENESS FOR SERVICES PAGE ======== */
@media (max-width: 768px) {
    .step-number {
        font-size: 2.5rem;
        min-width: 50px;
    }
    .approach-step {
        gap: 20px;
    }
}

/* ======== CSS STYLES FOR CONTACT US PAGE ======== */

.contact-page-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    background: var(--light-bg);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--secondary-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

/* Contact Info Styles */
.contact-info-wrapper p {
    color: var(--secondary-text);
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-block i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-divider {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 30px 0;
}


/* Map Section */
.map-section {
    padding: 0;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ======== RESPONSIVENESS FOR CONTACT PAGE ======== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        padding: 30px;
    }
}

/* ======== CSS STYLES FOR FLOATING BUTTONS ======== */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 80px;
    height: 80px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 60px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Back to Top Rocket Button */



/* Adjustments for mobile view */
@media (max-width: 768px) {
    .whatsapp-float, .to-top-float {
        width: 70px;
        height: 70px;
        left: 15px;
    }
    .whatsapp-float {
        bottom: 15px;
    }
    .to-top-float {
        bottom: 75px; /* Adjust position for smaller screens */
    }
    .whatsapp-float i {
        font-size: 50px;
    }
}