/* ============================================
   ERRORPOINT.ORG — Custom Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root,
[data-bs-theme="dark"] {
    --accent: #00d4aa;
    --accent-hover: #00b894;
    --accent-soft: rgba(0, 212, 170, 0.12);
    --bg-dark: #0a0e17;
    --bg-primary: #0f1523;
    --bg-secondary: #141b2d;
    --bg-card: #1a2235;
    --bg-card-hover: #1e2840;
    --text-primary: #e8ecf1;

    /* Override Bootstrap dark theme variables */
    --bs-body-color: #e8ecf1;
    --bs-body-bg: #0f1523;
    --bs-secondary-color: #8892a4;
    --bs-tertiary-color: #6c7a8d;
    --bs-emphasis-color: #ffffff;
    --bs-body-color-rgb: 232, 236, 241;
    --bs-secondary-color-rgb: 136, 146, 164;
    --bs-link-color: #00d4aa;
    --bs-link-hover-color: #00b894;
    --text-secondary: #8892a4;
    --border-color: rgba(255, 255, 255, 0.08);
    --gradient-1: linear-gradient(135deg, #00d4aa 0%, #00b4d8 50%, #7b68ee 100%);
    --gradient-2: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 4px 20px rgba(0, 212, 170, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition: all 0.3s ease;
}

/* ---------- Global Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Force Bootstrap text utilities to be visible on dark backgrounds */
.text-muted {
    color: var(--text-secondary) !important;
}

.text-body-secondary {
    color: var(--text-secondary) !important;
}

.opacity-75 {
    color: rgba(232, 236, 241, 0.75);
}

::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark-alt {
    background-color: var(--bg-secondary);
}

.text-accent {
    color: var(--accent) !important;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-accent-soft {
    background-color: var(--accent-soft) !important;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.z-1 {
    z-index: 1;
    position: relative;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn-accent {
    background: var(--gradient-2);
    color: var(--bg-dark);
    border: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-accent:hover {
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNav {
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(10, 14, 23, 0.95);
    border-bottom-color: var(--border-color);
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.1rem;
}

.brand-text {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 1px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 20px;
}

.navbar-toggler {
    color: var(--text-primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232, 236, 241, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    background: var(--bg-dark);
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(123, 104, 238, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

.hero-stats {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-item h3 {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item small {
    font-size: 0.8rem;
}

/* Code Window */
.hero-illustration {
    position: relative;
    perspective: 1000px;
}

.code-window {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: left;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
}

.code-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.code-header {
    background: var(--bg-dark);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-title {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-left: 8px;
    font-family: var(--font-mono);
}

.code-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-body pre {
    margin: 0;
    color: var(--text-secondary);
}

.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-func { color: #82aaff; }
.code-prop { color: #f78c6c; }
.code-bool { color: #ff5370; }
.code-comment { color: #546e7a; font-style: italic; }

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.floating-badge.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 30%;
    left: -5%;
    animation-delay: 1s;
}

.floating-badge.badge-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-image-wrapper {
    position: relative;
    min-height: 420px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: absolute;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    max-width: 280px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card.card-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.about-card.card-2 {
    bottom: 0;
    right: 0;
    z-index: 2;
}

.about-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(60px);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-success-soft {
    background: rgba(40, 200, 64, 0.12);
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-2);
    color: var(--bg-dark);
}

.service-icon.icon-purple {
    background: rgba(123, 104, 238, 0.12);
    color: #7b68ee;
}

.service-card:hover .service-icon.icon-purple {
    background: linear-gradient(135deg, #7b68ee, #9b59b6);
    color: #fff;
}

.service-icon.icon-green {
    background: rgba(40, 200, 64, 0.12);
    color: #28c840;
}

.service-card:hover .service-icon.icon-green {
    background: linear-gradient(135deg, #28c840, #20b2aa);
    color: #fff;
}

.service-icon.icon-orange {
    background: rgba(255, 165, 0, 0.12);
    color: #ffa500;
}

.service-card:hover .service-icon.icon-orange {
    background: linear-gradient(135deg, #ffa500, #ff7043);
    color: #fff;
}

.service-icon.icon-cyan {
    background: rgba(0, 180, 216, 0.12);
    color: #00b4d8;
}

.service-card:hover .service-icon.icon-cyan {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #fff;
}

.service-icon.icon-pink {
    background: rgba(255, 105, 180, 0.12);
    color: #ff69b4;
}

.service-card:hover .service-icon.icon-pink {
    background: linear-gradient(135deg, #ff69b4, #e91e63);
    color: #fff;
}

.service-link {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.feature-item {
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon-sm {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Center Graphic */
.features-center-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.center-logo {
    text-align: center;
    color: var(--accent);
}

.center-logo span {
    font-size: 0.7rem;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0, 212, 170, 0.15);
    border-radius: 50%;
}

.ring-1 {
    width: 200px;
    height: 200px;
}

.ring-2 {
    width: 280px;
    height: 280px;
}

.orbit-dot {
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--accent);
    z-index: 3;
    animation: orbitPulse 2s ease-in-out infinite;
}

.dot-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.dot-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.5s; }
.dot-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.dot-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes orbitPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
    margin-bottom: -50px;
}

.cta-card {
    background: var(--gradient-1);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-card h3,
.cta-card p {
    position: relative;
    z-index: 1;
    color: var(--bg-dark);
}

.cta-card .btn {
    position: relative;
    z-index: 1;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 170, 0.2);
}

.team-avatar {
    position: relative;
    display: inline-block;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    transition: var(--transition);
}

.avatar-placeholder.purple {
    background: rgba(123, 104, 238, 0.12);
    color: #7b68ee;
}

.avatar-placeholder.green {
    background: rgba(40, 200, 64, 0.12);
    color: #28c840;
}

.avatar-placeholder.orange {
    background: rgba(255, 165, 0, 0.12);
    color: #ffa500;
}

.team-social {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-social {
    opacity: 1;
    bottom: -5px;
}

.team-social a {
    width: 30px;
    height: 30px;
    background: var(--bg-dark);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
    border-color: rgba(0, 212, 170, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.05) 100%);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-avatar.purple {
    background: rgba(123, 104, 238, 0.12);
    color: #7b68ee;
}

.testimonial-avatar.green {
    background: rgba(40, 200, 64, 0.12);
    color: #28c840;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 170, 0.2);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 180, 216, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    transition: var(--transition);
}

.blog-image-placeholder.purple {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    color: #7b68ee;
}

.blog-image-placeholder.green {
    background: linear-gradient(135deg, rgba(40, 200, 64, 0.1) 0%, rgba(32, 178, 170, 0.1) 100%);
    color: #28c840;
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-body {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.blog-link {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 20px 24px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-card-hover);
    color: var(--accent);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0.5) sepia(1) hue-rotate(120deg) saturate(3);
}

.accordion-body {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Alert overrides for dark theme */
.alert-success {
    background-color: rgba(40, 200, 64, 0.15);
    border-color: rgba(40, 200, 64, 0.3);
    color: #6ee7a0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background: var(--bg-dark);
    padding: 60px 0 30px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-accent);
}

.back-to-top:hover {
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    #navbarNav {
        background: var(--bg-dark);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
        border: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .code-window {
        transform: none;
    }

    .floating-badge.badge-1 {
        right: 0;
    }

    .floating-badge.badge-2 {
        left: 0;
    }

    .about-image-wrapper {
        min-height: 350px;
    }

    .about-card {
        position: relative;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .about-card.card-1,
    .about-card.card-2 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .about-image-wrapper {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .about-shape {
        display: none;
    }

    .cta-section {
        margin-top: 0;
        margin-bottom: 0;
        padding: 40px 0;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .feature-item .d-flex {
        justify-content: flex-start !important;
    }

    .feature-item {
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 1.4rem;
    }

    .cta-card {
        text-align: center;
    }

    .cta-card .text-lg-end {
        text-align: center !important;
    }

    .floating-badge {
        display: none;
    }

    .features-center-graphic {
        width: 220px;
        height: 220px;
    }

    .center-circle {
        width: 90px;
        height: 90px;
    }

    .ring-1 {
        width: 160px;
        height: 160px;
    }

    .ring-2 {
        width: 220px;
        height: 220px;
    }

    .orbit-dot {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .code-body {
        font-size: 0.72rem;
        padding: 14px;
    }

    .service-card,
    .testimonial-card,
    .contact-form-card,
    .contact-info-card {
        padding: 24px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Loading animation for page load */
.preload * {
    transition: none !important;
    animation: none !important;
}
