/* assets/css/style.css */

:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #1E293B;
    --accent: #60A5FA;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #F1F5F9;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-border-2: rgba(255, 255, 255, 0.05);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    /* Changed default to dark */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}


/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.08;
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: #3B82F6;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: #6366F1;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    background: #2563EB;
    width: 400px;
    height: 400px;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-white {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-white:hover {
    background: var(--text-light);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 95vh;
    background: url('../img/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    color: var(--white);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), var(--bg-dark));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section.dark {
    background: transparent;
}

/* Let blobs show */

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

.label {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
    /* Changed for better contrast against dark background */
}

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

.section-header p {
    color: var(--text-light);
    /* Lighter text for section descriptions */
    opacity: 0.8;
}

/* Cards & Grid */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-services {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 1px solid var(--card-border-2);
    pointer-events: none;
}

.card h3 {
    color: var(--white);
}

.card p {
    color: var(--text-muted);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Process Section */
.process {
    background: var(--bg-dark);
}

.process-grid {
    margin-top: 50px;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.process-item {
    position: relative;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.process-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.process-content h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.process-content p {
    color: var(--text-light);
    opacity: 0.8;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-icon {
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

/* Specialization Section */
.dark {
    background: var(--bg-dark);
    color: var(--white);
}

.dark h2 {
    color: var(--white);
}

.specialization-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc48?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80') center/cover;
    border-radius: 20px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.specialization-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
}

.glass-box {
    position: relative;
    z-index: 2;
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    max-width: 80%;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.list-icon {
    color: var(--primary);
    width: 18px;
}

.stats {
    margin-top: 40px;
}

.stat .count {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* Tech Stack Marquee */
.tech-stack {
    overflow: hidden;
    padding: 60px 0;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.tech-track {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    gap: 100px;
}

.tech-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    opacity: 0.5;
    transition: var(--transition);
}

.tech-item:hover {
    color: var(--primary);
    opacity: 1;
}

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

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

/* Contact Section Tweaks */
.contact {
    background: transparent;
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--white);
    border: 1px solid var(--glass-border);
}

.contact-form label {
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--glass-border);
    color: var(--white);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--primary);
    width: 24px;
    margin-top: 5px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

.faq-icon {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Footer Status */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px dotted var(--primary);
}

.contact-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary-hover);
}

.contact-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-cta-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 60px 40px;
    width: 100%;
    max-width: 500px;
}

.cta-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
}

.btn-cta-main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-icon-right {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-cta-main:hover .btn-icon-right {
    transform: translateX(5px);
}

.cta-trust {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-icon {
    width: 14px;
    height: 14px;
    color: #10B981;
}

.legal-info {
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #0B1120;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

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

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    color: var(--text-muted);
    transition: var(--transition);
}

.socials a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}