* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: #0a1322;
    color: #e0e0e0;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3 {
    font-family: 'Exo 2', sans-serif;
}

/* Mobile-First Base Styles */
body {
    font-size: 16px;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { font-size: 14px; }

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.neon-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-top: 4px solid #00f0ff;
    border-right: 4px solid #ff00ff;
    border-radius: 50%;
    animation: spin 1s linear infinite, glow 1.5s ease-in-out infinite, scalePulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    0% { box-shadow: 0 0 10px #00f0ff, 0 0 20px #ff00ff; }
    50% { box-shadow: 0 0 20px #00f0ff, 0 0 30px #ff00ff; }
    100% { box-shadow: 0 0 10px #00f0ff, 0 0 20px #ff00ff; }
}

@keyframes scalePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Header */
header {
    background: rgba(11, 22, 44, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 240, 255, 0.2);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #00f0ff;
    text-shadow: 0 0 8px #00f0ff;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(11, 22, 44, 0.98);
    padding: 16px;
    border-top: 2px solid #00f0ff;
    animation: slideIn 0.3s ease;
}

nav ul.active {
    display: flex;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    padding: 12px;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover, nav a:focus {
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff;
    transform: translateX(5px);
}

.theme-toggle {
    cursor: pointer;
    font-size: 20px;
    color: #00f0ff;
    transition: transform 0.3s, color 0.3s;
}

.theme-toggle:hover, .theme-toggle:focus {
    transform: rotate(180deg);
    color: #ff00ff;
}

.hamburger {
    font-size: 24px;
    color: #ff00ff;
    cursor: pointer;
    transition: color 0.3s;
}

.hamburger:hover, .hamburger:focus {
    color: #00f0ff;
}

/* Home Section */
#home {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 15, 30, 0.8), rgba(20, 0, 40, 0.8));
    z-index: -1;
}

.hero-content h1 {
    color: #00f0ff;
    text-shadow: 0 0 15px #00f0ff, 0 0 25px #00f0ff;
    margin-bottom: 16px;
    animation: pulseText 2s infinite;
}

.hero-content p {
    color: #e0e0e0;
    margin-bottom: 24px;
    font-weight: 300;
}

.neon-button {
    padding: 12px 28px;
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    animation: pulseButton 1.5s infinite;
}

.neon-button:hover, .neon-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.9);
}

/* Cookie Consent Styling */
.cc-window {
    font-family: 'Inter', sans-serif;
    background: rgba(11, 22, 44, 0.95) !important;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    animation: slideIn 0.5s ease;
    z-index: 10000;
}

.cc-message {
    color: #e0e0e0 !important;
}

.cc-btn {
    background: linear-gradient(135deg, #00f0ff, #ff00ff) !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
    transition: transform 0.3s;
}

.cc-btn:hover, .cc-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.9);
}

.cc-link {
    color: #00f0ff !important;
    text-decoration: underline !important;
}

.cc-link:hover, .cc-link:focus {
    color: #ff00ff !important;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.social-share a {
    color: #00f0ff;
    font-size: 22px;
    transition: color 0.3s, transform 0.3s;
}

.social-share a:hover, .social-share a:focus {
    color: #ff00ff;
    transform: scale(1.2);
}

/* Animations */
@keyframes pulseText {
    0% { text-shadow: 0 0 15px #00f0ff, 0 0 25px #00f0ff; }
    50% { text-shadow: 0 0 25px #00f0ff, 0 0 35px #00f0ff; }
    100% { text-shadow: 0 0 15px #00f0ff, 0 0 25px #00f0ff; }
}

@keyframes pulseButton {
    0% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.6); }
    50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.9); }
    100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.6); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
#about, #ceo, #services, #portfolio, #contact, #thank-you, #privacy-policy {
    padding: 60px 16px;
    background: transparent;
    position: relative;
    z-index: 1;
}

#thank-you {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#about h2, #ceo h2, #services h2, #portfolio h2, #contact h2, #thank-you h2, #privacy-policy h2 {
    color: #00f0ff;
    text-shadow: 0 0 8px #00f0ff;
    margin-bottom: 24px;
}

/* CEO Profile */
.ceo-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
}

.ceo-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00f0ff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ceo-image:hover, .ceo-image:focus {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.9);
}

.ceo-info {
    text-align: center;
}

.ceo-info h3 {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    margin-bottom: 8px;
}

.ceo-info p {
    color: #e0e0e0;
}

/* Services & Portfolio */
.service-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.service-item, .portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover, .service-item:focus, .portfolio-item:hover, .portfolio-item:focus {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.service-item i {
    font-size: 40px;
    color: #ff00ff;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.service-item:hover i, .service-item:focus i {
    transform: scale(1.1);
}

.service-item h3, .portfolio-item h3 {
    color: #00f0ff;
    text-shadow: 0 0 5px #00f0ff;
    margin-bottom: 12px;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.portfolio-item img:hover, .portfolio-item img:focus {
    transform: scale(1.03);
}

/* Contact Form */
#contact form {
    max-width: 100%;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#contact label {
    text-align: left;
    font-size: 16px;
    color: #00f0ff;
    text-shadow: 0 0 3px #00f0ff;
}

#contact input, #contact textarea, #contact select {
    padding: 12px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact input:focus, #contact textarea:focus, #contact select:focus {
    border-color: #ff00ff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.7);
    outline: none;
}

#contact textarea {
    height: 120px;
    resize: vertical;
}

#contact select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23e0e0e0" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

#contact button.neon-button {
    width: fit-content;
    margin: 0 auto;
}

/* Contact Info */
.contact-info p, .contact-info a {
    margin: 12px 0;
    font-size: 16px;
    color: #e0e0e0;
    transition: color 0.3s;
}

.contact-info p:hover, .contact-info a:hover, .contact-info a:focus {
    color: #ff00ff;
}

.contact-info i {
    margin-right: 8px;
    color: #ff00ff;
    transition: transform 0.3s;
}

.contact-info a:hover i, .contact-info a:focus i {
    transform: scale(1.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a1322, #1b263b);
    color: #00f0ff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 -2px 5px rgba(0, 240, 255, 0.2);
}

/* Light Mode */
body.light-mode {
    background: #e8ecef;
    color: #0a0a0a;
}

body.light-mode #about, body.light-mode #ceo, body.light-mode #services, body.light-mode #portfolio, body.light-mode #contact, body.light-mode #thank-you, body.light-mode #privacy-policy {
    background: transparent;
}

body.light-mode h2, body.light-mode .service-item h3, body.light-mode .portfolio-item h3, body.light-mode .contact-info p, body.light-mode .contact-info a, body.light-mode #contact label {
    color: #0a0a0a;
    text-shadow: none;
}

body.light-mode .service-item, body.light-mode .portfolio-item {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode #contact input, body.light-mode #contact textarea, body.light-mode #contact select {
    background: #fff;
    border-color: #ccc;
    color: #0a0a0a;
}

body.light-mode #contact select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%230a0a0a" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

body.light-mode .ceo-image {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

body.light-mode .neon-button {
    background: linear-gradient(135deg, #007bff, #ff007f);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

body.light-mode .neon-button:hover, body.light-mode .neon-button:focus {
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.9);
}

body.light-mode .social-share a {
    color: #007bff;
}

body.light-mode .social-share a:hover, body.light-mode .social-share a:focus {
    color: #ff007f;
}

body.light-mode .logo, body.light-mode .contact-info i, body.light-mode .service-item i {
    color: #007bff;
}

body.light-mode nav a:hover, body.light-mode nav a:focus {
    color: #ff007f;
    text-shadow: 0 0 5px #ff007f;
}

/* Desktop Styles */
@media (min-width: 768px) {
    body {
        font-size: 18px;
    }

    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 22px; }
    p { font-size: 16px; }

    header {
        padding: 16px 32px;
    }

    .logo {
        font-size: 26px;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        padding: 0;
        border-top: none;
    }

    nav a {
        padding: 8px 16px;
    }

    .hamburger {
        display: none;
    }

    #home {
        min-height: 100vh;
    }

    .neon-button {
        padding: 14px 32px;
        font-size: 18px;
    }

    #about, #ceo, #services, #portfolio, #contact, #thank-you, #privacy-policy {
        padding: 80px 32px;
    }

    .ceo-profile {
        flex-direction: row;
        max-width: 800px;
        gap: 32px;
    }

    .ceo-image {
        width: 200px;
        height: 200px;
    }

    .ceo-info {
        text-align: left;
    }

    .service-grid, .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    #contact form {
        max-width: 600px;
    }
}