/* VARIABLES */
:root {
    --primary-color: #FF6B35; /* Orange */
    --primary-light: #FF8C61;
    --primary-dark: #E85A2A;
    --secondary-color: #FFFFFF; /* White */
    --text-color: #333333;
    --text-light: #777777;
    --background-color: #FFFFFF;
    --background-alt: #F8F9FA;
    --border-color: #EEEEEE;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --glow-color: rgba(255, 107, 53, 0.6);
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* HEADER & NAVIGATION */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px var(--shadow-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo img {
    transform: scale(0.95);
}

header.scrolled .nav-links a {
    font-size: 0.85rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Increased height for better visibility */
    width: auto; /* Maintain aspect ratio */
    max-width: 200px; /* Control maximum width */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .logo img {
        height: 40px; /* Slightly smaller on mobile */
    }
}

.nav-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hide menu icons by default (for desktop) */
.fa-bars, .fa-times, #closeMenu {
    display: none !important; /* Added !important to ensure it's hidden */
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: var(--background-alt);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(255, 107, 53, 0.05);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
    gap: 30px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

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

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

.image-carousel {
    width: 100%;
    max-width: 550px;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-carousel::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    z-index: 1;
}

.image-carousel::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    border-radius: 50%;
    z-index: 0;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 107, 53, 0.7);
}

.image-container {
    width: 90%;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.image-container img {
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(5px);
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 1;
        top: 20px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

.scroll-indicator p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ABOUT SECTION */
.about {
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin: 50px 0;
}

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

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 30px var(--shadow-color);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Update the stats container to 1x4 layout for PC only */
.stats-container {
    display: flex; /* Change from grid to flex */
    flex-direction: row; /* Make items align horizontally */
    justify-content: space-between; /* Space items evenly */
    align-items: center; /* Center items vertically */
    width: 100%; 
    margin: 40px auto;
    padding: 0 20px;
}

.stat-item {
    width: 23%; /* Set width to slightly less than 25% to account for gaps */
    text-align: center;
    background-color: var(--background-alt);
    border-radius: 10px;
    padding: 25px 15px; /* Adjust padding for narrower items */
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
    display: inline-block; /* Ensure items display inline */
}


.stat-wrapper {
    width: 100%;
}



.stat-item::before,
.stat-item::after {
    display: none !important;
    content: none !important;
}

/* Ensure consistent spacing between stat items */


.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.stat-item h4 {
    font-size: 2rem; /* Adjust font size as needed */
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem; /* Adjust font size as needed */
}

.cta-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 80px 0 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,107,53,0.1)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: -1;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h3 {
        font-size: 1.6rem;
    }
}



/* SERVICES SECTION */
.services {
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--background-color);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CLIENTS SECTION */
.clients {
    background-color: var(--background-color);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background-color: var(--background-alt);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.client-logos {
    overflow: hidden;
    padding: 20px 0;
}

.logo-slider {
    display: flex;
    animation: slide 20s linear infinite;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
}

.logo-slide img {
    height: 60px;
    margin: 0 30px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.logo-slide img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* CONTACT SECTION */
.contact {
    background-color: var(--background-alt);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 107, 53, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* FOOTER */
footer {
    background-color: #222;
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* CLIENT LOGOS MARQUEE */
.client-logos-marquee {
    margin: 60px 0 40px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.client-logos-marquee h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--background-alt), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--background-alt), transparent);
}

.marquee {
    display: flex;
    width: max-content;
    animation: scroll-x 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    padding: 0 20px;
}

.marquee-item {
    flex: 0 0 auto;
    margin: 0 30px;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}

.marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.marquee-item img {
    height: 60px;
    object-fit: contain;
}

@keyframes scroll-x {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* FUTURISTIC SERVICES SECTION */
.services-grid-futuristic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card-futuristic {
    height: 300px;
    perspective: 1000px;
    border-radius: 15px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.service-card-futuristic:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.service-card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--text-color);
}

.service-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.service-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: rotateY(180deg);
}

.service-icon-futuristic {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon-futuristic i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card-futuristic:hover .service-icon-futuristic i {
    animation: pulse 1.5s infinite;
}

.service-card-front h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-card-front h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.service-card-back p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link-futuristic {
    display: inline-block;
    padding: 10px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.service-link-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.service-link-futuristic:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.service-link-futuristic:hover::before {
    left: 100%;
    transition: 0.7s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* RESPONSIVE ADJUSTMENTS FOR FUTURISTIC SERVICES */
@media screen and (max-width: 992px) {
    .services-grid-futuristic {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .services-grid-futuristic {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .service-card-futuristic {
        height: 280px;
    }
}

@media screen and (max-width: 576px) {
    .services-grid-futuristic {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-study {
        flex-direction: column !important;
    }
    
    .case-study-image {
        max-width: 100%;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
        margin-bottom: 0; /* Remove space between sections */
    }
    
    /* Remove excessive spacing between about and contact sections */
    #about-overview {
        margin-bottom: 0 !important;
    }
    
    /* Reduce space before contact section */
    #contact-overview {
        padding-top: 60px !important;
        margin-top: 0 !important;
    }
    
    .page-section {
        padding-top: 80px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        transition: all 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 10px 0;
        display: block;
    }
    
    /* Make the underline in mobile navigation neater and simpler */
    .nav-links a::after {
        height: 1px; /* Thinner line for mobile */
        bottom: -2px; /* Closer to the text */
        background-color: var(--primary-color);
        opacity: 0.7; /* Slightly transparent */
    }
    
    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 40%; /* Shorter underline */
        left: 30%; /* Center the underline */
    }
    
    /* Only show hamburger menu icon on mobile */
    .fa-bars {
        display: block !important;
        font-size: 1.8rem;
    }
    
    /* Only show the close icon when the mobile menu is active */
    .nav-links.active #closeMenu,
    .nav-links.active .fa-times {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
        color: var(--text-color);
        z-index: 1002;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form-container {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .contact-content {
        display: flex;
        flex-direction: column;
    }
    
    .contact-overview .contact-content {
        flex-direction: column;
    }
    
    .contact-text, .contact-form-brief {
        max-width: 100%;
    }

    header {
        padding: 15px 0;
    }
    
    header.scrolled {
        padding: 10px 0;
    }

    nav {
        width: 95%;
        padding: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info-brief {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }
}

/* PAGE SPECIFIC STYLES */
.page-section {
    padding-top: 120px;
}

/* FEATURES SECTION */
.features {
    background-color: var(--background-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* SERVICES OVERVIEW */
.services-overview {
    background-color: var(--background-alt);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* ABOUT OVERVIEW */
.about-overview {
    background-color: var(--background-color);
    padding: 100px 0;
}

/* TESTIMONIALS OVERVIEW */
.testimonials-overview {
    background-color: var(--background-alt);
}

.testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

/* CONTACT OVERVIEW */
.contact-overview {
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}

.contact-overview::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 107, 53, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.contact-text {
    flex: 1;
    max-width: 500px;
}

.contact-info-brief {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.contact-info-brief .info-item {
    display: flex;
    align-items: center;
}

.contact-info-brief .info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-form-brief {
    flex: 1;
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    max-width: 500px;
}

.contact-form-brief h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Service Detail Futuristic Styles */
.service-detail-futuristic {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 70px auto;
    max-width: 1000px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-detail-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.service-icon-glow {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    position: relative;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.service-icon-glow::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), var(--primary-color));
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.service-icon-glow i {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: pulse 3s infinite;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.service-feature-card:hover::before {
    height: 100%;
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-feature-card:hover .feature-icon-small {
    background-color: var(--primary-color);
}

.feature-icon-small i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-feature-card:hover .feature-icon-small i {
    color: white;
}

.service-feature-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-feature-card:hover h5 {
    color: var(--primary-color);
}

.service-feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tech-stack-futuristic {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.tech-stack-futuristic span {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.2) 100%);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.tech-stack-futuristic span:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Responsive Styles for Services Page */
@media screen and (max-width: 992px) {
    .service-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .services-hero-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .service-detail-futuristic {
        padding: 30px 20px;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-glow {
        margin: 0 auto 20px;
    }
    
    .services-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .services-hero-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
}

/* Make sure this CSS is in your styles.css file or add it */
.services-grid-futuristic {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* This creates a 2×2 grid layout */
    gap: 30px;
    max-width: 900px;
    width: 100%;
    margin: 50px auto 0; /* Added top margin for spacing from header */
    padding: 0 20px;
}

/* Make cards have consistent height */
.service-card-futuristic {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
}

/* Responsive adjustments - keep 2×2 on medium screens */
@media screen and (max-width: 992px) {
    .services-grid-futuristic {
        gap: 20px; /* Slightly reduce gap on smaller screens */
    }
}

@media screen and (max-width: 768px) {
    .services-grid-futuristic {
        gap: 15px;
    }
}

/* Only switch to single column on very small devices */
@media screen and (max-width: 576px) {
    .services-grid-futuristic {
        grid-template-columns: 1fr; /* Single column for mobile view */
    }
}

/* Switch to single column only on mobile */
@media screen and (max-width: 576px) {
    .services-grid-futuristic {
        grid-template-columns: 1fr; /* Single column for mobile view */
    }
}

.services-hero-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 35px 30px; /* Increased padding for better visual balance */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-hero-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
}

.services-hero-item:hover::before,
.services-hero-item.active::before {
    width: 100%;
}

.services-hero-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-hero-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
    position: relative;
}

.services-hero-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.services-hero-item:hover .services-hero-icon::after,
.services-hero-item.active .services-hero-icon::after {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.services-hero-item:hover .services-hero-icon,
.services-hero-item.active .services-hero-icon {
    background-color: var(--primary-color);
}

.services-hero-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.services-hero-item:hover .services-hero-icon i,
.services-hero-item.active .services-hero-icon i {
    color: white;
    animation: pulse 2s infinite;
}

.services-hero-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
    transition: var(--transition);
}

.services-hero-item:hover h3,
.services-hero-item.active h3 {
    color: var(--primary-color);
}

.service-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-detail-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--background-color);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-date {
    position: absolute;
    top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 45px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 45px);
}

/* About Page - Mission & Vision Section */
.about-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.mission-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px var(--shadow-color);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.mission-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.mission-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.mission-content:hover::before {
    height: 100%;
}

.mission-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.mission-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.mission-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Media query for mission section on mobile */
@media screen and (max-width: 768px) {
    .about-mission {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0; /* Reduced from 40px */
    }
    
    .mission-content {
        padding: 25px;
        margin-bottom: 0; /* Ensure no extra bottom margin */
    }
    
    .mission-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .mission-content p {
        font-size: 0.95rem;
        margin-bottom: 0; /* Ensure no extra bottom margin */
    }
}

@media screen and (max-width: 576px) {
    .mission-content {
        padding: 20px;
    }
    
    .mission-content h3 {
        font-size: 1.3rem;
    }
}

/* About Page - Core Values Section */
.about-values {
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.about-values h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.value-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-shift 5s ease infinite;
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover .value-icon i {
    color: white;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
    transition: var(--transition);
}

.value-card:hover h4 {
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.3rem;
    }
    
    .value-card h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page - Team Section */
.team-section {
    margin: 80px 0;
}

.team-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

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

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-color);
    transition: var(--transition);
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-image::before {
    opacity: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 5px;
    color: var(--text-color);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover h4 {
    color: var(--primary-color);
}

.member-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 25px;
    margin-bottom: 25px;
    text-align: center;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 25px;
}

.member-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Clients Page - Companies Section */
.client-logos-section {
    margin: 60px 0;
}

.client-logos-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

.client-logos {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 20px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.logo-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
    height: 120px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    width: auto;
    height: auto;
}

.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.clients-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    padding: 0 20px;
}

/* Case Studies Styles */
.case-studies-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.case-study-category {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.results-list {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.results-list li {
    margin-bottom: 10px;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.results-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-grid {
        grid-template-columns: 1fr;
    }
}

/* Industries We Serve Section */
.industries-served {
    margin: 80px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.industries-served::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,107,53,0.05)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: -1;
}

.industries-served h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 40px;
}

.industry-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-shift 5s ease infinite;
    opacity: 0;
    transition: var(--transition);
}

.industry-card:hover::after {
    opacity: 1;
}

.industry-icon {
    width: 90px;
    height: 90px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    position: relative;
}

.industry-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.industry-card:hover .industry-icon::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.industry-card:hover .industry-icon {
    background-color: var(--primary-color);
}

.industry-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.industry-card:hover .industry-icon i {
    color: white;
    animation: pulse 2s infinite;
}

.industry-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: var(--transition);
}

.industry-card:hover h4 {
    color: var(--primary-color);
}

.industry-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive Adjustments for Industries Section */
@media screen and (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-card {
        padding: 30px 20px;
    }
}

/* Responsive adjustments for carousel */
@media screen and (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .hero-image {
        padding: 10px;
        margin-top: 30px;
        height: 350px;
    }
    
    .image-carousel {
        height: 300px;
        max-width: 100%;
        width: 100%;
    }
    
    .carousel-controls {
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 576px) {
    .hero-image {
        height: 280px;
        padding: 0;
    }
    
    .image-carousel {
        height: 250px;
        border-radius: 15px;
    }
    
    .carousel-slide {
        overflow: hidden;
    }
}

/* Adjust header size for mobile devices */
@media screen and (max-width: 768px) {
    header {
        padding: 20px; /* Adjust padding as needed */
    }

    .nav-links a {
        font-size: 1rem; /* Set a normal size for mobile */
    }

    .logo img {
        height: 40px; /* Adjust logo height for mobile */
    }
}

/* Adjust stats container for mobile devices */
@media screen and (max-width: 768px) {
    .stats-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 25px !important;
        grid-template-columns: unset !important;
        margin: 30px auto !important; /* Changed from 30px 0 to 30px auto */
        width: 100% !important;
        max-width: 280px !important; /* Added max-width to center the container */
    }

    .stat-item {
        width: 100% !important;
        max-width: 100% !important; /* Changed from 280px to 100% */
        margin: 0 auto !important; /* Added auto margins for centering */
        text-align: center !important;
        padding: 25px !important; /* Consistent padding */
        background-color: #F8F9FA !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        border-radius: 10px !important;
        position: static !important;
        z-index: 1 !important;
    }
}

/* Additional fix for very small screens */
@media screen and (max-width: 576px) {
    .stats-container {
        margin: 25px auto 30px !important; /* Changed from 25px 0 30px to 25px auto 30px */
        gap: 20px !important;
        max-width: 250px !important; /* Reduced max-width for smaller screens */
    }
    
    .stat-item {
        max-width: 100% !important; /* Changed from 250px to 100% */
        padding: 20px !important;
    }
    
    .stat-item h4 {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }
}

#closeMenu {
    display: none !important; /* Hide the close icon by default on all devices */
}

@media screen and (max-width: 768px) {
    /* Other mobile styles remain unchanged */
    
    .nav-links.active #closeMenu {
        display: block !important; /* Only show when mobile menu is active */
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
        color: var(--text-color);
        z-index: 1002;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: -15px; /* Increase spacing from bottom */
    }

    .scroll-indicator p {
        font-size: 0.8rem; /* Adjust font size */
    }

    .mouse {
        width: 22px;  /* Reduce size slightly for mobile */
        height: 38px;
    }

    .wheel {
        width: 3px;
        height: 6px;
    }
}

/* Stats Container - 1x4 Layout */
.stats-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin: 30px 0 !important;
    flex-wrap: nowrap !important;
    background: none !important;
    box-shadow: none !important;
}

.stat-item {
    flex: 1 !important;
    width: 23% !important;
    text-align: center !important;
    margin: 0 5px !important;
    padding: 15px 10px !important;
    background-color: var(--background-alt) !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 15px var(--shadow-color) !important;
    transition: var(--transition) !important;
    border-right: none !important;
}

.stat-item h4 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 10px !important;
}

.stat-item p {
    color: var(--text-light) !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

/* Keep existing mobile styles below 768px */
@media screen and (max-width: 768px) {
    .stats-container {
        flex-wrap: wrap !important;
    }
    
    .stat-item {
        flex-basis: 48% !important;
        width: 48% !important;
        margin: 0 0 10px 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .stat-item {
        flex-basis: 100% !important;
        width: 100% !important;
    }
}