﻿/* Variables */
:root {
    --primary: #007bff;
    --secondary: #00c6ff;
    --accent: #005c97;
    --bg-dark: #070e20;
    --bg-panel: rgba(12, 24, 56, 0.7);
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --border-glass: rgba(0, 136, 204, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 50, 100, 0.4);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
}

/* Top Trust Bar */
.top-trust-bar {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.top-trust-bar i {
    margin-right: 8px;
    color: #00f2fe;
}

body {
    padding-top: 35px;
    /* Offset for top bar */
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
}

.logo span {
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: 0.3s;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Let the main photo be clearly visible */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/Main.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    animation: slowZoom 25s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: #ffffff;
    background: rgba(6, 11, 25, 0.7);
    padding: 3.5rem;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 198, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 198, 255, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00f2fe;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
    backdrop-filter: blur(15px);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    animation: glow-pulse 3s infinite;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 242, 254, 0.6);
    }

    100% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    }
}

.hero-badge i {
    font-size: 1rem;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(90deg, #060b19 0%, #005c97 50%, #060b19 100%);
    padding: 1rem 0;
    color: white;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    overflow: hidden;
}

.trust-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
}

.trust-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.trust-slide i {
    font-size: 2rem;
    color: #00f2fe;
}

.trust-slide span {
    color: #00c6ff;
    font-weight: 400;
    display: block;
    font-size: 1rem;
}

.trust-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.trust-dot.active {
    background: #00f2fe;
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .trust-slide {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Abstract Shapes Animation */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    border-radius: 50%;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(54, 55, 149, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    left: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: 0.3s;
    border-radius: 20px;
    border: 2px solid transparent !important;
    background: linear-gradient(#050505, #050505) padding-box,
        var(--gradient-accent) border-box !important;
}

.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        var(--gradient-accent) border-box !important;
    box-shadow: 0 15px 40px rgba(0, 198, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: none;
}

.service-icon i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    display: inline-block;
}

.service-card p {
    line-height: 1.6;
    color: var(--text-muted);
}

/* Features (Why Partner With Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-panel);
    border: 2px solid rgba(0, 198, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.1);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 136, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-accent);
    color: white;
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.feature-card h4 {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-main);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00f2fe;
    box-shadow: 0 15px 40px rgba(0, 198, 255, 0.25);
    background: rgba(0, 0, 0, 0.4);
}

.feature-card:hover h4 {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Clients Slider */
.clients {
    overflow: hidden;
}

.client-slider {
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
        linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    border: 2px solid transparent;
    box-shadow: var(--glass-shadow);
}

.client-slider::before,
.client-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.client-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent 100%);
}

.client-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 20%, transparent 100%);
}

.client-slide-track {
    display: flex;
    align-items: center;
    width: calc(200px * 12);
    /* Adjusted to match number of logos */
    animation: scroll 20s linear infinite;
}

.tech-track {
    width: calc(200px * 18) !important;
    /* For 9 items */
    animation: scroll-tech 30s linear infinite !important;
}

@media (hover: hover) {

    .client-slide-track:hover,
    .tech-track:hover {
        animation-play-state: paused;
    }
}

.client-logo {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    transition: 0.3s;
    cursor: pointer;
}

.client-logo i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    transition: 0.3s;
}

.client-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: 0.3s;
    margin-bottom: -15px;
    /* Offset the br tag */
}

.client-logo span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 1;
    transform: translateY(0);
    transition: 0.3s;
    color: var(--text-main);
}

.client-logo:hover i {
    transform: scale(1.1);
}

.client-logo:hover img {
    transform: scale(1.1);
}

.client-logo:hover span {
    color: var(--accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 6));
    }

    /* scroll by half to loop seamlessly */
}

@keyframes scroll-tech {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 9));
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(calc(-200px * 6));
    }

    100% {
        transform: translateX(0);
    }
}

.reverse-scroll {
    animation: scroll-reverse 20s linear infinite;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(79, 172, 254, 0.2);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.client-info h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA & Footer */
.footer {
    background: #0f172a;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

.cta-section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.9) 0%, rgba(0, 92, 151, 1) 100%);
    color: #ffffff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-section p {
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    font-size: 1rem;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.footer-bottom {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #cbd5e1;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-copy {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .features-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid var(--border-glass);
        transform: translateY(-150%);
        transition: 0.3s;
        opacity: 0;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.motion-word {
    margin-right: 0.15rem;
    display: inline-block;
}

.delay-1 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
    animation-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
    animation-delay: 0.8s;
}

.delay-5 {
    transition-delay: 1.0s;
    animation-delay: 1.0s;
}

@keyframes floatUpDown {

    0%,
    100% {
        top: 0;
    }

    50% {
        top: -15px;
    }
}

.floating-anim {
    animation: floatUpDown 4s ease-in-out infinite;
}

/* Specific pop up reveal for service cards */
.service-card.reveal {
    transform: scale(0.6) translateY(50px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card.reveal.active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Featured Projects Display */
.featured-projects {
    padding: 100px 0;
    overflow: visible;
    background: transparent;
}

.projects-marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-bottom: 2rem;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-text {
    -webkit-text-stroke: 1.5px rgba(0, 136, 204, 0.4);
    -webkit-text-fill-color: transparent;
    font-size: 80px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 1rem;
    font-family: inherit;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.project-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    margin-top: 30px;
    padding-bottom: 80px;
    overflow: visible;
}

.project-carousel-track {
    position: relative;
    width: 500px;
    height: 320px;
    transform-style: preserve-3d;
    animation: rotateCarousel 25s linear infinite;
}

@keyframes rotateCarousel {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@media (hover: hover) {
    .project-carousel-track:hover {
        animation-play-state: paused;
    }
}

.project-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
    cursor: pointer;
    -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.2));
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-panel);
}

.project-card:nth-child(1) {
    transform: rotateY(0deg) translateZ(450px);
}

.project-card:nth-child(2) {
    transform: rotateY(72deg) translateZ(450px);
}

.project-card:nth-child(3) {
    transform: rotateY(144deg) translateZ(450px);
}

.project-card:nth-child(4) {
    transform: rotateY(216deg) translateZ(450px);
}

.project-card:nth-child(5) {
    transform: rotateY(288deg) translateZ(450px);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.project-card:hover img {
    filter: brightness(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 30px 20px 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.project-category {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 768px) {
    .marquee-text {
        font-size: 50px;
    }

    .project-carousel-track {
        width: 300px;
        height: 200px;
    }

    .project-card:nth-child(1) {
        transform: rotateY(0deg) translateZ(280px);
    }

    .project-card:nth-child(2) {
        transform: rotateY(72deg) translateZ(280px);
    }

    .project-card:nth-child(3) {
        transform: rotateY(144deg) translateZ(280px);
    }

    .project-card:nth-child(4) {
        transform: rotateY(216deg) translateZ(280px);
    }

    .project-card:nth-child(5) {
        transform: rotateY(288deg) translateZ(280px);
    }
}

/* New Modern Services Animation */
.modern-services .service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    position: relative;
    overflow: hidden;
}

.modern-services .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-services .service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.4);
    z-index: 10;
}

.modern-services .service-card:hover::before {
    opacity: 1;
}

.modern-services .service-card:hover .service-icon {
    transform: perspective(400px) rotateY(360deg) scale(1.2);
    background: var(--gradient-accent);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.modern-services .service-card .service-icon {
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modern-services .service-card h3 {
    transition: color 0.3s ease;
}

.modern-services .service-card:hover h3 {
    color: var(--accent);
}

.floating-anim {
    animation: floating 3s ease-in-out infinite;
}

.floating-anim.delay-1 {
    animation-delay: 0.5s;
}

.floating-anim.delay-2 {
    animation-delay: 1s;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Industries Section */
.industries {
    background: transparent;
    position: relative;
}

.industry-3d-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1600px;
    margin-top: 30px;
    padding-bottom: 50px;
    overflow: visible;
}

.industry-3d-track {
    position: relative;
    width: 320px;
    height: 450px;
    transform-style: preserve-3d;
    animation: rotateCarousel 40s linear infinite;
}

@media (hover: hover) {
    .industry-3d-track:hover {
        animation-play-state: paused;
    }
}

.industry-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
    cursor: pointer;
    -webkit-box-reflect: below 10px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.2));
}

.industry-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    overflow: hidden;
    background: var(--bg-panel);
}

.industry-card:nth-child(1) {
    transform: rotateY(0deg) translateZ(520px);
}

.industry-card:nth-child(2) {
    transform: rotateY(45deg) translateZ(520px);
}

.industry-card:nth-child(3) {
    transform: rotateY(90deg) translateZ(520px);
}

.industry-card:nth-child(4) {
    transform: rotateY(135deg) translateZ(520px);
}

.industry-card:nth-child(5) {
    transform: rotateY(180deg) translateZ(520px);
}

.industry-card:nth-child(6) {
    transform: rotateY(225deg) translateZ(520px);
}

.industry-card:nth-child(7) {
    transform: rotateY(270deg) translateZ(520px);
}

.industry-card:nth-child(8) {
    transform: rotateY(315deg) translateZ(520px);
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(to top, rgba(6, 11, 25, 0.95) 0%, rgba(6, 11, 25, 0.8) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem 1.5rem 1.5rem;
    color: #ffffff;
    border-radius: 0 0 17px 17px;
    pointer-events: none;
}

.industry-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.industry-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Details Page */
.service-detail-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-detail-card.reveal {
    opacity: 0;
    transform: translateX(150px);
}

.service-detail-card.reveal.active {
    opacity: 1;
    transform: translateX(0);
    animation: autoFloatCard 6s ease-in-out infinite 0.8s;
}

@keyframes autoFloatCard {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: var(--glass-shadow);
    }

    50% {
        transform: translateY(-12px);
        box-shadow: 0 20px 45px rgba(0, 136, 204, 0.25);
        border-color: rgba(0, 198, 255, 0.3);
    }
}

.service-detail-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    border-color: rgba(0, 198, 255, 0.6);
    box-shadow: 0 25px 50px rgba(0, 198, 255, 0.3);
    animation-play-state: paused;
}

.service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-card:nth-child(even).reveal.active {
    animation: autoFloatCardEven 7s ease-in-out infinite 0.8s;
}

@keyframes autoFloatCardEven {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: var(--glass-shadow);
    }

    50% {
        transform: translateY(-12px);
        box-shadow: 0 20px 45px rgba(0, 198, 255, 0.2);
        border-color: rgba(0, 136, 204, 0.4);
    }
}

.service-detail-icon {
    flex: 0 0 200px;
    height: 200px;
    background: rgba(0, 136, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: #ffffff;
    border: 2px solid rgba(0, 198, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 136, 204, 0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: autoPulseIcon 4s ease-in-out infinite;
}

@keyframes autoPulseIcon {

    0%,
    100% {
        transform: scale(1);
        box-shadow: inset 0 0 20px rgba(0, 136, 204, 0.2);
        border-color: rgba(0, 198, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: inset 0 0 40px rgba(0, 198, 255, 0.5), 0 0 15px rgba(0, 198, 255, 0.4);
        border-color: #00f2fe;
    }
}

.service-detail-icon i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: innerFloat 3s ease-in-out infinite alternate;
}

@keyframes innerFloat {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.5));
    }

    100% {
        transform: translateY(-5px) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.9));
    }
}

.service-detail-card:hover .service-detail-icon {
    transform: rotateY(360deg) scale(1.15) !important;
    border-color: #00f2fe;
    box-shadow: inset 0 0 40px rgba(0, 198, 255, 0.6), 0 0 30px rgba(0, 198, 255, 0.5);
    animation-play-state: paused;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-detail-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.service-detail-content p:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.service-detail-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
}

.service-detail-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.service-detail-content ul li {
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
}

.service-detail-content ul li i {
    color: #00f2fe;
}

@media (max-width: 900px) {

    .service-detail-card,
    .service-detail-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .service-detail-content ul {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* About Page Specific Styles */
.about-hero {
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    padding: 4rem;
    margin-bottom: 4rem;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(6, 11, 25, 0.9));
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 50, 100, 0.3), inset 0 0 0 1px rgba(0, 198, 255, 0.1);
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 1.2rem;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.about-card {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(#0a0f1c, #0a0f1c) padding-box, var(--gradient-accent) border-box;
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 198, 255, 0.25);
}

.about-card .main-icon {
    font-size: 3.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: 0.5s;
}

.about-card:hover .main-icon {
    transform: rotateY(180deg) scale(1.1);
}

.about-card h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.director-quote {
    background: linear-gradient(135deg, rgba(0, 43, 94, 0.95) 0%, rgba(0, 198, 255, 0.4) 100%);
    position: relative;
    border-top: 2px solid rgba(0, 198, 255, 0.3);
    border-bottom: 2px solid rgba(0, 198, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 198, 255, 0.1);
}

.quote-box {
    padding: 5rem;
    text-align: center;
    border-radius: 30px;
    position: relative;
    background: rgba(6, 11, 25, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.quote-mark {
    font-size: 6rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 3rem;
    animation: autoPulseIcon 4s infinite;
}

.quote-box blockquote {
    font-size: 1.6rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.9;
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.mv-card {
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(6, 11, 25, 0.9));
    border: 1px solid rgba(0, 198, 255, 0.2);
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: 0.5s ease;
    transform-origin: left;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 198, 255, 0.6);
    box-shadow: 0 25px 50px rgba(0, 198, 255, 0.15);
}

.mv-icon {
    font-size: 4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.4));
}

.mv-card h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.mv-card p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.team-card {
    background: linear-gradient(#0a0f1c, #0a0f1c) padding-box, var(--gradient) border-box;
    border: 2px solid transparent;
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 198, 255, 0.2);
}

.team-info {
    padding: 3.5rem 2.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.team-info .designation {
    color: #00f2fe;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(0, 198, 255, 0.3);
}

.team-desc {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.1rem;
}

.team-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem auto;
    background: rgba(0, 198, 255, 0.1);
    border: 2px solid rgba(0, 198, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8rem;
    color: #00f2fe;
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.3), inset 0 0 15px rgba(0, 198, 255, 0.2);
    animation: floatTeamIcon 4s ease-in-out infinite, pulseTeamIcon 2.5s infinite;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
}

.team-card:hover .team-icon {
    background: rgba(0, 198, 255, 0.2);
    border-color: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

@keyframes floatTeamIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseTeamIcon {
    0% {
        box-shadow: 0 0 30px rgba(0, 198, 255, 0.3), inset 0 0 15px rgba(0, 198, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 198, 255, 0.6), inset 0 0 25px rgba(0, 198, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 198, 255, 0.3), inset 0 0 15px rgba(0, 198, 255, 0.2);
    }
}

/* Google Reviews UI styling */
.google-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.google-rating .stars {
    color: #fbbc05;
    font-size: 1.2rem;
}

.rating-count {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.google-g-logo {
    height: 30px;
    width: auto;
}

.reviews-slider-container {
    overflow: hidden;
    width: 100%;
    margin-top: 4rem;
    position: relative;
    padding: 2rem 0;
}

.reviews-slider-container::before,
.reviews-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.reviews-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.reviews-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.reviews-slider-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: slideReviews 8s linear infinite;
}

.reviews-slider-container:hover .reviews-slider-track {
    animation-play-state: paused;
}

@keyframes slideReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }

    /* Moves exactly half the track to perfectly loop the duplicated cards */
}

.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    text-align: left;
    color: #202124;
    width: 380px;
    /* Fixed width for sliding */
    flex-shrink: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #4caf50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.reviewer-info h4 {
    color: #202124;
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

.review-date {
    color: #70757a;
    font-size: 0.9rem;
}

.google-icon-small {
    height: 20px;
    margin-left: auto;
}

.review-stars {
    color: #fbbc05;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #3c4043;
    line-height: 1.6;
    font-size: 1rem;
}

/* Service Hero Image */
.service-hero-img-wrap {
    width: 100%;
    margin-bottom: 5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
    position: relative;
}

.service-hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 28, 0.4) 0%, rgba(10, 15, 28, 0.8) 100%);
    pointer-events: none;
}

.service-hero-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-hero-img-wrap:hover .service-hero-img {
    transform: scale(1.05);
}

.service-hero-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    width: 100%;
    padding: 2rem;
}

.service-hero-overlay-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.service-hero-overlay-text p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .service-hero-overlay-text h2 {
        font-size: 2rem;
    }

    .service-hero-overlay-text p {
        font-size: 1rem;
    }
}

/* Hero Overlay Icon Animation */
.hero-overlay-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 198, 255, 0.1);
    border: 2px solid rgba(0, 198, 255, 0.4);
    border-radius: 50%;
    color: #00f2fe;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.4), inset 0 0 20px rgba(0, 198, 255, 0.2);
    animation: floatOverlayIcon 3s ease-in-out infinite, pulseOverlayIcon 2s infinite;
    backdrop-filter: blur(5px);
}

@keyframes floatOverlayIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulseOverlayIcon {
    0% {
        box-shadow: 0 0 30px rgba(0, 198, 255, 0.4), inset 0 0 20px rgba(0, 198, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 198, 255, 0.8), inset 0 0 30px rgba(0, 198, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 198, 255, 0.4), inset 0 0 20px rgba(0, 198, 255, 0.2);
    }
}

/* Contact Page Enhancements */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 5rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-glass {
    text-align: left;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-glass h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.contact-form-glass p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.glass-input-group {
    margin-bottom: 1.5rem;
}

.glass-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
}

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: rgba(0, 198, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

.glass-input::placeholder {
    color: rgba(203, 213, 225, 0.4);
}

textarea.glass-input {
    resize: vertical;
    min-height: 120px;
}

.contact-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #25d366;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #25d366;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    right: 80px;
}

@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .glass-panel {
        backdrop-filter: blur(10px);
    }
}

/* Full Mobile Responsiveness Fix */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 85% !important;
        height: 100vh !important;
        background: rgba(7, 14, 32, 0.98) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2rem !important;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0) !important;
        opacity: 1 !important;
        transform: none !important;
        z-index: 2000 !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
        border-left: 1px solid rgba(0, 198, 255, 0.2) !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    .menu-btn {
        display: flex !important;
        z-index: 2100 !important;
        position: relative !important;
    }

    /* Navbar Logo Mobile Fix */
    .logo {
        font-size: 1.25rem !important;
        /* Proper text size */
    }

    .logo img {
        height: 48px !important;
        /* Scaled logo */
    }

    /* Hero Section Fix */
    .hero {
        padding: 4rem 1rem !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-content {
        padding: 2.5rem 1.5rem !important;
        width: 100% !important;
        border-radius: 20px !important;
        max-width: 100% !important;
        margin-top: 50px !important;
        /* Space for fixed header */
    }

    .hero h1 {
        font-size: 2.1rem !important;
        /* Smaller size to prevent crash */
        line-height: 1.2 !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-badge {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
        width: auto !important;
        text-align: left !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100% !important;
        text-align: center !important;
        padding: 1rem !important;
    }

    .container {
        padding: 0 1.2rem !important;
    }

    /* Footer Mobile Fix */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2.5rem !important;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-contact p {
        justify-content: center !important;
    }

    .footer-brand p {
        text-align: center !important;
        max-width: 100% !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .client-logo img {
        height: 45px !important;
    }

    /* Navbar Logo Mobile Fix */
    .logo {
        font-size: 1.25rem !important;
        /* Smaller text for mobile */
    }

    .logo img {
        height: 45px !important;
        /* Smaller logo image */
    }

    /* Google Reviews Mobile Fix */
    .google-rating {
        flex-direction: column !important;
        /* Stack rating and stars */
        gap: 0.5rem !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
        width: 100% !important;
    }

    .rating-number {
        font-size: 2.2rem !important;
    }

    .google-rating .stars {
        font-size: 1.4rem !important;
        /* Larger stars for better appearance */
    }

    .review-card {
        width: 300px !important;
        /* Optimal width for mobile review cards */
        padding: 1.5rem !important;
        flex-shrink: 0 !important;
    }

    .reviews-slider-track {
        animation: slideReviews 5s linear infinite !important;
        gap: 1.2rem !important;
    }

    /* Service & Reviews Hero Mobile Fix */
    .services.section-padding,
    .reviews-section.section-padding {
        padding-top: 100px !important;
        padding-bottom: 2rem !important;
    }

    .service-hero-img-wrap {
        height: auto !important;
        min-height: 400px !important;
        /* Taller to show more image */
        margin-bottom: 2.5rem !important;
        border-radius: 15px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
    }

    .service-hero-img {
        width: 100% !important;
        height: 400px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .service-hero-overlay-text {
        padding: 1.5rem !important;
    }

    .service-hero-overlay-text h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .service-hero-overlay-text p {
        font-size: 0.9rem !important;
        max-width: 90% !important;
    }

    .hero-overlay-icon i {
        font-size: 2rem !important;
    }

    /* Client Slider Mobile Fix */
    .client-slider::before,
    .client-slider::after {
        width: 60px !important;
    }

    .client-logo {
        width: 140px !important;
        flex-shrink: 0 !important;
    }

    .reverse-scroll {
        animation: scroll-reverse-mobile 20s linear infinite !important;
    }

    .client-slide-track {
        width: calc(140px * 12) !important;
        animation: scroll-mobile 20s linear infinite !important;
    }

    .tech-track {
        width: calc(140px * 18) !important;
        animation: scroll-tech-mobile 30s linear infinite !important;
    }
}

@keyframes scroll-mobile {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-140px * 6));
    }
}

@keyframes scroll-reverse-mobile {
    0% {
        transform: translateX(calc(-140px * 6));
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes scroll-tech-mobile {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-140px * 9));
    }
}

@media (max-width: 768px) {
    .industry-3d-wrapper {
        height: 550px !important;
        perspective: 1200px !important;
        overflow: visible !important;
    }

    .industry-3d-track {
        display: block !important;
        width: 220px !important;
        height: 350px !important;
        transform-style: preserve-3d !important;
        animation: rotateCarousel 40s linear infinite !important;
        margin: 0 auto !important;
    }

    .industry-card {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        transform: none;
        margin-bottom: 0 !important;
    }

    .industry-card:nth-child(1) {
        transform: rotateY(0deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(2) {
        transform: rotateY(45deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(3) {
        transform: rotateY(90deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(4) {
        transform: rotateY(135deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(5) {
        transform: rotateY(180deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(6) {
        transform: rotateY(225deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(7) {
        transform: rotateY(270deg) translateZ(260px) !important;
    }

    .industry-card:nth-child(8) {
        transform: rotateY(315deg) translateZ(260px) !important;
    }

    .industry-card-inner {
        height: 100% !important;
    }

    /* Featured Projects 3D fix for mobile */
    .project-carousel-wrapper {
        height: 450px !important;
        perspective: 1000px !important;
        overflow: visible !important;
        padding-bottom: 20px !important;
    }

    .project-carousel-track {
        display: block !important;
        width: 220px !important;
        height: 160px !important;
        transform-style: preserve-3d !important;
        animation: rotateCarousel 25s linear infinite !important;
        margin: 0 auto !important;
    }

    .project-card {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        margin-bottom: 0 !important;
    }

    .project-card:nth-child(1) {
        transform: rotateY(0deg) translateZ(240px) !important;
    }

    .project-card:nth-child(2) {
        transform: rotateY(72deg) translateZ(240px) !important;
    }

    .project-card:nth-child(3) {
        transform: rotateY(144deg) translateZ(240px) !important;
    }

    .project-card:nth-child(4) {
        transform: rotateY(216deg) translateZ(240px) !important;
    }

    .project-card:nth-child(5) {
        transform: rotateY(288deg) translateZ(240px) !important;
    }
}

.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

@media (max-width: 768px) {

    img,
    iframe {
        max-width: 100% !important;
    }

    * {
        max-width: 100vw !important;
        overflow-wrap: break-word !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25D366, #1da851);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}