:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --secondary-color: #7c3aed;
    /* Violet 600 */
    --accent-color: #d946ef;
    /* Fuchsia 500 */
    --text-color: #334155;
    /* Slate 700 */
    --light-bg: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --dark-section: #1e293b;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu a:not(.btn-primary) {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover:not(.btn-primary) {
    color: var(--secondary-color);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-1,
.blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.2);
    top: 50px;
    right: 50px;
    animation: float 6s ease-in-out infinite;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: rgba(217, 70, 239, 0.2);
    bottom: 50px;
    left: 50px;
    animation: float 8s ease-in-out infinite reverse;
}

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

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

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

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 220px;
}

.glass-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    background: rgba(124, 58, 237, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.card-2 {
    bottom: 40px;
    right: 0;
}



/* Re-targetting specific cards via nth-of-type or dedicated classes */
.hero-visual .glass-card:nth-of-type(3) {
    /* The first glass card */
    top: 60px;
    left: 20px;
}


.card-content span {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 20px;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-list i {
    color: var(--secondary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(217, 70, 239, 0.1));
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Apps Section */
.apps-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.category-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.category-badge.client {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.coming-soon-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}


.apps-category {
    margin-top: 60px;
}

.apps-category:first-child {
    margin-top: 50px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.category-description {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.app-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon i {
    font-size: 2rem;
    color: var(--white);
}

.client-icon {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
}

.app-content h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.app-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.app-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.app-link:hover {
    gap: 12px;
}

.app-link i {
    font-size: 1rem;
}

.app-link.secondary {
    color: #64748b;
}

.app-link.secondary:hover {
    color: var(--primary-color);
}

.client-app {
    border: 2px dashed #e2e8f0;
}

.client-app:hover {
    border-style: solid;
    border-color: #94a3b8;
}

/* Why Choose Us */
.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reasons {
    margin-top: 40px;
}

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

.number {
    font-size: 3rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.reason-text h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.why-us-visual {
    position: relative;
    height: 500px;
    background: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.why-us-visual:hover .visual-bg {
    transform: scale(1.05);

}

.content-box {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px;
}

.content-box h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 15px;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 300px;
    text-align: center;
}

.member-img {
    height: 250px;
    background: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.role {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

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

/* Contact Section */
.contact-section {
    padding-bottom: 100px;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.contact-info {
    background: var(--primary-color);
    padding: 60px;
    color: var(--white);
    width: 100%;
    text-align: center;
    width: 100%;
    text-align: center;
}

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

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    text-align: left;
}

/* ... existing styles ... */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-media h4 {
    margin-bottom: 15px;
    color: #cbd5e1;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
}

.contact-form-box {
    padding: 60px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background: var(--primary-color);
    padding: 40px 0;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-logo p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Responsive */
@media screen and (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-text p {
        margin: 0 auto 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .why-us-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .apps-split-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        /* calc(100vh - 70px) if header is 70px */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding-top: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
