/* ============================================
   Blackbit Infotech - Modern Website Styles
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
    /* Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    /* Neutral Colors */
    --dark-bg: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-card-hover: #252540;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;

    /* Spacing */
    --section-padding: 100px 20px;
    --container-max: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Global Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Animated Background
   ============================================ */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark-bg);
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: float 20s infinite ease-in-out;
}

.animated-bg::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 40px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    font-size: 16px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: var(--container-max);
    text-align: center;
    z-index: 1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Elements in Hero */
.floating-element {
    position: absolute;
    border-radius: 20px;
    opacity: 0.1;
    animation: floatRandom 10s infinite ease-in-out;
}

.floating-1 {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatRandom {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.service-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding);
    position: relative;
}

.about-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.visual-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.visual-card-1 {
    top: 0;
    left: 0;
    width: 60%;
    animation: floatSlow 6s infinite ease-in-out;
}

.visual-card-2 {
    bottom: 100px;
    right: 0;
    width: 55%;
    animation: floatSlow 6s infinite ease-in-out;
    animation-delay: 1s;
}

.visual-card-3 {
    bottom: 0;
    left: 50px;
    width: 50%;
    animation: floatSlow 6s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.visual-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.visual-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.visual-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding);
    position: relative;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-card-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.contact-card-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-card-text {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: rgba(15, 15, 35, 0.95);
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 20px;
    }
}

/* ============================================
   Loading Animation
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   NEW PAGES STYLES
   ============================================ */

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary-light);
}

.nav-link.active::after {
    width: 100%;
}

/* Page Header */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 100px;
    position: relative;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-subtitle {
    font-size: 16px;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.page-description {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* About Page Styles */
.about-story {
    padding: var(--section-padding);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 100px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.image-placeholder:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.story-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.story-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.highlight-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 36px;
}

.highlight-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.highlight-box p {
    margin: 0;
    font-size: 15px;
}

/* Values Section */
.values-section {
    padding: var(--section-padding);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(10deg);
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.team-avatar {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.team-role {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Stats Showcase */
.stats-section {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.3);
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 15px;
}

.stat-icon {
    font-size: 32px;
    opacity: 0.5;
}

/* Services Overview Page */
.services-overview {
    padding: var(--section-padding);
}

.services-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-hero-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-hero-card:hover::before {
    opacity: 0.15;
}

.service-hero-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-hero-card>* {
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    font-size: 56px;
    margin-bottom: 25px;
    display: inline-block;
}

.service-hero-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.service-hero-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.service-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-link {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}

.service-link:hover {
    transform: translateX(5px);
}

/* Why Choose Section */
.why-choose {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.2);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.why-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Process Timeline */
.process-section {
    padding: var(--section-padding);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.process-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.process-step:hover .process-icon {
    transform: scale(1.2) rotate(10deg);
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Service Detail Pages */
.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 150px 20px 100px;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.service-hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.service-hero-description {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 35px;
}

.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

/* Tech Stack */
.tech-stack-section {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.2);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.tech-item {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.tech-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.gradient-1 {
    background: var(--gradient-primary);
}

.gradient-2 {
    background: var(--gradient-secondary);
}

.gradient-3 {
    background: var(--gradient-accent);
}

.gradient-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Service Types */
.service-types-section {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.2);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.type-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.type-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.type-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.type-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.type-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.type-features {
    list-style: none;
    padding: 0;
}

.type-features li {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 5px;
}

/* Platform/Consulting/Marketing Cards */
.platform-section,
.consulting-areas,
.marketing-services {
    padding: var(--section-padding);
}

.platform-grid,
.consulting-grid,
.marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.platform-card,
.consulting-card,
.marketing-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.platform-card:hover,
.consulting-card:hover,
.marketing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.platform-icon,
.consulting-icon,
.marketing-icon {
    font-size: 64px;
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.platform-card:hover .platform-icon,
.consulting-card:hover .consulting-icon,
.marketing-card:hover .marketing-icon {
    transform: scale(1.2) rotate(10deg);
}

.platform-card h3,
.consulting-card h3,
.marketing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.platform-card p,
.consulting-card p,
.marketing-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Industries Section */
.industries-section {
    padding: var(--section-padding);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 40px auto 0;
}

.industry-tag {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    padding: 15px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.industry-tag:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Results Section */
.results-section {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.3);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.result-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.result-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.result-number {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.result-label {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
}

/* Contact Page */
.contact-main {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-header {
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-form-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

select.form-input {
    cursor: pointer;
}

.btn-arrow {
    margin-left: 10px;
    transition: var(--transition-smooth);
}

.form-submit:hover .btn-arrow {
    transform: translateX(5px);
    display: inline-block;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-box,
.quick-links-box {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-info-box>p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-info-items {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.social-connect h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.quick-links-box h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.quick-links-box ul {
    list-style: none;
    padding: 0;
}

.quick-links-box li {
    margin-bottom: 12px;
}

.quick-links-box a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
    display: block;
}

.quick-links-box a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.2);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-light);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: rgba(26, 26, 46, 0.3);
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.cta-buttons-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for New Pages */
@media (max-width: 968px) {
    .page-title {
        font-size: 42px;
    }

    .service-hero-title {
        font-size: 38px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .page-title {
        font-size: 32px;
    }

    .service-hero-title {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .btn-large {
        padding: 16px 40px;
        font-size: 16px;
    }
}

/* ============================================
   CONTACT MODAL POPUP
   ============================================ */

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 600px;
    margin: 50px auto;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 59, 59, 0.8);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.modal-form {
    margin-top: 30px;
}

.form-row-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Responsive modal */
@media (max-width: 640px) {
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
        max-height: 95vh;
    }

    .form-row-modal {
        grid-template-columns: 1fr;
    }

    .modal-header h2 {
        font-size: 24px;
    }
}

/* ============================================
   SELECT DROPDOWN FIX
   ============================================ */

select.form-input,
select {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
    cursor: pointer;
}

select.form-input option,
select option {
    background: #1a1a2e !important;
    color: #ffffff !important;
    padding: 10px;
}

/* For better visibility on hover */
select.form-input option:hover,
select option:hover {
    background: #667eea !important;
    color: #ffffff !important;
}

/* Firefox specific */
select.form-input option:checked,
select option:checked {
    background: #667eea !important;
    color: #ffffff !important;
}