@import url('https://api.fontshare.com/v2/css?f[]=general-sans@300,500,600,400,700&display=swap');

/* Base Styles */
* {
    padding: 0;
    margin: 0;
    font-family: 'General Sans', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #913de6;
    --primary-dark:  rgb(54, 1, 73);
    --secondary-color: #913de6;
    --background-gradient: linear-gradient(to right, rgb(0, 0, 0), rgb(54, 1, 73));
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --box-shadow: 0 5px 15px #913de6;
    --hover-shadow: 0 8px 25px #913de6;
    --text-shadow: 0 0 8px #913de6;
}

html {
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: var(--background-gradient);
    color: white;
    line-height: 1.6;
}

/* Navigation Styles - Enhanced */
nav {
    width: 100%;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    /*background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);*/
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
    text-shadow: var(--text-shadow);
    position: relative;
}

.hamburg, .cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 45px; /* Adjusted for better vertical alignment */
    color: white;
    font-size: 1.8rem;
    display: none;
    transition: 0.3s ease;
}

.hamburg:hover, .cancel:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.nav-container .links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-container .links a {
    position: relative;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    padding: 5px 0;
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s ease;
    box-shadow: 0 0 8px var(--primary-color);
    border-radius: 3px;
}

.nav-container .links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-container .links a:hover::before {
    width: 100%;
}

.dropdown {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.dropdown .links {
    display: flex;
    flex-direction: column;
    padding: 60px 0 20px;
}

.dropdown .links a {
    color: white;
    display: flex;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.3s ease;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown .links a:hover {
    background-color: rgba(0, 255, 255, 0.15);
    color: var(--primary-color);
}

/* Home Section - Enhanced */
section {
    width: 100%;
    min-height: 90vh;
    padding: 80px 0;
}

.home {
    min-height: calc(100vh - 80px);
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 5%;
}

.home-img {
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img::before {
    content: '';
    position: absolute;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.home-img img {
    width: 30vw;
    max-width: 400px;
    min-width: 250px;
    border-radius: 50%;
    border: 5px solid var(--primary-dark);
    box-shadow: 0 0 30px var(--primary-color);
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    object-fit: cover;
}

.home-img img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px var(--primary-color);
}

.home .content {
    color: white;
    width: 45%;
    min-height: 100px;
}

.content h1 {
    font-size: clamp(2rem, 2rem + 3vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 15px;
}

.content h1 span {
    color: var(--primary-color);
    text-shadow: var(--text-shadow);
    position: relative;
    display: inline-block;
}

.content .typewriter {
    font-weight: 600;
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content .typewriter span {
    color: var(--primary-color);
    text-shadow: var(--text-shadow);
    position: relative;
    padding-right: 8px;
}

.typewriter span::before {
    content: "Developer";
    animation: words 15s infinite;
}

.typewriter span::after {
    content: "|";
    animation: blink 0.7s infinite;
}

@keyframes words {
    0%, 25% {
        content: "Ethical Hacker";
    }
    26%, 50% {
        content: "Computer Programmer";
    }
    51%, 75% {
        content: "Security Researcher";
    }
    76%, 100% {
        content: "App Developer";
    }
}

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

.content p {
    font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
    margin: 20px 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.social-links {
    display: flex;
    margin: 25px 0;
}

.social-links a {
    text-decoration: none;
    margin-right: 15px;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links i:hover {
    transform: translateY(-5px);
    color: white;
    background-color: var(--primary-color);
    box-shadow: 0 10px 20px var(--primary-color);
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.primary-btn, .secondary-btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.primary-btn {
    background: var(--primary-color);
    color: #003333;
    border: none;
    box-shadow: var(--box-shadow);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    background: #00e6e6;
}

.secondary-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    background: rgba(0, 255, 255, 0.1);
}

/* Hall of Fame Section Styles */
.hall-of-fame {
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title span {
    color: #913de6;
    text-shadow: 0 0 5px #913de6;
}

.section-title p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.companies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 80%;
    max-width: 1200px;
}

.company {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: 0.3s all ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(145, 61, 230, 0.3);
    border: 1px solid rgba(145, 61, 230, 0.5);
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
}

.company-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: 0.3s all ease;
    filter: brightness(0.9) contrast(1.1);
}

.company:hover .company-logo img {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2) drop-shadow(0 0 10px rgba(145, 61, 230, 0.5));
}

.company-logo h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width:884px) {
    body{
        overflow-y: visible;
    }
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    .home{
        display: flex;
        flex-direction: column;
    }
    .nav-container .links{
        display: none;
    }
    .hamburg,.cancel{
        display: block;
    }
    .home .content{
        width: 80%;
    }
    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .cancel{
        color: white;
    }
    .home .image{
        width: 80%;
        margin-bottom: 0px;
    }
    
    /* Responsive Hall of Fame */
    .companies-container {
        width: 90%;
    }
    
    .company {
        width: 150px;
        height: 150px;
    }
    
    .company-logo img {
        width: 60px;
        height: 60px;
    }
    
    .company-logo h3 {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .companies-container {
        gap: 20px;
    }
    
    .company {
        width: 130px;
        height: 130px;
    }
    
    .company-logo img {
        width: 50px;
        height: 50px;
    }
}
