:root {
    --primary-color: #0061ff;
    --secondary-color: #60efff;
    --accent-color: #003399;
    --light-bg: #ffffff;
    --section-bg: #f0f4f8;
    --text-main: #1a202c;
    --text-dim: #4a5568;
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --container-width: 1400px;
}

/* Scroll Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 1100;
    width: 100%;
    height: 4px;
    background: transparent;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 0%;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.battery-icon {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Enhanced Buttons */
.btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 97, 255, 0.3);
}

.btn.primary:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 97, 255, 0.4);
}

/* Hero Parallax Layer */
.hero {
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(0, 97, 255, 0.1) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Modernized Cards */
.project-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.project-img {
    border-radius: 20px 20px 0 0;
}

/* Section Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(5px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Stats Item Hover */
.stat-item {
    border-radius: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 97, 255, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Elegant Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Premium Light Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.battery-icon {
    width: 32px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    position: relative;
    padding: 2px;
}

.battery-head {
    position: absolute;
    right: -5px;
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

.charge {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: charge-anim 3s ease-in-out infinite;
}

@keyframes charge-anim {
    0% { width: 0%; opacity: 0.5; }
    50% { width: 100%; opacity: 1; }
    100% { width: 0%; opacity: 0.5; }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

nav ul a:hover {
    color: var(--primary-color);
}

/* Hero - Bright & Professional */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('https://images.unsplash.com/photo-1558444479-c84851838634?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn.primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 97, 255, 0.2);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 97, 255, 0.3);
}

.btn.secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 20px;
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Section Styling */
section { padding: 120px 0; }
.about { background: var(--section-bg); }

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 80px;
    text-align: center;
    color: var(--accent-color);
}

/* Gallery-Style Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 4/5;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95) 40%);
    color: var(--text-main);
}

.project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.project-info p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Stats Styling */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-item {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.stat-item .number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

/* Contact Form - Clean & Sharp */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    background: #fdfdfd;
    border: 1px solid #eee;
    color: var(--text-main);
    font-family: inherit;
    margin-bottom: 15px;
    transition: var(--transition);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

footer {
    padding: 60px 0;
    background: var(--section-bg);
    color: var(--text-dim);
    border-top: 1px solid #eee;
    text-align: center;
}

footer p {
    color: var(--text-dim);
}

.social-links a {
    color: var(--text-dim);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .project-grid, .contact-wrapper, .about-stats { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3rem; }
    nav ul { display: none; }
}