:root {
    --primary: #00d4ff;
    --primary-glow: rgba(0, 212, 255, 0.4);
    --secondary: #8000ff;
    --accent: #00ff80;
    --bg-dark: #050505;
    --bg-alt: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html, body {
    background-color: var(--bg-dark) !important;
    min-height: 100vh;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark) !important;
    color: var(--text-white) !important;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Override Bootstrap Defaults */
p, li, span {
    color: var(--text-white) !important;
    opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white) !important;
}

h1, h2, h3, h4, h5, h6, .logo, .display-1, .display-2, .display-3, .display-4, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-white) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Spacing */
.py-100 { padding: 100px 0; }
@media (max-width: 768px) {
    .py-100 { padding: 60px 0; }
}

/* Neon & Gradients */
.neon-text {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .glass-card { padding: 20px; }
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 0;
}

header {
    transition: var(--transition);
    z-index: 1000;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.9) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 5px 0 !important;
}

.navbar-brand.logo {
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links .nav-link {
    color: var(--text-white) !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px !important;
    transition: var(--transition);
    position: relative;
}

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

.nav-links .nav-link:hover::after, 
.nav-links .nav-link.active::after {
    width: calc(100% - 40px);
}

/* Navbar Toggler Customization */
.navbar-toggler {
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border) !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 10px var(--primary-glow);
}

.navbar-toggler-icon {
    filter: invert(1) brightness(2); /* Ensures high visibility */
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        margin-top: 20px;
        border-radius: 20px;
        padding: 20px;
        border: 1px solid var(--glass-border);
    }
    
    .nav-links .nav-link::after {
        display: none;
    }
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../assets/img/hero-bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--bg-dark) 100%),
                radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0; /* Brighter than previous muted color */
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for better contrast */
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    margin-left: 20px;
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* Sections */
.bg-alt { background-color: var(--bg-alt) !important; }

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 40px;
}

/* About */
.about-img {
    position: relative;
}

.main-img {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-icon {
    font-size: 8rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px var(--primary));
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list i { margin-right: 15px; }

/* Services */
.service-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-item h3 { margin-bottom: 15px; }
.service-item p { color: var(--text-muted); }

/* Portfolio */
.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-img {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    background-color: rgba(0, 0, 0, 0.1);
}

.portfolio-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.portfolio-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.portfolio-info h4 { margin-bottom: 8px; font-size: 1rem; }
.portfolio-info p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; flex-grow: 1; line-height: 1.4; }
.portfolio-info .btn { padding: 8px 15px; font-size: 12px; margin-top: auto; }

/* Contact */
/* Form Improvements */
.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-white) !important;
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary-glow) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
}

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

/* Responsive Navigation */
@media (max-width: 768px) {
    .btn-secondary { margin-left: 0; margin-top: 15px; }
    
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }
}

/* WhatsApp Floating Container & Popup */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(15px);
}

.whatsapp-popup.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.wa-header {
    background: var(--primary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-title {
    display: block;
    color: var(--bg-dark);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.wa-status {
    font-size: 11px;
    color: rgba(5, 5, 5, 0.7);
}

.wa-close {
    background: none;
    border: none;
    color: var(--bg-dark);
    font-size: 24px;
    cursor: pointer;
}

/* Portfolio Fixes */
.portfolio-info h4 {
    color: var(--text-white) !important;
}

.portfolio-info .text-muted {
    color: rgba(255, 255, 255, 0.7) !important; /* Brighter than default Bootstrap muted */
}

.wa-body {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.wa-msg {
    background: var(--glass);
    padding: 12px 15px;
    border-radius: 15px 15px 15px 0;
    margin-bottom: 10px;
    max-width: 90%;
    font-size: 14px;
    border: 1px solid var(--glass-border);
}

.wa-footer {
    padding: 15px 20px;
    text-align: center;
}

.btn-wa-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-wa-start:hover {
    background: #128c7e;
    transform: translateY(-3px);
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    border: none;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.pulse-animation {
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-container { 
        bottom: 20px; 
        right: 20px; 
    }
    .whatsapp-popup { 
        width: calc(100vw - 40px); 
        max-width: 320px;
        bottom: 70px; 
        right: 0;
    }
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}


