/* CSS RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0e17;
    --secondary-dark: #111827;
    --darker: #0a0f1a;
    --accent-neon: #00f0ff;
    --accent-purple: #8a2be2;
    --accent-pink: #ff00c8;
    --accent-green: #00ff8c;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-radius: 8px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
    --bg-gradient: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    --card-bg-opacity: 0.6;
    --sidebar-bg: #111827;
}

/* LIGHT MODE VARIABLES */
body.light-mode {
    --primary-dark: #f8f9fa;
    --secondary-dark: #ffffff;
    --darker: #e2e8f0;
    --accent-neon: #0066cc;
    --accent-purple: #6200ea;
    --accent-pink: #d500a0;
    --accent-green: #00a05a;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --bg-gradient: radial-gradient(circle at center, #f0f4f8 0%, #dbeafe 100%);
    --card-bg-opacity: 0.85;
    --sidebar-bg: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* 3D BACKGROUND */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-gradient);
    transition: background 0.5s ease;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

p {
    margin-bottom: 1rem;
}

/* UTILITY CLASSES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-padding {
    padding: 60px 0;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(15px);
    padding: 0.5rem 0;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-neon);
    text-decoration: none;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 65px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.footer-col h3 {
    display: flex;
    align-items: center;
}

body.light-mode .logo {
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-neon);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-neon);
}

.nav-link:hover::after {
    width: 100%;
}

/* THEME TOGGLE SWITCH */
.theme-switch-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2d3748;
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .slider {
    background-color: #cbd5e0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-neon);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-menu-btn {
    display: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    color: var(--accent-neon);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

body.light-mode .hero-subtitle {
    text-shadow: none;
}

.hero-title {
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

body.light-mode .hero-title {
    text-shadow: none;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-neon);
    box-shadow: 0 0 20px var(--accent-neon);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-left: 2px solid var(--accent-neon);
    backdrop-filter: blur(5px);
}

body.light-mode .hero-description {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
    border-left-width: 4px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-neon);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.light-mode .btn {
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-neon);
    color: var(--accent-neon);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--accent-neon);
    color: var(--primary-dark);
}

body.light-mode .btn-outline {
    background: rgba(0, 102, 204, 0.1);
}

body.light-mode .btn-outline:hover {
    color: white;
}

/* FEATURES SECTION */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(17, 24, 39, var(--card-bg-opacity));
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

body.light-mode .feature-card {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-neon);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    background: rgba(17, 24, 39, 0.8);
}

body.light-mode .feature-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-neon);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

body.light-mode .feature-icon {
    text-shadow: none;
}

.feature-title {
    margin-bottom: 1rem;
    color: var(--accent-neon);
}

/* STATS SECTION */
.stats {
    background: rgba(10, 15, 26, 0.6);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

body.light-mode .stats {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

body.light-mode .stat-number {
    text-shadow: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(17, 24, 39, var(--card-bg-opacity));
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    backdrop-filter: blur(10px);
}

body.light-mode .service-card {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
}

body.light-mode .service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

body.light-mode .service-icon {
    text-shadow: none;
}

.service-title {
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

/* TESTIMONIALS */
.testimonials {
    background: rgba(10, 15, 26, 0.6);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode .testimonials {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(17, 24, 39, var(--card-bg-opacity));
    border: 1px solid rgba(255, 0, 200, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(5px);
    transition: var(--transition-normal);
}

body.light-mode .testimonial-card {
    background: #f8fafc;
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    box-shadow: 0 0 20px rgba(255, 0, 200, 0.15);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 0, 200, 0.1);
    font-family: serif;
}

.testimonial-text {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-pink);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px var(--accent-pink);
    color: white;
}

.author-info h4 {
    color: var(--accent-pink);
    margin-bottom: 0.25rem;
}

/* ABOUT SECTION */
.about-content {
    margin-top: 3rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-stats .stat-item {
    text-align: center;
}

.about-stats .stat-number {
    font-size: 2.5rem;
}

/* New About Layout */
.about-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: start;
}

.about-image-col {
    position: relative;
}

.about-profile-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-neon);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
    transition: var(--transition-normal);
    display: block;
}

.about-profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.4);
}

.about-details {
    background: rgba(17, 24, 39, var(--card-bg-opacity));
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

body.light-mode .about-details {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.certifications-list,
.affiliations-list,
.achievements-list {
    list-style-type: none;
    padding: 0;
}

.certifications-list li,
.affiliations-list li,
.achievements-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

body.light-mode .certifications-list li,
body.light-mode .affiliations-list li,
body.light-mode .achievements-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.certifications-list li::before,
.affiliations-list li::before,
.achievements-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    font-size: 0.8rem;
}

.certifications-list li:last-child,
.affiliations-list li:last-child,
.achievements-list li:last-child {
    border-bottom: none;
}

/* RADAR SECTION */
.radar-section {
    perspective: 1000px;
}

#radar-visualization {
    width: 100%;
    height: 500px;
    background: rgba(10, 15, 26, 0.3);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}

body.light-mode #radar-visualization {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.radar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red {
    background: #ff2a2a;
    box-shadow: 0 0 8px #ff2a2a;
}

.dot-yellow {
    background: #ffcc00;
    box-shadow: 0 0 8px #ffcc00;
}

.dot-blue {
    background: #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
}

/* CONTACT SECTION */
.contact-form {
    background: rgba(17, 24, 39, var(--card-bg-opacity));
    border: 1px solid rgba(0, 255, 140, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

body.light-mode .contact-form {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(10, 14, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

body.light-mode .form-control {
    background: #f8fafc;
    border: 1px solid #cbd5e0;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 140, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* FOOTER */
.footer {
    background: rgba(10, 15, 26, 0.9);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

body.light-mode .footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-neon);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-neon);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-neon);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--accent-neon);
}

body.light-mode .social-link:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

body.light-mode .copyright {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* ANIMATION CLASSES */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GLITCH EFFECT REMOVED FROM USAGE BUT KEPT FOR REFERENCE IF NEEDED */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-neon);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }

    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }

    100% {
        clip: rect(52px, 9999px, 74px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 92px, 0);
    }
}

/* RIPPLE EFFECT */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.ripple:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(50, 50);
        opacity: 0;
    }
}

/* MEDIA QUERIES & MOBILE SIDEBAR */
@media (max-width: 900px) {
    .about-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .about-profile-img {
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    /* Mobile Sidebar Transition */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 280px;
        height: 100vh;
        background: var(--sidebar-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 0.5rem;
    }

    body.light-mode .nav-link {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-btn {
        display: block;
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 2rem;
        cursor: pointer;
    }

    .theme-switch-container {
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .stats,
    .testimonials {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* GALLERY SECTION */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
    filter: grayscale(20%);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    filter: grayscale(0%);
    cursor: pointer;
}

/* LIGHTBOX STYLES */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
    border: 2px solid var(--accent-neon);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
    border-radius: var(--border-radius);
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-neon);
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}