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

html { 
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    color: white;
    font-size: 27px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    z-index: 1000;
}
.navbar ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}
.navbar a {
    color: white;
    text-decoration: wavy;
    font-weight: bold;
    transition: color 0.3s;
    font-size: smaller;
}
.navbar a:hover { color: #00d4ff; }

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scroll-indicator .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator .dot.active {
    background: #00d4ff;
    transform: scale(1.3);
}

.scroll-indicator .dot:hover {
    background: rgba(255,255,255,0.6);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 15px;
    margin-top: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Section Base */
.full-screen {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    position: relative;
}
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Hover effect on windows */
.hover-effect {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hover-effect:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* Glass */
.glass-container {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}
.glass-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* About Me */
.cloud, .cloud-like {
    position: absolute;
    filter: blur(8px);
    z-index: -1;
}

.cloud {
    width: 200px;
    height: 60px;
    background: rgba(255,255,255,0.6);
    border-radius: 100px;
    animation: moveClouds 60s linear infinite;
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: inherit;
}

.cloud::before { width: 100px; height: 100px; top: -20px; left: 30px; }
.cloud::after { width: 120px; height: 120px; top: -40px; right: 30px; }
.cloud:nth-child(1) { top: 20%; left: -250px; }
.cloud:nth-child(2) { top: 50%; left: -300px; animation-duration: 80s; opacity: 0.5; }
.cloud:nth-child(3) { top: 70%; left: -200px; animation-duration: 100s; opacity: 0.4; }

.aws-logo.cloud-like {
    width: 100px;
    height: 60px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/9/93/Amazon_Web_Services_Logo.svg') no-repeat center/contain;
    opacity: 0.3;
    animation: moveClouds 70s linear infinite;
}

.aws-logo.cloud-like:nth-child(4) { top: 15%; left: -200px; animation-delay: 5s; }
.aws-logo.cloud-like:nth-child(5) { top: 65%; left: -300px; animation-duration: 90s; opacity: 0.2; }
.aws-logo.cloud-like:nth-child(6) { top: 35%; left: -150px; animation-duration: 110s; opacity: 0.25; }

@keyframes moveClouds {
    0% { transform: translateX(0); }
    100% { transform: translateX(150vw); }
}

/* About container */
.about-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.profile-pic img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}
.profile-pic img:hover { transform: scale(1.08); }
.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Projects */
.tech-icon {
    position: absolute;
    font-size: 40px;
    color: rgba(255,255,255,0.1);
    animation: moveIcons 50s linear infinite;
    z-index: -1;
}
.tech-icon:nth-of-type(1) { top: 20%; left: -100px; }
.tech-icon:nth-of-type(2) { top: 60%; left: -200px; animation-duration: 65s; }
.tech-icon:nth-of-type(3) { top: 80%; left: -150px; animation-duration: 80s; }
@keyframes moveIcons {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(150vw) rotate(360deg); }
}

.projects-container {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-box {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.project-box h3 {
    margin-bottom: 15px;
    color: #00d4ff;
    font-size: 1.3rem;
}

.project-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Divider */
.section-divider {
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.05), transparent);
}

/* Contact Section */
.light-section {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-container {
    max-width: 900px;
    padding: 40px;
}

.contact-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.email-card .contact-icon {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.linkedin-card .contact-icon {
    background: rgba(10, 102, 194, 0.2);
    color: #0A66C2;
}

.github-card .contact-icon {
    background: rgba(51, 51, 51, 0.2);
    color: #333;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.3rem;
}

.contact-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-link:hover {
    color: white;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover::after {
    transform: scaleX(1);
}

.contact-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: wave 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .contact-wave {
    opacity: 1;
}

@keyframes wave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.contact-footer {
    margin-top: 40px;
    text-align: center;
}

.contact-footer p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.email-name {
    font-size:13px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-input, .form-textarea {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 15px 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0,212,255,0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background: linear-gradient(135deg, #00d4ff, #0077ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Contact Particles */
.contact-particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-100px) translateX(20px);
    }
    100% {
        transform: translateY(-200px) translateX(0);
    }
}