@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #070B19;
    --bg-secondary: #0F162A;
    --bg-card: rgba(17, 25, 48, 0.7);
    --bg-card-hover: rgba(23, 35, 68, 0.9);
    
    --primary: #00D8F6;
    --primary-glow: rgba(0, 216, 246, 0.2);
    --secondary: #1E3E62;
    --accent: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.25);
    
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 216, 246, 0.4);
    
    --font-poppins: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --neon-shadow: 0 0 20px rgba(0, 216, 246, 0.35);
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-poppins);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Grid & Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #070B19;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 216, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

/* Floating Elements Background */
.bg-glow-1, .bg-glow-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    background: var(--primary-glow);
    top: 10%;
    left: 5%;
}

.bg-glow-2 {
    background: var(--accent-glow);
    bottom: 10%;
    right: 5%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(7, 11, 25, 0.9);
    border-bottom: 1px solid rgba(0, 216, 246, 0.2);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand span {
    font-family: var(--font-poppins);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.35rem 0.55rem 0.35rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.language-switcher:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.language-switcher select {
    min-width: 112px;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-poppins);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.language-switcher option {
    color: #111827;
    background: #ffffff;
}

.nav-link {
    font-family: var(--font-poppins);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    background: rgba(0, 216, 246, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 216, 246, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    font-weight: 800;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blob {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphingBlob 12s infinite alternate;
    box-shadow: 0 0 50px rgba(0, 216, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-avatar {
    width: 90%;
    height: 90%;
    border-radius: inherit;
    object-fit: cover;
    background-color: var(--bg-secondary);
    border: 4px solid var(--bg-primary);
}

@keyframes morphingBlob {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 56% 38% 62% 44%; }
    50% { border-radius: 42% 58% 30% 70% / 45% 45% 55% 55%; }
    75% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-poppins);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.skill-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(0, 216, 246, 0.08);
    border: 1px solid rgba(0, 216, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.skill-card:hover .skill-icon-box {
    background: var(--primary);
    color: #070B19;
    box-shadow: 0 0 15px var(--primary);
    transform: rotateY(360deg);
}

.skill-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 216, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(0, 216, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Section */
.project-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-poppins);
    font-weight: 500;
    transition: var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #070B19;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 216, 246, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card.is-hidden {
    display: none;
}

.project-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-img-box img {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(7, 11, 25, 0.85);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 216, 246, 0.2);
}

.project-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.project-card:hover .project-body h3 {
    color: var(--primary);
}

.project-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-secondary);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.contact-text p {
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 216, 246, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alert Notification Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideDown 0.3s ease;
}

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

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

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 1.25rem !important;
    right: clamp(1rem, 3.2vw, 2rem) !important;
    left: auto !important;
    z-index: 999;
    width: 66px;
    height: 66px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
    transition: var(--transition-normal);
    overflow: visible;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 211, 102, 0.18);
    border-radius: 50%;
    z-index: -1;
    animation: wappulse 2.5s infinite ease-out;
}

@keyframes wappulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.35); opacity: 0.3; }
    100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 900px) {
    .whatsapp-float {
        right: 0.95rem !important;
        bottom: 1rem !important;
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 0.85rem !important;
        bottom: 0.9rem !important;
        width: 52px;
        height: 52px;
        font-size: 1.85rem;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.footer-credit {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ADMIN PANEL STYLING */
.admin-body {
    background-color: #040814;
}

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 3rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Dashboard Layout */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    width: 260px;
}

.admin-brand {
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.admin-brand h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-brand span {
    color: var(--primary);
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
    flex-grow: 1;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-poppins);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.admin-menu-link:hover, .admin-menu-link.active {
    color: var(--primary);
    background: rgba(0, 216, 246, 0.05);
}

.admin-menu-link.active {
    background: linear-gradient(135deg, rgba(0, 216, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(0, 216, 246, 0.15);
}

.admin-logout-box {
    padding: 0 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.admin-content {
    margin-left: 260px;
    padding: 2.5rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-header h1 {
    font-size: 2rem;
    font-weight: 800;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.admin-user-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
}

.admin-user-info p {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.stat-card:nth-child(1) .stat-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-card:nth-child(2) .stat-icon { background: rgba(0, 216, 246, 0.1); color: #00d8f6; }
.stat-card:nth-child(3) .stat-icon { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.stat-card:nth-child(4) .stat-icon { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

/* Table Styling for Admin Pages */
.data-table-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--bg-card);
}

.data-table th, .data-table td {
    padding: 1.2rem 1.5rem;
}

.data-table th {
    background: rgba(15, 22, 42, 0.8);
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-primary);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* Custom badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(0, 216, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 216, 246, 0.2);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(4, 8, 20, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.3rem;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Thumbnail sizes */
.img-thumb {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.actions-cell {
    display: flex;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.btn-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.btn-warning:hover {
    background: #f59e0b;
    color: #070B19;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.upload-preview {
    width: 100%;
    max-height: 150px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin-top: 0.8rem;
    display: none;
}

/* Responsiveness */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none; /* In production, you would add a dynamic hamburger drawer */
    }
    
    .admin-content {
        margin-left: 0;
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 60vh;
        background: rgba(7, 11, 25, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 3rem 0;
        transition: var(--transition-slow);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        top: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional redesign layer */
:root {
    --bg-primary: #0a0f14;
    --bg-secondary: #101820;
    --bg-card: rgba(17, 24, 31, 0.82);
    --bg-card-hover: rgba(22, 32, 42, 0.96);
    --primary: #2dd4bf;
    --primary-glow: rgba(45, 212, 191, 0.18);
    --secondary: #1f2a35;
    --accent: #60a5fa;
    --accent-glow: rgba(96, 165, 250, 0.18);
    --text-primary: #f8fafc;
    --text-secondary: #b7c0cc;
    --text-muted: #778393;
    --border-color: rgba(226, 232, 240, 0.1);
    --border-hover: rgba(45, 212, 191, 0.34);
    --glass-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    --neon-shadow: 0 18px 38px rgba(45, 212, 191, 0.2);
}

body {
    background:
        linear-gradient(135deg, rgba(10, 15, 20, 0.98), rgba(13, 20, 27, 0.96)),
        radial-gradient(circle at top left, rgba(45, 212, 191, 0.08), transparent 34%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.07), transparent 36%);
}

.bg-glow-1,
.bg-glow-2 {
    border-radius: 0;
    filter: blur(80px);
    opacity: 0.42;
}

.bg-glow-1 {
    width: 70vw;
    height: 12rem;
    top: 5rem;
    left: -20vw;
    transform: rotate(-8deg);
}

.bg-glow-2 {
    width: 62vw;
    height: 14rem;
    right: -22vw;
    bottom: 8rem;
    transform: rotate(10deg);
}

.text-gradient,
.section-title h2 {
    background: linear-gradient(135deg, #ffffff 0%, #2dd4bf 44%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    border-radius: 10px;
    letter-spacing: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 100%);
    color: #061016;
    box-shadow: 0 14px 34px rgba(45, 212, 191, 0.18);
}

.btn-primary:hover {
    box-shadow: 0 18px 44px rgba(45, 212, 191, 0.26);
}

.btn-outline {
    background: rgba(248, 250, 252, 0.035);
}

.glass-card {
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--bg-card);
    box-shadow: var(--glass-shadow);
}

.glass-card:hover {
    transform: translateY(-4px);
}

.admin-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, #071015 0%, #101820 48%, #111a22 100%);
}

.admin-body .bg-glow-1,
.admin-body .bg-glow-2 {
    opacity: 0.26;
}

.admin-layout {
    grid-template-columns: 292px 1fr;
}

.admin-sidebar {
    width: 292px;
    background:
        linear-gradient(180deg, rgba(12, 19, 26, 0.98), rgba(8, 13, 18, 0.98));
    border-right: 1px solid rgba(226, 232, 240, 0.09);
    padding: 2rem 1rem;
    box-shadow: 18px 0 55px rgba(0, 0, 0, 0.24);
}

.admin-brand {
    padding: 0 1rem 1.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.admin-brand h2 {
    font-size: 1.2rem;
    letter-spacing: 0;
}

.admin-menu {
    gap: 0.45rem;
    padding: 0;
}

.admin-menu-link {
    border-radius: 10px;
    padding: 0.92rem 1rem;
    color: #aeb9c5;
    border: 1px solid transparent;
}

.admin-menu-link i {
    width: 1.1rem;
    color: #7f8b99;
    transition: var(--transition-fast);
}

.admin-menu-link:hover,
.admin-menu-link.active {
    color: #ffffff;
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.18);
}

.admin-menu-link:hover i,
.admin-menu-link.active i {
    color: var(--primary);
}

.admin-menu-link.active {
    box-shadow: inset 3px 0 0 var(--primary), 0 12px 28px rgba(45, 212, 191, 0.08);
}

.admin-logout-box {
    padding: 1.25rem 0 0;
}

.admin-content {
    margin-left: 292px;
    padding: 2rem 2.25rem 3rem;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -2rem -2.25rem 2.25rem;
    padding: 1.35rem 2.25rem;
    background: rgba(9, 15, 20, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.admin-header h1 {
    font-size: clamp(1.55rem, 2vw, 2.15rem);
    letter-spacing: 0;
}

.admin-user {
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(226, 232, 240, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.admin-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2dd4bf, #60a5fa);
    color: #071015;
    border: none;
    box-shadow: 0 12px 25px rgba(45, 212, 191, 0.22);
}

.stats-grid {
    gap: 1.1rem;
    margin-bottom: 1.6rem;
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 136px;
    border-color: rgba(226, 232, 240, 0.1);
    animation: adminCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--card-delay, 0ms);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.07) 42%, transparent 68%);
    transform: translateX(-120%);
    animation: statSweep 5.5s ease-in-out infinite;
}

.stat-info,
.stat-icon {
    position: relative;
    z-index: 1;
}

.stat-info span {
    color: #aeb9c5;
    font-weight: 600;
}

.stat-info h3 {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card:nth-child(1) .stat-icon { background: rgba(96, 165, 250, 0.13); color: #93c5fd; }
.stat-card:nth-child(2) .stat-icon { background: rgba(45, 212, 191, 0.13); color: #5eead4; }
.stat-card:nth-child(3) .stat-icon { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.stat-card:nth-child(4) .stat-icon { background: rgba(248, 113, 113, 0.13); color: #fca5a5; }

.dashboard-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

.dashboard-hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(45, 212, 191, 0.12), transparent 42%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 72px);
    opacity: 0.7;
}

.dashboard-hero-copy,
.dashboard-animation {
    position: relative;
    z-index: 1;
}

.dashboard-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.24);
    background: rgba(45, 212, 191, 0.08);
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-hero-copy h2 {
    max-width: 720px;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.dashboard-hero-copy p {
    max-width: 690px;
    margin-bottom: 1.6rem;
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.75;
}

.dashboard-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.dashboard-animation {
    min-height: 310px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.09);
    background: rgba(6, 12, 18, 0.46);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.dashboard-animation::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.orbit-dashboard {
    width: 190px;
    height: 190px;
    position: relative;
    display: grid;
    place-items: center;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(45, 212, 191, 0.24);
}

.ring-one {
    animation: orbitSpin 8s linear infinite;
}

.ring-two {
    inset: 26px;
    border-color: rgba(96, 165, 250, 0.24);
    animation: orbitSpin 6s linear infinite reverse;
}

.orbit-ring::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.75);
}

.ring-two::after {
    top: auto;
    bottom: 10px;
    background: #60a5fa;
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.7);
}

.orbit-core {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(96, 165, 250, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.05), 0 18px 50px rgba(0, 0, 0, 0.28);
}

.orbit-core i {
    color: #5eead4;
    font-size: 1.8rem;
}

.orbit-core span {
    color: #dbeafe;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.metric-stream {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    display: grid;
    gap: 0.7rem;
}

.metric-stream span {
    height: 7px;
    width: var(--w);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.9), rgba(96, 165, 250, 0.72));
    animation: metricPulse 2.4s ease-in-out infinite;
    animation-delay: var(--d);
}

.data-table-container {
    border-radius: 12px;
    border-color: rgba(226, 232, 240, 0.09);
}

.data-table {
    background: rgba(8, 14, 20, 0.62);
}

.data-table th {
    background: rgba(255, 255, 255, 0.045);
    color: #cbd5e1;
    letter-spacing: 0;
}

.data-table td {
    color: #e5ecf4;
}

.data-table tr:hover td {
    background: rgba(45, 212, 191, 0.035);
}

.form-control {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.form-control:focus {
    border-color: rgba(45, 212, 191, 0.62);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.09);
}

.modal-content {
    border-radius: 16px;
    background: #101820;
}

.btn-danger {
    color: #fca5a5;
}

.btn-warning {
    color: #fbbf24;
}

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

@keyframes statSweep {
    0%, 45% {
        transform: translateX(-120%);
    }
    70%, 100% {
        transform: translateX(120%);
    }
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes metricPulse {
    0%, 100% {
        opacity: 0.38;
        transform: scaleX(0.72);
        transform-origin: left;
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 1100px) {
    .dashboard-hero-panel {
        grid-template-columns: 1fr;
    }

    .dashboard-animation {
        min-height: 260px;
    }
}

@media (max-width: 992px) {
    .admin-layout {
        grid-template-columns: 1fr;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .admin-sidebar {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 30;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        padding: 0.85rem;
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.09);
    }

    .admin-brand {
        display: none;
    }

    .admin-menu {
        flex-direction: row;
        overflow-x: auto;
        flex-grow: 1;
        min-width: 0;
        max-width: 100%;
        scrollbar-width: none;
    }

    .admin-menu::-webkit-scrollbar {
        display: none;
    }

    .admin-menu-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-logout-box {
        display: none;
    }

    .admin-content {
        margin-left: 0;
        padding: 1.25rem;
        width: 100%;
        min-width: 0;
    }

    .admin-header {
        margin: -1.25rem -1.25rem 1.5rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .bg-glow-1,
    .bg-glow-2 {
        left: 0;
        right: auto;
        width: 100%;
        max-width: 100%;
    }

    .admin-header {
        align-items: flex-start;
        gap: 1rem;
        flex-direction: column;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions .btn {
        width: 100%;
    }

    .dashboard-animation {
        min-height: 230px;
    }

    .orbit-dashboard {
        width: 155px;
        height: 155px;
    }

    .orbit-core {
        width: 86px;
        height: 86px;
    }
}

/* Home page premium redesign */
.navbar {
    background: rgba(7, 15, 20, 0.72);
    border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.navbar.scrolled {
    background: rgba(7, 15, 20, 0.9);
    border-bottom-color: rgba(45, 212, 191, 0.16);
}

.nav-brand {
    letter-spacing: 0;
}

.nav-link {
    color: #b8c2cf;
}

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

.nav-link::after {
    background: linear-gradient(90deg, #2dd4bf, #60a5fa);
}

.hero {
    min-height: 94vh;
    padding-top: 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
    opacity: 0.55;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.hero-content {
    animation: homeFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-tag {
    border-radius: 999px;
    border-color: rgba(45, 212, 191, 0.22);
    background: rgba(45, 212, 191, 0.085);
    color: #7dd3fc;
    letter-spacing: 0.08em;
}

.hero-title {
    max-width: 760px;
    font-size: clamp(2.6rem, 5.4vw, 5.7rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-description {
    max-width: 670px;
    color: #c4ceda;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-actions {
    flex-wrap: wrap;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    width: 100%;
    max-width: 640px;
    margin-top: 2rem;
}

.hero-proof div {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.09);
    background: rgba(255, 255, 255, 0.035);
}

.hero-proof strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-poppins);
    font-size: 1.55rem;
    line-height: 1;
}

.hero-proof span {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.home-visual-panel {
    width: min(100%, 520px);
    min-height: 560px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    border-color: rgba(226, 232, 240, 0.11);
    transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
    animation: visualFloat 6s ease-in-out infinite;
}

.home-visual-panel::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 180deg, transparent, rgba(45, 212, 191, 0.18), transparent, rgba(96, 165, 250, 0.16), transparent);
    animation: orbitSpin 14s linear infinite;
}

.home-visual-panel > * {
    position: relative;
    z-index: 1;
}

.visual-toolbar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.08);
    background: rgba(4, 10, 15, 0.52);
}

.visual-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2dd4bf;
}

.visual-toolbar span:nth-child(2) {
    background: #60a5fa;
}

.visual-toolbar span:nth-child(3) {
    background: #fbbf24;
}

.visual-toolbar small {
    margin-left: auto;
    color: #b7c0cc;
    font-weight: 700;
}

.visual-screen {
    min-height: 325px;
    margin-top: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.09);
    background:
        radial-gradient(circle at 50% 40%, rgba(45, 212, 191, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(4, 10, 15, 0.72), rgba(14, 25, 34, 0.72));
    position: relative;
    overflow: hidden;
}

.visual-screen::before {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.visual-chart {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    height: 135px;
    display: flex;
    align-items: end;
    gap: 0.8rem;
}

.visual-chart span {
    flex: 1;
    height: var(--h);
    min-width: 22px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, #5eead4, rgba(96, 165, 250, 0.58));
    box-shadow: 0 0 22px rgba(45, 212, 191, 0.28);
    animation: barPulse 2.6s ease-in-out infinite;
    animation-delay: var(--d);
}

.visual-orbit {
    position: absolute;
    top: 48px;
    left: 50%;
    width: 130px;
    height: 130px;
    margin-left: -65px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(45, 212, 191, 0.28);
    background: rgba(6, 12, 18, 0.6);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.visual-orbit::before,
.visual-orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.22);
}

.visual-orbit::before {
    inset: -28px;
    animation: orbitSpin 9s linear infinite;
}

.visual-orbit::after {
    inset: 18px;
    border-color: rgba(45, 212, 191, 0.22);
    animation: orbitSpin 6s linear infinite reverse;
}

.visual-orbit i {
    color: #5eead4;
    font-size: 2.4rem;
}

.visual-stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.visual-stack div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(226, 232, 240, 0.08);
}

.visual-stack i {
    color: var(--primary);
}

.visual-stack span {
    color: #e5ecf4;
    font-weight: 700;
}

.about-card,
.skill-card,
.service-card,
.project-card,
.contact-form {
    border-radius: 16px;
}

.about-card {
    background:
        linear-gradient(145deg, rgba(45, 212, 191, 0.1), transparent),
        var(--bg-card);
}

.stat-item {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.stat-number {
    color: #5eead4;
}

.skill-icon-box,
.service-icon-box,
.contact-icon {
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.2);
    color: #5eead4;
}

.skill-card:hover .skill-icon-box {
    background: linear-gradient(135deg, #2dd4bf, #60a5fa);
    color: #061016;
    box-shadow: 0 18px 35px rgba(45, 212, 191, 0.18);
}

.project-card,
.service-card,
.skill-card {
    position: relative;
    overflow: hidden;
}

.project-card::before,
.service-card::before,
.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), transparent 42%);
    opacity: 0;
    transition: var(--transition-normal);
}

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

.project-category,
.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #2dd4bf, #60a5fa);
    color: #061016;
    border-color: transparent;
}

.project-link {
    color: #7dd3fc;
}

.contact-form {
    background:
        linear-gradient(145deg, rgba(96, 165, 250, 0.08), transparent),
        var(--bg-card);
}

.footer {
    background: rgba(7, 15, 20, 0.92);
}

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

@keyframes visualFloat {
    0%, 100% {
        transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) translateY(0);
    }
    50% {
        transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(-12px);
    }
}

@keyframes barPulse {
    0%, 100% {
        transform: scaleY(0.72);
        transform-origin: bottom;
        opacity: 0.64;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .home-visual-panel {
        transform: none;
        min-height: 500px;
    }

    .hero-image-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .home-visual-panel {
        min-height: 430px;
        animation: none;
    }

    .visual-screen {
        min-height: 250px;
    }

    .visual-chart {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.2rem;
    }

    .footer-content {
        align-items: flex-start;
    }
}

/* Reference-inspired luxury Home hero */
body:not(.admin-body) {
    --home-navy: #08327f;
    --home-navy-dark: #061f54;
    --home-ink: #111827;
    --home-soft: #f7fbff;
    --home-glass: rgba(255, 255, 255, 0.42);
    background:
        radial-gradient(circle at 88% 78%, rgba(43, 190, 238, 0.72), transparent 26rem),
        radial-gradient(circle at 78% 18%, rgba(184, 232, 255, 0.76), transparent 27rem),
        linear-gradient(135deg, #ffffff 0%, #f4fbff 46%, #dff5ff 100%);
    color: var(--home-ink);
}

body:not(.admin-body) .bg-glow-1,
body:not(.admin-body) .bg-glow-2 {
    display: none;
}

body:not(.admin-body) .navbar {
    top: 1.55rem;
    left: 50%;
    width: min(1110px, calc(100% - 3rem));
    transform: translateX(-50%);
    padding: 0;
    background: rgba(255, 255, 255, 0.33);
    border: 1px solid rgba(2, 31, 84, 0.35);
    border-radius: 9px;
    box-shadow: 0 18px 34px rgba(8, 50, 127, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body:not(.admin-body) .navbar.scrolled {
    padding: 0;
    background: rgba(255, 255, 255, 0.44);
    border-bottom-color: rgba(2, 31, 84, 0.35);
}

body:not(.admin-body) .navbar .container {
    max-width: none;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
}

body:not(.admin-body) .nav-brand {
    color: var(--home-navy);
    font-family: var(--font-poppins);
    font-size: 1.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body:not(.admin-body) .nav-brand span {
    font-family: inherit;
}

body:not(.admin-body) .nav-menu {
    gap: 2.3rem;
}

body:not(.admin-body) .language-switcher {
    border-color: rgba(8, 50, 127, 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: var(--home-navy);
    box-shadow: 0 12px 28px rgba(8, 50, 127, 0.09);
}

body:not(.admin-body) .nav-link {
    color: #071b44;
    font-size: 1rem;
    font-weight: 500;
}

body:not(.admin-body) .nav-link::after {
    display: none;
}

body:not(.admin-body) .nav-contact-link {
    min-width: 105px;
    justify-content: center;
    display: inline-flex;
    padding: 0.7rem 1.25rem;
    margin-left: 0.25rem;
    color: #ffffff;
    border-radius: 7px;
    background: linear-gradient(135deg, #0d49a4 0%, #062a72 100%);
    box-shadow: 0 12px 24px rgba(8, 50, 127, 0.34);
}

body:not(.admin-body) .hero {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

body:not(.admin-body) .hero::before {
    display: none;
}

body:not(.admin-body) .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
    gap: clamp(2rem, 4vw, 4rem);
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .hero-content {
    position: relative;
    z-index: 10;
    min-width: 0;
    align-items: flex-start;
    padding-top: 1.35rem;
}

body:not(.admin-body) .hero-title {
    position: relative;
    z-index: 12;
    max-width: 100%;
    color: var(--home-navy);
    font-size: clamp(2.85rem, 4.25vw, 4.45rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body:not(.admin-body) .hero-title span {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

body:not(.admin-body) .text-gradient {
    background: none;
    -webkit-text-fill-color: currentColor;
}

body:not(.admin-body) .hero-description {
    max-width: 650px;
    margin-top: 1.7rem;
    margin-bottom: 2rem;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1.45;
}

body:not(.admin-body) .hero-actions {
    gap: 0.9rem;
}

body:not(.admin-body) .btn {
    min-width: 168px;
    min-height: 49px;
    border-radius: 7px;
    padding: 0.78rem 1.6rem;
    font-size: 0.93rem;
    font-weight: 800;
    text-transform: uppercase;
}

body:not(.admin-body) .btn-primary {
    background: linear-gradient(135deg, #0d49a4 0%, #062a72 100%);
    color: #ffffff;
    box-shadow: 0 14px 25px rgba(8, 50, 127, 0.35);
}

body:not(.admin-body) .btn-outline {
    background: rgba(255, 255, 255, 0.34);
    color: #071b44;
    border: 1px solid #071b44;
}

body:not(.admin-body) .hero-image-wrapper {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 580px;
}

.luxury-hero-visual {
    width: min(100%, 600px);
    min-height: 590px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    margin-left: auto;
}

.luxury-hero-visual::before {
    content: '';
    position: absolute;
    inset: auto -1rem 0 auto;
    width: 420px;
    height: 300px;
    border-radius: 50%;
    background: rgba(28, 184, 236, 0.34);
    filter: blur(38px);
    z-index: -2;
}

.premium-motion {
    position: absolute;
    inset: 40px 0 0 24px;
    z-index: -1;
    pointer-events: none;
}

.motion-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(8, 50, 127, 0.18);
    background:
        conic-gradient(from 0deg, transparent 0 24%, rgba(13, 73, 164, 0.28) 25% 28%, transparent 29% 57%, rgba(45, 212, 191, 0.28) 58% 61%, transparent 62% 100%);
    mask: radial-gradient(circle, transparent 61%, #000 62%);
    -webkit-mask: radial-gradient(circle, transparent 61%, #000 62%);
    filter: drop-shadow(0 12px 22px rgba(8, 50, 127, 0.11));
}

.ring-outer {
    width: 500px;
    height: 500px;
    right: 22px;
    top: 0;
    animation: premiumOrbit 18s linear infinite;
}

.ring-inner {
    width: 330px;
    height: 330px;
    right: 105px;
    top: 88px;
    opacity: 0.78;
    animation: premiumOrbit 12s linear infinite reverse;
}

.motion-grid {
    position: absolute;
    right: 70px;
    top: 88px;
    width: 430px;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    opacity: 0.62;
}

.motion-grid::before,
.motion-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 50, 127, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(8, 50, 127, 0.1) 1px, transparent 1px);
    background-size: 72px 72px;
}

.motion-grid::after {
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.84) 45%, transparent 58%);
    transform: translateX(-120%);
    animation: premiumSweep 5.4s ease-in-out infinite;
}

.motion-grid span {
    position: absolute;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(13, 73, 164, 0.54), rgba(45, 212, 191, 0.7), transparent);
    animation: dataLine 3.8s ease-in-out infinite;
}

.motion-grid span:nth-child(1) {
    width: 260px;
    top: 78px;
    left: 28px;
}

.motion-grid span:nth-child(2) {
    width: 210px;
    top: 178px;
    right: 34px;
    animation-delay: 0.7s;
}

.motion-grid span:nth-child(3) {
    width: 310px;
    bottom: 84px;
    left: 52px;
    animation-delay: 1.2s;
}

.motion-grid span:nth-child(4) {
    width: 180px;
    bottom: 142px;
    right: 76px;
    animation-delay: 1.8s;
}

.motion-node {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 16px 30px rgba(8, 50, 127, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: nodeFloat 4.5s ease-in-out infinite;
}

.motion-node::before {
    content: '';
    position: absolute;
    inset: 13px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0d49a4, #2dd4bf);
}

.node-one {
    right: 446px;
    top: 120px;
}

.node-two {
    right: 18px;
    top: 260px;
    animation-delay: 0.8s;
}

.node-three {
    right: 382px;
    bottom: 42px;
    animation-delay: 1.4s;
}

.glass-shape {
    position: absolute;
    border: 1px solid rgba(8, 50, 127, 0.25);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(208, 226, 238, 0.2)),
        linear-gradient(60deg, transparent 0 38%, rgba(24, 45, 69, 0.34) 39% 43%, transparent 44% 100%);
    box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.55), 0 28px 55px rgba(8, 50, 127, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.shape-one {
    width: 385px;
    height: 385px;
    right: 65px;
    top: 78px;
    transform: rotate(21deg);
    animation: glassDriftOne 8s ease-in-out infinite;
}

.shape-two {
    width: 350px;
    height: 350px;
    right: 150px;
    top: 146px;
    transform: rotate(-18deg);
    animation: glassDriftTwo 9.5s ease-in-out infinite;
}

.shape-three {
    width: 470px;
    height: 392px;
    right: 10px;
    top: 132px;
    background: rgba(255, 255, 255, 0.2);
    animation: glassDriftThree 10.5s ease-in-out infinite;
}

.portrait-frame {
    position: absolute;
    right: 52px;
    top: 170px;
    width: 365px;
    height: 392px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(125, 191, 226, 0.18));
    box-shadow: 0 25px 55px rgba(8, 50, 127, 0.2);
    overflow: visible;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.portrait-frame::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 216, 246, 0.18), transparent 55%);
    filter: blur(16px);
    opacity: 0.8;
    pointer-events: none;
    animation: portraitGlow 7s ease-in-out infinite;
    z-index: -1;
}

.portrait-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.65s ease;
}

.portrait-frame:hover .portrait-photo {
    transform: scale(1.04);
}

@keyframes portraitGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.78;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.54;
    }
}

.hero-metric {
    position: absolute;
    z-index: 5;
    min-width: 150px;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.37);
    color: #111827;
    box-shadow: 0 18px 35px rgba(8, 50, 127, 0.16);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: metricFloat 5.5s ease-in-out infinite;
}

.hero-metric strong {
    display: block;
    color: #333333;
    font-family: var(--font-poppins);
    font-size: 2rem;
    line-height: 1;
}

.hero-metric span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.79rem;
    text-transform: uppercase;
}

.hero-metric i {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #111827;
    font-size: 1rem;
}

.metric-years {
    left: 8px;
    top: 166px;
}

.metric-clients {
    right: -10px;
    top: 235px;
    animation-delay: 0.6s;
}

.metric-quality {
    left: 10px;
    bottom: 94px;
    animation-delay: 1.1s;
}

.metric-value {
    right: 32px;
    bottom: 67px;
    min-width: 175px;
    animation-delay: 1.7s;
}

.metric-value strong {
    font-size: 1.72rem;
}

body:not(.admin-body) .section {
    background: rgba(255, 255, 255, 0.72);
}

body:not(.admin-body) .section-title h2,
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3 {
    color: var(--home-navy);
    -webkit-text-fill-color: currentColor;
}

body:not(.admin-body) .about-text .hero-tag,
body:not(.admin-body) .section-title .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(8, 50, 127, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(220, 241, 255, 0.62));
    color: var(--home-navy);
    box-shadow: 0 12px 24px rgba(8, 50, 127, 0.1);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body:not(.admin-body) .about-text .hero-tag::before,
body:not(.admin-body) .section-title .hero-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d49a4, #2dd4bf);
    box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.12);
}

body:not(.admin-body) .section-title {
    margin-bottom: 3.25rem;
}

body:not(.admin-body) .section-title h2 {
    margin-top: 0.9rem;
}

body:not(.admin-body) .about-text .hero-tag {
    margin-bottom: 1rem;
}

body:not(.admin-body) .section-title p,
body:not(.admin-body) .about-text p,
body:not(.admin-body) .service-card p,
body:not(.admin-body) .project-body p,
body:not(.admin-body) .contact-header p {
    color: #374151;
}

body:not(.admin-body) .glass-card {
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(8, 50, 127, 0.13);
    box-shadow: 0 18px 42px rgba(8, 50, 127, 0.1);
}

body:not(.admin-body) .about-stats {
    gap: 1rem;
}

body:not(.admin-body) .stat-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(225, 244, 255, 0.44));
    border: 1px solid rgba(8, 50, 127, 0.14);
    box-shadow: 0 16px 30px rgba(8, 50, 127, 0.1);
}

body:not(.admin-body) .stat-number {
    color: var(--home-navy);
    text-shadow: 0 8px 20px rgba(8, 50, 127, 0.14);
}

body:not(.admin-body) .stat-label {
    color: #1f2937;
    font-weight: 700;
}

body:not(.admin-body) .skill-icon-box {
    background: linear-gradient(145deg, rgba(8, 50, 127, 0.98), rgba(13, 73, 164, 0.92));
    border-color: rgba(255, 255, 255, 0.68);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(8, 50, 127, 0.18);
}

body:not(.admin-body) .skill-card:nth-child(3n + 2) .skill-icon-box {
    background: linear-gradient(145deg, #0f766e, #2dd4bf);
    color: #ffffff;
}

body:not(.admin-body) .skill-card:nth-child(3n) .skill-icon-box {
    background: linear-gradient(145deg, #b45309, #fbbf24);
    color: #111827;
}

body:not(.admin-body) .skill-card h3 {
    color: #071b44;
}

body:not(.admin-body) .service-icon-box {
    background: linear-gradient(145deg, rgba(8, 50, 127, 0.98), rgba(13, 73, 164, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.68);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(8, 50, 127, 0.18);
}

body:not(.admin-body) .service-card:nth-child(3n + 2) .service-icon-box {
    background: linear-gradient(145deg, #0f766e, #2dd4bf);
    color: #ffffff;
}

body:not(.admin-body) .service-card:nth-child(3n) .service-icon-box {
    background: linear-gradient(145deg, #b45309, #fbbf24);
    color: #111827;
}

body:not(.admin-body) .service-card h3 {
    color: #071b44;
}

body:not(.admin-body) .footer {
    background: #061f54;
    color: #ffffff;
}

@media (max-width: 1100px) {
    body:not(.admin-body) .hero-grid {
        grid-template-columns: 1fr;
    }

    body:not(.admin-body) .hero-content {
        padding-top: 0.4rem;
    }

    .luxury-hero-visual {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body:not(.admin-body) .navbar {
        width: calc(100% - 1.5rem);
        top: 0.75rem;
    }

    body:not(.admin-body) .nav-menu {
        background: rgba(255, 255, 255, 0.94);
    }

    body:not(.admin-body) .language-switcher {
        order: 2;
        min-height: 40px;
        padding-inline: 0.7rem 0.45rem;
    }

    body:not(.admin-body) .language-switcher select {
        min-width: 94px;
        font-size: 0.8rem;
    }

    body:not(.admin-body) .hero {
        padding-top: 6.5rem;
    }

    body:not(.admin-body) .hero-title {
        font-size: clamp(1.45rem, 7.6vw, 2.85rem);
        line-height: 1.05;
        text-align: center;
        max-width: 100%;
    }

    body:not(.admin-body) .hero-description {
        font-size: 1rem;
    }

    body:not(.admin-body) .nav-toggle {
        color: var(--home-navy);
    }

    body:not(.admin-body) .hero-actions .btn {
        width: 100%;
    }

    body:not(.admin-body) .hero-image-wrapper {
        min-height: 520px;
    }

    .luxury-hero-visual {
        min-height: 505px;
        transform: scale(0.84);
        transform-origin: top center;
    }
}

/* Reference-inspired Contact section */
body:not(.admin-body) .luxury-contact-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 31%, rgba(8, 50, 127, 0.12) 0 7%, transparent 7.5%),
        radial-gradient(ellipse at 32% 24%, rgba(8, 50, 127, 0.10) 0 9%, transparent 9.5%),
        radial-gradient(ellipse at 14% 60%, rgba(8, 50, 127, 0.12) 0 9%, transparent 9.5%),
        radial-gradient(ellipse at 35% 64%, rgba(8, 50, 127, 0.10) 0 7%, transparent 7.5%),
        radial-gradient(ellipse at 72% 30%, rgba(8, 50, 127, 0.10) 0 10%, transparent 10.5%),
        radial-gradient(ellipse at 82% 54%, rgba(8, 50, 127, 0.10) 0 12%, transparent 12.5%),
        radial-gradient(circle at 88% 72%, rgba(43, 190, 238, 0.35), transparent 24rem),
        linear-gradient(135deg, #ffffff 0%, #eef9ff 48%, #dff5ff 100%);
}

body:not(.admin-body) .luxury-contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 12% 34%, rgba(8, 50, 127, 0.11) 0 7rem, transparent 7.2rem),
        radial-gradient(ellipse at 49% 22%, rgba(8, 50, 127, 0.08) 0 8rem, transparent 8.2rem),
        radial-gradient(ellipse at 74% 22%, rgba(8, 50, 127, 0.08) 0 7.5rem, transparent 7.7rem),
        radial-gradient(ellipse at 26% 76%, rgba(8, 50, 127, 0.08) 0 8rem, transparent 8.2rem),
        radial-gradient(ellipse at 90% 69%, rgba(8, 50, 127, 0.07) 0 9rem, transparent 9.2rem);
    opacity: 0.52;
    filter: blur(2px);
    pointer-events: none;
}

.luxury-contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: 4rem;
    align-items: center;
}

.luxury-contact-copy h2 {
    position: relative;
    z-index: 10;
    margin-bottom: 1.8rem;
    color: var(--home-navy);
    font-size: clamp(3.4rem, 5.2vw, 5.45rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.luxury-contact-copy h2 span {
    display: block;
    white-space: nowrap;
}

.luxury-contact-form {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 530px;
}

.luxury-contact-form .form-group {
    margin: 0;
}

.luxury-contact-form .full {
    grid-column: 1 / -1;
}

.luxury-contact-form .form-control {
    min-height: 52px;
    border: 2px solid #071b44;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.35);
    color: #111827;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.luxury-contact-form .form-control::placeholder {
    color: rgba(17, 24, 39, 0.68);
}

.luxury-contact-form textarea.form-control {
    min-height: 138px;
}

.luxury-contact-form .btn {
    width: 100%;
}

.luxury-contact-visual {
    min-height: 560px;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.luxury-contact-visual::before {
    content: '';
    position: absolute;
    right: -1rem;
    bottom: 2rem;
    width: 430px;
    height: 270px;
    border-radius: 50%;
    background: rgba(43, 190, 238, 0.28);
    filter: blur(35px);
    z-index: -2;
}

.contact-glass-shape {
    position: absolute;
    border: 1px solid rgba(8, 50, 127, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(205, 225, 238, 0.22)),
        linear-gradient(60deg, transparent 0 38%, rgba(24, 45, 69, 0.25) 39% 43%, transparent 44% 100%);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.6), 0 28px 55px rgba(8, 50, 127, 0.15);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.contact-shape-one {
    width: 385px;
    height: 385px;
    right: 62px;
    top: 70px;
    transform: rotate(21deg);
}

.contact-shape-two {
    width: 350px;
    height: 350px;
    right: 150px;
    top: 144px;
    transform: rotate(-18deg);
}

.contact-shape-three {
    width: 465px;
    height: 392px;
    right: 8px;
    top: 120px;
    background: rgba(255, 255, 255, 0.22);
}

.luxury-contact-card {
    position: absolute;
    right: 75px;
    top: 164px;
    width: 322px;
    min-height: 350px;
    padding: 5rem 1.35rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 52px rgba(8, 50, 127, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.luxury-contact-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
    color: #111827;
}

.luxury-contact-row span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 12px 22px rgba(8, 50, 127, 0.09);
}

.luxury-contact-row i {
    color: #314155;
    font-size: 1.35rem;
}

.luxury-contact-row strong {
    color: #111827;
    font-size: 0.98rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .luxury-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .luxury-contact-form {
        max-width: none;
    }

    .luxury-contact-visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body:not(.admin-body) .luxury-contact-section {
        padding: 5rem 0 4rem;
    }

    .luxury-contact-copy h2 {
        font-size: clamp(2.25rem, 9.7vw, 3.4rem);
        text-align: left;
    }

    .luxury-contact-form {
        grid-template-columns: 1fr;
    }

    .luxury-contact-visual {
        min-height: 430px;
        transform: scale(0.82);
        transform-origin: top center;
    }
}

/* ============================================
   SAFE SPECTACULAR MOTION
   Decorative animations only. No content hiding.
   ============================================ */

body:not(.admin-body) {
    position: relative;
}

body:not(.admin-body) .portfolio-aura-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.72;
}

body:not(.admin-body) .navbar,
body:not(.admin-body) .hero,
body:not(.admin-body) .section,
body:not(.admin-body) .footer {
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .navbar {
    z-index: 1000;
}

body:not(.admin-body) .hero::after {
    content: '';
    position: absolute;
    inset: 8% -8% auto auto;
    width: min(48vw, 620px);
    height: min(48vw, 620px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 36%, rgba(45, 212, 191, 0.22), transparent 28%),
        radial-gradient(circle at 64% 62%, rgba(13, 73, 164, 0.22), transparent 36%),
        radial-gradient(circle at 52% 48%, rgba(251, 191, 36, 0.12), transparent 50%);
    filter: blur(28px);
    animation: safeAuroraDrift 13s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

body:not(.admin-body) .hero > .container {
    position: relative;
    z-index: 2;
}

body:not(.admin-body) .hero-title span {
    background: linear-gradient(100deg, #061f54 0%, #0d49a4 36%, #0f766e 54%, #061f54 74%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: safeTitleGlow 7s ease-in-out infinite;
}

body:not(.admin-body) .hero-description {
    animation: safeSoftFloat 6s ease-in-out infinite;
}

.luxury-hero-visual {
    animation: safeVisualFloat 8s ease-in-out infinite;
}

.motion-ring {
    animation-duration: 13s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.ring-outer {
    animation-name: safeSpinClockwise;
}

.ring-inner {
    animation-name: safeSpinCounter;
}

.motion-node {
    animation: safeNodePulse 2.8s ease-in-out infinite;
}

.node-two {
    animation-delay: 0.45s;
}

.node-three {
    animation-delay: 0.9s;
}

.glass-shape,
.contact-glass-shape {
    animation: safeGlassDrift 10s ease-in-out infinite alternate;
}

.shape-two,
.contact-shape-two {
    animation-delay: 1.2s;
}

.shape-three,
.contact-shape-three {
    animation-delay: 2.2s;
}

body:not(.admin-body) .section-title h2 {
    position: relative;
}

body:not(.admin-body) .section-title h2::after {
    content: '';
    display: block;
    width: 92px;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d49a4, #2dd4bf, #fbbf24, #0d49a4);
    background-size: 220% 100%;
    animation: safeLineFlow 3.8s linear infinite;
}

body:not(.admin-body) #about {
    position: relative;
    overflow: hidden;
}

body:not(.admin-body) #about::before {
    content: '';
    position: absolute;
    inset: 6rem auto auto -8rem;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 40%, rgba(45, 212, 191, 0.24), transparent 34%),
        radial-gradient(circle at 62% 58%, rgba(13, 73, 164, 0.2), transparent 46%);
    filter: blur(28px);
    animation: safeAboutAura 11s ease-in-out infinite alternate;
    pointer-events: none;
}

body:not(.admin-body) #about::after {
    content: '';
    position: absolute;
    inset: auto -7rem 5rem auto;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(13, 73, 164, 0.14);
    border-radius: 34% 66% 58% 42%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(45, 212, 191, 0.08));
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.42), 0 30px 80px rgba(8, 50, 127, 0.12);
    animation: safeAboutMorph 12s ease-in-out infinite;
    pointer-events: none;
}

body:not(.admin-body) #about .container {
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .about-card {
    isolation: isolate;
    animation: safeAboutCardFloat 7s ease-in-out infinite;
}

body:not(.admin-body) .about-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.16), transparent 34%),
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.12), transparent 34%),
        radial-gradient(circle at 86% 82%, rgba(13, 73, 164, 0.16), transparent 38%);
    opacity: 0.75;
    pointer-events: none;
    z-index: -1;
    animation: safeAboutGlowShift 6s ease-in-out infinite alternate;
}

body:not(.admin-body) .stat-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body:not(.admin-body) .stat-item::before {
    content: '';
    position: absolute;
    inset: -60% -40%;
    background: conic-gradient(from 0deg, transparent, rgba(45, 212, 191, 0.18), transparent, rgba(251, 191, 36, 0.16), transparent);
    animation: safeStatOrbit 7s linear infinite;
    pointer-events: none;
}

body:not(.admin-body) .stat-item::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(225, 244, 255, 0.45));
    pointer-events: none;
}

body:not(.admin-body) .stat-item > * {
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .stat-item:hover {
    transform: translateY(-8px) scale(1.025);
    border-color: rgba(45, 212, 191, 0.42);
    box-shadow: 0 24px 52px rgba(8, 50, 127, 0.16);
}

body:not(.admin-body) .stat-number {
    animation: safeNumberPulse 3.6s ease-in-out infinite;
}

body:not(.admin-body) .about-text {
    position: relative;
}

body:not(.admin-body) .about-text h3 {
    position: relative;
    width: fit-content;
    background: linear-gradient(90deg, #061f54, #0d49a4, #0f766e, #061f54);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: safeAboutHeadingFlow 5.5s ease-in-out infinite;
}

body:not(.admin-body) .about-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.55rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d49a4, #2dd4bf, #fbbf24);
    transform-origin: left;
    animation: safeAboutUnderline 3s ease-in-out infinite;
}

body:not(.admin-body) .about-text p {
    animation: safeAboutTextFloat 7s ease-in-out infinite;
}

body:not(.admin-body) .about-text p:nth-of-type(2) {
    animation-delay: 0.7s;
}

body:not(.admin-body) #skills {
    position: relative;
    overflow: hidden;
}

body:not(.admin-body) #skills::before {
    content: '';
    position: absolute;
    left: -18%;
    top: 18%;
    width: 136%;
    height: 220px;
    background:
        linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.12), rgba(251, 191, 36, 0.11), rgba(13, 73, 164, 0.12), transparent),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(13, 73, 164, 0.08) 39px 40px);
    filter: blur(1px);
    transform: rotate(-4deg);
    animation: safeSkillLightTrack 9s linear infinite;
    pointer-events: none;
}

body:not(.admin-body) #skills::after {
    content: '';
    position: absolute;
    right: -8rem;
    bottom: 3rem;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(251, 191, 36, 0.18), transparent 32%),
        radial-gradient(circle at 62% 62%, rgba(45, 212, 191, 0.18), transparent 46%);
    filter: blur(26px);
    animation: safeSkillAuraWalk 10s ease-in-out infinite alternate;
    pointer-events: none;
}

body:not(.admin-body) #skills .container {
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .skills-grid {
    position: relative;
}

body:not(.admin-body) .skills-grid::before {
    content: '';
    position: absolute;
    inset: -1rem;
    border-radius: 24px;
    background:
        linear-gradient(90deg, transparent, rgba(13, 73, 164, 0.08), transparent),
        linear-gradient(180deg, transparent, rgba(45, 212, 191, 0.07), transparent);
    opacity: 0.75;
    animation: safeSkillGridSweep 6s ease-in-out infinite;
    pointer-events: none;
}

body:not(.admin-body) .skill-card {
    animation: safeSkillWalk 5.8s ease-in-out infinite;
    animation-delay: calc(var(--skill-step, 0) * -0.28s);
}

body:not(.admin-body) .skill-card:nth-child(1) { --skill-step: 1; }
body:not(.admin-body) .skill-card:nth-child(2) { --skill-step: 2; }
body:not(.admin-body) .skill-card:nth-child(3) { --skill-step: 3; }
body:not(.admin-body) .skill-card:nth-child(4) { --skill-step: 4; }
body:not(.admin-body) .skill-card:nth-child(5) { --skill-step: 5; }
body:not(.admin-body) .skill-card:nth-child(6) { --skill-step: 6; }
body:not(.admin-body) .skill-card:nth-child(7) { --skill-step: 7; }
body:not(.admin-body) .skill-card:nth-child(8) { --skill-step: 8; }
body:not(.admin-body) .skill-card:nth-child(9) { --skill-step: 9; }
body:not(.admin-body) .skill-card:nth-child(10) { --skill-step: 10; }
body:not(.admin-body) .skill-card:nth-child(11) { --skill-step: 11; }
body:not(.admin-body) .skill-card:nth-child(12) { --skill-step: 12; }

body:not(.admin-body) .skill-card::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0.8rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #2dd4bf, #fbbf24, transparent);
    background-size: 220% 100%;
    opacity: 0.72;
    animation: safeSkillCardRunner 2.4s linear infinite;
    pointer-events: none;
}

body:not(.admin-body) .skill-card .skill-icon-box {
    position: relative;
}

body:not(.admin-body) .skill-card .skill-icon-box::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 20px;
    border: 1px solid rgba(45, 212, 191, 0.26);
    transform: rotate(0deg);
    animation: safeSkillIconOrbit 4.2s linear infinite;
    pointer-events: none;
}

body:not(.admin-body) .skill-card h3 {
    position: relative;
    animation: safeSkillTextPulse 4.4s ease-in-out infinite;
    animation-delay: calc(var(--skill-step, 0) * -0.2s);
}

body:not(.admin-body) .glass-card {
    position: relative;
    overflow: hidden;
}

body:not(.admin-body) .glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 42%, transparent 58%),
        radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 20%), rgba(45, 212, 191, 0.18), transparent 36%);
    transform: translateX(-110%);
    transition: transform 0.75s ease;
    pointer-events: none;
    z-index: 0;
}

body:not(.admin-body) .glass-card:hover::before {
    transform: translateX(110%);
}

body:not(.admin-body) .glass-card > * {
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .skill-card,
body:not(.admin-body) .service-card,
body:not(.admin-body) .project-card {
    transform-style: preserve-3d;
    will-change: transform;
}

body:not(.admin-body) .skill-card:hover,
body:not(.admin-body) .service-card:hover,
body:not(.admin-body) .project-card:hover {
    transform: translateY(-9px);
}

body:not(.admin-body) .skill-icon-box,
body:not(.admin-body) .service-icon-box {
    animation: safeIconBreath 4.5s ease-in-out infinite;
}

body:not(.admin-body) .project-img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.22) 46%, transparent 72%);
    transform: translateX(-125%);
    transition: transform 0.8s ease;
    z-index: 2;
    pointer-events: none;
}

body:not(.admin-body) .project-card:hover .project-img-box::before {
    transform: translateX(125%);
}

body:not(.admin-body) .project-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 12%, rgba(45, 212, 191, 0.16) 46%, transparent 72%);
    transform: translateX(-135%);
    animation: projectLightRun 5.8s ease-in-out infinite;
    animation-delay: calc(var(--project-step, 0) * -0.35s);
    pointer-events: none;
    z-index: 3;
    will-change: transform;
}

body:not(.admin-body) .project-card:nth-child(2n) {
    --project-step: 1;
}

body:not(.admin-body) .project-card:nth-child(3n) {
    --project-step: 2;
}

body:not(.admin-body) .project-card:nth-child(4n) {
    --project-step: 3;
}

body:not(.admin-body) .btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body:not(.admin-body) .btn::after {
    content: '';
    position: absolute;
    inset: -40% -30%;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.34) 48%, transparent 66%);
    transform: translateX(-120%);
    transition: transform 0.75s ease;
    z-index: -1;
}

body:not(.admin-body) .btn:hover::after {
    transform: translateX(120%);
}

body:not(.admin-body) .whatsapp-float {
    animation: safeWhatsAppFloat 2.8s ease-in-out infinite;
}

@keyframes safeAuroraDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(0.96) rotate(0deg);
    }
    100% {
        transform: translate3d(-38px, 36px, 0) scale(1.08) rotate(16deg);
    }
}

@keyframes safeTitleGlow {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 0 14px 36px rgba(8, 50, 127, 0.12);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 18px 46px rgba(45, 212, 191, 0.18);
    }
}

@keyframes safeSoftFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes safeVisualFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes safeSpinClockwise {
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes safeNodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(45, 212, 191, 0);
    }
    50% {
        transform: scale(1.18);
        box-shadow: 0 0 28px rgba(45, 212, 191, 0.42);
    }
}

@keyframes safeGlassDrift {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    100% {
        filter: hue-rotate(9deg) brightness(1.04);
    }
}

@keyframes safeLineFlow {
    to {
        background-position: 220% 0;
    }
}

@keyframes safeIconBreath {
    0%, 100% {
        box-shadow: 0 16px 30px rgba(8, 50, 127, 0.18);
    }
    50% {
        box-shadow: 0 18px 36px rgba(45, 212, 191, 0.24);
    }
}

@keyframes safeAboutAura {
    0% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }
    100% {
        transform: translate3d(52px, 28px, 0) scale(1.12);
    }
}

@keyframes safeAboutMorph {
    0%, 100% {
        border-radius: 34% 66% 58% 42%;
        transform: rotate(0deg) translateY(0);
    }
    50% {
        border-radius: 61% 39% 42% 58%;
        transform: rotate(18deg) translateY(-18px);
    }
}

@keyframes safeAboutCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes safeAboutGlowShift {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    100% {
        filter: hue-rotate(12deg) brightness(1.08);
    }
}

@keyframes safeStatOrbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes safeNumberPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        text-shadow: 0 8px 20px rgba(8, 50, 127, 0.14);
    }
    50% {
        transform: translateY(-3px) scale(1.045);
        text-shadow: 0 14px 32px rgba(45, 212, 191, 0.28);
    }
}

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

@keyframes safeAboutUnderline {
    0%, 100% {
        transform: scaleX(0.58);
        opacity: 0.75;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes safeAboutTextFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes safeSkillLightTrack {
    0% {
        background-position: -320px 0, 0 0;
    }
    100% {
        background-position: 320px 0, 260px 0;
    }
}

@keyframes safeSkillAuraWalk {
    0% {
        transform: translate3d(0, 0, 0) scale(0.96);
    }
    100% {
        transform: translate3d(-70px, -34px, 0) scale(1.12);
    }
}

@keyframes safeSkillGridSweep {
    0%, 100% {
        transform: translateX(-10px);
        opacity: 0.5;
    }
    50% {
        transform: translateX(10px);
        opacity: 0.9;
    }
}

@keyframes safeSkillWalk {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(6px, -8px, 0);
    }
    50% {
        transform: translate3d(0, -13px, 0);
    }
    75% {
        transform: translate3d(-6px, -7px, 0);
    }
}

@keyframes safeSkillCardRunner {
    to {
        background-position: 220% 0;
    }
}

@keyframes safeSkillIconOrbit {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.45;
    }
    50% {
        transform: rotate(180deg) scale(1.08);
        opacity: 0.9;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.45;
    }
}

@keyframes safeSkillTextPulse {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 10px 26px rgba(45, 212, 191, 0.28);
    }
}

@keyframes safeWhatsAppFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-7px) scale(1.03);
    }
}

@keyframes projectLightRun {
    0%, 58% {
        transform: translateX(-135%);
        opacity: 0;
    }
    68% {
        opacity: 0.72;
    }
    86%, 100% {
        transform: translateX(135%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.admin-body) .project-img-box::after {
        animation: none;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    body:not(.admin-body) .portfolio-aura-canvas {
        opacity: 0.62;
    }

    body:not(.admin-body) .hero::after {
        width: 320px;
        height: 320px;
        inset: 12% -38% auto auto;
    }
}

/* ============================================
   LOW POWER SCROLL PERFORMANCE
   Automatically enabled by script.js on mobile,
   save-data, reduced-motion, and low-core devices.
   ============================================ */

body.low-power-mode:not(.admin-body) {
    --glass-shadow: 0 8px 22px rgba(8, 50, 127, 0.1);
    --neon-shadow: 0 8px 18px rgba(45, 212, 191, 0.14);
}

body.low-power-mode:not(.admin-body),
body.low-power-mode:not(.admin-body) html {
    scroll-behavior: auto;
}

body.low-power-mode:not(.admin-body) .section {
    content-visibility: auto;
    contain-intrinsic-size: 820px;
}

body.low-power-mode:not(.admin-body) .glass-card,
body.low-power-mode:not(.admin-body) .navbar,
body.low-power-mode:not(.admin-body) .project-category,
body.low-power-mode:not(.admin-body) .hero-metric,
body.low-power-mode:not(.admin-body) .motion-node,
body.low-power-mode:not(.admin-body) .glass-shape,
body.low-power-mode:not(.admin-body) .contact-glass-shape,
body.low-power-mode:not(.admin-body) .luxury-contact-card,
body.low-power-mode:not(.admin-body) .contact-form,
body.low-power-mode:not(.admin-body) .language-switcher {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.low-power-mode:not(.admin-body) .bg-glow-1,
body.low-power-mode:not(.admin-body) .bg-glow-2,
body.low-power-mode:not(.admin-body) .hero::after,
body.low-power-mode:not(.admin-body) #about::before,
body.low-power-mode:not(.admin-body) #about::after,
body.low-power-mode:not(.admin-body) #skills::before,
body.low-power-mode:not(.admin-body) .project-img-box::after,
body.low-power-mode:not(.admin-body) .glass-card::before,
body.low-power-mode:not(.admin-body) .about-card::after,
body.low-power-mode:not(.admin-body) .stat-item::before,
body.low-power-mode:not(.admin-body) .stat-item::after,
body.low-power-mode:not(.admin-body) .skill-card::before,
body.low-power-mode:not(.admin-body) .service-card::before,
body.low-power-mode:not(.admin-body) .project-card::before {
    animation: none !important;
    display: none !important;
}

body.low-power-mode:not(.admin-body) .luxury-hero-visual,
body.low-power-mode:not(.admin-body) .hero-content,
body.low-power-mode:not(.admin-body) .hero-description,
body.low-power-mode:not(.admin-body) .hero-title span,
body.low-power-mode:not(.admin-body) .motion-ring,
body.low-power-mode:not(.admin-body) .motion-grid span,
body.low-power-mode:not(.admin-body) .motion-node,
body.low-power-mode:not(.admin-body) .glass-shape,
body.low-power-mode:not(.admin-body) .contact-glass-shape,
body.low-power-mode:not(.admin-body) .hero-metric,
body.low-power-mode:not(.admin-body) .about-card,
body.low-power-mode:not(.admin-body) .stat-number,
body.low-power-mode:not(.admin-body) .about-text h3,
body.low-power-mode:not(.admin-body) .about-text p,
body.low-power-mode:not(.admin-body) .skill-card,
body.low-power-mode:not(.admin-body) .skill-icon-box,
body.low-power-mode:not(.admin-body) .skill-card h3,
body.low-power-mode:not(.admin-body) .service-icon-box,
body.low-power-mode:not(.admin-body) .project-img-box::before,
body.low-power-mode:not(.admin-body) .whatsapp-pulse,
body.low-power-mode:not(.admin-body) .whatsapp-float {
    animation: none !important;
}

body.low-power-mode:not(.admin-body) .glass-card,
body.low-power-mode:not(.admin-body) .project-card,
body.low-power-mode:not(.admin-body) .skill-card,
body.low-power-mode:not(.admin-body) .service-card,
body.low-power-mode:not(.admin-body) .stat-item,
body.low-power-mode:not(.admin-body) .hero-metric,
body.low-power-mode:not(.admin-body) .navbar {
    box-shadow: 0 8px 20px rgba(8, 50, 127, 0.08) !important;
    will-change: auto;
}

body.low-power-mode:not(.admin-body) .glass-card:hover,
body.low-power-mode:not(.admin-body) .project-card:hover,
body.low-power-mode:not(.admin-body) .skill-card:hover,
body.low-power-mode:not(.admin-body) .service-card:hover,
body.low-power-mode:not(.admin-body) .stat-item:hover,
body.low-power-mode:not(.admin-body) .btn:hover {
    transform: none !important;
}

body.low-power-mode:not(.admin-body) .project-img-box img {
    transition: none;
}

body.low-power-mode:not(.admin-body) .project-card:hover .project-img-box img {
    transform: none;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    body:not(.admin-body) {
        --transition-fast: 0.12s ease;
        --transition-normal: 0.16s ease;
        --transition-slow: 0.16s ease;
    }

    html {
        scroll-behavior: auto;
    }
}
