/* Base Styles & Variables */
:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-blue: #00f0ff;
    --accent-green: #00ff9d;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
}

/* Dark Mode (default) */
[data-bs-theme="dark"] {
    --bs-body-bg: var(--primary-dark);
    --bs-body-color: var(--text-primary);
}

/* Light Mode */
[data-bs-theme="light"] {
    --bs-body-bg: #f8f9fa;
    --bs-body-color: #212529;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow-x: hidden;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Preloader Styles */
.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}





/* Header & Navigation */
header {
    padding: 1.5rem 0;
    transition: all 0.5s ease;
    z-index: 1000;
}

.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--accent-blue);
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo-text {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    position: relative;
    margin: 0 0.75rem;
    font-weight: 500;
    color: var(--text-primary) !important;
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Theme Toggle */
.theme-toggle .btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    border: none;
    color: var(--text-primary);
    margin-left: 1rem;
    overflow: hidden;
}

.theme-toggle .fa-moon,
.theme-toggle .fa-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .theme-toggle .fa-sun {
    opacity: 0;
    transform: translate(-50%, 100%);
}

[data-bs-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: translate(-50%, -100%);
}

/* Scrolled State */
header.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}







/* Footer Styles */
.footer {
    background: var(--secondary-dark);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="light"] .footer {
    background: #f0f0f0;
    color: #333;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer .logo-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

.footer .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-bio {
    opacity: 0.8;
    max-width: 400px;
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

[data-bs-theme="light"] .footer-links a {
    color: #333;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-bs-theme="light"] .social-links a {
    background: rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--accent-blue);
    color: #000;
    transform: translateY(-3px);
}

.footer-credits {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}