/* Design Token Variables & Themes */
:root[data-theme="dark"] {
    --color-bg: #0b0f19;
    --color-bg-dark: #070a10;
    --color-bg-glass: rgba(13, 20, 35, 0.55);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-glow: rgba(2, 132, 199, 0.3);
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-white: #ffffff;
    --color-black: #000000;
    
    --color-primary: #0284c7;
    --color-primary-hover: #38bdf8;
    --color-primary-rgb: 2, 132, 199;
    
    --color-secondary: #4f46e5;
    --color-secondary-hover: #818cf8;
    
    --color-card-shadow: rgba(0, 0, 0, 0.4);
    --color-glow-primary: rgba(2, 132, 199, 0.25);
    --neural-bg-color: #0b0f19;
}

:root[data-theme="light"] {
    --color-bg: #f8fafc;
    --color-bg-dark: #f1f5f9;
    --color-bg-glass: rgba(255, 255, 255, 0.75);
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-glow: rgba(2, 132, 199, 0.25);
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-white: #0f172a; /* Inverted for light mode */
    --color-black: #ffffff; /* Inverted for light mode */
    
    --color-primary: #0284c7;
    --color-primary-hover: #0369a1;
    --color-primary-rgb: 2, 132, 199;
    
    --color-secondary: #4f46e5;
    --color-secondary-hover: #3730a3;
    
    --color-card-shadow: rgba(15, 23, 42, 0.05);
    --color-glow-primary: rgba(2, 132, 199, 0.1);
    --neural-bg-color: #f8fafc;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(var(--color-primary-rgb), 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Background Canvas */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: all;
    background-color: var(--neural-bg-color);
    transition: background-color 0.4s ease;
}

/* Typography Utility */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25;
}

/* Helper Elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.glass {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px var(--color-card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
    border-color: var(--color-border-glow);
    box-shadow: 0 15px 35px var(--color-glow-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9, #818cf8, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary-hover);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    margin-bottom: 20px;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.45);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
    width: 100%;
}

/* Header & Floating Navigation */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar-scrolled {
    padding: 12px 0;
    background: rgba(var(--neural-bg-color) == #0b0f19 ? 7 : 248, var(--neural-bg-color) == #0b0f19 ? 10 : 250, var(--neural-bg-color) == #0b0f19 ? 16 : 252, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary-hover));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle button styling */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    color: var(--color-white);
    border-color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

:root[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
}
:root[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
}
:root[data-theme="light"] .theme-toggle-btn .sun-icon {
    display: none;
}
:root[data-theme="light"] .theme-toggle-btn .moon-icon {
    display: block;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--color-white);
    border-color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn svg {
    flex-shrink: 0;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 6px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    text-align: left;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
}

.lang-option.active {
    background: rgba(var(--color-primary-rgb), 0.15);
    color: var(--color-primary-hover);
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px 24px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    z-index: 10;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Animations for Load Page */
.fade-in {
    opacity: 0;
    animation: fade-in-anim 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.5s; }
.fade-in:nth-child(4) { animation-delay: 0.7s; }

@keyframes fade-in-anim {
    to {
        opacity: 1;
    }
}

/* Services Section Styling */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary-hover);
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
}

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

.service-card {
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.service-card-desc {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-features-list {
    list-style: none;
}

.service-features-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.service-features-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--color-primary);
    font-weight: 700;
}

/* Stats Counter Section */
.stats-section {
    padding: 80px 0;
    background: rgba(var(--color-primary-rgb), 0.03);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.stat-num::after {
    content: "+";
    color: var(--color-primary);
}

.stat-item:nth-child(3) .stat-num::after {
    content: "%";
}

.stat-item:nth-child(4) .stat-num::after {
    content: "/7";
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Portfolio Section Styling */
.portfolio {
    padding: 100px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: #ffffff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.35);
}

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

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hidden {
    display: none;
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; /* Make standard square for screenshots */
    border-bottom: 1px solid var(--color-border);
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--color-bg-dark) == #070a10 ? 7 : 15, var(--color-bg-dark) == #070a10 ? 10 : 23, var(--color-bg-dark) == #070a10 ? 16 : 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-zoom-icon svg {
    width: 24px;
    height: 24px;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

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

.portfolio-item:hover .portfolio-zoom-icon {
    transform: scale(1);
}

.portfolio-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-hover);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.portfolio-item-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.portfolio-item-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.portfolio-techs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.portfolio-techs span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* About Us Section Styling */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-desc {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-point {
    display: flex;
    gap: 16px;
}

.about-point-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(var(--color-primary-rgb), 0.15);
    color: var(--color-primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.about-point h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.about-point p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.about-graphics-content {
    border-radius: 24px;
    padding: 40px;
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.graphics-card {
    z-index: 10;
}

.graphics-card .card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.graphics-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.graphics-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Contact Section & Lead Form */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-panel-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-panel-desc {
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 600;
}

.detail-text a {
    font-size: 1.15rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.detail-text a:hover {
    color: var(--color-primary-hover);
}

.contact-faq {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 20px;
    border-left: 3px solid var(--color-primary);
}

.contact-faq h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--color-white);
}

.faq-item {
    font-size: 0.85rem;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 4px;
}

.faq-answer {
    color: var(--color-text-muted);
}

/* Form Styles */
.contact-form-panel {
    border-radius: 24px;
    padding: 40px;
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-instructions {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-white);
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: rgba(var(--color-black) == #ffffff ? 255 : 0, var(--color-black) == #ffffff ? 255 : 0, var(--color-black) == #ffffff ? 255 : 0, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    background-color: rgba(var(--color-black) == #ffffff ? 255 : 0, var(--color-black) == #ffffff ? 255 : 0, var(--color-black) == #ffffff ? 255 : 0, 0.08);
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.15);
}

.required {
    color: #ef4444;
}

/* Spinner Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: loader-spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

/* Alert Box Styling */
.alert-box {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: left;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer Styling */
.footer-section {
    background-color: var(--color-bg-dark);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--color-border);
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    max-width: 350px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.05rem;
    margin-bottom: 24px;
    color: var(--color-white);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Intersection Observer Animations on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Navbar Toggle functionality */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: var(--color-bg);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 24px;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Toggle active animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}

/* ==================== LumaBot AI Widget Styles ==================== */
.lumabot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

/* Floating Trigger Button */
.lumabot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lumabot-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--color-primary-rgb), 0.5);
}

.lumabot-trigger:active {
    transform: scale(0.95);
}

.bot-icon-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
}

.bot-icon-default, .bot-icon-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.bot-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.lumabot-trigger.active .bot-icon-default {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.lumabot-trigger.active .bot-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.bot-pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    opacity: 0;
    animation: botPulse 2s infinite;
    pointer-events: none;
}

@keyframes botPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.bot-notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    display: none;
}

/* Chat Window */
.lumabot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: var(--color-bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px var(--color-card-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.lumabot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.lumabot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.8), rgba(79, 70, 229, 0.8));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    color: #ffffff;
}

.lumabot-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-avatar svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.bot-info {
    display: flex;
    flex-direction: column;
}

.bot-name {
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bot-badge {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.bot-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.lumabot-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lumabot-close-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.lumabot-close-btn svg {
    width: 20px;
    height: 20px;
}

/* Messages */
.lumabot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 85%;
}

.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.bot-msg {
    align-self: flex-start;
}

.bot-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
}

.user-msg .msg-bubble {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 10px rgba(var(--color-primary-rgb), 0.25);
}

.bot-msg .msg-bubble {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
}

/* Typing indicator */
.typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
}

.typing-bubble .dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-bubble .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-bubble .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Quick Replies */
.lumabot-quick-replies {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--color-border);
    max-height: 120px;
    overflow-y: auto;
}

.qr-btn {
    background-color: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-primary-hover);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qr-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.25);
}

/* Input Area */
.lumabot-input-area {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-border);
}

.lumabot-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 10px 16px;
    color: var(--color-text);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.lumabot-input:focus {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.lumabot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lumabot-send-btn:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

.lumabot-send-btn svg {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
}

/* Footer brand */
.lumabot-footer-brand {
    font-size: 0.7rem;
    text-align: center;
    color: var(--color-text-muted);
    padding: 6px 0;
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--color-border);
}

@media (max-width: 480px) {
    .lumabot-window {
        width: calc(100vw - 40px);
        height: 480px;
        right: -10px;
        bottom: 70px;
    }
}

/* ==================== Animated Robot Trigger ==================== */
.lumabot-trigger-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.lumabot-trigger {
    position: relative; /* Override fixed */
    bottom: auto;
    right: auto;
}

.lumabot-speech-bubble {
    background: var(--color-bg-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 12px;
    margin-right: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.lumabot-speech-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bot-arm-wave {
    transform-origin: 48px 33px;
    animation: waveArm 2s infinite ease-in-out;
}

@keyframes waveArm {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
}
