/* ============================================
   NEUROLAKE - Cursor.com Inspired Design
   "Dando inteligencia a tu arquitectura de datos"
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --glow-blue: rgba(59, 130, 246, 0.15);
    --glow-purple: rgba(139, 92, 246, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

/* ========== Spinner ========== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    z-index: 99999;
    background: var(--bg-primary) !important;
}

#spinner.show {
    transition: opacity 0.4s ease, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-border {
    width: 40px;
    height: 40px;
    border-width: 2px;
    border-color: var(--accent-blue);
    border-right-color: transparent;
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition-normal);
    z-index: 99;
}

.back-to-top:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--glow-blue);
}

/* ========== Buttons ========== */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 36px; height: 36px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 52px; height: 52px; }
.btn-xl-square { width: 64px; height: 64px; }

.btn.btn-primary {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    font-weight: 600;
}

.btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.btn.btn-dark {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
    backdrop-filter: blur(10px);
}

.btn.btn-dark:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--border-hover) !important;
}

.btn.btn-light {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
}

.btn.btn-light:hover {
    border-color: var(--border-hover) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

/* ========== Topbar - Enhanced Contrast ========== */
.topbar {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid var(--border-subtle);
}

.topbar a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
}

.topbar a:hover {
    color: var(--text-primary) !important;
}

.topbar i {
    color: var(--accent-blue) !important;
    font-size: 0.85rem;
}

/* Mobile Topbar - Show on all devices */
@media (max-width: 991px) {
    .topbar {
        display: block !important;
        padding: 16px 0;
        text-align: center;
    }
    
    .topbar .d-flex {
        flex-direction: column !important;
        gap: 12px;
    }
    
    .topbar a {
        font-size: 0.95rem;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        justify-content: center;
        margin: 0 !important;
    }
    
    .topbar a:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* ========== Navbar - Cursor Style ========== */
.sticky-top {
    transition: var(--transition-normal) !important;
}

.navbar {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0 !important;
}

.navbar .navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navbar .navbar-brand h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    margin: 0;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.navbar .navbar-brand h1 i {
    color: var(--text-primary);
    margin-right: 8px;
}

.navbar .navbar-brand small {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted) !important;
    margin-top: 2px;
}

.navbar .navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
}

.navbar .navbar-nav .nav-item {
    margin: 0 2px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    display: none;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    font-size: 0.7rem;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.navbar .nav-item:hover .dropdown-toggle::after {
    opacity: 1;
    transform: rotate(180deg);
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: translateY(10px);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-lg);
        margin-top: 8px !important;
        padding: 8px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        transition: var(--transition-normal);
        opacity: 0;
        min-width: 220px;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        background: rgba(10, 10, 10, 0.98);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        margin-top: 8px !important;
    }
}

.dropdown .dropdown-menu a {
    color: var(--text-secondary) !important;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.dropdown .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

#searchModal .modal-content {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

#searchModal .modal-header {
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

#searchModal .btn-close {
    filter: invert(1);
    opacity: 0.5;
}

#searchModal input {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 50px;
}

/* ========== Hero Carousel - Cursor Inspired ========== */
.header-carousel {
    background: var(--bg-primary);
}

.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.header-carousel .header-carousel-item img {
    filter: brightness(0.3) saturate(0.8);
    transform: scale(1.05);
    transition: transform 10s ease;
}

.header-carousel .owl-item.active .header-carousel-item img {
    transform: scale(1);
}

/* Remove old decorative elements */
.header-carousel .header-carousel-item::before,
.header-carousel .header-carousel-item::after,
.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::before,
.header-carousel .header-carousel-item-img-3::after {
    display: none !important;
}

/* New subtle gradient overlay */
.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    animation: none !important;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bg-card) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.owl-prev { left: 24px; }
.owl-next { right: 24px; }

.owl-prev:hover,
.owl-next:hover {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    border-color: transparent !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    padding: 0 20px;
}

.header-carousel .carousel-caption h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--text-primary) !important;
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.header-carousel .carousel-caption p {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

.header-carousel .carousel-caption .btn {
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item {
        min-height: 80vh;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }
    
    .header-carousel .carousel-caption p {
        margin: 0 auto;
    }

    .owl-prev, .owl-next {
        top: auto;
        bottom: 30px;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .owl-prev { left: calc(50% - 50px); }
    .owl-next { right: calc(50% - 50px); }
}

/* ========== Breadcrumb Page ========== */
.bg-breadcrumb {
    position: relative;
    background: var(--bg-primary);
    padding: 120px 0 60px;
    border-bottom: 1px solid var(--border-subtle);
}

.bg-breadcrumb::before,
.bg-breadcrumb::after,
.bg-breadcrumb .bg-breadcrumb-single {
    display: none;
}

.bg-breadcrumb h1 {
    color: var(--text-primary);
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--text-muted) !important;
}

.bg-breadcrumb .breadcrumb-item a:hover {
    color: var(--text-primary) !important;
}

.bg-breadcrumb .breadcrumb-item.active {
    color: var(--text-secondary) !important;
}

.bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* ========== About Section - Minimal ========== */
.about {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-subtle);
}

.about.bg-light {
    background: var(--bg-primary) !important;
}

.about h4.text-primary {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
    margin-bottom: 16px;
}

.about h1.display-5 {
    color: var(--text-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 24px;
}

.about p.text {
    color: var(--text-secondary);
    padding-left: 20px;
    border-left: 2px solid var(--border-subtle);
}

.about .text::after {
    display: none;
}

.about .about-img img {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
}

.about .about-img img:hover {
    transform: none;
}

/* Stats Cards */
.about .bg-primary,
.about .bg-dark {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    transition: var(--transition-normal);
}

.about .bg-primary:hover,
.about .bg-dark:hover {
    border-color: var(--border-hover) !important;
}

.about .counter-value,
.about .fs-1 {
    font-family: 'Syne', sans-serif;
    color: var(--text-primary) !important;
}

.about .text-dark {
    color: var(--text-primary) !important;
}

.about p.text-white,
.about p.mb-0 {
    color: var(--text-secondary) !important;
}

.about .text-muted {
    color: var(--text-muted) !important;
}

.about .fa-check-circle {
    color: var(--accent-blue) !important;
}

/* ========== Services Section ========== */
.service {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.service .service-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: none;
}

.service .service-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.service .service-item .service-img {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service .service-item .service-img img {
    filter: brightness(0.8);
    transition: var(--transition-slow);
}

.service .service-item:hover .service-img img {
    filter: brightness(1);
    transform: scale(1.02);
}

.service .service-item .service-img::after {
    display: none;
}

.service .service-item .service-content {
    background: transparent !important;
}

.service .service-item .service-content::after {
    display: none;
}

.service .service-item .service-content .service-content-inner a.h4 {
    color: var(--text-primary) !important;
    font-size: 1.1rem;
}

.service .service-item .service-content p {
    color: var(--text-secondary);
}

.service .service-item:hover .service-content .service-content-inner {
    color: inherit !important;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--text-primary) !important;
}

/* ========== Projects Section ========== */
.project {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.project .project-carousel .project-item .project-img {
    border-radius: var(--radius-lg);
}

.project .project-carousel .project-item .project-img::after {
    display: none;
}

.project .project-carousel .project-item .project-content {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.project .project-carousel .project-item .project-content::after {
    display: none;
}

.project .project-carousel .project-item:hover .project-content {
    border-color: var(--border-hover);
}

.project-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    background: var(--border-subtle);
    border-radius: 50%;
    margin: 0 4px;
}

.project-carousel .owl-dots .owl-dot.active {
    background: var(--text-primary);
    width: 24px;
    border-radius: 4px;
    border: none;
}

/* ========== Blog Section ========== */
.blog {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.blog .blog-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.blog .blog-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

/* ========== Team Section ========== */
.team {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.team .team-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.team .team-item::before,
.team .team-item::after {
    display: none;
}

.team .team-item:hover {
    border-color: var(--border-hover) !important;
    transform: translateY(-4px);
}

.team .team-item .team-img::after {
    display: none;
}

.team .team-item .team-content {
    background: transparent !important;
}

.team .team-item .team-content::before,
.team .team-item .team-content::after {
    display: none;
}

.team .team-item .team-content h4 {
    color: var(--text-primary) !important;
}

.team .team-item .team-content p {
    color: var(--text-muted) !important;
}

/* ========== Testimonial Section ========== */
.testimonial {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-subtle);
}

.testimonial.bg-light {
    background: var(--bg-primary) !important;
}

.testimonial h4.text-primary {
    color: var(--text-muted) !important;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
}

.testimonial h1 {
    color: var(--text-primary);
}

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

.testimonial .testimonial-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.testimonial .testimonial-carousel .owl-dot {
    background: var(--border-subtle);
    border: none !important;
}

.testimonial .testimonial-carousel .owl-dot.active {
    background: var(--text-primary);
}

/* ========== FAQ Section - Cursor Style ========== */
.faq {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.faq::after {
    display: none;
}

.faq h4.text-primary {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
}

.faq h1.display-4 {
    color: var(--text-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.faq .accordion {
    background: transparent !important;
    border: none;
    padding: 0;
}

.faq .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq .accordion-button {
    background: transparent;
    color: var(--text-primary) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 20px 24px;
    box-shadow: none !important;
}

.faq .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary) !important;
}

.faq .accordion-button::after {
    filter: invert(1);
    opacity: 0.5;
}

.faq .accordion-body {
    background: transparent;
    color: var(--text-secondary);
    padding: 0 24px 20px;
    border-top: 1px solid var(--border-subtle);
}

.faq .accordion-body h5 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.faq .faq-img img {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
}

/* ========== Footer - Cursor Style ========== */
.footer {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-subtle);
}

.footer h4 {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer .footer-item a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 2.2;
    transition: var(--transition-fast);
}

.footer .footer-item a:hover {
    color: var(--text-primary);
    padding-left: 0;
    letter-spacing: 0;
}

.footer .footer-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 2.2;
}

.footer input {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
}

.footer input:focus {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

.footer .btn-light {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    border: none !important;
}

.footer .btn-light:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

/* ========== Copyright ========== */
.copyright {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-subtle) !important;
    padding: 20px 0;
}

.copyright span,
.copyright a {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
}

.copyright a:hover {
    color: var(--text-primary) !important;
}

/* ========== Contact Section ========== */
.contact {
    background: var(--bg-primary);
}

.contact h4.text-primary {
    color: var(--text-muted) !important;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
}

.contact h1 {
    color: var(--text-primary);
}

.contact .bg-light {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

/* ========== Form Styles ========== */
.form-control {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 18px !important;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-fast);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--border-hover) !important;
    box-shadow: none !important;
}

.form-control::placeholder {
    color: transparent !important;
}

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

/* Form Floating Labels - Fix for dark theme */
.form-floating > .form-control,
.form-floating > .form-select {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    height: 58px;
    padding: 1rem 0.75rem;
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: rgba(255, 255, 255, 0.7) !important;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

.form-floating > textarea.form-control {
    height: auto !important;
    min-height: 160px;
}

.form-select {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

.form-select option {
    background: #1a1a2e;
    color: #fff;
}

/* Contact Form Button */
.btn-primary.w-100 {
    background: #fff !important;
    color: #0a0a0f !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary.w-100:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
}

/* ========== Utility Classes ========== */
.text-primary {
    color: var(--text-primary) !important;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.text-blue {
    color: var(--text-primary) !important;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.bg-light {
    background: var(--bg-secondary) !important;
}

.bg-white {
    background: var(--bg-card) !important;
}

.bg-dark {
    background: var(--bg-primary) !important;
}

.text-dark {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-body {
    color: var(--text-secondary) !important;
}

.rounded {
    border-radius: var(--radius-lg) !important;
}

.rounded-top {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.rounded-bottom {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}

.rounded-pill {
    border-radius: 50px !important;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* ========== Selection ========== */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeInUp {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Disable heavy animations for cleaner look */
.RotateMoveRight,
.RotateMoveLeft,
.RotateMoveCircle {
    animation: none !important;
}

/* ========== Focus States ========== */
*:focus {
    outline: none;
}

button:focus,
a:focus,
input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* ========== Tech Cards Hover ========== */
.col-lg-2 .p-3.rounded:hover,
.col-lg-4 .p-4:hover {
    border-color: var(--border-hover) !important;
    transform: translateY(-2px);
    transition: var(--transition-normal);
}

/* ========== Code Block Styles ========== */
.rounded-4 {
    border-radius: 20px !important;
}

/* ========== Product Showcase ========== */
.col-lg-6 .rounded-4:hover {
    transform: translateY(-4px);
    transition: var(--transition-slow);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6) !important;
}

/* ========== Badge Styles ========== */
.px-3.py-2.rounded {
    transition: var(--transition-fast);
}

.px-3.py-2.rounded:hover {
    transform: scale(1.05);
}

/* ========== Regional Emphasis ========== */
.fa-map-marker-alt {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== Print Styles ========== */
@media print {
    body {
        background: white;
        color: black;
    }
}
