:root {
    /* Colors */
    --primary-color: #2563EB;
    --primary-dark: #1e40af;
    --secondary-color: #06b6d4;
    --accent-color: #3b82f6;

    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-dark: #1e293b;

    --light-bg: #ffffff;
    --section-bg: #f8fafc;

    --text-main: #334155;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --text-white: #f8fafc;

    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #06b6d4 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 1) 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    position: relative;
    overflow: hidden;
}

.padding-y {
    padding: 80px 0;
}

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

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

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

.text-white {
    color: var(--text-white) !important;
}

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

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary-small {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary-small:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.logo .accent {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--darker-bg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

/* Adding a subtle abstract tech background via CSS radial gradients */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

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

.pill-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Strip */
.trust-strip {
    background: var(--light-bg);
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-strip p {
    text-align: center;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    font-size: 2rem;
    color: #cbd5e1;
}

/* Typography styles for sections */
.sub-heading {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.line-shape {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-main);
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.stat-card.highlight {
    background: var(--gradient-primary);
    color: white;
}

.stat-card.highlight h3,
.stat-card.highlight p {
    color: white;
}

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

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.link-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

/* Why Choose Us */
.features-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

/* Portfolio Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-img {
    height: 250px;

    position: relative;
    overflow: hidden;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder gradients since we don't have images */
.project-1-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
}

.project-2-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0f172a, #334155);
}

.project-3-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #06b6d4, #22d3ee);
}

.project-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.project-info {
    padding: 25px;
}

.category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.project-info h3 {
    margin: 10px 0;
    font-size: 1.3rem;
}

.project-info p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-link {
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.rating {
    color: #fbbf24;
    /* Amber/Star color */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.client-info h4 {
    margin-bottom: 2px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.client-info span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta-section .btn-primary:hover {
    background: var(--dark-bg);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact/Inquiry */
.contact-layout {
    align-items: flex-start;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-method h5 {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-method a {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.full-width {
    width: 100%;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

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

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-main);
}

.faq-question.active i {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.delay-1 {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
        /* Mobile menu logic in JS needs to tackle this */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

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

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

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

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