/* ============================================================
   METASAGUN — FUTURISTIC DARK GLASSMORPHISM THEME
   ============================================================ */

:root {
    --primary:          #4f8ef7;
    --primary-dark:     #3a6fd8;
    --primary-glow:     rgba(79, 142, 247, 0.45);
    --accent-cyan:      #00d4ff;
    --accent-purple:    #7c3aed;
    --accent-green:     #00ff88;
    --glass-bg:         rgba(255, 255, 255, 0.04);
    --glass-bg-hover:   rgba(255, 255, 255, 0.08);
    --glass-border:     rgba(255, 255, 255, 0.08);
    --glass-border-act: rgba(79, 142, 247, 0.40);
    --glass-shadow:     0 8px 32px rgba(0, 0, 0, 0.55);
    --glass-shadow-h:   0 16px 48px rgba(79, 142, 247, 0.20);
    --text-primary:     #e8f0ff;
    --text-muted-c:     rgba(180, 200, 255, 0.55);
    --dark-bg:          #050510;
}

/* ============ BASE ============ */
html {
    font-size: 14px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin-bottom: 0;
}

/* ============ ANIMATED BACKGROUND ============ */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 15% 50%,  rgba(79, 142, 247, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%,  rgba(124, 58, 237, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 90%,  rgba(0, 212, 255, 0.07)  0%, transparent 55%),
        linear-gradient(180deg, #050510 0%, #080818 50%, #050510 100%);
    overflow: hidden;
}

.bg-animated::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.09) 0%, transparent 70%);
    top: -250px; left: -250px;
    animation: floatOrb1 22s ease-in-out infinite;
}

.bg-animated::after {
    content: '';
    position: absolute;
    width: 550px; height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    bottom: -180px; right: -180px;
    animation: floatOrb2 28s ease-in-out infinite;
}

.bg-orb-3 {
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb3 35s ease-in-out infinite;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 142, 247, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 142, 247, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
}

@keyframes floatOrb1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(120px, 90px) scale(1.12); }
    66%      { transform: translate(-60px, 160px) scale(0.88); }
}
@keyframes floatOrb2 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(-130px,-90px) scale(1.18); }
    66%      { transform: translate(70px,-130px) scale(0.82); }
}
@keyframes floatOrb3 {
    0%,100% { transform: translate(-50%,-50%) scale(1); }
    50%      { transform: translate(-50%,-50%) scale(1.35); }
}

/* ============ LAYOUT ============ */
.main-content {
    flex: 1;
    padding-top: 70px;
}

/* ============ NAVBAR ============ */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
    background: rgba(5, 5, 16, 0.72) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(79, 142, 247, 0.14);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(5, 5, 16, 0.92) !important;
    border-bottom-color: rgba(79, 142, 247, 0.28);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--text-primary) !important;
    letter-spacing: 0.5px;
}

.navbar-brand i {
    color: var(--primary) !important;
    filter: drop-shadow(0 0 8px rgba(79, 142, 247, 0.9));
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    position: relative;
    color: rgba(200, 220, 255, 0.80) !important;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--accent-cyan) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-link:hover::after,
.nav-link.active::after { width: 80%; }

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-bg);
}

/* Tech grid background */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 142, 247, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 142, 247, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridPulse 8s ease-in-out infinite;
    pointer-events: none;
}

/* Radial glow overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79, 142, 247, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.13) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 80%, rgba(0, 212, 255, 0.09) 0%, transparent 50%);
    pointer-events: none;
}

/* Scanning line effect */
.hero-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.55), transparent);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.40);
    animation: scanLine 7s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Floating tech particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
    animation: floatParticle var(--dur, 12s) linear infinite;
    opacity: 0;
}

.hero-particle:nth-child(1)  { left: 10%; --dur: 11s; animation-delay: 0s;   background: var(--primary); }
.hero-particle:nth-child(2)  { left: 25%; --dur: 14s; animation-delay: 2s;   background: var(--accent-cyan); }
.hero-particle:nth-child(3)  { left: 40%; --dur: 9s;  animation-delay: 4s;   background: var(--accent-purple); }
.hero-particle:nth-child(4)  { left: 55%; --dur: 13s; animation-delay: 1s;   background: var(--primary); }
.hero-particle:nth-child(5)  { left: 70%; --dur: 10s; animation-delay: 3s;   background: var(--accent-cyan); }
.hero-particle:nth-child(6)  { left: 85%; --dur: 15s; animation-delay: 5s;   background: var(--accent-green); }
.hero-particle:nth-child(7)  { left: 15%; --dur: 12s; animation-delay: 6s;   background: var(--accent-purple); }
.hero-particle:nth-child(8)  { left: 60%; --dur: 8s;  animation-delay: 7s;   background: var(--primary); }
.hero-particle:nth-child(9)  { left: 35%; --dur: 16s; animation-delay: 0.5s; background: var(--accent-cyan); }
.hero-particle:nth-child(10) { left: 90%; --dur: 11s; animation-delay: 3.5s; background: var(--accent-green); }

/* Corner circuit decorations */
.hero-circuit-tl,
.hero-circuit-br {
    position: absolute;
    width: 200px; height: 200px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
}

.hero-circuit-tl {
    top: 20px; left: 20px;
    border-top: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
    border-radius: 4px 0 0 0;
    animation: circuitPulse 4s ease-in-out infinite;
}

.hero-circuit-tl::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    width: 80px; height: 80px;
    border-top: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
}

.hero-circuit-br {
    bottom: 20px; right: 20px;
    border-bottom: 2px solid var(--accent-purple);
    border-right: 2px solid var(--accent-purple);
    border-radius: 0 0 4px 0;
    animation: circuitPulse 4s ease-in-out infinite 2s;
}

.hero-circuit-br::before {
    content: '';
    position: absolute;
    bottom: 20px; right: 20px;
    width: 80px; height: 80px;
    border-bottom: 1px solid var(--accent-cyan);
    border-right: 1px solid var(--accent-cyan);
}

.hero-section .container { position: relative; z-index: 2; }

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1.0; }
}

@keyframes scanLine {
    0%   { top: -2px;   opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: 100%;  opacity: 0; }
}

@keyframes floatParticle {
    0%   { bottom: -10px; opacity: 0;   transform: translateX(0) scale(1); }
    10%  { opacity: 0.8; }
    90%  { opacity: 0.6; }
    100% { bottom: 110%;  opacity: 0;   transform: translateX(40px) scale(0.5); }
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.18; }
    50%       { opacity: 0.45; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease both;
    text-shadow: 0 0 40px rgba(79, 142, 247, 0.30);
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: rgba(200, 220, 255, 0.80);
}

.hero-buttons { animation: fadeInUp 0.8s ease 0.4s both; }

/* ============ PAGE HEADER ============ */
.page-header {
    padding: 90px 0 60px;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(79, 142, 247, 0.11) 0%, transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 142, 247, 0.40), transparent);
}

.page-header .container { position: relative; z-index: 1; }

/* ============ SECTION UTILITIES ============ */
.section-padding { padding: 80px 0; }

.bg-light {
    background: rgba(255, 255, 255, 0.025) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-white {
    background: var(--glass-bg) !important;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); }

.text-muted {
    color: var(--text-muted-c) !important;
}

.text-white-50 {
    color: rgba(200, 220, 255, 0.55) !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
}

.section-subtitle {
    color: var(--text-muted-c);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ============ GLASSMORPHISM CARDS ============ */
.card,
.service-card,
.project-card,
.blog-card,
.contact-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
    border-radius: 16px !important;
    transition: all 0.35s ease;
    color: var(--text-primary);
}

.card:hover,
.service-card:hover,
.project-card:hover,
.blog-card:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(79, 142, 247, 0.28) !important;
    box-shadow: var(--glass-shadow-h), 0 0 0 1px rgba(79, 142, 247, 0.10);
    transform: translateY(-6px);
}

.card-body  { color: var(--text-primary); }
.card-title { color: var(--text-primary) !important; }
.card-text  { color: var(--text-muted-c) !important; }

/* ============ SERVICE CARD ============ */
.service-card {
    padding: 40px 30px;
    text-align: center;
    height: 100%;
}

.service-icon {
    width: 80px; height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79,142,247,0.14), rgba(0,212,255,0.08));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary);
    border: 1px solid rgba(79, 142, 247, 0.22);
    box-shadow: 0 0 20px rgba(79, 142, 247, 0.14);
    transition: all 0.35s ease;
}

.service-card:hover .service-icon {
    box-shadow: 0 0 30px rgba(79, 142, 247, 0.45);
    border-color: rgba(79, 142, 247, 0.55);
    transform: scale(1.12);
}

.service-card h3,
.service-card h4 { color: var(--text-primary); font-weight: 600; }

/* ============ PROJECT CARD ============ */
.project-card { overflow: hidden; }

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img { transform: scale(1.1); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,16,0.85), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-info { color: #fff; }
.project-info h4 { font-weight: 600; margin-bottom: 5px; }

.project-body { padding: 25px; }
.project-body h4 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-primary); }
.project-body p  { color: var(--text-muted-c); font-size: 0.9rem; }

/* ============ BLOG CARD ============ */
.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img { transform: scale(1.1); }

.blog-content { padding: 25px; }

.blog-date {
    font-size: 0.85rem;
    color: var(--accent-cyan) !important;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover { color: var(--primary); }

.blog-summary {
    color: var(--text-muted-c);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ STATS SECTION ============ */
.stat-item { text-align: center; }

.stat-number,
.display-4.fw-bold.text-primary {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(79, 142, 247, 0.40));
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-top: 10px;
    color: var(--text-muted-c);
}

/* ============ BUTTONS ============ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 142, 247, 0.30);
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #5a9aff, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 142, 247, 0.55);
    color: #fff !important;
}

.btn-outline-primary {
    border: 1px solid rgba(79, 142, 247, 0.50);
    color: var(--primary) !important;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(79, 142, 247, 0.14);
    border-color: var(--primary);
    color: var(--accent-cyan) !important;
    box-shadow: 0 0 20px rgba(79, 142, 247, 0.30);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.90) !important;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.60);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 36px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.20);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.14);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 142, 247, 0.50);
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.40);
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* ============ FORMS ============ */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: var(--text-primary) !important;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(79, 142, 247, 0.50) !important;
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.14), 0 0 15px rgba(79, 142, 247, 0.10) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder { color: rgba(180, 200, 255, 0.35); }

.form-label {
    color: rgba(200, 220, 255, 0.80);
    font-weight: 500;
    margin-bottom: 6px;
}

/* ============ CONTACT ============ */
.contact-section { background: transparent; }

.contact-card {
    border-radius: 20px;
    padding: 50px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(79,142,247,0.18), rgba(0,212,255,0.10));
    border: 1px solid rgba(79, 142, 247, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(79, 142, 247, 0.18);
}

.form-control-custom {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: rgba(79,142,247,0.50);
    box-shadow: 0 0 0 3px rgba(79,142,247,0.14);
}

/* ============ CTA / BG-PRIMARY SECTION ============ */
.bg-primary {
    background: linear-gradient(135deg,
        rgba(79, 142, 247, 0.14),
        rgba(124, 58, 237, 0.12)) !important;
    border-top: 1px solid rgba(79, 142, 247, 0.20);
    border-bottom: 1px solid rgba(79, 142, 247, 0.20);
    backdrop-filter: blur(12px);
}

.bg-primary h2,
.bg-primary h3 { color: var(--text-primary) !important; }

.bg-primary .text-white-50 { color: var(--text-muted-c) !important; }

/* ============ STATS DARK SECTION ============ */
.stats-section {
    background: transparent;
    padding: 80px 0;
}

/* ============ NAVBAR LOGO ============ */
.navbar-logo {
    height: 60px;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(1.05);
}

/* ============ FOOTER LOGO ============ */
.footer-logo {
    height: 60px;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0.9) drop-shadow(0 0 6px rgba(79,142,247,0.30));
}

/* ============ FOOTER ============ */
.footer-bg {
    backdrop-filter: blur(22px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 30px;
    padding: 12px 0px;
    transition: 0.3s;
    border-bottom: 1px solid rgba(79, 142, 247, 0.14);
    background: rgba(5, 5, 16, 0.72) !important;
}

footer {
    margin-top: auto;
    background: rgba(5, 5, 16, 0.72) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid rgba(79, 142, 247, 0.14);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

footer a { transition: color 0.3s ease; }
footer a:hover { color: var(--accent-cyan) !important; }
footer .text-muted { color: var(--text-muted-c) !important; }
footer hr { border-color: rgba(255, 255, 255, 0.07) !important; }

/* ============ ALERTS ============ */
.alert-success {
    background: rgba(0, 255, 136, 0.07);
    border: 1px solid rgba(0, 255, 136, 0.22);
    color: #00ff88;
    backdrop-filter: blur(8px);
}

.alert-danger {
    background: rgba(255, 50, 80, 0.07);
    border: 1px solid rgba(255, 50, 80, 0.22);
    color: #ff6080;
    backdrop-filter: blur(8px);
}

.alert-warning {
    background: rgba(255, 180, 0, 0.07);
    border: 1px solid rgba(255, 180, 0, 0.22);
    color: #ffb400;
    backdrop-filter: blur(8px);
}

.alert-info {
    background: rgba(79, 142, 247, 0.07);
    border: 1px solid rgba(79, 142, 247, 0.22);
    color: var(--accent-cyan);
    backdrop-filter: blur(8px);
}

.btn-close { filter: invert(1) brightness(0.7); }

/* ============ BADGES ============ */
.badge.bg-primary {
    background: rgba(79, 142, 247, 0.18) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(79, 142, 247, 0.30);
}

.badge.bg-success {
    background: rgba(0, 255, 136, 0.14) !important;
    color: #00ff88 !important;
    border: 1px solid rgba(0, 255, 136, 0.28);
}

.badge.bg-secondary {
    background: rgba(255,255,255,0.08) !important;
    color: var(--text-muted-c) !important;
    border: 1px solid rgba(255,255,255,0.12);
}

/* ============ DIVIDERS ============ */
hr { border-color: rgba(255, 255, 255, 0.07); }

/* ============ ICONS ============ */
.bi-check-circle-fill.text-primary {
    color: var(--primary) !important;
    filter: drop-shadow(0 0 6px rgba(79, 142, 247, 0.65));
}

.text-primary { color: var(--primary) !important; }

/* ============ IMAGES ============ */
img.rounded-4 {
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

/* ============ SHADOWS ============ */
.shadow-sm  { box-shadow: 0 4px 20px rgba(0,0,0,0.35) !important; }
.shadow     { box-shadow: 0 8px 30px rgba(0,0,0,0.45) !important; }
.shadow-lg  { box-shadow: 0 15px 40px rgba(0,0,0,0.55) !important; }

/* ============ BORDERS ============ */
.border-top    { border-top-color:    rgba(255,255,255,0.07) !important; }
.border-bottom { border-bottom-color: rgba(255,255,255,0.07) !important; }
.border-top.border-secondary { border-top-color: rgba(255,255,255,0.07) !important; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.animate-fade-in { animation: fadeInUp 0.8s ease both; }
.fade-in  { animation: fadeIn  0.5s ease; }
.slide-up { animation: slideUp 0.5s ease; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: rgba(79,142,247,0.30); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(79,142,247,0.60); }

/* ============ SELECTION ============ */
::selection { background: rgba(79,142,247,0.30); color: #fff; }

/* ============ UTILITY ============ */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text { text-shadow: 0 0 20px rgba(79,142,247,0.50); }

/* ============ BOOTSTRAP FOCUS OVERRIDE ============ */
.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(79,142,247,0.20);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-title    { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    .contact-card  { padding: 30px; }
}
