/* 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: #333;
    background-color: #ffffff;
}

.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);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
    background: transparent;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: #5e80f8;
    background: rgba(94, 128, 248, 0.1);
    border-color: #5e80f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 128, 248, 0.2);
}

/* Removed underline effect for button-style navigation */

.nav-link.active {
    color: #5e80f8;
    background: rgba(94, 128, 248, 0.15);
    border-color: #5e80f8;
}

.resume-link {
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.2rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    transform: none !important;
}

.resume-link:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5) !important;
    color: white !important;
    border: none !important;
}

.resume-link i {
    color: white;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #98b2e9 100%);
    color: white;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #000000;
    white-space: nowrap;
}

.highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #000000;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #000000;
    line-height: 1.8;
    max-width: 500px;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #5e80f8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
}

.btn-primary i {
    font-size: 1.5rem;
}

.btn-secondary i {
    font-size: 1.5rem;
}

.btn-primary:hover {
    background: #4a6cf7;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(94, 128, 248, 0.3);
}

.btn-secondary {
    background: transparent;
    color: rgb(108, 111, 246);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.3;
    z-index: 1;
}

.profile-card {
    width: 370px;
    height: 370px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.profile-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.profile-photo {
    width: 350px;
    height: 350px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

.stat-link {
    color: #5e80f8;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-link:hover {
    color: #4a6cf7;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Projects Section - Masonry Style Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    position: relative;
}

.projects-grid::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(147, 197, 253, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(134, 239, 172, 0.04) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.project-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(94, 128, 248, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(251, 191, 36, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.project-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #5e80f8, #4a6cf7, #8b5cf6, #fbbf24, #5e80f8);
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

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

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover::after {
    opacity: 1;
}

/* Project card hover effects */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #93c5fd, #a78bfa, #86efac, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    border-radius: 25px 25px 0 0;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.03) rotateY(5deg);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(59, 130, 246, 0.1);
}

.project-image {
    height: 180px;
    background: linear-gradient(135deg, #93c5fd 0%, #a78bfa 30%, #86efac 70%, #fbbf24 100%);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    animation: gradientShift 6s ease-in-out infinite;
}

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

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
    z-index: 2;
    position: relative;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.project-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.project-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #1f2937;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
    border-radius: 3px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.project-card:hover .project-content h3::after {
    transform: scaleX(1);
}

.project-content p {
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: justify;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: linear-gradient(135deg, #eff6ff 0%, #f3f4f6 100%);
    color: #374151;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.tech-tag:hover::before {
    left: 100%;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.project-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.project-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.project-link i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.project-link:hover i {
    transform: translateX(4px) scale(1.1);
}

/* Experience Section */
.experience {
    background: linear-gradient(135deg, #f8f8f8 0%, #98b2e9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.experience::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.experience-showcase {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.experience-hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.experience-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.role-title {
    margin-bottom: 30px;
}

.title-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(94, 128, 248, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.title-icon i {
    font-size: 2rem;
    color: white;
}

.custom-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.title-icon:hover .custom-logo {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.role-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-name {
    font-size: 1.3rem;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 8px;
}

.experience-period {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-bubble {
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 10px 30px rgba(94, 128, 248, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

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

.stat-bubble:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(94, 128, 248, 0.4);
}

.stat-bubble .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
}

.stat-bubble .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 300px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: #000000;
}

.floating-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
}

.card-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
    animation: orbit1 8s linear infinite;
    background: linear-gradient(135deg, #8aa1f1 0%, #94a7f6 100%);
    transition: all 0.3s ease;
}

/* Pause all animations when any card is hovered */
.hero-visual:hover .floating-card {
    animation-play-state: paused;
}

.card-1:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(138, 161, 241, 0.4);
    background: linear-gradient(135deg, #7c93e8 0%, #8a9ff3 100%);
}

.card-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg) translateX(120px) rotate(-90deg);
    animation: orbit2 8s linear infinite;
    background: linear-gradient(135deg, #f7cc60 0%, #f59e0b 100%);
    transition: all 0.3s ease;
}

.card-2:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(247, 204, 96, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg) translateX(120px) rotate(-180deg);
    animation: orbit3 8s linear infinite;
    background: linear-gradient(135deg, rgb(108, 111, 246) 0%, #8b5cf6 100%);
    transition: all 0.3s ease;
}

.card-3:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(108, 111, 246, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(270deg) translateX(120px) rotate(-270deg);
    animation: orbit4 8s linear infinite;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.3s ease;
}

.card-4:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

@keyframes orbit1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(120px) rotate(-90deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(450deg) translateX(120px) rotate(-450deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(120px) rotate(-180deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(540deg) translateX(120px) rotate(-540deg);
    }
}

@keyframes orbit4 {
    0% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(120px) rotate(-270deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(630deg) translateX(120px) rotate(-630deg);
    }
}

/* Content Sections */
.experience-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header i {
    font-size: 1.5rem;
    color: #5e80f8;
}

.header-accent {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #5e80f8 0%, #4a6cf7 100%);
    border-radius: 2px;
}

.role-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin: 0;
    text-align: justify;
}

/* Achievements Grid with Floating Cards */
.achievements-showcase {
    margin-bottom: 50px;
}

.achievements-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: stretch;
}

.achievement-card {
    flex: 1 1 300px;
    max-width: 350px;
    min-width: 280px;
}

.achievement-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.achievement-card:nth-child(1) { animation-delay: 0s; }
.achievement-card:nth-child(2) { animation-delay: 1s; }
.achievement-card:nth-child(3) { animation-delay: 2s; }
.achievement-card:nth-child(4) { animation-delay: 3s; }
.achievement-card:nth-child(5) { animation-delay: 4s; }
.achievement-card:nth-child(6) { animation-delay: 5s; }
.achievement-card:nth-child(7) { animation-delay: 6s; }
.achievement-card:nth-child(8) { animation-delay: 7s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    animation-play-state: paused;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(94, 128, 248, 0.3);
}

.achievement-icon i {
    font-size: 1.5rem;
    color: white;
}

.achievement-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.achievement-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Technology Showcase */
.tech-showcase {
    margin-bottom: 0;
    position: relative;
    padding: 20px 0;
}



/* Tech Timeline */
.tech-timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}

.tech-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 50%, #2563eb 100%);
    border-radius: 2px;
}

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

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-marker i {
    font-size: 1.5rem;
    color: white;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: 100%;
    border-right-color: #f8fafc;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: 100%;
    border-left-color: #f8fafc;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.pill:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(94, 128, 248, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.05);
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(94, 128, 248, 0.05) 0%, 
        transparent 50%, 
        rgba(74, 108, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-category:hover::before {
    opacity: 1;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(94, 128, 248, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(94, 128, 248, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.category-header i {
    font-size: 1.5rem;
    color: #5e80f8;
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    color: white;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(94, 128, 248, 0.3);
}

.tech-category:hover .category-header i {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(94, 128, 248, 0.4);
}

.category-header span {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.tech-tag {
    background: linear-gradient(135deg, #5e80f8 0%, #4a6cf7 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(94, 128, 248, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-width: 90px;
    text-align: center;
}

.tech-tag i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.tech-tag:hover::before {
    left: 100%;
}

.tech-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(94, 128, 248, 0.4);
    background: linear-gradient(135deg, #4a6cf7 0%, #3b82f6 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Color-Coordinated Academic Projects */
/* Standard color scheme for all academic projects */
.project-card .project-content h3 {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card .project-content h3::after {
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.project-card .tech-tag {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #1e40af;
    border: 2px solid rgba(30, 64, 175, 0.2);
}

.project-card .tech-tag:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.project-card .project-link {
    color: #1e40af;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.project-card .project-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Keep the centered links for London Housing Price Analysis */
.project-card:nth-child(4) .project-links {
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .experience-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .experience-hero {
        padding: 30px;
    }
    
    .experience-content {
        padding: 30px;
    }
    
    .role-title h2 {
        font-size: 2.5rem;
    }
    
    .title-icon {
        width: 60px;
        height: 60px;
    }
    
    .title-icon i {
        font-size: 1.5rem;
    }
    
    .custom-logo {
        width: 60px;
        height: 60px;
        padding: 8px;
        border-radius: 14px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-bubble {
        padding: 15px;
        min-width: 80px;
    }
    
    .stat-bubble .stat-number {
        font-size: 1.2rem;
    }
    
    .achievements-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 15px 0;
    }
    
    .achievement-card {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 25px 20px;
        border-radius: 16px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        max-width: 90%;
        width: 100%;
    }
    
    .achievement-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #2563eb, #3b82f6);
    }
    
    .achievement-icon {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        margin: 0;
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    
    .achievement-icon i {
        font-size: 1.2rem;
        color: white;
    }
    
    .achievement-content {
        flex: 1;
        min-width: 0;
    }
    
    .achievement-content h4 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 8px 0;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }
    
    .achievement-content p {
        font-size: 0.95rem;
        font-weight: 500;
        color: #475569;
        line-height: 1.5;
        margin: 0;
        letter-spacing: 0.01em;
    }
    
    .achievement-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        border-color: #3b82f6;
    }
    
    .achievement-card:hover .achievement-icon {
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
    }
    
    /* Mobile Floating Cards - Static Grid Layout */
    .hero-visual {
        height: 300px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        padding: 20px;
        align-items: center;
        justify-content: center;
    }
    
    .floating-card {
        position: static !important;
        transform: none !important;
        animation: none !important;
        margin: 8px;
        width: calc(50% - 16px);
        max-width: 140px;
        height: 80px;
        font-size: 0.8rem;
        padding: 12px 8px;
    }
    
    .floating-card i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .floating-card span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .card-1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .card-2 {
        grid-column: 2;
        grid-row: 1;
    }
    
    .card-3 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .card-4 {
        grid-column: 2;
        grid-row: 2;
    }
    
    .tech-timeline {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .tech-timeline::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .timeline-marker i {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        margin: 0 0 0 1rem;
        padding: 1.5rem;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .pill {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .tech-categories {
        gap: 15px;
        padding: 10px 0;
    }
    
    .tech-category {
        padding: 15px;
    }
    
    .category-header i {
        font-size: 1.3rem;
        padding: 8px;
    }
    
    .category-header span {
        font-size: 1rem;
    }
    
    .tech-tags {
        gap: 8px;
    }
    
    .tech-tag {
        min-width: 80px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    
    .experience-hero {
        padding: 20px;
    }
    
    .experience-content {
        padding: 20px;
    }
    
    .role-title h2 {
        font-size: 2rem;
    }
    
    /* Small Phone Floating Cards */
    .hero-visual {
        height: 220px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
        padding: 12px;
    }
    
    .floating-card {
        width: 100%;
        max-width: 100px;
        height: 60px;
        font-size: 0.6rem;
        padding: 6px 4px;
    }
    
    .floating-card i {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .floating-card span {
        font-size: 0.5rem;
        line-height: 1;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-bubble {
        width: 100%;
        max-width: 200px;
    }
    
    .achievements-grid {
        gap: 15px;
        padding: 10px 0;
        align-items: center;
    }
    
    .achievement-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 20px 15px;
        border-radius: 14px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #e2e8f0;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        max-width: 95%;
        width: 100%;
    }
    
    .achievement-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, #2563eb, #3b82f6);
    }
    
    .achievement-icon {
        flex-shrink: 0;
        width: 45px;
        height: 45px;
        margin: 0;
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
    }
    
    .achievement-icon i {
        font-size: 1.1rem;
        color: white;
    }
    
    .achievement-content {
        flex: 1;
        min-width: 0;
    }
    
    .achievement-content h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 6px;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }
    
    .achievement-content p {
        font-size: 0.9rem;
        font-weight: 500;
        color: #475569;
        line-height: 1.4;
        text-align: left;
        letter-spacing: 0.01em;
    }
    
    .achievement-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border-color: #3b82f6;
    }
    
    .achievement-card:hover .achievement-icon {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }
    
    .tech-category {
        padding: 20px;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Tools & Skills Section */
.tools-skills {
    background: #f8fafc;
    padding: 80px 0;
}

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

.tool-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.tool-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-name {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.9;
}

.tool-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.tool-progress {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 4px;
    transition: width 1.5s ease;
    position: relative;
}

.tool-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4b5563;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

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

.social-link {
    width: 120px;
    height: 45px;
    background: #2563eb;
    color: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.social-link:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        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-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-description {
        max-width: 100%;
        text-align: justify;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }

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

    .project-content {
        padding: 2rem;
    }

    .project-content h3 {
        font-size: 1.4rem;
    }

    .project-image {
        height: 160px;
    }

    .project-image img {
        height: 140px;
    }

    .tech-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .project-link {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }



    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .profile-card {
        width: 300px;
        height: 300px;
    }

    .profile-image {
        font-size: 3rem;
    }
    
    .profile-photo {
        width: 280px;
        height: 280px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
} 