:root {
    --bg-color: #0a0a0f;
    --surface-color: #111118;
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-color: #2563eb;
    /* Azure Blue */
    --secondary-color: #06b6d4;
    /* Electric Cyan */
    --accent-color: #3b82f6;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(10, 10, 15, 0.8);
    --glass-blur: blur(20px);
    --font-main: 'Outfit', sans-serif;
    --font-accent: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background Decorations - Subtle Vignette instead of floating glows */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(30, 41, 59, 0.1) 0%, transparent 40%);
}

.glow-1,
.glow-2 {
    display: none;
    /* Removing original neon circles */
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 9, 10, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

.btn-cta {
    background: #fff;
    color: #000;
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    /* Squared edges for premium look */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #fff;
}

.btn-cta:hover {
    background: transparent;
    color: #fff;
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
    /* Flat black base */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-color) 100%);
    z-index: 2;
}

#hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/akila.jpg') center/cover no-repeat;
    filter: grayscale(1) contrast(1.2) brightness(0.4);
    z-index: 1;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 100%);
    opacity: 0.8;
    z-index: 1;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
    pointer-events: none;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero-service-icon {
    color: var(--primary-color);
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(63, 189, 217, 0.3));
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: var(--glass-blur);
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: var(--surface-color);
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Services Section */
.section-padding {
    padding: 100px 5% 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    width: 48px;
    height: 48px;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Portfolio Section Preview */
.portfolio-preview {
    background: var(--surface-color);
    border-radius: 32px;
    padding: 4rem;
    margin-top: 4rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--glass-bg);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    color: var(--text-muted);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.developer-credit {
    font-family: var(--font-main);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.developer-credit:hover {
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.client-details h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.client-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Stats Bar Refinement */
.stats-bar {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* CTA Section Styles */
.cta-section {
    text-align: center;
    padding: 100px 5%;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.05));
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tech Stack Section */
.tech-stack {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-badge {
    padding: 0.8rem 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tech-badge i {
    color: var(--primary-color);
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    nav ul {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .stats-grid {
        gap: 2rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }
}