@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Source+Code+Pro:wght@400;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/devicons/devicon@v2.15.1/devicon.min.css');

:root {
    --bg-color: #000000;
    --text-color: #00ffff;
    --heading-color: #ffffff;
    --primary-color: #00ffff;
    --secondary-color: #0000ff;
    --accent-color: #ff00ff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#hologram-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#floating-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    top: -8%;
    height: 77vh;
    perspective: 1000px;
    
}

section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateZ(-100px) rotateY(10deg);
    transition: opacity 0.5s, transform 0.5s;
    overflow-y: hidden;
    padding: 2rem;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--primary-color);
}

section.active {
    opacity: 1;
    transform: translateZ(0) rotateY(0);
}

.glitch {
    font-size: 4rem;
    font-weight: 700;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color),
                 0 0 30px var(--primary-color);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--primary-color);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image {
    flex: 1;
}

.profile-pic {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.about-text {
    flex: 2;
    text-align: left;
}
/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.education-card {
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-card h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-card h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.experience-card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.experience-card li {
    margin-bottom: 0.5rem;
}
/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin: 1rem;
}

.project-card p {
    margin: 0 1rem 1rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--accent-color);
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-card {
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.certification-card:hover {
    transform: translateY(-5px);
}

.certification-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.certification-card h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.certification-card p {
    font-size: 0.9rem;
}

/* Contact Section */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Circular Navigation */
#circular-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    perspective: 1000px;
}

.nav-base {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateHologram 20s infinite linear;
    overflow: hidden;
    box-shadow: 0 0 20px var(--primary-color);
}

.nav-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-face.front { transform: translateZ(50px); }
.nav-face.back { transform: translateZ(-50px) rotateY(180deg); }
.nav-face.right { transform: rotateY(-90deg) translateZ(150px); }
.nav-face.left { transform: rotateY(90deg) translateZ(150px); }
.nav-face.top { transform: rotateX(-90deg) translateZ(100px); }
.nav-face.bottom { transform: rotateX(90deg) translateZ(100px); }

.nav-strip {
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

/* Navigation Strip */
#nav-strip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 60px;
    background-color: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 0 20px var(--primary-color);
    overflow-y: hidden;
}

.nav-button {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 0 5px;
}

.nav-button:hover {
    color: var(--primary-color);
    background-color: rgba(0, 255, 255, 0.1);
}

.nav-button.active {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    transform: scale(1.1);
}

.nav-button:hover,
.nav-button.active {
    color: var(--primary-color);
    transform: scale(1.1);
    background-color: rgba(0, 255, 255, 0.1);
}

.nav-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(10px);
    animation: lightPulse 2s infinite;
}

@keyframes lightPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes rotateHologram {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.nav-arrows {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
}

.nav-arrow {
    background-color: rgba(0, 255, 255, 0.1);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-arrow:hover {
    background-color: rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .skills-grid,
    .projects-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    #circular-nav {
        width: 250px;
        height: 150px;
    }

    .nav-base {
        width: 250px;
        height: 250px;
    }

    .nav-strip {
        height: 60px;
    }

    .nav-button {
        font-size: 0.8rem;
        margin-left: -3%;
    }
    
    #nav-strip {
        max-width: 90%;
        height: 50px;
    }

    .nav-button {
        font-size: 0.8rem;
    }

    .nav-button.active {
        font-size: 1rem;
    }

    .nav-arrow {
        font-size: 1.2rem;
    }
}

