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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    color: #38b2ac;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #ed8936;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #f7fafc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #38b2ac;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #38b2ac;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #f7fafc;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2338b2ac" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f7fafc;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #38b2ac;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.mrr-progress {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
}

.mrr-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(237, 137, 54, 0.1));
    border-radius: 20px;
    z-index: -1;
}

.mrr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mrr-title {
    color: #f7fafc;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.mrr-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.mrr-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mrr-current, .mrr-goal {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.mrr-current:hover, .mrr-goal:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.mrr-label {
    display: block;
    color: #38b2ac;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mrr-amount {
    display: block;
    color: #f7fafc;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mrr-period {
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(247, 250, 252, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #38b2ac, #ed8936, #38b2ac);
    background-size: 200% 100%;
    border-radius: 6px;
    width: 0;
    transition: width 2s ease;
    animation: progressFill 2s ease 0.6s forwards, gradientShift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: glowMove 2s ease infinite;
}

.progress-percentage {
    position: absolute;
    top: -30px;
    right: 0;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: fadeInUp 0.5s ease 2.6s both;
}

.mrr-milestone {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.milestone-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f7fafc;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.milestone-text i {
    color: #ed8936;
    animation: bounce 2s infinite;
}

.milestone-progress {
    width: 100%;
    height: 6px;
    background: rgba(247, 250, 252, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.milestone-fill {
    height: 100%;
    background: linear-gradient(90deg, #ed8936, #f6ad55);
    border-radius: 3px;
    width: 0;
    transition: width 1s ease;
    animation: milestoneFill 1s ease 1s forwards;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.6s both;
}

.avatar {
    width: 420px;
    height: 315px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 50px rgba(56, 178, 172, 0.2);
    transition: all 0.4s ease;
    border: 6px solid rgba(255, 255, 255, 0.3);
    position: relative;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    padding: 4px;
    filter: drop-shadow(0 0 20px rgba(56, 178, 172, 0.3));
}

.avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #38b2ac, #ed8936, #38b2ac, #ed8936);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.avatar:hover::before {
    opacity: 1;
}

.avatar:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: rgba(56, 178, 172, 0.8);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 30px rgba(56, 178, 172, 0.3);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
    border-radius: 16px;
}

.avatar:hover .avatar-img {
    transform: scale(1.15);
    filter: brightness(1.1) contrast(1.1);
}

/* Sections */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #38b2ac, #ed8936);
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38b2ac, #ed8936);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(56, 178, 172, 0.3);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4a5568;
    text-align: left;
}

/* Social Links Section */
.social-content {
    max-width: 1000px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38b2ac, #ed8936);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.platform-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.platform-icon-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-card:hover .platform-icon-img {
    transform: scale(1.1);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.social-handle {
    display: inline-block;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Platform-specific colors */
.x-card .social-icon {
    background: linear-gradient(135deg, #000000, #1DA1F2);
}

.x-card .social-handle {
    background: linear-gradient(135deg, #000000, #1DA1F2);
}

.x-card:hover .social-icon {
    box-shadow: 0 15px 30px rgba(29, 161, 242, 0.4);
}

.linkedin-card .social-icon {
    background: linear-gradient(135deg, #0077B5, #00A0DC);
}

.linkedin-card .social-handle {
    background: linear-gradient(135deg, #0077B5, #00A0DC);
}

.linkedin-card:hover .social-icon {
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.4);
}

.github-card .social-icon {
    background: linear-gradient(135deg, #333333, #666666);
}

.github-card .social-handle {
    background: linear-gradient(135deg, #333333, #666666);
}

.github-card:hover .social-icon {
    box-shadow: 0 15px 30px rgba(51, 51, 51, 0.4);
}

.email-card .social-icon {
    background: linear-gradient(135deg, #EA4335, #D14836);
}

.email-card:hover .social-icon {
    box-shadow: 0 15px 30px rgba(234, 67, 53, 0.4);
}

.email-card .social-handle {
    background: linear-gradient(135deg, #EA4335, #D14836);
}

/* Corner platform images */
.platform-corner-img {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.social-card:hover .platform-corner-img {
    transform: scale(1.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38b2ac, #ed8936);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.education-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.education-header h3 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.education-header .institution {
    color: #38b2ac;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.education-header .date {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.grade-average {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(237, 137, 54, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(56, 178, 172, 0.2);
}

.grade-number {
    font-size: 3rem;
    font-weight: 800;
    color: #38b2ac;
    text-shadow: 0 2px 4px rgba(56, 178, 172, 0.3);
}

.grade-max {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ed8936;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #38b2ac;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.course-name {
    color: #2d3748;
    font-weight: 500;
    font-size: 1rem;
}

.course-grade {
    color: #38b2ac;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(56, 178, 172, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(56, 178, 172, 0.2);
}

/* Timeline (for other sections) */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #38b2ac, #ed8936);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #38b2ac;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-content h3 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.institution {
    color: #38b2ac;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.company-link {
    margin-bottom: 0.25rem;
}

.company-link a {
    color: #ed8936;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.company-link a:hover {
    color: #38b2ac;
    text-decoration: underline;
}

.date {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.job-description {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    width: 100%;
}

.description-line {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    padding-left: 1rem;
    margin-left: 0;
    border-left: 2px solid rgba(56, 178, 172, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.description-line:hover {
    border-left-color: #38b2ac;
    background: rgba(56, 178, 172, 0.05);
    padding-left: 1.25rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(56, 178, 172, 0.2);
}

.tech-badge {
    background: linear-gradient(135deg, #38b2ac, #319795);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(56, 178, 172, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 178, 172, 0.4);
    background: linear-gradient(135deg, #319795, #2c7a7b);
}

.description {
    color: #4a5568;
    line-height: 1.6;
}

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

.project-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38b2ac, #ed8936);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(56, 178, 172, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(56, 178, 172, 0.4);
}

.project-card h3 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(56, 178, 172, 0.3);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 178, 172, 0.4);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.app-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #38b2ac, #ed8936);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.app-icon:hover .app-icon-img {
    transform: scale(1.1);
}

.app-card h3 {
    color: #1a365d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.app-description {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.store-badge {
    height: 70px;
    width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.app-platforms {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
}

.app-platforms-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
}

.app-platforms .store-badge,
.app-platforms-vertical .store-badge {
    height: 70px;
    width: 200px;
    object-fit: contain;
}

/* App Screenshots */
.app-screenshots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    min-height: 100px;
}

.app-screenshot {
    width: 80px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(56, 178, 172, 0.2);
}

.app-screenshot:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: #38b2ac;
}

/* Footer */
.footer {
    background: #1a365d;
    color: #f7fafc;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #f7fafc;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #38b2ac;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progressFill {
    to {
        width: 20%;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glowMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes milestoneFill {
    to {
        width: 40%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1a365d;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .avatar {
        width: 360px;
        height: 270px;
    }

    .mrr-progress {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .mrr-stats {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .mrr-amount {
        font-size: 1.5rem;
    }

    .progress-percentage {
        top: -25px;
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        padding-left: 3rem;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }

    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    .grade-number {
        font-size: 2.5rem;
    }

    .grade-max {
        font-size: 1.25rem;
    }

    .tech-badges {
        gap: 0.4rem;
    }

    .tech-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .about-icon {
        margin: 0 auto 1.5rem;
    }

    .about-text p {
        text-align: center;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-card {
        padding: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .avatar {
        width: 300px;
        height: 225px;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}
