/* Global Styles */
:root {
    --primary-color: #0f172a;
    /* Dark Blue - Primary (Keep dark theme base) */
    --secondary-color: #dd4072;
    /* Pink/Red - Secondary */
    --accent-color: #e1696c;
    /* Lighter Pink/Red - Accent */
    --text-color: #334155;
    --light-text: #f8f9fa;
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --ai-gradient: linear-gradient(135deg, #dd4072 0%, #e1696c 100%);
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    /* Main titles dark/black */
}

/* Subheadings / Accents */
.text-secondary,
.section-title span,
.brand-logo,
h5.text-uppercase {
    color: var(--secondary-color) !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: transparent;
    /* Transparent initially */
    position: fixed;
    /* Fixed at top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: #fff;
    padding: 1rem 5%;
    /* Shrink slightly */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    /* White at top */
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.brand-logo span {
    color: var(--secondary-color);
}

/* Scrolled Logo Colors */
.navbar.scrolled .brand-logo {
    color: var(--secondary-color);
}

.navbar.scrolled .brand-logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    /* White text at top */
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* Scrolled Nav Link Colors */
.navbar.scrolled .nav-links li a {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform 0.2s;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.hero-image {
    max-width: 45%;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services / Features Grid */
.features-section {
    padding: 5rem 5%;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #6c757d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* FooterStyles */
.site-footer {
    background-color: var(--primary-color);
    color: #e2e8f0;
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Optional pattern overlay for footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/footer-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
}

.newsletter-form input:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form button {
    border-radius: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    color: #64748b;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem 5%;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        z-index: 1001;
        transition: right 0.3s ease-in-out;
        visibility: hidden;
    }

    .nav-links-wrapper.active {
        right: 0;
        visibility: visible;
    }

    .sidebar-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        z-index: -1;
    }

    .nav-links-wrapper.active .sidebar-overlay {
        opacity: 1;
    }

    .nav-links {
        position: absolute;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
        margin-bottom: 1rem;
    }

    .mobile-header .brand-logo {
        font-size: 1.5rem;
    }

    .close-menu {
        background: none;
        border: none;
        font-size: 1.2rem;
        color: #64748b;
        cursor: pointer;
    }

    .nav-links li:not(.mobile-header) {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
        color: var(--primary-color);
        border-bottom: 1px solid #f8f9fa;
    }

    .nav-links li a:hover {
        background-color: #f8f9fa;
        color: var(--secondary-color);
        padding-left: 2rem;
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-links .btn-primary {
        margin: 1.5rem;
        display: inline-block;
        width: calc(100% - 3rem);
        text-align: center;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Centered Footer on Mobile */
    .footer-grid {
        text-align: center;
        gap: 2rem;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col .brand-logo {
        justify-content: center;
    }

    .footer-col .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (min-width: 992px) {

    .mobile-toggle,
    .mobile-header,
    .sidebar-overlay {
        display: none;
    }
}

/* Enterprise Page Redesign Styles */
.enterprise-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 8rem 5% 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.enterprise-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png') repeat;
    /* Optional pattern */
    opacity: 0.05;
}

.enterprise-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.enterprise-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #cbd5e1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.enterprise-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft, large shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
}

.enterprise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--primary-color);
}

.enterprise-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.enterprise-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

.enterprise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.enterprise-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 6rem 5%;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-light-custom {
    background: #fff;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-light-custom:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: #004494;
}

/* Responsive adjustments for Enterprise */
@media (max-width: 768px) {
    .enterprise-hero {
        padding: 6rem 5% 4rem;
    }

    .enterprise-hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Services Page Redesign & Animations */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Animated Utilities */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Initially hidden */
}

/* Stagger delays (applied inline or via nth-child loops if preferred, inline is easier for explicit control) */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Animated Hero */
.services-hero {
    background: var(--hero-gradient);
    /* background-size: 400% 400%; */
    /* animation: gradientBG 15s ease infinite; */
    color: #fff;
    padding: 10rem 5% 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: white;
    background: none;
    -webkit-text-fill-color: initial;
}

.services-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: #e2e8f0;
    line-height: 1.8;
}

/* Modern Service Card */
.service-card-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ai-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px -10px rgba(221, 64, 114, 0.3);
    border-color: transparent;
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-card-modern .icon-wrapper {
    width: 90px;
    height: 90px;
    background: rgba(221, 64, 114, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.service-card-modern:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: var(--ai-gradient);
}

.service-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    color: var(--secondary-color);
}

.service-card-modern p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-card-modern:hover h3,
.service-card-modern:hover p {
    color: #fff;
}

/* Floating Shapes (Optional Background Elements) */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 123, 255, 0.05);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(102, 16, 242, 0.05);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

/* =========================================
   Cursor Animation Engine
========================================= */
.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 59, 83, 0.2);
    /* Red/Pink tint */
    box-shadow: 0 0 20px 10px rgba(255, 59, 83, 0.2);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: screen;
    /* Cool lighting effect */
}

.cursor-hover {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.2);
    /* Blue tint on hover */
    box-shadow: 0 0 30px 15px rgba(0, 123, 255, 0.2);
}

/* =========================================
   Animated CTA Section
========================================= */
.cta-animated-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
    background: var(--hero-gradient);
    /* Theme color background */
    z-index: 1;
    border-radius: 50px;
    /* Rounded Section */
    margin: 4rem 5%;
    /* Spacing from edges */
    color: white;
}

/* Rotating Rings */
.ring-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Lighter rings for dark bg */
    animation: spin 20s linear infinite;
}

.ring-1 {
    width: 600px;
    height: 600px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.1);
    animation-duration: 30s;
}

.ring-2 {
    width: 800px;
    height: 800px;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.05);
    animation-duration: 45s;
    animation-direction: reverse;
}

.ring-3 {
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    animation-duration: 60s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



/* Floating Orbs (3D Sphere Effect) */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: none;
    /* Removed blur for sharp 3D look */
    opacity: 1;
    mix-blend-mode: normal;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.orb-1 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #ff80ed, #ff00de);
    /* 3D Pink Sphere */
    box-shadow: 0 10px 30px rgba(255, 0, 222, 0.4);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.orb-2 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #4facfe, #00f2fe);
    /* 3D Cyan Sphere */
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.4);
    bottom: 25%;
    right: 25%;
    animation-delay: -2s;
}

.orb-3 {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #ffe580, #ffae00);
    /* 3D Gold Sphere */
    box-shadow: 0 5px 15px rgba(255, 174, 0, 0.4);
    top: 55%;
    left: 75%;
    animation-delay: -4s;
}

/* CTA Content */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white !important;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-gradient-animated {
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
    display: inline-block;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-cta-pulse {
    background: linear-gradient(90deg, #dd4072, #4557f6);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 25px rgba(221, 64, 114, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-cta-pulse:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(69, 87, 246, 0.4);
    color: white;
}

/* =========================================
   Scroll Animations
========================================= */
.opacity-0 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delays for grids */
.feature-card:nth-child(2),
.col-md-4:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3),
.col-md-4:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(4),
.col-md-4:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(5),
.col-md-4:nth-child(5) {
    transition-delay: 0.4s;
}

.feature-card:nth-child(6),
.col-md-4:nth-child(6) {
    transition-delay: 0.5s;
}

/* =========================================
   Animation Enhancements
========================================= */

/* Client Marquee */
.client-marquee {
    white-space: nowrap;
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 30s linear infinite;
    /* Ensure content is wide enough for seamless loop */
    min-width: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover for readability */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}


/* Stats Section */
.text-gradient-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Typing Effect Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--secondary-color);
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* =========================================
   Gujjucode Redesign Styles
========================================= */

/* Hero Section Overrides */
.hero-section {
    background-size: cover;
    background-position: center;
}

.hero-section h1,
.hero-section p {
    color: white !important;
}

/* AI Solutions Grid */
.service-card-modern {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--secondary-color);
}

.service-card-modern .icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card-modern:hover .icon-wrapper {
    background: var(--secondary-color);
    color: white !important;
}

/* Case Studies Section */
.case-card {
    cursor: pointer;
}

.case-img-wrapper {
    overflow: hidden;
}

.case-img-wrapper img {
    transition: transform 0.6s ease;
}

.case-card:hover .case-img-wrapper img {
    transform: scale(1.1);
}

.case-card:hover .overlay {
    opacity: 1 !important;
}

.case-content h3 a {
    background-image: linear-gradient(to right, var(--secondary-color), var(--secondary-color));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.case-card:hover .case-content h3 a {
    background-size: 100% 2px;
    color: var(--secondary-color) !important;
}

/* Custom Styles Added for Brand Consistency */
.btn-outline-custom {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 64, 114, 0.3);
}

.text-gradient {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Standard property for compatibility */
    color: transparent;
    /* Fallback/Requirement for gradient text */
}

/* Override potential blue text-primary issues */
.text-primary {
    color: var(--secondary-color) !important;
    /* Force all primary text to be pink/red */
}

/* Specific overrides if needed */
.icon-box.text-primary {
    color: var(--secondary-color) !important;
}

a.text-primary {
    color: var(--secondary-color) !important;
}

/* Smoke Cursor Effect */
.cursor-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: fadeSmoke 1s forwards;
    z-index: 9999;
    opacity: 0.8;
    filter: blur(2px);
    /* Soften edges for smoke look */
}

@keyframes fadeSmoke {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -100px) scale(0.5);
        /* Float up and shrink */
    }
}

/* =========================================
   Footer Styles (Black Text Update)
========================================= */
.site-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 70px 0 30px;
    font-size: 0.9rem;
}

.site-footer h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 20px;
}

.site-footer p {
    color: #000000;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer ul li a:hover {
    color: var(--secondary-color);
}

.site-footer .social-links a {
    color: #000000;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.site-footer .social-links a:hover {
    color: var(--secondary-color);
}

.site-footer .brand-logo {
    color: #000000;
    font-weight: 800;
    font-size: 1.5rem;
}

.site-footer .brand-logo span {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #000000;
}

/* =========================================
   AI Acceleration Stats Section (Enhanced)
========================================= */
.ai-stats-section {
    position: relative;
    z-index: 1;
    background: #f8f9fa;
    /* Light background for contrast */
}

.stats-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    /* Reduced padding from 2.5rem */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* height: 100%; Removed to fix layout overlap */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 550px;
    /* Constrain width */
    margin: 0 auto;
    /* Center in column if smaller */
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Lift effect */
}

.stats-card-title {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #1e293b;
    /* Dark slate */
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
    transition: opacity 0.3s ease;
}

.stats-item:last-child {
    margin-bottom: 0;
}

/* Tool Icon with Background */
.tool-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 10px;
    background: #f8fafc;
    transition: background 0.3s ease, color 0.3s ease;
}

.stats-item:hover .tool-icon {
    background: #eff6ff;
}

.stats-info {
    flex-grow: 1;
    display: flex;
    align-items: baseline;
    width: 100%;
}

.tool-name {
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    margin-right: 15px;
    font-size: 1.05rem;
}

/* Styled Progress Line */
.progress-line {
    flex-grow: 1;
    border-bottom: 2px dotted #cbd5e1;
    /* Dotted line */
    position: relative;
    top: -5px;
    margin-right: 15px;
    opacity: 0.6;
}

.stats-percentage {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

/* Custom Icon Colors (simulating brands) */
.icon-cursor {
    color: #000;
}

.icon-github {
    color: #24292e;
}

.icon-claude {
    color: #d97757;
}

.icon-lovable {
    color: #ff5a5f;
}

.icon-bolt {
    color: #fbbf24;
}

.icon-vercel {
    color: #000;
}

.icon-chatgpt {
    color: #10a37f;
}

.icon-gemini {
    color: #4285f4;
}

.icon-n8n {
    color: #ff6b6b;
}

.icon-make {
    color: #6f42c1;
}

.icon-zapier {
    color: #ff4f00;
}

.icon-langchain {
    color: #1c2c36;
}

/* Engagement Models Section */
.nav-pills .nav-link {
    background-color: transparent;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: #6c757d;
    /* Muted text default */
}

.nav-pills .nav-link.active {
    background-color: #fff;
    color: #dc3545;
    /* Danger color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #dc3545 !important;
}

.nav-pills .nav-link:hover {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.text-purple {
    color: #6f42c1;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border: 1px solid var(--primary-color);
    background-color: #fff !important;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Blur Effect for Backgrounds */
.blur-3xl {
    filter: blur(60px);
}

/* Purple Theme Helpers */
.text-purple {
    color: #6f42c1 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.border-purple {
    border-color: #6f42c1 !important;
}


/* Mobile Toggle Scroll Color Overrides */
.mobile-toggle {
    color: #fff !important;
    /* Force white at top */
    transition: color 0.3s ease;
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-color) !important;
    /* Dark on scroll */
}