body{
    margin: 0;
    padding: 0;
    background: #000000;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: rgba(0, 150, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 150, 255, 0.4);
}

.hamburger-menu:hover .hamburger-icon span {
    background: rgba(0, 150, 255, 1);
    box-shadow: 0 0 12px rgba(0, 150, 255, 0.6);
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active {
    right: 0;
}

.nav-menu {
    text-align: center;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.nav-overlay.active .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.nav-menu li:nth-child(4) { transition-delay: 0.4s; }

.nav-menu a {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.nav-menu a:hover {
    color: #00ffff;
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
    transform: translateY(-3px);
}

/* Hamburger Animation */
.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

h2{
    font-size: 3rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    text-align: center;
    margin-bottom: 1rem;
}

p{
    font-size: 1.4rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    text-align: center;
    margin-bottom: 1rem;
}

/* Subtle animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 150, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 150, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 150, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Name section - minimal */
.name-section {
    text-align: center;
    margin-bottom: 3rem;
}

/* Projects section - minimal */
.projects-section {
    text-align: center;
    margin-bottom: 3rem;
}

a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.3);
    display: inline-block;
    margin: 5px 0;
}

a:hover {
    color: #00ffff;
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

a::before {
    content: '🔗';
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

a:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

/* Main content container */
.container {
    width: 80%;
    max-width: 120vh;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    border: 2px solid rgba(0, 150, 255, 0.6);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.2);
    margin-top: 8vh;
}

/* Scroll Animation Classes */
.container {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.container.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Name and Projects sections also get scroll animations */
.name-section, .projects-section, .about-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.name-section.scroll-animate, .projects-section.scroll-animate, .about-section.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

.about-section{
    text-align: center;
    padding-left: 10rem;
    padding-right: 10rem;
}

/* About Section Layout */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    max-width: 45%;
    margin-right: 10rem;
}

.about-text h2 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 2.8em;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
    font-weight: 600;
}

.about-text p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1.15em;
    font-weight: 300;
}

.about-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.4);
    border: 3px solid rgba(0, 150, 255, 0.5);
    transition: all 0.4s ease;
    object-fit: cover;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 150, 255, 0.6);
    border-color: rgba(0, 150, 255, 0.8);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 15px;
    }
    
    .about-text {
        max-width: 100%;
        order: 2;
    }
    
    .about-image {
        flex: 0 0 auto;
        order: 1;
        width: 100%;
    }
    
    .about-image img {
        max-width: 400px;
        width: 100%;
    }
    
    .about-text h2 {
        font-size: 2.2em;
        text-align: center;
    }
}

/* Image placeholder area (left side) */
.image-placeholder {
    flex: 0 0 50%;
    min-height: 400px;
    border: 2px dashed rgba(0, 150, 255, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 150, 255, 0.05);
    position: relative;
}

/* Video styling */
.image-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    max-width: 100%;
    max-height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

/* Video fallback text */
.image-placeholder video p {
    color: rgba(0, 150, 255, 0.8);
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
    margin: 0;
}

.image-placeholder::before {
    content: 'X';
    font-size: 4rem;
    color: rgba(0, 150, 255, 0.6);
    font-weight: bold;
}

.image-placeholder.video-present::before {
    display: none;
}

/* Text content area (right side) */
.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-line {
    height: 2px;
    background: rgba(0, 150, 255, 0.4);
    border-radius: 1px;
    animation: wave 3s ease-in-out infinite;
}

.text-line:nth-child(1) {
    width: 60%;
}

.text-line:nth-child(2) {
    width: 100%;
}

.text-line:nth-child(3) {
    width: 100%;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

h1{
    padding: 5px;
    text-align: center;
    font-size: 10rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    margin-bottom: 2rem;
}

.text{
    font-size: large;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 7px;
}
.text-p{
    font-size: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text2{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
}

article{
    border: 2px solid rgba(0, 150, 255, 0.6);
    width: 50%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.2);
    transition: all 0.3s ease;
}

article:hover {
    border-color: rgba(0, 150, 255, 0.9);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.4);
    transform: translateY(-5px);
}

.title{
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   gap: 20px;
   padding: 20px;
}

.sub2{
    border: 2px solid rgba(0, 150, 255, 0.6);
    width: 50%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.2);
    transition: all 0.3s ease;
}

.sub2:hover {
    border-color: rgba(0, 150, 255, 0.9);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.4);
    transform: translateY(-5px);
}

img{
    width: 48%;
    margin-top: 0;
    float: right;
    object-fit: contain;
    padding: 1rem;
}
.title-h3{
    width: 50%;
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
    margin-right: 5vh;
}
.sub{
    width: 87%;
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
    margin-right: 5vh;
}

/* Contact Section */
.contact-section {
    margin-top: 7rem;
    margin-bottom: 15rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
    font-weight: 600;
}

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

.contact-item {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 150, 255, 0.4);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 150, 255, 0.7);
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.4);
    background: rgba(0, 0, 0, 0.7);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.5));
}

.contact-details h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-details p {
    color: #e0e0e0;
    font-size: 0.85em;
    margin: 0;
}

.contact-details a {
    color: #00aaff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-details a:hover {
    color: #fff;
    border-bottom-color: #00aaff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.6);
}

.contact-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.contact-message p {
    color: #e0e0e0;
    font-size: 1.2em;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Responsive design for contact section */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
        margin-top: 40px;
    }
    
    .contact-content h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .contact-item {
        padding: 25px 20px;
    }
    
    .contact-icon {
        font-size: 2.5em;
    }
    
    .contact-details h3 {
        font-size: 1.3em;
    }
    
    .contact-message {
        padding: 25px 20px;
    }
    
    .contact-message p {
        font-size: 1.1em;
    }
}