/* Global Styles */
:root {
    /* Core Colors */
    --primary-color: #2563eb;     /* Main blue */
    --accent-color: #00f2ff;      /* Cyan for particles */
    --bg-dark: #0B1120;           /* Updated darker navy blue background */
    --bg-section: #0D1425;        /* Slightly lighter navy for sections */
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    
    /* Card Colors */
    --card-bg: rgba(13, 20, 37, 0.7);  /* Updated card background */
    --card-border: rgba(255, 255, 255, 0.05);
    --card-hover-border: rgba(0, 242, 255, 0.3);
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #2563eb, #00f2ff);
    
    --secondary-color: #00f2ff; /* Darker blue */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --text-color: #1F2937;
    --light-bg: #f0f9ff;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    --metric-label: #6B7280;
    --badge-bg: #3B82F6; /* Blue badge background */
    --text-body: #6B7280; /* Lighter gray for body text */
    --text-light: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateZ(0);
    will-change: transform;
}

.logo {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: transform 0.3s ease-in-out;
}

.nav-links.active {
    transform: translateX(0);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--box-shadow);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-button {
    background: #2563EB; /* Solid bright blue background */
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 28px;
    border: none;
    border-radius: 30px; /* More rounded corners */
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    background: #1D4ED8; /* Slightly darker blue on hover */
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

/* Keeping the shine effect but making it more subtle */
.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.cta-button:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    overflow: hidden;
    background: transparent; /* Remove background since particles.js handles it */
    padding: 4rem;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: left; /* Left align text */
    margin-right: auto; /* Push content to the left */
}

/* Hero Section Container */
.hero-section {
    padding: 2rem;
}

/* Hero Text Styles */
.hero-text {
    color: #1E90FF;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.hero-text h1 div {
    font-size: 4rem;
    text-align: left;
}

/* Subheadline Styles */
.subheadline {
    color: #808080;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: left;
    margin-left: 0.2rem;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .hero-section {
        padding: 1rem;
    }

    .hero-text h1 div {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .subheadline {
        font-size: 1rem; /* Smaller font size for mobile */
        line-height: 1.3; /* Tighter line height */
        margin-top: 1rem; /* Add some space between hero and subheadline */
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .subheadline {
        font-size: 0.9rem; /* Even smaller for very small devices */
    }
}

/* Ensure text remains visible and properly aligned */
.hero-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding-left: 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4e7fff, #00f2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    letter-spacing: -0.02em;
    max-width: 800px;
}

/* Adjust the line spacing */
.hero h1 .line {
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure the text breaks are in the right places */
.hero h1 br {
    line-height: 1.1;
}

.hero .subheadline {
    font-size: 1.25rem;
    color: #94a3b8; /* Brighter gray-blue for better visibility */
    margin-bottom: 2rem;
    line-height: 1.6;
    letter-spacing: 0.2px; /* Better readability */
    font-weight: 400; /* Slightly lighter weight */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out 0.3s backwards;
    font-family: 'Inter', sans-serif;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem; /* Increased gap between buttons */
    justify-content: flex-start;
}

.primary-cta, .secondary-cta {
    padding: 1rem 2rem;
    border-radius: 30px; /* More rounded corners */
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-cta {
    background: #2563EB; /* Solid bright blue background */
    color: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    font-family: 'Inter', sans-serif;
}

.secondary-cta {
    background: transparent;
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #2563EB;
    font-family: 'Inter', sans-serif;
}

/* Hover effects */
.primary-cta:hover {
    background: #1D4ED8; /* Slightly darker blue on hover */
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.secondary-cta:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.5);
}

/* Active state */
.primary-cta:active, .secondary-cta:active {
    transform: translateY(1px);
}

/* Shine effect */
.primary-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.primary-cta:hover::after {
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-200%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .primary-cta, .secondary-cta {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    padding: 100px 5%;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Title Styling */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeIn 1s ease-out;
}

.section-subtitle {
    text-align: center;
    color: #94A3B8; /* Brighter gray-blue for better visibility */
    font-size: 1.2rem;
    max-width: 700px; /* Slightly wider for better text flow */
    margin: 0 auto 4rem;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.3s backwards;
    letter-spacing: 0.2px; /* Better readability */
    font-weight: 400; /* Slightly lighter weight */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add subtle animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add decorative dots */
.section-title-wrapper {
    position: relative;
}

.section-title-wrapper::before,
.section-title-wrapper::after {
    content: '•';
    position: absolute;
    color: #3B82F6; /* Matching blue */
    font-size: 2rem;
    opacity: 0.5;
}

.section-title-wrapper::before {
    left: 20%;
    top: -20px;
}

.section-title-wrapper::after {
    right: 20%;
    bottom: -20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--card-hover-border);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.service-features li::before {
    content: '→';
    color: var(--primary-color);
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

.service-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-cta:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Projects Section */
.projects {
    padding: 80px 5%;
    background: #f8faff;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.project-slider {
    padding: 20px 10px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--card-hover-border);
    background: rgba(13, 20, 37, 0.8);
}

/* Project Image Animation */
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Content Animation */
.project-content {
    padding: 1.25rem;
    z-index: 2;
}

.project-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 12px 0;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: var(--accent-color);
}

/* Project Badge Animation */
.project-badge {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.project-card:hover .project-badge {
    background: var(--accent-color);
    transform: translateX(5px);
}

/* Metrics Animation */
.metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.metric .value {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.metric .label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.project-card:hover .metric .value {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.project-card:hover .metric .label {
    color: var(--text-primary);
}

/* Icon Animation */
.project-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    color: var(--primary-color);
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

/* Shine Effect */
.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.project-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Results Section Animation */
.results {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-item .number {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-card:hover .result-item .number {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-card {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .metric .value {
        font-size: 1.125rem;
    }
}

/* Professional Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: rgba(13, 18, 28, 0.95);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 70%);
}

.testimonials .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

/* AI-Themed Testimonial Cards */
.testimonial-card {
    background: rgba(13, 20, 37, 0.95);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Modern Tech Hover Effect */
.testimonial-card:hover {
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(13, 20, 37, 0.98);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

/* AI Processing Effect */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-color) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: translateX(100%);
}

/* Data Metrics Animation */
.metric-item .value {
    color: var(--accent-color);
    font-family: 'Roboto Mono', monospace;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover .metric-item .value {
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

/* AI Quote Styling */
.quote-icon {
    color: var(--accent-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    opacity: 1;
}

/* Client Info Tech Style */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

.client-info h4 {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.testimonial-card:hover .client-info h4 {
    color: var(--accent-color);
}

/* Processing Lines Effect */
.processing-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.processing-lines::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: processing 2s infinite;
}

.testimonial-card:hover .processing-lines {
    opacity: 1;
}

@keyframes processing {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* Update particle styling */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(13, 18, 28, 0.95);
}

/* Adjust particle connection lines */
.particles-js-canvas-el {
    opacity: 0.6; /* Make the connections more visible */
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: var(--light-bg);
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.contact-form input:invalid,
.contact-form select:invalid,
.contact-form textarea:invalid {
    border-color: #ef4444;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: rgba(13, 18, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px 5% 40px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 60px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2563EB;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #2563EB;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2563EB;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero::before {
        width: 100%;
        right: -50%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .primary-cta,
    .secondary-cta {
        width: 100%;
        text-align: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: auto !important; /* Override smooth scroll */
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
* {
    scrollbar-width: none;
}

/* Ultra-fast cursor */
.custom-cursor,
.cursor-dot {
    display: none !important;
}

/* Modern Scroll Progress Indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px; /* Made slightly taller */
    background: rgba(13, 18, 28, 0.3); /* Darker background */
    z-index: 9999; /* Ensure it's above everything */
}

.scroll-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(
        90deg,
        #2563EB,
        #60A5FA
    );
    transition: width 0.05s ease;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.7); /* Stronger glow */
}

/* Remove default scroll behavior */
html {
    scroll-behavior: auto !important;
}

/* Hide default scrollbar */
::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Optimize cursor performance */
* {
    cursor: default; /* Default cursor for non-interactive elements */
}

/* Ensure hardware acceleration */
.custom-cursor,
.cursor-dot,
.scroll-progress {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Optional: Add hover effect to scroll indicator */
.scroll-progress-container:hover .scroll-progress {
    height: 5px;
    transition: height 0.2s ease;
}

/* Add loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

/* Particle Effects */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 0;
}

/* Wave Animation */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.wave {
    animation: wave-animation 12s linear infinite;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Add dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f8fafc;
        --light-bg: #1e293b;
        --white: #0f172a;
    }

    .navbar {
        background: rgba(15, 23, 42, 0.95);
    }

    .project-card {
        background: #1e293b;
    }

    .project-content h3 {
        color: #f8fafc;
    }
}

/* Icon/Image styling */
.project-image {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-image path {
    transition: all 0.3s ease;
}

.project-card:hover .project-image path {
    stroke: #60a5fa; /* Lighter blue on hover */
}

/* For the specific icons */
.ai-campaign-icon {
    background: url('../assets/campaign-icon.svg') no-repeat center;
    /* Or use an icon like: */
    /* content: '📈'; */
}

.ai-sales-icon {
    background: url('../assets/sales-icon.svg') no-repeat center;
    /* Or use an icon like: */
    /* content: '🤖'; */
}

.ai-marketing-icon {
    background: url('../assets/marketing-icon.svg') no-repeat center;
    /* Or use an icon like: */
    /* content: '📊'; */
}

.project-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    color: #60a5fa;
}

.project-grid-card {
    background: #1A1C2A;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-card {
    padding: 12px;
    text-align: center;
}

.mini-card .project-icon {
    width: 32px;
    height: 32px;
}

.mini-card h3 {
    font-size: 0.875rem;
    margin: 8px 0;
    color: #FFFFFF;
}

.mini-card .metrics {
    font-size: 0.75rem;
}

.mini-card .value {
    color: #2563eb;
    font-weight: 600;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Enhanced Custom Cursor Styles */
.custom-cursor {
    display: none !important;
}

.cursor-dot {
    display: none !important;
}

/* Hover States */
.custom-cursor.hover {
    display: none !important;
}

.cursor-dot.hover {
    display: none !important;
}

/* View State (for project cards) */
.custom-cursor.view {
    display: none !important;
}

/* Social Icons State */
.custom-cursor.social {
    display: none !important;
}

/* Media State */
.custom-cursor.media {
    display: none !important;
}

/* Text Selection State */
.custom-cursor.text {
    display: none !important;
}

/* Click Animation */
.custom-cursor.click {
    display: none !important;
}

.cursor-dot.click {
    display: none !important;
}

/* Hidden State */
.custom-cursor.hidden,
.cursor-dot.hidden {
    display: none !important;
}

/* Mobile and Touch Devices */
@media (max-width: 768px), (hover: none) {
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
}

/* Performance Optimization */
* {
    cursor: default; /* Default cursor for non-interactive elements */
}

/* Ensure smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .custom-cursor,
    .cursor-dot {
        transition-duration: 0.2s;
    }
}

/* Add these styles for the slider */
.testimonial-slider {
    overflow: hidden;
    position: relative;
    padding-bottom: 60px; /* Space for pagination */
}

/* Custom pagination styling */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(37, 99, 235, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #2563EB;
    transform: scale(1.2);
}

/* Fade animation for slides */
.swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.swiper-slide-active {
    opacity: 1;
}

/* Add animation styles for metrics */
.metric-value {
    font-size: 48px;
    font-weight: 700;
    color: #2563EB;
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.5s ease forwards;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.5s ease forwards 0.2s;
}

@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure active slide metrics are visible */
.swiper-slide-active .metric-value,
.swiper-slide-active .metric-label {
    animation-play-state: running;
}

/* Add styles for the section header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Optional animation for the header */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s ease forwards;
}

.benefits {
    padding: 100px 5%;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.main-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin-bottom: 64px;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.benefit-item {
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 24px;
}

.benefit-item h3 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 16px;
}

/* Animation */
.benefit-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.5s ease forwards;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.6s;
}

.intro {
    padding: 100px 5%;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.main-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    line-height: 1.6;
}

.tech-advantages {
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
    background: rgba(13, 18, 28, 0.2); /* More transparent dark background */
    z-index: 2;
}

.advantages-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.gradient-text {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tech-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.01); /* Very subtle white background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px); /* Reduced blur */
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: #2563EB;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: #00F2FF;
    transition: all 0.3s ease;
}

.stat-card h3 {
    color: #FFFFFF;
    font-size: 20px;
    margin-bottom: 10px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(13, 18, 28, 0.3); /* Matching dark transparent background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tech-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #2563EB;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 568px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gradient-text {
        font-size: 36px;
    }
}

.our-work {
    padding: 120px 5%;
    position: relative;
    background: rgba(13, 18, 28, 0.2);
    backdrop-filter: blur(3px);
}

.work-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.project-content h3 {
    color: white;
    font-size: 1.25rem;
    margin: 12px 0;
}

.project-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.project-badge {
    background: rgba(37, 99, 235, 0.1);
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 12px 0;
    display: inline-block;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.metric .value {
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.metric .label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        max-width: 100%;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Add these styles for the particles background */
.testimonials {
    position: relative;
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

/* Make sure all your sections have proper z-index */
section {
    position: relative;
    z-index: 2;
}

/* Modern Tech Icons Styling */
.success-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
    opacity: 0.9;
}

/* Icon Container */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
}

/* Success Story Card Layout */
.success-story {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: rgba(13, 20, 37, 0.95);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 12px;
}

/* Quote Text Styling */
.quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* Client Info Layout */
.client-info {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

/* Metrics Container */
.metrics-container {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.hover-animate {
    transition: all 0.3s ease;
}

.hover-animate:hover {
    transform: translateY(-2px);
}

.success-icon {
    color: #00F2FF;
}

.founder-name {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.founder-name:hover {
    color: #00F2FF;
}

.founder-name::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #00F2FF;
    transition: width 0.3s ease;
}

.testimonial-card:hover .founder-name::after {
    width: 100%;
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover .success-icon {
    color: #00F2FF;
    transform: translateY(-2px);
}

.testimonial-card:hover .founder-name {
    color: #00F2FF;
    transform: translateY(-2px);
}

/* Professional AI Chat Widget Styling */
.ai-chat-container {
    position: fixed;
    bottom: 120px !important; /* Increased from 100px to move it higher */
    right: 30px;
    width: 380px;
    z-index: 9998;
    background: linear-gradient(180deg, rgba(13, 18, 28, 0.99) 0%, rgba(13, 18, 28, 0.97) 100%);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 242, 255, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.ai-chat-container.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Header */
.ai-chat-header {
    position: relative;  /* Added to handle absolute positioning of minimize button */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.05), rgba(0, 242, 255, 0.02));
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.ai-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-bot-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #00F2FF, rgba(0, 242, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ai-bot-avatar::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.ai-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0D121C;
}

.ai-bot-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-bot-info h3::before {
    content: 'Qurious';
    background: linear-gradient(90deg, #00F2FF, #00D5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-bot-info h3::after {
    content: 'Minds';
    color: #fff;
}

.ai-status {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: rgba(0, 242, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00F2FF;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Messages Area */
.ai-chat-messages {
    height: 350px;
    padding: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.ai-message {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: messageSlide 0.3s forwards;
}

.ai-message-content {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}

.ai-message.ai .ai-message-content {
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.1);
    color: #fff;
    margin-right: auto;
    box-shadow: 0 2px 6px rgba(0, 242, 255, 0.05);
}

.ai-message.user .ai-message-content {
    background: #00F2FF;
    color: #0D121C;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(0, 242, 255, 0.15);
}

.ai-timestamp {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    margin-left: 5px;
}

/* Input Area */
.ai-chat-input {
    padding: 20px;
    background: rgba(13, 18, 28, 0.98);
    border-top: 1px solid rgba(0, 242, 255, 0.1);
    display: flex;
    gap: 12px;
}

.ai-chat-input input {
    flex: 1;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ai-chat-input input:focus {
    outline: none;
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(0, 242, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
}

.ai-send-btn {
    background: linear-gradient(135deg, #00F2FF, #00D5FF);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 242, 255, 0.2);
}

/* Toggle Button */
.ai-chat-toggle {
    position: fixed;
    bottom: 50px !important; /* Increased from 30px to match new container position */
    right: 30px;
    width: 60px;
    height: 60px;
    background: #00F2FF;
    border-radius: 16px;
    cursor: pointer;
    z-index: 9999;  /* Ensure it's above other elements */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.3);
    transition: transform 0.3s ease;
}

.ai-toggle-icon {
    color: #0D121C;
    font-size: 24px;
    font-weight: 600;
}

.ai-chat-toggle:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes shimmer {
    0% { transform: translateX(-150%) rotate(45deg); }
    100% { transform: translateX(150%) rotate(45deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes messageSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing Indicator */
.typing-indicator {
    padding: 12px 16px;
    background: rgba(0, 242, 255, 0.08);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: rgba(0, 242, 255, 0.5);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .ai-chat-container {
        bottom: 80px !important; /* Adjusted for mobile */
    }
    
    .ai-chat-toggle {
        bottom: 20px !important;
    }
}

/* Minimize Button Styling */
.ai-minimize {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.ai-minimize:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 18, 28, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(0, 242, 255, 0.15);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transform: translateY(100%);
    animation: slideCookieBanner 0.5s forwards;
}

.cookie-banner p {
    color: #fff;
    margin: 0;
    font-size: 14px;
}

.accept-cookies {
    background: #00F2FF;
    color: #0D121C;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 242, 255, 0.2);
}

@keyframes slideCookieBanner {
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
}

/* Futuristic AI Logo Styling */
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-text {
    font-family: 'Orbitron', sans-serif; /* More futuristic font */
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-logo-text .qurious {
    color: #00F2FF;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    animation: glowPulse 2s infinite;
}

.nav-logo-text .minds {
    color: #fff;
    margin-left: 8px;
    opacity: 0.9;
}

.nav-logo-text::before {
    content: 'AI';
    position: absolute;
    top: -12px;
    right: -15px;
    font-size: 12px;
    color: #00F2FF;
    background: rgba(0, 242, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 242, 255, 0.8); }
    100% { text-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
}

/* Add this in your <head> tag */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');

/* Footer Logo Area Styling */
.footer-section {
    padding: 40px 0;
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
}

.footer-logo-text .qurious {
    color: #00F2FF;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    animation: glowPulse 2s infinite;
}

.footer-logo-text .minds {
    color: #fff;
    opacity: 0.9;
}

.footer-logo-text::before {
    content: 'AI';
    position: absolute;
    top: -12px;
    right: -15px;
    font-size: 14px;
    color: #00F2FF;
    background: rgba(0, 242, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* Keep the existing glow animation */
@keyframes glowPulse {
    0% { text-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 242, 255, 0.8); }
    100% { text-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
}

/* Footer Brand Styling */
.footer-brand {
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo-text .qurious {
    color: #00F2FF;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    animation: glowPulse 2s infinite;
}

.footer-logo-text .minds {
    color: #fff;
    opacity: 0.9;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Success Stories Section */
.testimonials {
    padding: 100px 0;
    background: rgba(13, 18, 28, 0.95);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 0 24px;
}

.testimonial-card {
    background: rgba(13, 20, 37, 0.95);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 40px;
        padding: 0 16px;
    }

    .testimonial-card {
        padding: 24px;
        width: 100%;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .testimonials {
        padding: 40px 0;
    }

    .testimonials-grid {
        gap: 16px;
        margin-top: 30px;
        padding: 0 12px;
    }

    .testimonial-card {
        padding: 20px;
    }
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #00F2FF;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to bottom,
            rgba(11, 17, 32, 0.98),
            rgba(13, 20, 37, 0.98)
        );
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding: 4rem 2rem; /* Increased padding */
        z-index: 1000;
        overflow-y: auto; /* Allow scrolling if needed */
        height: 100vh; /* Explicit height */
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        color: #fff;
        opacity: 0.9;
        transition: opacity 0.3s ease;
        display: block !important;
        width: 100%; /* Full width */
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-links a:hover {
        opacity: 1;
        color: #00F2FF;
    }

    .cta-button {
        margin-top: 1.5rem;
        width: 200px;
    }

    /* Reset any potential hiding styles */
    .nav-links > * {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}