:root {
    --bg-color: #f8f9fa; /* Light Gray for body */
    --card-bg: #ffffff;  /* White for cards */
    --text-color: #212529; /* Dark text */
    --text-muted: #6c757d; /* Muted text */
    --primary-neon: #00CCFF; /* Neon Blue */
    --secondary-neon: #FF0045; /* Neon Red */
    --dark-surface: #111111; /* Keep for Navbar/Footer/Hero */
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 100px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
}

p {
    color: var(--text-muted);
}

/* Navbar - KEEP DARK */
.navbar {
    background-color: rgba(17, 17, 17, 0.95);
    border-bottom: 1px solid var(--primary-neon); /* Neon accent line */
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 80px; 
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #ffffff !important; /* Force white text in dark navbar */
    margin: 0 10px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-neon) !important;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

/* Mobile Toggler - Fix visibility */
.navbar-toggler {
    border-color: var(--primary-neon) !important;
}

/* Custom Neon Toggler Icon */
.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(0, 204, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 204, 255, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-neon);
    color: #fff;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 4px 6px rgba(0, 204, 255, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-neon); /* Dark text on hover doesn't work with transparent. Use Primary Color. */
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.4);
}

/* For hero buttons (dark bg), we might need specific overrides */
.hero .btn-primary {
    background-color: transparent;
    color: var(--primary-neon);
}
.hero .btn-primary:hover {
    background-color: var(--primary-neon);
    color: #000;
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

/* Hero Section - KEEP DARK */
.hero {
    background: radial-gradient(circle at center, #222 0%, #111 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero h1, .hero h2, .hero h3 {
    color: white; /* Override global dark text */
}

.hero p {
    color: #ccc;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        transparent 0%,
        transparent 1px,
        rgba(0, 204, 255, 0.05) 1px,
        rgba(0, 204, 255, 0.05) 2px
    );
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/vortex_neon_v24.png') no-repeat center/contain;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
}

.hero h1 span {
    color: var(--primary-neon);
}

/* Services - NOW LIGHT */
.services {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.section-title h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-neon), var(--primary-neon));
    box-shadow: 0 0 5px var(--primary-neon);
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    border: none; /* Remove dark border */
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Soft shadow for depth */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 204, 255, 0.15); /* Neon glow shadow on hover */
}

.service-icon {
    font-size: 50px;
    color: var(--primary-neon);
    margin-bottom: 25px;
    /* Remove text-shadow for cleaner look on white, or keep subtle */
    text-shadow: 0 0 5px rgba(0, 204, 255, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
}

/* Stats - KEEP DARK OR MAKE BRAND BLUE? Let's keep dark for contrast */
.section-dark-neon {
    background-color: var(--dark-surface);
    color: white;
}
.section-dark-neon h2 {
    color: white;
}
.section-dark-neon p {
    color: #ccc;
}

.text-primary {
    color: var(--secondary-neon) !important; /* Red neon for accents */
}

/* CTA - DARK Gradient */
.cta-section {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--primary-neon);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-neon), var(--primary-neon));
}

.cta-section h2 {
    color: white;
}

.cta-section .btn-light {
    background-color: #ffffff; /* Explicit white because var(--text-color) is now dark */
    color: #000;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-light:hover {
    background-color: var(--primary-neon);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
}

/* Footer - KEEP DARK */
footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
    color: #888;
}

footer h5 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-neon);
}

footer ul li a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
}

footer ul li a:hover {
    color: var(--primary-neon);
    padding-left: 5px;
}

footer .social-links a {
    background-color: #222;
    color: white;
}

footer .social-links a:hover {
    background-color: var(--primary-neon);
    color: #000;
}

.copyright {
    border-top: 1px solid #222;
    color: #666;
}

/* Form Styles for Contact Page (Light Mode) */
.form-control {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: var(--text-color);
    transition: all 0.3s;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-neon);
    color: var(--text-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 204, 255, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
}

/* Realisation Gallery Styles */
.realisation-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 204, 255, 0.2);
}

.realisation-img-wrapper {
    overflow: hidden;
    height: 250px; /* Fixed height for consistency */
}

.realisation-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realisation-card:hover .realisation-img-wrapper img {
    transform: scale(1.1);
}

.realisation-info {
    padding: 15px;
    text-align: center;
}

.realisation-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}
