@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-page-bg: #0D0525;
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-card-border: rgba(255, 255, 255, 0.1);
    --color-brand-purple: #8B5CF6;
    --color-brand-cyan: #06b6d4;
    --color-glow-blue: #0EA5E9;
    --color-text-secondary: #9CA3AF;
}

body {
    background: linear-gradient(135deg, #0a0a16 0%, #1b1b3a 100%);
    color: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    /* Match header height exactly for tight fit */
}

/* Gradient Text */
.text-gradient-purple {
    background: linear-gradient(to right, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0729;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

/* Bullet Point Glow */
.glow-bullet {
    box-shadow: 0 0 5px #3b82f6;
}

/* Certification Card Glow Animation/Hover */
.cert-card {
    transition: all 0.3s ease;
    border: 1px solid #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), inset 0 0 10px rgba(6, 182, 212, 0.1);
}

.cert-card:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.7), inset 0 0 30px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

.section {
    background-color: #1F2937;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.paragraph {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.header {
    background-color: #6366f1;
    color: #fff;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 0.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 1rem;
}

.nav {
    margin-right: 1rem;
}

.nav-list {
    list-style-type: none;
    display: flex;
    margin-left: 1rem;
}

.nav-list li {
    margin-left: 1rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
}

.nav-link:hover {
    color: #e0e7ff;
}

.main-content {
    max-width: 80rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-heading {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #a855f7;
    margin-bottom: 1rem;
    animation: color-change 20s infinite alternate;
}

@keyframes color-change {
    0% {
        color: #a855f7;
    }

    25% {
        color: #f43f5e;
    }

    50% {
        color: #3b82f6;
    }

    75% {
        color: #10b981;
    }

    100% {
        color: #a855f7;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
    }
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-video {
    border-radius: 9999px;
    /* Makes the video circular */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    border: 2px solid #a855f7;
    /* Matches the original border style */
    width: 80%;
    /* Adjusts the size to match the original image */
    object-fit: cover;
    /* Ensures the video scales properly */
}

@media (min-width: 768px) {
    .about-image {
        width: 33.33333%;
    }
}

.profile-image {
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    border: 2px solid #a855f7;
    width: 80%;
}

.about-text {
    width: 100%;
}

@media (min-width: 768px) {
    .about-text {
        width: 66.66667%;
    }
}

.bulleted-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    list-style-position: inside;
}

.bulleted-list.inner-list {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.bulleted-list li {
    margin-bottom: 0.5rem;
}

.certifications-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {

    .certifications-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {

    .certifications-grid,
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.certification-card,
.portfolio-card,
.career-card {
    border: 1px solid #a855f7;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-heading {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.card-text,
.job-description {
    color: #d1d5db;
}

.career-list {
    margin-top: 1rem;
}

.job-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer {
    background-color: #374151;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    border-radius: 0.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.socials-heading {
    display: flex;
    justify-content: center;
}

.fa-linkedin {
    font-size: 2em;
    color: #0a66c2;
}

.fa-github {
    font-size: 2em;
    color: #110f0f;
}

.fa-linkedin:hover {
    color: #004182;
}

.fa-github:hover {
    color: #6e5494;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #a855f7;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.download-link:hover {
    background-color: #9333ea;
}

.fa-download {
    font-size: 1rem;
}

.app-link {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.2s;
}

.app-link:hover {
    color: #9333ea;
}

@media (max-width: 767px) {
    .main-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .header {
        flex-direction: row;
        text-align: center;
        padding: 0.5rem;
        gap: 0.25rem;
    }

    .logo {
        font-size: 0.875rem;
        margin-left: 0.25rem;
    }

    .nav {
        margin-right: 0.25rem;
        margin-top: 0;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        padding-left: 0;
        gap: 0.25rem;
        margin-left: 0.25rem;
    }

    .nav-list li {
        margin: 0;
    }

    .nav-list li a {
        font-size: 0.75rem;
        padding: 0.25rem;
        white-space: nowrap;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-list li {
        margin: 0.125rem;
    }

    .nav-list li a {
        font-size: 0.7rem;
        padding: 0.2rem;
    }

    .logo {
        font-size: 0.8rem;
    }
}

.app-container {
    background-color: #1F2937;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.app-title {
    font-size: 2rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.app-section {
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #a855f7;
    margin-bottom: 1rem;
    border-bottom: 2px solid #a855f7;
    padding-bottom: 0.5rem;
}

.subsection-title {
    font-size: 1.25rem;
    color: #d1d5db;
    margin: 1.5rem 0 1rem;
}

.feature-list,
.requirements-list,
.troubleshooting-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li,
.requirements-list li,
.troubleshooting-list li {
    margin-bottom: 0.75rem;
    color: #d1d5db;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "•";
    color: #a855f7;
    position: absolute;
    left: 0;
}

.numbered-list {
    list-style-type: decimal;
    padding-left: 1.5rem;
    color: #d1d5db;
}

.numbered-list li {
    margin-bottom: 0.75rem;
}

.troubleshooting-list li strong {
    color: #a855f7;
}

@media (max-width: 768px) {
    .app-container {
        padding: 1rem;
    }

    .app-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }
}

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.overview-content {
    margin-bottom: 2rem;
}

.overview-text {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.key-points {
    background-color: #1a1f2c;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #a855f7;
    margin-top: 1.5rem;
}

.overview-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 0;
}

.overview-list li {
    color: #d1d5db;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.overview-list li:before {
    content: "→";
    color: #a855f7;
    position: absolute;
    left: 0;
}

.overview-list strong {
    color: #a855f7;
    font-weight: 600;
}

/* Center and shrink the Game Drop image */
.game-drop-image {
    display: block;
    /* Ensures the image is treated as a block element */
    margin: 0 auto;
    /* Centers the image horizontally */
    max-width: 80%;
    /* Shrinks the image to fit within 80% of its container */
    height: auto;
    /* Maintains the aspect ratio */
    border-radius: 0.5rem;
    /* Optional: Adds rounded corners */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    /* Optional: Adds a shadow */
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Navigation Active State */
.nav-active {
    border-bottom-width: 2px;
    border-color: #06b6d4;
    color: #ffffff;
}

/* Reset hover/transition for active state if needed to prevent flicker */
.nav-active:hover {
    color: #ffffff;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0f0729;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.nav-dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #ffffff;
    padding-left: 1.5rem;
}