:root {
    /* Color scheme */
    --primary-color: #6c63ff;
    --secondary-color: #4a42ff;
    --accent-color: #ff6584;
    --background-dark: #0a0a1a;
    --background-light: #121225;
    --text-light: #ffffff;
    --text-dark: #b8b8d4;
    --card-bg: rgba(18, 18, 37, 0.8);
    --border-color: rgba(108, 99, 255, 0.2);
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    
    /* Animations */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Import Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

/* Make sure background container is behind everything */
#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Section Styling */
section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    position: relative;
    margin-bottom: 5rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 0.4rem;
    background-color: var(--primary-color);
}

/* Page Titles */
.page-title {
    font-size: 6rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: none;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

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

.btn.secondary:hover {
    color: var(--text-light);
}

.btn.small {
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    height: 100%;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.card-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
}

.card-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

/* Hero Section */
.hero {
    height: calc(100vh - 8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 3rem;
}

.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 25rem;
    background-color: var(--card-bg);
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.project-content {
    padding: 2rem;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 10, 26, 0.9), transparent);
}

.project-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Skills Section */
.skills-container {
    margin-top: 3rem;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-name {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.8rem;
}

.skill-bar {
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    position: relative;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.detail-item {
    margin-bottom: 3rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

/* Roles Section */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.role-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    text-align: center;
}

.role-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.role-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
}

.role-icon svg {
    width: 4rem;
    height: 4rem;
    color: var(--primary-color);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 120rem;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 0.6rem;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.3rem;
    border-radius: 0.3rem;
}

.timeline-item {
    padding: 1rem 4rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    animation: fadeIn 1s;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    right: -1.2rem;
    background-color: var(--primary-color);
    border: 0.4rem solid var(--primary-color);
    top: 1.5rem;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -1.2rem;
}

.timeline-content {
    padding: 2rem 3rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all var(--transition-medium);
}

.timeline-content:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.timeline-year {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects Page */
.project-detailed {
    margin-bottom: 8rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-info {
    padding: 4rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tag {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    font-size: 1.4rem;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
}

.project-description h3 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.project-description ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 2.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.tech {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.4rem;
}

/* Education Page */
.education-card {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.education-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.edu-icon {
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    flex-shrink: 0;
}

.edu-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.edu-period {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.achievement-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
}

.achievement-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.achievement-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
}

.achievement-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

.achievement-list {
    list-style: disc;
    margin-left: 2rem;
    color: var(--text-dark);
}

.achievement-list li {
    margin-bottom: 1rem;
}

.role-detailed {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.role-detailed:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 4rem;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1.6rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.contact-info {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 4rem;
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.info-icon {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    margin-right: 2rem;
    flex-shrink: 0;
}

.info-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
}

.social-links h3 {
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 2rem;
}

.social-icon {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-0.5rem);
}

.social-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--text-light);
}

/* Header and Footer (Will be loaded via JS) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    background-color: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

header.scrolled {
    padding: 1.5rem 0;
    background-color: rgba(10, 10, 26, 0.95);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 3rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: none;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Footer */
footer {
    background-color: var(--background-light);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 4rem;
    height: 0.3rem;
    background-color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-social svg {
    width: 1.8rem;
    height: 1.8rem;
    color: var(--text-light);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    font-size: 1.4rem;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-light);
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(44px, 9999px, 56px, 0);
    }
    5% {
        clip: rect(25px, 9999px, 99px, 0);
    }
    10% {
        clip: rect(89px, 9999px, 59px, 0);
    }
    15% {
        clip: rect(13px, 9999px, 85px, 0);
    }
    20% {
        clip: rect(63px, 9999px, 77px, 0);
    }
    25% {
        clip: rect(91px, 9999px, 27px, 0);
    }
    30% {
        clip: rect(75px, 9999px, 94px, 0);
    }
    35% {
        clip: rect(23px, 9999px, 22px, 0);
    }
    40% {
        clip: rect(50px, 9999px, 91px, 0);
    }
    45% {
        clip: rect(37px, 9999px, 3px, 0);
    }
    50% {
        clip: rect(4px, 9999px, 91px, 0);
    }
    55% {
        clip: rect(21px, 9999px, 58px, 0);
    }
    60% {
        clip: rect(73px, 9999px, 3px, 0);
    }
    65% {
        clip: rect(84px, 9999px, 51px, 0);
    }
    70% {
        clip: rect(15px, 9999px, 14px, 0);
    }
    75% {
        clip: rect(65px, 9999px, 31px, 0);
    }
    80% {
        clip: rect(51px, 9999px, 36px, 0);
    }
    85% {
        clip: rect(96px, 9999px, 38px, 0);
    }
    90% {
        clip: rect(44px, 9999px, 62px, 0);
    }
    95% {
        clip: rect(82px, 9999px, 31px, 0);
    }
    100% {
        clip: rect(12px, 9999px, 23px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(31px, 9999px, 92px, 0);
    }
    5% {
        clip: rect(21px, 9999px, 2px, 0);
    }
    10% {
        clip: rect(73px, 9999px, 22px, 0);
    }
    15% {
        clip: rect(33px, 9999px, 71px, 0);
    }
    20% {
        clip: rect(64px, 9999px, 15px, 0);
    }
    25% {
        clip: rect(24px, 9999px, 25px, 0);
    }
    30% {
        clip: rect(31px, 9999px, 88px, 0);
    }
    35% {
        clip: rect(98px, 9999px, 17px, 0);
    }
    40% {
        clip: rect(72px, 9999px, 48px, 0);
    }
    45% {
        clip: rect(37px, 9999px, 10px, 0);
    }
    50% {
        clip: rect(4px, 9999px, 69px, 0);
    }
    55% {
        clip: rect(51px, 9999px, 85px, 0);
    }
    60% {
        clip: rect(3px, 9999px, 31px, 0);
    }
    65% {
        clip: rect(48px, 9999px, 21px, 0);
    }
    70% {
        clip: rect(35px, 9999px, 98px, 0);
    }
    75% {
        clip: rect(86px, 9999px, 62px, 0);
    }
    80% {
        clip: rect(84px, 9999px, 32px, 0);
    }
    85% {
        clip: rect(38px, 9999px, 47px, 0);
    }
    90% {
        clip: rect(69px, 9999px, 93px, 0);
    }
    95% {
        clip: rect(12px, 9999px, 46px, 0);
    }
    100% {
        clip: rect(93px, 9999px, 17px, 0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    html {
        font-size: 56.25%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
    
    .timeline-item.left::after, 
    .timeline-item.right::after {
        left: 15px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 40rem;
        height: 100vh;
        background-color: var(--background-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 9;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero h1 {
        font-size: 4.8rem;
    }
    
    .page-title {
        font-size: 4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .cards-container,
    .project-grid,
    .roles-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

/* Add this at the end of your style.css file */
.hidden {
    display: none !important;
}

/* Add this to your style.css file */

/* Success page styles */
.success-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 60rem;
    margin: 0 auto;
}

.success-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
}

.success-icon svg {
    width: 4rem;
    height: 4rem;
    color: var(--primary-color);
}

.success-message h2 {
    margin-bottom: 2rem;
}

.success-message p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.success-message .btn {
    margin: 0 1rem;
}

@media screen and (max-width: 768px) {
    .success-message {
        padding: 3rem;
    }
    
    .success-message .btn {
        margin: 1rem;
        display: block;
    }
}

/* Add these styles to your style.css file */

/* Designs Page Styles */
.designs-hero {
    text-align: center;
    padding-bottom: 4rem;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-tab {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 3rem;
    cursor: pointer;
    font-size: 1.6rem;
    transition: all var(--transition-fast);
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* Design Gallery */
.design-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.design-item {
    background-color: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.design-item:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.design-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.design-item:hover .design-image img {
    transform: scale(1.05);
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.design-item:hover .design-overlay {
    opacity: 1;
}

.design-actions {
    display: flex;
    gap: 1.5rem;
}

.design-actions button {
    background-color: var(--primary-color);
    border: none;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.design-actions button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.design-actions svg {
    width: 2rem;
    height: 2rem;
    color: var(--text-light);
}

.design-info {
    padding: 2rem;
}

.design-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.design-info p {
    color: var(--text-dark);
    font-size: 1.4rem;
}

/* Design Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    position: relative;
}

.process-step:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -2rem;
    left: 3rem;
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
    font-family: var(--font-secondary);
}

.process-step h3 {
    position: relative;
    z-index: 1;
}

/* Design Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.tool-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
}

.tool-icon svg {
    width: 4rem;
    height: 4rem;
    color: var(--primary-color);
}

/* Add or update these styles in your style.css file */

.design-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    cursor: none; /* Ensure cursor is 'none' for custom cursor */
}

.design-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 120rem;
    max-height: 90vh;
    cursor: none; /* Ensure cursor is 'none' for custom cursor */
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -4rem;
    right: 0;
    background: transparent;
    border: none;
    cursor: none; /* Ensure cursor is 'none' for custom cursor */
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close svg {
    width: 3rem;
    height: 3rem;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.modal-close:hover svg {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Error message styles */
.error-message {
    text-align: center;
    padding: 4rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

@media screen and (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab {
        width: 100%;
        max-width: 30rem;
        text-align: center;
    }
    
    .design-gallery {
        grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    }
}

/* Frameworks Section */
.frameworks-section {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.frameworks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 4rem;
}

.framework-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10rem;
    transition: all var(--transition-medium);
}

.framework-item:hover {
    transform: translateY(-1rem);
}

.framework-icon {
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding: 1rem;
    transition: all var(--transition-fast);
}

.framework-item:hover .framework-icon {
    border-color: var(--primary-color);
    box-shadow: 0 1rem 2rem rgba(108, 99, 255, 0.2);
}

.framework-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.framework-name {
    font-size: 1.4rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .frameworks-container {
        gap: 2rem;
    }
    
    .framework-item {
        width: 8rem;
    }
    
    .framework-icon {
        width: 5rem;
        height: 5rem;
    }
    
    .framework-name {
        font-size: 1.2rem;
    }
}

/* Project Image Styling for projects.html */
.project-detailed {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-image {
    width: 100%;
    height: 30rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-detailed:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 3rem;
}

.project-tags {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-tags .tag {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.4rem;
}

.project-description {
    margin-top: 2rem;
}

.project-description p {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.project-description h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.project-description ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.project-description li {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
}

@media screen and (max-width: 768px) {
    .project-image {
        height: 20rem;
    }
    
    .project-info {
        padding: 2rem;
    }
}
