:root {
    /* Color Palette - Premium Dark/Neon */
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 22, 0.65);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    /* Brand Colors - Electric Blue & Cyan */
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --glow-warm: rgba(59, 130, 246, 0.15);
    /* Blue Glow */

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    /* Blue to Sky Blue */
    --gradient-text: linear-gradient(to right, #60a5fa, #22d3ee);

    /* Dimensions & Spacing */
    --container-width: 1200px;
    --nav-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

/* Utility Animations */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Navbar Styles */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(10, 10, 11, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links .btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    color: white;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding-left: 1.75rem;
}

.fa-chevron-down {
    font-size: 0.8em;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

/* Hero Background Effects */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    /* Violet */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse-glow 10s infinite;
}

/* Services Section */
.services {
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

.section-header {
    margin-bottom: 5rem;
    /* Increased from 4rem */
    padding-top: 2rem;
    /* Added generous top padding to push it down */
}

.section-header h2 {
    font-size: 3rem;
    /* Slightly larger */
    margin-bottom: 1.5rem;
    /* Increased from 1rem */
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    /* Increased gap */
}

.service-card {
    background: rgba(20, 20, 22, 0.6);
    padding: 3rem;
    /* Increased padding */
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Stronger border */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner border for depth */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: rgba(25, 25, 28, 0.7);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Work Section */
.bg-card-alt {
    background: linear-gradient(to bottom, transparent, rgba(20, 20, 25, 0.5), transparent);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    /* Increased gap */
    margin-bottom: 4rem;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.project-card:hover .placeholder-img {
    transform: scale(1.05);
}

.project-info {
    padding: 2rem;
    /* Increased padding */
    background: rgba(20, 20, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Consistent border */
    border-top: none;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-cat {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    /* Reduced width for better form focus */
    margin: 0 auto;
}

.contact-content {
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.8) 0%, rgba(30, 30, 35, 0.8) 100%);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-content h2 {
    margin-bottom: 1rem;
}

.contact-content>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-actions {
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(10, 10, 11, 0.9);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-input:focus::placeholder {
    opacity: 0.4;
}

.w-full {
    width: 100%;
}

.margin-left {
    margin-left: 0.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.5rem;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}


/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* Privacy Page Styles */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    background: rgba(20, 20, 22, 0.6);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.privacy-section h2 {
    color: var(--text-main);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-section h2 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.privacy-section h3 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.privacy-section ul li {
    color: var(--text-muted);
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.8;
}

.privacy-section ul li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.privacy-section strong {
    color: var(--text-main);
    font-weight: 600;
}

.contact-info-box {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.contact-info-box a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-box a:hover {
    opacity: 0.8;
}

/* Utilities */
.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        padding-left: 1rem;
        display: none;
        /* Hidden by default managed by JS */
        opacity: 1;
        visibility: visible;
        transition: none;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        clip-path: inset(0 0 0 0);
    }

    .dropdown-menu li a {
        padding: 0.8rem 1rem;
    }

    .dropdown>a i {
        transition: transform 0.3s ease;
    }

    .dropdown.active>a i {
        transform: rotate(180deg);
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Specific Animation Types */
.fade-up {
    transform: translateY(30px);
}

.visible.fade-up {
    transform: translateY(0);
}

.fade-left {
    transform: translateX(30px);
}

.visible.fade-left {
    transform: translateX(0);
}

.fade-right {
    transform: translateX(-30px);
}

.visible.fade-right {
    transform: translateX(0);
}

.zoom-in {
    transform: scale(0.95);
}

.visible.zoom-in {
    transform: scale(1);
}

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Pulse Animation for CTAs */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.btn-primary {
    animation: pulse-glow 3s infinite;
}

/* Warmth for Cards */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-warm) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

/* Improved Project Placeholders */
.placeholder-img {
    background: linear-gradient(135deg, #1f1f23 0%, #2a2a30 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img::after {
    content: '\f121';
    /* FontAwesome Code Icon as placeholder */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.project-card:hover .placeholder-img::after {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
}

/* Capability Icons */
.capability-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    transition: all 0.5s ease;
}

.capability-icon i {
    font-size: 4rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
}

.project-card:hover .capability-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.project-card:hover .capability-icon i {
    transform: scale(1.1) rotate(5deg);
}

.capability-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

/* FAQ Section */
/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #0f172a;
    /* Deep blue background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    /* Pill shape */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #1e293b;
    border-color: var(--primary);
    transform: translateX(5px);
}

.faq-item.active {
    background: #1e293b;
    border-color: var(--primary);
    border-radius: 2rem;
    /* Reduce radius when open */
}

.faq-question {
    width: 100%;
    padding: 1.25rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.faq-question span {
    padding-right: 1rem;
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
    /* Rotate for right chevron */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
    padding: 0 2rem 1.5rem 2rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* FAQ CTA Card */
.faq-cta {
    background: var(--bg-card);
    /* Light background for contrast if possible, or glass */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    display: flex;
    flex-direction: column;
}

.cta-content {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cta-contacts {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.cta-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.cta-image {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.cta-image i {
    font-size: 15rem;
    color: var(--primary);
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-cta {
        position: static;
        padding: 2rem;
    }

    .cta-content {
        padding: 0;
    }
}

/* Trust Section */
.trust-section {
    background: linear-gradient(to bottom, transparent, rgba(20, 20, 25, 0.3), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(25, 25, 28, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.trust-icon i {
    font-size: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.trust-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* About Page Styles */
.hero-small {
    min-height: 60vh;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(25, 25, 28, 0.6);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 1.8rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-item {
    padding: 2rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Services Page Styles */
.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    padding: 3rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.service-detail:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon i {
    font-size: 3rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-detail-content h2 {
    margin-bottom: 1rem;
}

.service-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.service-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 2rem;
}

.price-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Active Navigation State */
.nav-links a.active {
    color: var(--primary);
}

/* Responsive for service details */
@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .service-detail-icon {
        margin: 0 auto;
    }
}

/* Portfolio Page Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    padding: 2.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-icon-large i {
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tech-category {
    padding: 2.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-category h3 i {
    color: var(--primary);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-list span {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tech-list span:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.pricing-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Feature List Overhaul (Glassmorphism Grid) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.feature-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.feature-list li:hover::before {
    opacity: 1;
}

.feature-list li i {
    font-size: 1.2rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
    /* Visual alignment */
}

.feature-list li:hover i {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.feature-list li strong {
    display: block;
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

/* Ensure text wrapping handles the icon presence */
.feature-list li div {
    flex: 1;
}

.feature-list li {
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.25rem;
        gap: 1.25rem;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}

/* Cookie Wall Overlay */
.cookie-wall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.cookie-wall.visible {
    opacity: 1;
    pointer-events: all;
}

.cookie-wall-content {
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.cookie-wall.visible .cookie-wall-content {
    transform: scale(1);
}

.cookie-wall h2 {
    color: #ff4d4d;
    /* Red warning color */
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cookie-wall p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cookie-wall-content>i {
    font-size: 3rem;
    color: #ff4d4d;
    margin-bottom: 1.5rem;
}

/* Scrolling USP Bar */
.usp-section {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    z-index: 10;
}

.usp-track {
    display: flex;
    gap: 4rem;
    width: fit-content;
    animation: scroll-loop 30s linear infinite;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.usp-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.usp-section:hover .usp-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .usp-track {
        gap: 2rem;
        animation-duration: 20s;
    }

    .usp-item {
        font-size: 0.9rem;
    }
}