/* Custom Font */
@font-face {
    font-family: 'Cabiry Bubble';
    src: url('fonts/CabiryBubbleHighlightDemoVersion-Regular.woff2') format('woff2'),
         url('fonts/CabiryBubbleHighlightDemoVersion-Regular.ttf') format('truetype'),
         url('fonts/CabiryBubbleHighlightDemoVersion-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #aa2df3;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --gradient: linear-gradient(135deg, #a953eb 0%, #8b5cf6 50%, #ec4899 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-logo .logo-img {
    height: 120px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    background: rgba(255, 255, 255, 0.381);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 2rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 0.1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, 
        #c77dff 0%, 
        #9d4edd 20%,
        #e0aaff 40%, 
        #b298dc 60%,
        #d4a5f9 80%,
        #a77dd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cabiry Bubble', 'Fredoka', sans-serif;
    letter-spacing: 0.03em;
    font-weight: normal;
    filter: drop-shadow(-2px -2px 0 #6b46a3)
            drop-shadow(2px -2px 0 #6b46a3)
            drop-shadow(-2px 2px 0 #6b46a3)
            drop-shadow(2px 2px 0 #6b46a3)
            drop-shadow(0 0 15px rgba(157, 78, 221, 0.4));
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #a17fdc;
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: #a17fdc;
    border: 2px solid #a17fdc;
}

.btn-secondary:hover {
    background: #a17fdc;
    color: white;
}

.hero-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(68, 49, 79, 0.718);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: #a17fdc;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    max-width: 280px;
    height: auto;
    animation: floatRotate 8s ease-in-out infinite;
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.hero-shape:hover {
    opacity: 0.65;
}

.hero-shape.shape-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    bottom: 5%;
    right: 5%;
    animation-delay: 4s;
}

/* Background Geometric Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 25%;
    animation-delay: 4s;
}

.bg-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    animation: slideRotate 8s ease-in-out infinite;
}

.line-1 {
    width: 200px;
    height: 2px;
    top: 15%;
    left: 20%;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.line-2 {
    width: 150px;
    height: 2px;
    bottom: 20%;
    right: 15%;
    transform: rotate(-30deg);
    animation-delay: 3s;
}

.line-3 {
    width: 180px;
    height: 2px;
    top: 60%;
    left: 15%;
    transform: rotate(20deg);
    animation-delay: 5s;
}

.bg-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    animation: float 7s ease-in-out infinite;
}

.triangle-1 {
    border-width: 0 40px 70px 40px;
    border-color: transparent transparent rgba(236, 72, 153, 0.15) transparent;
    top: 25%;
    left: 25%;
    animation-delay: 2.5s;
}

.triangle-2 {
    border-width: 50px 30px 0 30px;
    border-color: rgba(99, 102, 241, 0.15) transparent transparent transparent;
    bottom: 25%;
    right: 20%;
    animation-delay: 4.5s;
}

@keyframes slideRotate {
    0%, 100% {
        transform: translateX(0) rotate(45deg);
        opacity: 0.2;
    }
    50% {
        transform: translateX(30px) rotate(50deg);
        opacity: 0.4;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatRotate {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-25px) translateX(15px) rotate(8deg); 
    }
    50% { 
        transform: translateY(-40px) translateX(-10px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-25px) translateX(15px) rotate(-8deg); 
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Section Styles */
section {
    padding: 100px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.381);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.location-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.location-item i {
    color: var(--primary-color);
}

.about-interests h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.interest-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.interest-card i {
    font-size: 2rem;
    color: #a17fdc;
    margin-bottom: 0.5rem;
}

.interest-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.interest-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Experience Section */
.experience {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: 0;
}

.experience .container {
    position: relative;
    z-index: 2;
}

.experience-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #a17fdc, #c77dff);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 4px solid #a17fdc;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(161, 127, 220, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: calc(100% - 40px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.timeline-date {
    color: #a17fdc;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-light);
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Projects Section */
.projects {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a17fdc, #c77dff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(161, 127, 220, 0.3);
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #a17fdc;
    font-weight: 600;
    border: 1px solid rgba(161, 127, 220, 0.2);
}

.project-type {
    display: inline-block;
    background: rgba(161, 127, 220, 0.15);
    backdrop-filter: blur(10px);
    color: #a17fdc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    border: 1px solid rgba(161, 127, 220, 0.2);
}

.project-grades {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.grade-badge {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.grade-badge.highlight {
    background: linear-gradient(135deg, #a17fdc, #c77dff);
    color: white;
    border: 1px solid rgba(161, 127, 220, 0.3);
    box-shadow: 0 5px 15px rgba(161, 127, 220, 0.3);
}

.project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #a17fdc, #c77dff);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(161, 127, 220, 0.3);
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(161, 127, 220, 0.4);
}

.project-btn i {
    font-size: 1rem;
}

.project-btn-secondary {
    background: linear-gradient(135deg, #f565d8 0%, #dc2626 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.project-btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Education Section */
.education {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: 0;
}

.education .container {
    position: relative;
    z-index: 2;
}

.education-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.education-content {
    display: grid;
    gap: 3rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.education-header i {
    font-size: 3rem;
    color: #a17fdc;
}

.education-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.education-header h4 {
    color: var(--text-light);
    font-weight: 500;
}

.education-date,
.education-status,
.education-grade {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.education-status {
    color: #a17fdc;
    font-weight: 600;
}

.modules-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.modules-column h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.modules-column h4:first-child {
    margin-top: 0;
}

.modules-column ul {
    list-style: none;
    padding-left: 0;
}

.modules-column ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.modules-column ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #a17fdc;
    font-size: 1.5rem;
    line-height: 1;
}

.certifications {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.certifications h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cert-card i {
    font-size: 2rem;
    color: #a17fdc;
    margin-bottom: 1rem;
    display: block;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Skills Section */
.skills {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: 0;
}

.skills .container {
    position: relative;
    z-index: 2;
}

.skills-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.skills-content {
    display: grid;
    gap: 3rem;
}

.skills-category h3 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.skill-card i {
    font-size: 3rem;
    color: #a17fdc;
    margin-bottom: 1rem;
    display: block;
}

.skill-card p {
    color: var(--text-dark);
    font-weight: 600;
}

/* Contact Section */
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(255, 105, 180, 0.12) 50%, rgba(236, 72, 153, 0.08) 100%);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.contact-card i {
    font-size: 2rem;
    color: #a17fdc;
}

.contact-card div {
    text-align: left;
}

.contact-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    word-break: break-all;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 2rem 20px;
    text-align: center;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-text {
        padding: 2.5rem;
        margin: 0 1.5rem;
    }

    .hero-shape {
        max-width: 220px;
    }

    .about-content {
        gap: 2rem;
    }

    .modules-section {
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -80%;
        top: 60px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 80%;
        max-width: 300px;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 1.5rem 0;
        z-index: 999;
        border-top: 2px solid rgba(161, 127, 220, 0.2);
        border-right: 1px solid rgba(161, 127, 220, 0.1);
        border-radius: 0 0 15px 0;
        height: calc(100vh - 60px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 1rem 2rem;
        display: block;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        color: var(--text-dark);
    }

    .nav-link:hover {
        color: var(--primary-color);
        padding-left: 2.5rem;
    }

    .nav-link.active {
        color: var(--primary-color);
        font-weight: 600;
        border-left: 3px solid var(--primary-color);
    }

    .hero {
        padding: 80px 15px 40px;
    }

    .hero-title {
        font-size: 2.8rem;
        filter: drop-shadow(-1.5px -1.5px 0 #6b46a3)
                drop-shadow(1.5px -1.5px 0 #6b46a3)
                drop-shadow(-1.5px 1.5px 0 #6b46a3)
                drop-shadow(1.5px 1.5px 0 #6b46a3)
                drop-shadow(0 0 10px rgba(157, 78, 221, 0.3));
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .hero-text {
        padding: 2rem;
        margin: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .hero-socials {
        justify-content: center;
    }

    .hero-shape {
        max-width: 180px;
        opacity: 0.4;
    }

    .bg-circle {
        opacity: 0.6;
    }

    .circle-1 {
        width: 70px;
        height: 70px;
    }

    .circle-2 {
        width: 40px;
        height: 40px;
    }

    .circle-3 {
        width: 55px;
        height: 55px;
    }

    .bg-line {
        opacity: 0.5;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .interest-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding: 0 1rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 1.5rem;
    }

    .timeline-item:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-content {
        width: 100%;
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .modules-section {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .hero {
        padding: 70px 5px 30px;
        min-height: 90vh;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.02em;
        filter: drop-shadow(-1px -1px 0 #6b46a3)
                drop-shadow(1px -1px 0 #6b46a3)
                drop-shadow(-1px 1px 0 #6b46a3)
                drop-shadow(1px 1px 0 #6b46a3)
                drop-shadow(0 0 8px rgba(157, 78, 221, 0.3));
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-text {
        padding: 1.2rem 0.8rem;
        margin: 0 1.5rem;
        border-radius: 20px;
        max-width: calc(100vw - 3rem);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        align-items: center;
    }

    .btn {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .hero-shape {
        max-width: 120px;
        opacity: 0.3;
    }

    .hero-shape.shape-1 {
        top: 5%;
        left: 2%;
    }

    .hero-shape.shape-2 {
        bottom: 3%;
        right: 2%;
    }

    .bg-circle {
        display: none;
    }

    .bg-line {
        display: none;
    }

    .bg-triangle {
        display: none;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .interest-card {
        padding: 1.2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .skill-card {
        padding: 1.5rem 0.8rem;
    }

    .skill-card i {
        font-size: 2.5rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card div {
        text-align: center;
    }

    .education-card {
        padding: 1.5rem;
    }

    .education-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .hero {
        padding: 70px 2px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        padding: 1rem 0.6rem;
        margin: 0 1rem;
        max-width: calc(100vw - 2rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
        padding: 0 0.25rem;
    }

    .btn {
        min-width: 180px;
        max-width: 250px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-shape {
        max-width: 100px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

section.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

/* Card Hover Effects */
.project-card,
.education-card,
.cert-card,
.interest-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project-card::after,
.education-card::after,
.cert-card::after,
.interest-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(161, 127, 220, 0.1), rgba(199, 125, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.project-card:hover::after,
.education-card:hover::after,
.cert-card:hover::after,
.interest-card:hover::after {
    opacity: 1;
}

/* Icon Animations */
.social-icon,
.skill-card i,
.contact-card i {
    transition: all 0.3s ease;
}

.social-icon:hover {
    animation: bounce 0.6s ease;
}

.skill-card:hover i {
    animation: pulse 0.6s ease;
}

.contact-card:hover i {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

/* Timeline Animation Enhancement */
.timeline-item:nth-child(odd) .timeline-content {
    animation: slideInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(even) .timeline-content {
    animation: slideInRight 0.6s ease forwards;
}

/* Section Title Animation */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.6s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* Smooth entrance animations */
.hero-content {
    animation: scaleIn 0.8s ease forwards;
}

.hero-title {
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title.animated {
    opacity: 1;
}

.hero-subtitle {
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle.animated {
    opacity: 1;
}

/* Cursor trail */
.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    animation: fadeOut 1s ease forwards;
    z-index: 9999;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0);
    }
}
