/* CSS file for Abu Anas Biography Website */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Poppins", sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.1); z-index: 1000; transition: all 0.3s ease; }
.nav-container { max-width: 1500px; margin: 0 auto; padding: 0 10px; display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-logo h2 { color: #2563eb; font-weight: 700; font-size: 1.4rem; }
.nav-menu { display: flex; list-style: none; gap: 0.8rem; flex-wrap: nowrap; }
.nav-link { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s ease; padding: 0.4rem 0.6rem; position: relative; font-size: 0.75rem; white-space: nowrap; border-radius: 6px; }
.nav-link:hover, .nav-link.active { color: #2563eb; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #2563eb; transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: #333; margin: 3px 0; transition: 0.3s; }
.hero { min-height: 100vh; background-image: url('../images/hero.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; color: white; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%); z-index: 1; }
.hero-container { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; justify-items: center; }
.hero-text { text-align: center; }
.hero-text h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; background: linear-gradient(45deg, #fff, #e0e7ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.5rem; margin-bottom: 1rem; color: #e0e7ff; }
.hero-description { font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.7; color: #f1f5f9; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; }
.btn { padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer; }
.btn.primary { background: #fff; color: #2563eb; }
.btn.primary:hover { background: #f1f5f9; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.btn.secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.secondary:hover { background: #fff; color: #2563eb; transform: translateY(-2px); }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; transition: all 0.3s ease; }
.social-links a:hover { background: #fff; color: #2563eb; transform: translateY(-3px); }
.hero-image { text-align: center; }
.profile-img { width: 350px; height: 350px; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255,255,255,0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: #1e293b; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }
.about { padding: 80px 0; background: #f8fafc; margin-top: 60px; z-index: 2; position: relative; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { font-size: 1.1rem; line-height: 1.8; color: #475569; margin-bottom: 2rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { text-align: center; padding: 1.5rem; background: #fff; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease; opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.stat:hover { transform: translateY(-5px); }
.stat h3 { font-size: 2.5rem; font-weight: 700; color: #2563eb; margin-bottom: 0.5rem; }
.stat p { font-weight: 600; color: #64748b; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.awards { padding: 80px 0; background: #fff; }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.award-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease; position: relative; }
.award-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* Award Carousel */
.award-carousel { position: relative; height: 250px; overflow: hidden; background: #f8fafc; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.award-carousel .carousel-container { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.award-carousel .carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 10px; }
.award-carousel .carousel-slide.active { opacity: 1 !important; }
.award-carousel .carousel-slide img { max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; transition: transform 0.4s ease; display: block; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.award-card:hover .award-carousel .carousel-slide img { transform: scale(1.05); }

/* Award Carousel Controls */
.award-carousel .carousel-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 1rem; opacity: 0; transition: opacity 0.3s ease; z-index: 3; }
.award-card:hover .award-carousel .carousel-controls { opacity: 1; }
.award-carousel .carousel-prev, .award-carousel .carousel-next { background: rgba(255, 255, 255, 0.9); border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #2563eb; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.award-carousel .carousel-prev:hover, .award-carousel .carousel-next:hover { background: #fff; transform: scale(1.1); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }

/* Award Carousel Indicators */
.award-carousel .carousel-indicators { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 3; }
.award-carousel .indicator { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s ease; }
.award-carousel .indicator.active { background: #fff; transform: scale(1.2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }

/* Single photo carousels - ensure always visible */
.award-carousel.single-photo .carousel-slide { opacity: 1 !important; }
.award-carousel.single-photo .carousel-slide.active { opacity: 1 !important; }

/* Award Content */
.award-content { padding: 2rem; }
.award-category { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; display: inline-block; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.award-content h4 { font-size: 1.3rem; font-weight: 700; color: #1e293b; margin-bottom: 1rem; line-height: 1.4; }
.award-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.award-meta .category, .award-meta .year { color: #64748b; font-weight: 500; }
.award-content p { color: #475569; line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.95rem; }
.award-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.award-tags .tag { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; padding: 0.4rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
.award-tags .tag:hover { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; border-color: #2563eb; transform: translateY(-2px); }

/* Digital Skills Section */
.digital-skills { padding: 80px 0; background: linear-gradient(135deg, #f8fafc, #e2e8f0); }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.skill-category { background: #fff; border-radius: 20px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border: 1px solid #e2e8f0; display: flex; flex-direction: column; }
.skill-category:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); border-color: #2563eb; }

/* Combined category styling */
.skill-category.combined { gap: 1.5rem; }
.skill-section { flex: 1; display: flex; flex-direction: column; }
.skill-section:first-child { border-bottom: 1px solid #e2e8f0; padding-bottom: 1rem; }

.skill-header { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; margin-bottom: 1rem; text-align: center; }
.skill-icon { font-size: 2rem; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); }
.skill-header h3 { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.3; }
.skills-table { width: 100%; flex: 1; }
.skills-table table { width: 100%; border-collapse: collapse; }
.skills-table td { padding: 0.5rem 0; border-bottom: 1px solid #e2e8f0; color: #475569; font-size: 0.85rem; font-weight: 500; transition: all 0.3s ease; text-align: center; }
.skills-table td:hover { color: #2563eb; background: #f8fafc; }
.skills-table tr:last-child td { border-bottom: none; }
.skills-table tr:nth-child(even) { background: #f8fafc; }
.skills-table tr:nth-child(even):hover { background: #e2e8f0; }

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .skills-grid { grid-template-columns: 1fr; }
    .skill-category.combined { gap: 1rem; }
    .skill-section:first-child { padding-bottom: 0.8rem; }
}

@media (max-width: 480px) {
    .skill-category { padding: 1rem; }
    .skill-header h3 { font-size: 1rem; }
    .skills-table td { font-size: 0.8rem; }
}

.projects { padding: 80px 0; background: #f8fafc; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.project-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease; position: relative; }
.project-card.featured { border: 2px solid #2563eb; }
.project-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }

/* Project Thumbnail */
.project-thumbnail { position: relative; height: 220px; overflow: hidden; }
.project-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.project-card:hover .project-thumbnail img { transform: scale(1.05); }

/* Project Overlay */
.project-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.project-card:hover .project-overlay { opacity: 1; }

/* Play Button */
.play-button { background: rgba(255, 255, 255, 0.9); border: none; width: 60px; height: 60px; border-radius: 50%; font-size: 1.5rem; color: #2563eb; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.play-button:hover { background: #fff; transform: scale(1.1); }

/* Project Content */
.project-content { padding: 1.5rem; }

/* Project Source */
.project-source { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.source-logo { font-size: 1.2rem; }
.source-name { color: #64748b; font-size: 0.85rem; font-weight: 500; }

/* Project Title */
.project-content h3 { font-size: 1.2rem; color: #1e293b; margin-bottom: 1rem; line-height: 1.4; font-weight: 700; }

/* Project Description */
.project-content p { color: #475569; line-height: 1.6; margin-bottom: 1rem; font-size: 0.9rem; }

/* Project Meta */
.project-meta { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1rem; }
.project-role { color: #2563eb; font-weight: 600; font-size: 0.85rem; }
.project-period { color: #64748b; font-size: 0.8rem; font-weight: 500; }

/* Project Tags */
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.project-tags .tag { background: #e0e7ff; color: #3730a3; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.75rem; font-weight: 500; }

/* Project Link */
.project-link { display: inline-block; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; padding: 0.6rem 1.2rem; border-radius: 20px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.3s ease; }
.project-link:hover { background: linear-gradient(135deg, #1d4ed8, #2563eb); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); }
.publications { padding: 80px 0; background: #fff; }

/* Research Categories */
.research-category { margin-bottom: 4rem; }
.category-title { font-size: 1.8rem; font-weight: 700; color: #1e293b; margin-bottom: 2rem; text-align: center; padding: 1rem; background: linear-gradient(135deg, #f8fafc, #e2e8f0); border-radius: 15px; border-left: 5px solid #2563eb; }

.publications-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 2rem; }
.publication-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; padding: 2rem; transition: all 0.3s ease; position: relative; }
.publication-card.featured { background: linear-gradient(135deg, #f8fafc, #e0e7ff); border-color: #2563eb; }
.publication-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.1); transform: translateY(-5px); }
.publication-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.publication-badge { background: #2563eb; color: #fff; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.publication-type { color: #64748b; font-size: 0.85rem; font-weight: 500; }
.publication-content h3 { color: #1e293b; font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.4; }
.publication-venue { color: #2563eb; font-weight: 500; margin-bottom: 0.75rem; font-style: italic; }
.publication-authors { color: #475569; font-weight: 500; margin-bottom: 0.75rem; }
.publication-novelty { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-left: 4px solid #0ea5e9; padding: 1rem; margin-bottom: 1rem; border-radius: 8px; }
.publication-novelty strong { color: #0ea5e9; }
.publication-novelty p { color: #475569; font-size: 0.9rem; line-height: 1.5; margin: 0; }
.publication-details { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.publication-year { color: #2563eb; font-weight: 600; }
.publication-citations { color: #64748b; font-size: 0.85rem; }
.publication-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.publication-links { display: flex; gap: 1rem; }
.publication-link { color: #2563eb; text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 0.5rem 1rem; border: 1px solid #e0e7ff; border-radius: 20px; transition: all 0.3s ease; }
.publication-link:hover { background: #2563eb; color: #fff; }

/* Future Research Interests Section */
.future-research { padding: 80px 0; background: linear-gradient(135deg, #f8fafc, #e2e8f0); }
.research-interests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.research-interest-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border: 1px solid #e2e8f0; text-align: center; }
.research-interest-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); border-color: #2563eb; }
.interest-icon { font-size: 3rem; margin-bottom: 1rem; }
.research-interest-card h3 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 1rem; line-height: 1.4; }
.research-interest-card p { color: #64748b; line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.95rem; }
.interest-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.interest-tags .tag { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; padding: 0.4rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
.interest-tags .tag:hover { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; border-color: #2563eb; transform: translateY(-2px); }
.gallery { padding: 80px 0; background: #f8fafc; }
.gallery-carousel { position: relative; max-width: 1000px; margin: 0 auto; }
.carousel-container { overflow: hidden; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; display: grid; grid-template-columns: 1fr 1fr; background: #fff; opacity: 0; transition: opacity 0.5s ease; }
.carousel-slide.active { opacity: 1; }
.slide-image { height: 400px; overflow: hidden; }
.slide-image img { width: 100%; height: 100%; object-fit: cover; }
.slide-content { padding: 3rem; display: flex; align-items: center; }
.slide-info h3 { color: #1e293b; font-size: 1.5rem; margin-bottom: 0.75rem; }
.slide-location { color: #2563eb; font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.slide-description { color: #475569; line-height: 1.6; margin-bottom: 1.5rem; }
.slide-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.carousel-controls { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 1rem; pointer-events: none; }
.carousel-btn { background: rgba(255, 255, 255, 0.9); border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; color: #2563eb; cursor: pointer; transition: all 0.3s ease; pointer-events: all; }
.carousel-btn:hover { background: #fff; transform: scale(1.1); }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: background 0.3s ease; }
.dot.active { background: #2563eb; }
.contact { padding: 80px 0; background: #fff; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-intro { margin-bottom: 2rem; }
.contact-intro h3 { color: #1e293b; font-size: 1.5rem; margin-bottom: 1rem; }
.contact-intro p { color: #475569; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.5rem; background: #f8fafc; border-radius: 15px; transition: all 0.3s ease; }
.contact-item.primary { background: linear-gradient(135deg, #e0e7ff, #f8fafc); border: 1px solid #c7d2fe; }
.contact-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.contact-icon { width: 50px; height: 50px; background: #2563eb; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-details h3 { color: #1e293b; margin-bottom: 0.5rem; }
.contact-primary { margin-bottom: 0.25rem; }
.contact-primary a { color: #2563eb; text-decoration: none; font-weight: 600; }
.contact-primary a:hover { text-decoration: underline; }
.contact-secondary a { color: #64748b; text-decoration: none; }
.contact-note { color: #64748b; font-size: 0.85rem; font-style: italic; }
.quick-actions { margin-top: 2rem; }
.quick-actions h4 { color: #1e293b; margin-bottom: 1rem; }
.action-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.action-btn { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; padding: 1rem; border-radius: 15px; text-decoration: none; text-align: center; font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; }
.action-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.contact-form { background: #f8fafc; padding: 2rem; border-radius: 20px; }
.form-header { margin-bottom: 2rem; }
.form-header h3 { color: #1e293b; margin-bottom: 0.5rem; }
.form-header p { color: #64748b; }
.modern-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; color: #374151; font-weight: 600; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; border: 2px solid #e2e8f0; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #2563eb; }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; padding: 1rem 2rem; border-radius: 15px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.skills { padding: 80px 0; background: #f8fafc; }
.skills-content { max-width: 900px; margin: 0 auto; }
.skills-category { margin-bottom: 3rem; }
.skills-category h3 { font-size: 1.5rem; color: #1e293b; margin-bottom: 2rem; text-align: center; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.skill-item { background: #fff; padding: 1.5rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.skill-icon { font-size: 2rem; margin-bottom: 1rem; }
.skill-item span { font-weight: 600; color: #1e293b; display: block; margin-bottom: 1rem; }
.skill-bar { background: #e2e8f0; height: 8px; border-radius: 4px; overflow: hidden; }
.skill-progress { height: 100%; background: linear-gradient(90deg, #2563eb, #3b82f6); border-radius: 4px; transition: width 2s ease; }
.frameworks-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.framework-tag { background: #2563eb; color: #fff; padding: 0.5rem 1rem; border-radius: 25px; font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; }
.framework-tag:hover { background: #1d4ed8; transform: translateY(-2px); }
.expertise { padding: 80px 0; background: #fff; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.expertise-card { background: #fff; padding: 2rem; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 1px solid #e2e8f0; }
.expertise-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.expertise-card i { font-size: 3rem; color: #2563eb; margin-bottom: 1rem; }
.expertise-card h3 { font-size: 1.3rem; color: #1e293b; margin-bottom: 1rem; }
.expertise-card p { color: #64748b; line-height: 1.6; }
.education { padding: 80px 0; background: #fff; }
.education-content { max-width: 800px; margin: 0 auto; }
.education-item { display: flex; gap: 2rem; padding: 2rem; background: #f8fafc; border-radius: 15px; margin-bottom: 2rem; transition: transform 0.3s ease; }
.education-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.education-icon { font-size: 3rem; min-width: 80px; text-align: center; }
.education-details h3 { font-size: 1.3rem; color: #1e293b; margin-bottom: 0.5rem; }
.institution { font-weight: 600; color: #2563eb; margin-bottom: 0.3rem; }
.duration { color: #64748b; font-weight: 500; margin-bottom: 0.5rem; }
.description { color: #475569; line-height: 1.6; }
.experience { 
    padding: 80px 0; 
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    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="exp-pattern" patternUnits="userSpaceOnUse" width="30" height="30"><circle cx="15" cy="15" r="1.5" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23exp-pattern)"/></svg>');
    opacity: 0.6;
    z-index: 1;
}

.experience .container {
    position: relative;
    z-index: 2;
}

/* Year Sections */
.experience-year-section {
    margin-bottom: 4rem;
}

.year-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.year-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

/* Experience Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.experience-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

/* Experience Carousel */
.experience-carousel {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.carousel-slide.active {
    opacity: 1 !important;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.experience-card:hover .carousel-slide img {
    transform: scale(1.05);
}

/* Single photo carousels - ensure always visible */
.experience-carousel.single-photo .carousel-slide {
    opacity: 1 !important;
}

.experience-carousel.single-photo .carousel-slide.active {
    opacity: 1 !important;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.experience-card:hover .carousel-controls {
    opacity: 1;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Experience Content */
.experience-content {
    padding: 2rem;
}

.experience-role {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.experience-meta .location,
.experience-meta .year {
    color: #64748b;
    font-weight: 500;
}

.experience-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-tags .tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.experience-tags .tag:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

/* Load More Section */
.experience-load-more {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
}

.load-more-experiences {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    color: #fff;
    cursor: pointer;
}

.load-more-experiences:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.experience-count {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.total-experiences {
    font-weight: 600;
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-card {
        border-radius: 15px;
    }
    
    .experience-carousel {
        height: 200px;
    }
    
    .experience-content {
        padding: 1.5rem;
    }
    
    .experience-content h4 {
        font-size: 1.1rem;
    }
    
    .year-title {
        font-size: 2rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .experience-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .experience {
        padding: 60px 0;
    }
    
    .experience-carousel {
        height: 180px;
    }
    
    .experience-content {
        padding: 1.25rem;
    }
    
    .experience-content h4 {
        font-size: 1rem;
    }
    
    .experience-content p {
        font-size: 0.9rem;
    }
    
    .year-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .experience-role {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .experience-tags .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Animation Classes */
.experience-card.fade-in {
    animation: experienceFadeIn 0.6s ease-out;
}

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

/* Lightbox for Images */
.experience-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.experience-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.footer { background: #1e293b; color: #fff; padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { margin-bottom: 1rem; color: #2563eb; }
.footer-section p { color: #94a3b8; margin-bottom: 0.5rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a { color: #94a3b8; text-decoration: none; transition: color 0.3s ease; }
.footer-section ul li a:hover { color: #2563eb; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #334155; color: #94a3b8; }
@media (max-width: 768px) { 
    .hamburger { display: flex; } 
    .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background-color: rgba(255, 255, 255, 0.95); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); backdrop-filter: blur(10px); padding: 2rem 0; gap: 0.5rem; } 
    .nav-menu.active { left: 0; } 
    .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; } 
    .hero-text h1 { font-size: 2.5rem; } 
    .about-content { grid-template-columns: 1fr; gap: 2rem; } 
    .about-stats { grid-template-columns: repeat(2, 1fr); } 
    .contact-content { grid-template-columns: 1fr; gap: 2rem; } 
    .contact-grid { grid-template-columns: 1fr; } 

    .skills-grid { grid-template-columns: 1fr; } 
    .expertise-grid { grid-template-columns: 1fr; } 
    .awards-grid { grid-template-columns: 1fr; } 
    .projects-grid { grid-template-columns: 1fr; } 
    .publications-grid { grid-template-columns: 1fr; } 
    .carousel-slide { grid-template-columns: 1fr; } 
    .slide-image { height: 250px; } 
    .modern-form .form-row { grid-template-columns: 1fr; } 
    .action-buttons { grid-template-columns: 1fr; } 
}
@media (max-width: 480px) { 
    .hero-text h1 { font-size: 2rem; } 
    .section-header h2 { font-size: 2rem; } 
    .about-stats { grid-template-columns: 1fr; } 
    .hero-buttons { flex-direction: column; gap: 1rem; } 
    .profile-img { width: 250px; height: 250px; } 
    .awards-grid, .projects-grid { grid-template-columns: 1fr; } 

}
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.6s ease-out; }
.loading { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.loading.loaded { opacity: 1; transform: translateY(0); }
.award-card::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.5s; }
.award-card:hover::before { left: 100%; }

/* Media & Press Coverage Section */
.media {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.media::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="media-pattern" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23media-pattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.media .container {
    position: relative;
    z-index: 2;
}

/* Media Filters */
.media-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: #3b82f6;
    color: #3b82f6;
}

.filter-btn.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.media-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #f1f5f9;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #e2e8f0;
}

/* Media Thumbnail */
.media-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.media-thumbnail img[src*="data:image/svg+xml"] {
    object-fit: contain;
    background: #f8fafc;
}

.media-thumbnail.loading {
    position: relative;
}

.media-thumbnail.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.media-card:hover .media-thumbnail img {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.media-card:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.media-card:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.media-duration {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Media Content */
.media-content {
    padding: 1.5rem;
}

.media-source {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.source-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    padding: 4px;
}

.source-name {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.media-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Media Tags */
.media-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.media-tags .tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* Media Link */
.media-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.media-link:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Load More Section */
.media-load-more {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

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

.media-count {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.media-count span {
    font-weight: 600;
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .media-card {
        border-radius: 15px;
    }
    
    .media-thumbnail {
        height: 180px;
    }
    
    .media-content {
        padding: 1.25rem;
    }
    
    .media-content h3 {
        font-size: 1rem;
    }
    
    .media-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .media {
        padding: 60px 0;
    }
    
    .media-thumbnail {
        height: 160px;
    }
    
    .media-content {
        padding: 1rem;
    }
    
    .media-content h3 {
        font-size: 0.95rem;
    }
    
    .media-content p {
        font-size: 0.85rem;
    }
    
    .media-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Animation Classes */
.media-card.fade-in {
    animation: mediaFadeIn 0.6s ease-out;
}

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

/* Special Media Types */
.media-card[data-category="tv-interview"] .media-overlay {
    background: linear-gradient(135deg, rgba(220, 38, 127, 0.8), rgba(239, 68, 68, 0.8));
}

.media-card[data-category="news-feature"] .media-overlay {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(34, 197, 94, 0.8));
}

.media-card[data-category="talkshow"] .media-overlay {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.8), rgba(251, 146, 60, 0.8));
}

.media-card[data-category="podcast"] .media-overlay {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(168, 85, 247, 0.8));
}

.media-card[data-category="feature"] .media-overlay {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(5, 150, 105, 0.8));
}

.media-card[data-category="startup-event"] .media-overlay {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8));
}

/* Certificates Section */
.certificates { padding: 80px 0; background: #f8fafc; }
.certificates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.certificate-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 1.5rem; display: flex; flex-direction: column; align-items: center; transition: all 0.3s ease; border: 1px solid #e2e8f0; }
.certificate-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(37,99,235,0.10); border-color: #2563eb; }
.certificate-card img { width: 100%; max-width: 220px; height: 160px; object-fit: contain; border-radius: 12px; margin-bottom: 1rem; background: #f1f5f9; }
.certificate-info { text-align: center; }
.certificate-info h3 { font-size: 1.05rem; color: #1e293b; margin-bottom: 0.5rem; font-weight: 700; }
.certificate-year { background: #2563eb; color: #fff; padding: 0.3rem 0.9rem; border-radius: 12px; font-size: 0.85rem; font-weight: 600; }

/* Affiliations Section */
.affiliations { padding: 80px 0; background: #fff; }
.affiliations-content { display: flex; justify-content: center; align-items: center; }
.affiliations-image { max-width: 900px; width: 100%; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); border: 1px solid #e2e8f0; }

/* Fix About Section Overlap */
@media (max-width: 768px) {
    .about { margin-top: 40px; }
}
