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

:root {
    /* Light Blue & Black Theme */
    --primary: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
    --secondary: linear-gradient(135deg, #81d4fa 0%, #1565c0 100%);
    --accent: linear-gradient(135deg, #00e5ff 0%, #00b8d4 100%);
    --gold: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
    
    /* Dark Theme */
    --dark-bg: #0a0a0a;
    --dark-surface: #181c22;
    --dark-elevated: #232a34;
    
    /* Light Theme */
    --light-bg: #e3f2fd;
    --light-surface: #f8fafc;
    --light-elevated: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animations */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 5%;
    background: transparent !important; /* Pure transparent */
    backdrop-filter: none !important;    /* Remove blur */
    border-bottom: none !important;      /* Remove border */
    transition: all 0.3s var(--ease-out-quart);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: none;
}

.logo .dn-logo-img {
    height: 64px;
    width: auto;
    display: inline-block;
    margin: 0 0;
}

.logo.logo-scrolled .logo-text,
.logo.logo-scrolled .logo-highlight {
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.logo.logo-scrolled .dn-logo-img {
    opacity: 1;
    transition: opacity 0.4s;
}

.logo-text {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo-highlight {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

/* Theme Toggle */
.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffd43b;
    font-size: 1.3rem;
    transition: all 0.3s var(--ease-out-quart);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: rgba(255, 212, 59, 0.2);
    box-shadow: 0 0 30px rgba(255, 212, 59, 0.3);
}

/* Nav Button */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, rgba(10, 10, 10, 0.9) 70%);
    padding-top: 30px; /* Yeh line pehle 100px thi, ab 30px kar do ya 0 bhi kar sakte ho */
    z-index: 2;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Remove background and animation for clean video */
    background: transparent !important;
    animation: none !important;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(102, 126, 234, 0.3);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; }
.floating-icon:nth-child(2) { top: 30%; right: 15%; }
.floating-icon:nth-child(3) { bottom: 20%; left: 20%; }
.floating-icon:nth-child(4) { bottom: 30%; right: 10%; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.7; }
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    margin-top: 60px; /* Moved content down from navbar */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Reduced gap */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px; /* Reduced padding */
    border-radius: 50px;
    margin-bottom: 25px; /* Reduced margin */
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem; /* Reduced font size */
    animation: slideInDown 1s var(--ease-out-quart);
}

.hero-badge i {
    color: #ffd43b;
    font-size: 1rem; /* Reduced icon size */
    filter: drop-shadow(0 0 10px rgba(255, 212, 59, 0.5));
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem); /* Reduced maximum from 5rem to 4rem */
    font-weight: 900;
    margin-bottom: 25px; /* Reduced margin */
    line-height: 1.1;
    animation: slideInUp 1s var(--ease-out-quart) 0.2s both;
}

.gradient-text {
    /* Pehle gradient tha, ab solid dark purple shade */
    background: none;
    color: #6c3eb6; /* Dark purple */
    filter: drop-shadow(0 0 30px rgba(108, 62, 182, 0.18));
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid rgba(102, 126, 234, 0.7);
    white-space: nowrap;
    animation: typing 2s steps(20) 1s both, blink 0.75s step-end infinite;
    font-size: clamp(1.8rem, 4vw, 3.2rem); /* Specific size for typewriter */
    max-width: 100%;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem); /* Reduced font sizes */
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px; /* Reduced margin */
    max-width: 650px; /* Reduced max width */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    animation: slideInUp 1s var(--ease-out-quart) 0.4s both;
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    gap: 15px; /* Reduced gap */
    justify-content: center;
    margin-bottom: 50px; /* Reduced margin */
    animation: slideInUp 1s var(--ease-out-quart) 0.6s both;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Reduced gap */
    padding: 15px 30px; /* Reduced padding */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem; /* Reduced font size */
    transition: all 0.3s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
    min-width: 180px; /* Reduced min width */
    justify-content: center;
}

.hero-btn.primary {
    background: var(--primary);
    color: #ffffff;
    border: 2px solid transparent;
}

.hero-btn.primary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hero-btn.primary:hover .btn-glow {
    left: 100%;
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px; /* Reduced gap */
    animation: slideInUp 1s var(--ease-out-quart) 0.8s both;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem; /* Reduced font size */
    font-weight: 900;
    background: var(--gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 20px rgba(246, 211, 101, 0.3));
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem; /* Reduced font size */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px; /* Moved up slightly */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Reduced gap */
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem; /* Reduced font size */
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 6px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-dot::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: rgba(79, 195, 247, 0.7);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: rgba(102, 126, 234, 1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-title span {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.97) 0%, rgba(25, 118, 210, 0.12) 100%);
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(79, 195, 247, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 195, 247, 0.13) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-out-quart);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(255, 119, 198, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.service-card.premium {
    background: linear-gradient(135deg, rgba(255, 212, 59, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    border: 2px solid rgba(255, 212, 59, 0.3);
}

.service-card.premium .card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 212, 59, 0.4) 0%, 
        rgba(102, 126, 234, 0.4) 25%, 
        rgba(255, 119, 198, 0.4) 50%, 
        rgba(102, 126, 234, 0.4) 75%, 
        rgba(255, 212, 59, 0.4) 100%);
    border-radius: 20px;
    z-index: -1;
    animation: premiumGlow 3s linear infinite;
    filter: blur(1px);
}

@keyframes premiumGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.premium-badge {
    background: var(--gold);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.feature-list i {
    color: #4fc3f7;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--dark-bg);
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-quart);
}

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

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s var(--ease-out-quart);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(255, 119, 198, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--ease-out-quart);
}

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

.portfolio-info {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-quart) 0.1s;
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.portfolio-info p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #181c22 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-info h2 span {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-info p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s var(--ease-out-quart);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: #181c22;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #4fc3f7;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quart);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: #181c22;
}

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

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

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

.about-stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.about-stat p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    /* Remove fixed height for image, allow spline-viewer to expand */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.about-image spline-viewer {
    width: 100%;
    max-width: 520px;
    height: 420px;
    min-width: 320px;
    min-height: 320px;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

@media (max-width: 900px) {
    .about-image spline-viewer {
        max-width: 100%;
        height: 320px;
        min-width: 0;
        min-height: 200px;
    }
}

/* Why Choose Section */
.why-choose-section {
    padding: 120px 0;
    background: #0a0a0a;
}

/* Why Choose Timeline Style - Zig-Zag Alternate Cards */
.why-choose-timeline {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 600px;
}

.why-choose-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #f093fb 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.features-grid {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
    z-index: 2;
}

.feature-item {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 4px 24px rgba(102,126,234,0.10);
    position: relative;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Alternate left/right */
.features-grid .feature-item:nth-child(odd) {
    align-self: flex-end;
    margin-right: 52%;
    margin-left: 0;
    text-align: center;
}

.features-grid .feature-item:nth-child(even) {
    align-self: flex-start;
    margin-left: 52%;
    margin-right: 0;
    text-align: center;
}

@media (max-width: 1000px) {
    .feature-item,
    .features-grid .feature-item:nth-child(odd),
    .features-grid .feature-item:nth-child(even) {
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
}

@media (max-width: 600px) {
    .feature-item {
        width: 98vw;
        padding: 20px 10px;
    }
    .why-choose-line {
        left: 12px;
        transform: none;
    }
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .top-nav {
        grid-template-columns: auto 1fr auto;
        padding: 15px 4%;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero {
        padding-top: 80px; /* Reduced padding on mobile */
    }
    
    .hero-content {
        margin-top: 40px; /* Reduced margin on mobile */
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 4.5vw, 3rem); /* Even smaller on mobile */
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Pricing Section */
.pricing-section {
    background: var(--dark-surface);
    padding: 120px 0;
}

.pricing-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(102,126,234,0.12);
    border-radius: 20px;
    padding: 40px 32px;
    width: 340px;
    max-width: 95vw;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102,126,234,0.08);
    position: relative;
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
}

.pricing-card.featured {
    border: 2.5px solid #667eea;
    background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(255,119,198,0.08));
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 24px;
    display: inline-block;
    margin-bottom: 24px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: #fff;
}
.pricing-price span {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.pricing-features li {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.pricing-features i {
    color: #667eea;
    font-size: 1.1rem;
}

.pricing-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 24px rgba(102,126,234,0.10);
}

.pricing-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px) scale(1.04);
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

/* Navbar Links Styling */
.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav .nav-link {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav .nav-link::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #667eea 0%, #f093fb 100%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
    margin: 0 auto;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #a78bfa;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}
.service-card-link:hover .service-card,
.service-card-link:focus .service-card {
    box-shadow: 0 8px 32px rgba(102,126,234,0.18), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-6px) scale(1.03);
}

@media (max-width: 900px) {
    .main-nav {
        gap: 18px;
    }
    .main-nav .nav-link {
        font-size: 1rem;
    }
}

/* Robot Marketing Section */
.robot-marketing-section {
    background: linear-gradient(135deg, #18122B 0%, #251749 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.robot-marketing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.robot-3d {
    width: 100%;
    max-width: 500px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-3d spline-viewer {
    width: 100%;
    height: 400px;
    min-width: 300px;
    /* Remove background and border-radius for transparent look */
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.robot-marketing-content {
    color: #fff;
    max-width: 600px;
}

.robot-marketing-content .section-tag {
    background: rgba(102, 126, 234, 0.12);
    color: #a78bfa;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
    display: inline-block;
    border: 1px solid rgba(102, 126, 234, 0.18);
}

.robot-marketing-content .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: #fff;
}

.robot-marketing-content .section-title span {
    background: linear-gradient(90deg, #4fc3f7 0%, #1976d2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.robot-marketing-content p {
    font-size: 1.18rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .robot-marketing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .robot-3d {
        max-width: 100%;
        min-height: 300px;
    }
    .robot-3d spline-viewer {
        height: 300px;
        min-width: 0;
    }
    .robot-marketing-content {
        max-width: 100%;
    }
}

/* Cinematic Intro */
#cinematic-intro {
    position: fixed;
    z-index: 99999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(.25,1,.5,1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

#cinematic-intro.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    position: relative;
}

#cinematic-intro spline-viewer {
    width: 380px;
    height: 380px;
    min-width: 220px;
    min-height: 220px;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
    animation: intro-robot-in 1.2s cubic-bezier(.25,1,.5,1);
}

@keyframes intro-robot-in {
    0% { opacity: 0; transform: scale(0.7) rotate(-10deg);}
    100% { opacity: 1; transform: scale(1) rotate(0);}
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    font-family: 'Orbitron', 'Share Tech Mono', 'Roboto Mono', monospace, sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 32px #a78bfa44, 0 2px 8px #000a;
    animation: intro-text-in 1.5s cubic-bezier(.25,1,.5,1);
}

.intro-text span {
    display: block;
    font-weight: 700;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
    animation: intro-text-fade 0.7s cubic-bezier(.25,1,.5,1) forwards;
}

.intro-text span:nth-child(1) { animation-delay: 0.5s; }
.intro-text span:nth-child(2) { animation-delay: 1s; }
.intro-text span.brand {
    color: #a78bfa;
    font-size: 2.7rem;
    letter-spacing: 4px;
    animation-delay: 1.5s;
}

@keyframes intro-text-fade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#skip-intro {
    position: absolute;
    bottom: -60px;
    right: 0;
    background: rgba(102,126,234,0.12);
    color: #fff;
    border: 1.5px solid #a78bfa;
    border-radius: 30px;
    padding: 10px 32px;
    font-family: inherit;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    outline: none;
    z-index: 2;
}

#skip-intro:hover {
    background: #a78bfa;
    color: #18122B;
    border-color: #fff;
}

@media (max-width: 900px) {
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    #cinematic-intro spline-viewer {
        width: 220px;
        height: 220px;
    }
    .intro-text {
        font-size: 1.2rem;
    }
    .intro-text span.brand {
        font-size: 1.5rem;
    }
    #skip-intro {
        bottom: -40px;
        right: 50%;
        transform: translateX(50%);
        font-size: 1rem;
        padding: 8px 20px;
    }
}

/* Bottom Navbar */
.bottom-navbar {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    gap: 38px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    border-radius: 48px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    padding: 18px 38px;
    z-index: 2000;
    border: 1.5px solid rgba(255,255,255,0.08);
    align-items: center;
    min-width: 340px;
    max-width: 90vw;
}

.bottom-navbar a {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.13rem;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.5px;
    position: relative;
}

.bottom-navbar a:hover,
.bottom-navbar a.active {
    background: rgba(79, 195, 247, 0.13);
    color: #4fc3f7;
}

@media (max-width: 700px) {
    .bottom-navbar {
        gap: 10px;
        padding: 8px 8px;
        border-radius: 32px;
        min-width: 0;
        max-width: 98vw;
    }
    .bottom-navbar a {
        font-size: 0;
        padding: 0;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: transparent;
        position: relative;
    }
    .bottom-navbar a::before {
        font-size: 1.4rem;
        color: #fff;
        display: inline-block;
        transition: color 0.2s;
    }
    .bottom-navbar a[href="#hero"]::before { content: "\f015"; font-family: "Font Awesome 6 Free"; font-weight: 900; }         /* Home */
    .bottom-navbar a[href="#about"]::before { content: "\f007"; font-family: "Font Awesome 6 Free"; font-weight: 900; }        /* About */
    .bottom-navbar a[href="#services"]::before { content: "\f0ad"; font-family: "Font Awesome 6 Free"; font-weight: 900; }     /* Services */
    .bottom-navbar a[href="#testimonials"]::before { content: "\f075"; font-family: "Font Awesome 6 Free"; font-weight: 900; } /* Testimonials */
    .bottom-navbar a[href="#process"]::before { content: "\f085"; font-family: "Font Awesome 6 Free"; font-weight: 900; }      /* Process */
    .bottom-navbar a:hover,
    .bottom-navbar a.active {
        background: rgba(79, 195, 247, 0.13);
    }
}

/* Custom Pricing Section */
.custom-pricing-section {
    background: linear-gradient(120deg, #181c22 0%, #232a34 100%);
    padding: 110px 0 90px 0;
    position: relative;
    overflow: hidden;
}

.custom-pricing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.custom-pricing-content {
    max-width: 520px;
    color: #fff;
    z-index: 2;
}

.custom-pricing-content .section-tag {
    background: rgba(102, 126, 234, 0.12);
    color: #a78bfa;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
    display: inline-block;
    border: 1px solid rgba(102, 126, 234, 0.18);
}

.custom-pricing-content .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: #fff;
}

.custom-pricing-content .section-title span {
    background: linear-gradient(90deg, #4fc3f7 0%, #1976d2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.custom-pricing-content .section-subtitle {
    font-size: 1.18rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 38px;
}

.custom-pricing-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #4fc3f7 0%, #1976d2 100%);
    color: #18122B;
    font-weight: 700;
    font-size: 1.13rem;
    padding: 16px 38px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 4px 32px #a78bfa33;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.custom-pricing-btn:hover {
    background: linear-gradient(90deg, #1976d2 0%, #4fc3f7 100%);
    color: #fff;
    box-shadow: 0 8px 40px #a78bfa55;
}

.custom-pricing-animation {
    position: relative;
    width: 420px;
    height: 340px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.pricing-card-anim {
    position: absolute;
    width: 220px;
    height: 120px;
    border-radius: 24px;
    background: linear-gradient(120deg, #4fc3f7 0%, #1976d2 100%);
    box-shadow: 0 8px 40px #a78bfa44, 0 2px 8px #0008;
    opacity: 0.18;
    filter: blur(2px);
    animation: floatCard 4s infinite alternate cubic-bezier(.25,1,.5,1);
    transition: opacity 0.3s;
}

.pricing-card-anim.card1 {
    left: 40px; top: 40px;
    transform: rotate(-8deg) scale(1.1);
    animation-delay: 0s;
}
.pricing-card-anim.card2 {
    left: 120px; top: 0px;
    transform: rotate(10deg) scale(0.95);
    animation-delay: 0.7s;
}
.pricing-card-anim.card3 {
    left: 80px; top: 120px;
    transform: rotate(-4deg) scale(1.05);
    animation-delay: 1.4s;
}
.pricing-card-anim.card4 {
    left: 180px; top: 80px;
    transform: rotate(6deg) scale(0.98);
    animation-delay: 2.1s;
}
.pricing-card-anim.card5 {
    left: 100px; top: 200px;
    transform: rotate(-12deg) scale(1.03);
    animation-delay: 2.8s;
}

@keyframes floatCard {
    0% { filter: blur(2px); opacity: 0.18; transform: translateY(0) scale(1) rotate(var(--angle, 0deg)); }
    100% { filter: blur(0px); opacity: 0.32; transform: translateY(-18px) scale(1.04) rotate(var(--angle, 0deg)); }
}

@media (max-width: 900px) {
    .custom-pricing-container {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    .custom-pricing-animation {
        width: 100%;
        height: 220px;
        min-width: 0;
    }
    .pricing-card-anim {
        width: 120px;
        height: 60px;
    }
}

/* Cinematic Intro DN Logo */
.intro-logo {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100001;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    width: 120px;
    height: 120px;
    animation: logoFadeIn 1.2s cubic-bezier(.25,1,.5,1);
}
.intro-dn-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 32px #4fc3f7cc);
    opacity: 0;
    transform: scale(0.7) rotate(-12deg);
    animation: logoPopIn 1.2s 0.3s cubic-bezier(.25,1,.5,1) forwards;
}
@keyframes logoPopIn {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}
@keyframes logoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(120deg, #181c22 0%, #232a34 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(79,195,247,0.13);
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(79,195,247,0.10), 0 2px 8px #0008;
    padding: 48px 38px 38px 38px;
    color: #fff;
    max-width: 600px;
    width: 100%;
    opacity: 0;
    transform: scale(0.96) translateY(40px);
    transition: all 0.7s cubic-bezier(.25,1,.5,1);
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    position: relative;
    left: 0;
    pointer-events: auto;
    z-index: 2;
    animation: testimonialFadeIn 1.2s cubic-bezier(.25,1,.5,1);
}

@keyframes testimonialFadeIn {
    0% { opacity: 0; transform: scale(0.96) translateY(40px);}
    100% { opacity: 1; transform: scale(1) translateY(0);}
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    color: #e3f2fd;
    text-shadow: 0 2px 24px #4fc3f722;
}

.testimonial-quote i {
    font-size: 2.2rem;
    color: #4fc3f7;
    position: absolute;
    left: -32px;
    top: -10px;
    opacity: 0.7;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}

.testimonial-user img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4fc3f7;
    box-shadow: 0 2px 16px #4fc3f744;
}

.testimonial-user h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #4fc3f7;
    letter-spacing: 1px;
}

.testimonial-user span {
    font-size: 0.98rem;
    color: #b3e5fc;
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 48px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(79,195,247,0.18);
    box-shadow: 0 2px 8px #4fc3f733;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: 2px solid transparent;
}

.testimonial-dot.active {
    background: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
    border-color: #4fc3f7;
    transform: scale(1.15);
}

@media (max-width: 700px) {
    .testimonials-carousel {
        max-width: 98vw;
    }
    .testimonial-card {
        padding: 28px 10px 28px 10px;
        font-size: 1rem;
    }
}

/* Animate testimonial cards on scroll */
.testimonial-card {
    will-change: opacity, transform;
}

/* Blog Section */
.blog-section {
    background: linear-gradient(120deg, #181c22 0%, #232a34 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.blog-card {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(79,195,247,0.13);
    border-radius: 28px;
    box-shadow: 0 8px 40px rgba(79,195,247,0.10), 0 2px 8px #0008;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.25,1,.5,1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 48px #4fc3f744;
}

.blog-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    transition: filter 0.3s;
}

.blog-card:hover .blog-image img {
    filter: brightness(0.85) blur(1px);
}

.blog-content {
    padding: 32px 28px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4fc3f7;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s;
    letter-spacing: 1px;
}

.blog-readmore:hover {
    color: #1976d2;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .blog-content {
        padding: 20px 12px 18px 12px;
    }
}

/* Blog Modal */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s;
}
.blog-modal.show {
    display: flex;
}
.blog-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    /* Existing styles... */
    background: linear-gradient(120deg, #181c22 0%, #232a34 100%);
    border-radius: 32px;
    box-shadow: 0 8px 40px #4fc3f744;
    max-width: 700px;
    width: 95vw;
    padding: 48px 38px 38px 38px;
    color: #fff;
    position: relative;
    animation: modalPop 0.7s cubic-bezier(.25,1,.5,1);
}
.blog-modal-content::-webkit-scrollbar {
    width: 8px;
    background: #232a34;
    border-radius: 8px;
}
.blog-modal-content::-webkit-scrollbar-thumb {
    background: #4fc3f7;
    border-radius: 8px;
}
@keyframes modalPop {
    0% { opacity: 0; transform: scale(0.92) translateY(40px);}
    100% { opacity: 1; transform: scale(1) translateY(0);}
}
.blog-modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.2rem;
    color: #4fc3f7;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}
.blog-modal-close:hover {
    color: #1976d2;
}
.blog-modal-article h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.blog-modal-article img {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 24px;
    max-height: 260px;
    object-fit: cover;
}
.blog-modal-article p {
    color: rgba(255,255,255,0.85);
    font-size: 1.13rem;
    line-height: 1.7;
    margin-bottom: 18px;
}
@media (max-width: 700px) {
    .blog-modal-content {
        padding: 18px 8px 18px 8px;
        border-radius: 18px;
    }
    .blog-modal-close {
        top: 12px;
        right: 18px;
        font-size: 1.5rem;
    }
}

/* ======= LIGHT THEME OVERRIDE (with HERO EXCEPTION) ======= */

/* 1. Backgrounds: All white except hero */
body,
.blog-section,
.testimonials-section,
.pricing-section,
.about-section,
.why-choose-section,
.contact-section,
.portfolio-section,
.footer {
    background: #fff !important;
    color: #181c22 !important;
}
section,
.blog-section,
.testimonials-section,
.pricing-section,
.about-section,
.why-choose-section,
.contact-section,
.portfolio-section {
    background: #fff !important;
}

/* 2. HERO SECTION: Keep dark background and white text */
.hero {
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, rgba(10, 10, 10, 0.9) 70%) !important;
    color: #fff !important;
}
.hero h1,
.hero .gradient-text,
.hero .typewriter {
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
}
.hero .gradient-text {
    /* If you want gradient for "Digital Dominance", remove this block */
    color: #fff !important;
    background: none !important;
}
.hero .typewriter {
    color: #fff !important;
    background: none !important;
}

/* 3. All other text: Black */
body,
h1, h2, h3, h4, h5, h6,
.section-title,
.section-tag,
.section-subtitle,
.blog-content h3,
.blog-content p,
.blog-readmore,
.footer-brand p,
.footer-column h4,
.footer-column a,
.footer-bottom p,
.social-links a,
.about-text p,
.about-stat h3,
.about-stat p,
.feature-item,
.feature-item h3,
.feature-item p,
.testimonial-card,
.testimonial-quote,
.testimonial-user h4,
.testimonial-user span,
.pricing-card,
.pricing-card .pricing-price,
.pricing-card .pricing-features li,
.pricing-btn,
.contact-info h2,
.contact-info p,
.contact-item,
.contact-item i,
.form-group input,
.form-group textarea,
.submit-btn {
    color: #181c22 !important;
}

/* 4. Cards & Surfaces */
.blog-card,
.testimonial-card,
.pricing-card,
.service-card,
.feature-item,
.contact-form-container,
.footer,
.footer-content,
.footer-links,
.footer-column,
.portfolio-card {
    background: #f8fafc !important;
    border-color: #e0e0e0 !important;
    box-shadow: 0 2px 16px #e0e0e033 !important;
}

/* 5. Remove gradients from headings for clarity (except hero) */
.section-title span,
.blog-content h3,
.blog-modal-article h2 {
    background: none !important;
    color: #181c22 !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* 6. Blog Modal */
.blog-modal-content {
    background: #fff !important;
    color: #181c22 !important;
}
.blog-modal-article h2 {
    color: #181c22 !important;
}
.blog-modal-article p {
    color: #232a34 !important;
}

/* 7. Footer */
.footer {
    background: #f8fafc !important;
    color: #181c22 !important;
    border-top: 1px solid #e0e0e0 !important;
}
.footer-column a:hover {
    color: #1976d2 !important;
}

/* 8. Buttons */
.hero-btn.primary,
.pricing-btn,
.submit-btn,
.custom-pricing-btn {
    background: #1976d2 !important;
    color: #fff !important;
    border: none !important;
}
.hero-btn.secondary {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    border: 2px solid #1976d2 !important;
}
.hero-btn.primary:hover,
.pricing-btn:hover,
.submit-btn:hover,
.custom-pricing-btn:hover {
    background: #1565c0 !important;
    color: #fff !important;
}

/* 9. Inputs */
.form-group input,
.form-group textarea {
    background: #fff !important;
    color: #181c22 !important;
    border: 1px solid #bdbdbd !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #757575 !important;
}

/* 10. Misc */
.social-links a {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    border: 1px solid #bdbdbd !important;
}
.social-links a:hover {
    background: #1976d2 !important;
    color: #fff !important;
}
.testimonial-dot {
    background: #e3f2fd !important;
    border: 2px solid #bdbdbd !important;
}
.testimonial-dot.active {
    background: #1976d2 !important;
    border-color: #1976d2 !important;
}
.bottom-navbar {
    background: #f8fafc !important;
    color: #181c22 !important;
    border: 1.5px solid #e0e0e0 !important;
}
.bottom-navbar a {
    color: #181c22 !important;
}
.bottom-navbar a:hover,
.bottom-navbar a.active {
    background: rgba(79, 195, 247, 0.13);
    color: #4fc3f7;
}

/* 11. Remove dark overlays */
#particles-js,
.hero-bg-overlay {
    background: none !important;
}

/* 12. Remove dark box-shadows */
.blog-card,
.testimonial-card,
.pricing-card,
.service-card,
.feature-item,
.contact-form-container,
.footer,
.footer-content,
.footer-links,
.footer-column,
.portfolio-card {
    box-shadow: 0 2px 16px #e0e0e033 !important;
}

/* 13. Section backgrounds for extra clarity */
@media (max-width: 900px) {
    .blog-card,
    .testimonial-card,
    .pricing-card,
    .service-card,
    .feature-item,
    .contact-form-container {
        background: #fff !important;
    }
}

/* 1. Services Card: All text black */
.service-card,
.service-card h3,
.service-card p,
.service-card .feature-list li,
.service-card .feature-list i,
.service-card .premium-badge {
    color: #181c22 !important;
    background: #f8fafc !important;
    border-color: #e0e0e0 !important;
}
.service-card .service-icon {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    box-shadow: none !important;
}
.service-card .premium-badge {
    background: #ffe082 !important;
    color: #181c22 !important;
}

/* 2. Mobile Navbar: Icons black */
@media (max-width: 700px) {
    .bottom-navbar a::before {
        color: #181c22 !important;
    }
}

/* 3. Footer: Only 'Digital' in 'Digital Nomadians' black */
.footer-brand .footer-digital {
    color: #181c22 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
}

/* Hero Section: "Digital Dominance" - Only "Dominance" blue, "Digital" white */
.hero .gradient-text {
    background: none !important;
    color: #fff !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
}
.hero .gradient-text .dominance-blue {
    color: #1976d2 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Footer: Only 'Digital' blue in 'Digital Nomadians' */
.footer-brand .footer-digital .logo-text{
    color: #1976d2 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
}