
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    color: #e0f7ff;
    text-align: center;
    min-height: 100vh;
    background: url('scifi.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.loaded {
    opacity: 1;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.2);
    z-index: -1;
}


header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid cyan;
    box-shadow: 0 0 10px cyan;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 900px;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    text-shadow: 0 0 10px cyan, 0 0 20px cyan;
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    font-family: 'Audiowide', cursive;
    color: #00ffff;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    text-shadow: 0 0 10px cyan, 0 0 20px cyan;
}

#menu-btn {
    display: none;
}


section {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: cyan;
    text-shadow: 0 0 10px cyan, 0 0 20px cyan;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    line-height: 1.6;
}

section ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
}

section ul li {
    margin: 10px 0;
}


.project {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid cyan;
    padding: 20px;
    margin-top: 20px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transition: 0.3s;
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px cyan;
}


button {
    background: transparent;
    border: 1px solid cyan;
    color: cyan;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
}

button:hover {
    background: cyan;
    color: black;
    box-shadow: 0 0 15px cyan;
}


@media (max-width: 600px) {
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
    }
    #menu-btn {
        display: block;
        margin-top: 10px;
    }
}


#achievements {
    padding: 60px 20px;
    text-align: center;
    background: #0f172a;
    color: #fff;
}

#achievements h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}


.achievement-category h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #38bdf8;
}


.achievement-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


.card {
    background: #1e293b;
    border-radius: 15px;
    padding: 25px;
    width: 250px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.card .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #cbd5f5;
}


.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 20px #38bdf8;
}


.achievement-img {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease;
    image-rendering: auto;
    backface-visibility: hidden;
}

.card:hover .achievement-img {
    transform: scale(1.05);
}


.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

#contact .card {
    background: #1e293b;
    border-radius: 15px;
    padding: 25px;
    width: 250px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#contact .card .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

#contact .card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #38bdf8;
}

#contact .card p {
    font-size: 0.95rem;
    color: #cbd5f5;
    word-wrap: break-word;
}

#contact .card a {
    color: #38bdf8;
    text-decoration: none;
}

#contact .card a:hover {
    text-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
}


#contact .card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 20px #38bdf8;
}


#contact {
    padding: 60px 20px;
    text-align: center;
    background: #0f172a;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}


#contact::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.15), transparent 70%);
    animation: glowPulse 6s infinite alternate;
    z-index: 0;
    pointer-events: none;
}


@keyframes glowPulse {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(45deg) scale(1.05);
    }
    100% {
        transform: rotate(90deg) scale(1);
    }
}


.contact-cards {
    position: relative;
    z-index: 1;
}


#contact .card {
    background: rgba(30, 41, 59, 0.85); 
    border-radius: 15px;
    padding: 25px;
    width: 250px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-align: center;
}


#contact {
    position: relative;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; 
}

.star {
    position: absolute;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    border-radius: 50%;
    width: 2px;
    height: 2px;
    opacity: 0.8;
    animation: twinkle 3s infinite ease-in-out alternate;
}



@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.2; transform: scale(0.8); }
}


.contact-cards {
    position: relative;
    z-index: 1;
}


#hobbies {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2); 
    color: #e0f7ff;
    border-radius: 15px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    position: relative;
}


.hobby-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}


#hobbies .card {
    background: rgba(30, 41, 59, 0.85);
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.hobby-gif {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


#hobbies .card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 20px #38bdf8;
}

#hobbies .card:hover .hobby-gif {
    transform: scale(1.05);
    box-shadow: 0 0 15px #38bdf8;
}


#hobbies .card h4 {
    font-size: 1.3rem;
    margin-top: 10px;
    color: #38bdf8;
}


#home {
    padding: 80px 20px;
    text-align: center;
    background: #0f172a;
    color: #e0f7ff;
    border-radius: 15px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    position: relative;
}


.highlight {
    color: #38bdf8;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
}


#home .intro-name {
    font-size: 2rem;
    margin-bottom: 10px;
}

#home .intro-course {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#home .intro-speech {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px auto;
}


#home button {
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    padding: 12px 25px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
}

#home button:hover {
    background: #38bdf8;
    color: black;
    box-shadow: 0 0 15px #38bdf8;
}


#home {
    padding: 80px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2); 
    color: #e0f7ff;
    border-radius: 15px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}


.highlight {
    color: #38bdf8;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
}

.intro-name { font-size: 2rem; margin-bottom: 10px; }
.intro-course { font-size: 1.5rem; margin-bottom: 20px; }
.intro-speech { font-size: 1.1rem; line-height: 1.6; max-width: 700px; margin: 0 auto 30px auto; }


#home button {
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    padding: 12px 25px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
}

#home button:hover {
    background: #38bdf8;
    color: black;
    box-shadow: 0 0 15px #38bdf8;
}



.contact-card a {
    display: block;
    text-align: center;

    margin: 10px auto 0 auto; 
    width: fit-content; 

    padding: 8px 15px;

    background: rgba(0, 255, 255, 0.1);
    border-radius: 8px;

    text-decoration: none;
    color: #00ffff;

    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}


.contact-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: #1e293b;
    border-radius: 15px;
    padding: 25px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center;    
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 20px #38bdf8;
}

.facebook-btn {
    background: none;
    border: none;
    color: #38bdf8;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 5px 10px;
    margin-top: 5px;
    transition: 0.3s;
}

.facebook-btn:hover {
    color: #00ffff;
    text-shadow: 0 0 8px #38bdf8, 0 0 15px #38bdf8;
}


.facebook-btn {
    background: none;
    border: none;
    color: #38bdf8;
    cursor: pointer;
    text-decoration: none;      
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;          
    font-weight: 400;            
    padding: 0;
    margin: 0;
    transition: 0.3s;
}

.facebook-btn:hover {
    color: #00ffff;
    text-shadow: 0 0 8px #38bdf8, 0 0 15px #38bdf8;
    text-decoration: underline;  
}

.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
}

.home-text {
    flex: 1;
    text-align: left;
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.home-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00eaff;
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.7);
    transition: transform 0.3s ease;
}

.home-image img:hover {
    transform: scale(1.05);
}

.view-btn {
    display: inline-block;
    background-color: blue; 
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.view-btn:hover {
    background-color: darkblue;
}


.nav-container {
    padding: 20px;
    text-align: left; 
    background-color: #f8f9fa;
    border-bottom: 2px solid #ddd;
}


.back-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #222; 
    color: #ffffff !important; 
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.back-button:hover {
    background-color: #007bff; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.arrow {
    margin-right: 10px;
    font-size: 24px;
}

.contact-link a {
    display: inline-block;
    font-size: 14px;
    color: #00eaff;
    text-decoration: none;
    word-break: break-word; 
    max-width: 100%;
}

.contact-link a:hover {
    text-decoration: underline;
}