:root {
    --primary: #330070;  /* Changed from #6b4eff */
    --dark: #1f1f2e;
    --light: #f7f7fb;
    --white: #ffffff;
}


* {
    box-sizing: border-box;
    margin: 0;
    font-family: "Segoe UI", sans-serif;
}

body {
    color: var(--dark);
    background: white;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #eee;
    z-index: 100;
}

.nav-logo {
    width: 38px;
    height: 38px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 10px;      /* rounded corners */
    background: #330070;     /* optional background */
    padding: 4px;            /* gives breathing space */
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.logo span {
    color: var(--primary);
}

nav a {
    margin-left: 24px;
    text-decoration: none;
    color: var(--dark);
}

/* HERO */
.hero {
    padding: 120px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* BUTTON */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}


/* SECTIONS */
.section {
    padding: 100px 0;
}

.light-bg {
    background: var(--light);
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* INDUSTRIES */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-grid span {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* CTA */
.cta {
    background: var(--primary);
    color: white;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 30px auto 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: none;
}

/* FOOTER */
footer.footer {
    padding: 30px;
    text-align: center;
    background: #330070; /* Purple background */
    color: white;        /* White text for visibility */
}

footer.footer a {
    color: white;        /* Social media links */
    margin: 0 10px;
    text-decoration: none;
}

footer.footer a:hover {
    text-decoration: underline;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info {
    margin-bottom: 10px;
}

.footer-social a {
    margin-left: 15px;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}


/* SERVICE ENHANCEMENTS */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

/* LOGO GRID */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.logo-box {
    background: white;
    padding: 30px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* TECH STACK MARQUEE */
.tech-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.tech-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollTech 40s linear infinite;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
    transition: transform 0.3s;
}

.tech-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.tech-item:hover {
    transform: scale(1.2);
}

@keyframes scrollTech {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Duplicate for seamless loop if needed */
.tech-track::after {
    content: '';
    display: inline-block;
    width: 50%;
}


.tech-track {
    display: flex;
    width: 200%; /* double */
    animation: scrollTech 60s linear infinite;
}
/* TECH STACK MARQUEE */
.tech-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.tech-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollTech 60s linear infinite;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--dark);
    white-space: nowrap;
    transition: transform 0.3s;
}

.tech-item img, .tech-item svg {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
}

.tech-item:hover {
    transform: scale(1.2);
}

@keyframes scrollTech {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Optional: seamless loop */
.tech-track::after {
    content: '';
    display: inline-block;
    width: 50%;
}


/* CONTACT SECTION */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-info ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-info ul li a {
    color: var(--primary);
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    margin-right: 16px;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #000;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #aaa;
    padding: 30px 24px;
    text-align: center;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social a {
    margin-left: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

/* Contact Form adjustments */
.contact-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    width: 100%;
}

/* WHY US GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.why-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}


.nav-logo {
    width: 38px;
    height: 38px;
    vertical-align: middle;
    margin-right: 10px;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile */
@media (max-width: 900px) {

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        display: none;
        flex-direction: column;
        box-shadow: 0 15px 40px rgba(0,0,0,.1);
        z-index: 99;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 16px 24px;
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .nav-toggle {
        display: block;
    }
}



