/* Modern CSS Reset and Variables */
:root {
  --primary-color: #1e22ee;
  --secondary-color: #1e22ee;
  --accent-color: #3b82f6;
  --background-color: #f8fafc;
  --light-accent: #e0e7ff;
  --medium-accent: #c7d2fe;
  --dark-accent: #f1af63;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f1f5f9;
  --bg-dark: #0f172a;
  --border-color: #000000;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-70: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 1px 2px 0 rgba(16, 49, 182, 0.15);
  --shadow-md: 0 4px 6px -1px rgba(16, 49, 182, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(16, 49, 182, 0.25);
  --shadow-xl: 0 20px 25px -5px rgba(16, 49, 182, 0.3);
  --gradient-primary: linear-gradient(135deg, #1031b6 0%, #1e40af 100%);
  --gradient-secondary: linear-gradient(135deg, #04810e 0%, #04810e 100%);
  --gradient-secondary123: linear-gradient(135deg, #941f1b 0%, #941f1b 100%);
  --gradient-accent: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  --elegant-glow: 0 0 20px rgba(16, 49, 182, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(16, 49, 182, 0.15);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.nav-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: var(--elegant-glow);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

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

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

/* Language Toggle Styles */
.mobile-nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.language-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--elegant-glow);
}

.language-toggle-mobile {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.language-toggle-mobile:hover {
  transform: translateY(-2px);
  box-shadow: var(--elegant-glow);
}

.language-toggle-desktop {
  margin-left: 20px;
}

/* Hero Section */
/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  margin-top: 3vw;
  line-height: 1.2;
}

.highlight {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* text-shadow: 0 0 30px rgba(255, 0, 0, 0.6); */
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

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

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.detail-item i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  width: 20px;
}

.auto-type-container {
  height: 60px;
  margin-bottom: 2rem;
}

.auto-type {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

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

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--elegant-glow);
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-secondary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--elegant-glow), var(--shadow-xl);
}

.cta-button1234 {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-secondary123);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.3rem; /* Desktop: medium-large */
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  width: auto;
}

@media (max-width: 768px) {
  .cta-button1234 {
    font-size: 1rem; /* Phone: medium */
  }
}

.cta-button1234:hover {
  transform: translateY(-2px);
  box-shadow: var(--elegant-glow), var(--shadow-xl);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 350px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(16, 49, 182, 0.5);
  box-shadow: var(--elegant-glow), var(--shadow-xl);
  transition: all 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 40px rgba(16, 49, 182, 0.7), var(--shadow-xl);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid rgba(16, 49, 182, 0.8);
  border-bottom: 2px solid rgba(16, 49, 182, 0.8);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

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

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.professional-info {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item strong {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.info-item span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.skill-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.skill-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.skill-item span {
  font-weight: 500;
  color: var(--text-primary);
}

/* YouTube Section */
.youtube {
  background: var(--bg-primary);
}

.youtube-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.youtube-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.youtube-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.channel-stats {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.stat-number {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.youtube-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--gradient-secondary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.youtube-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--elegant-glow), var(--shadow-lg);
}

.youtube-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

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

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--light-accent) 0%, var(--bg-primary) 50%, var(--light-accent) 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

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

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.contact-method i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--elegant-glow), var(--shadow-lg);
  border: 1px solid var(--light-accent);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--elegant-glow), 0 0 0 3px rgba(16, 49, 182, 0.15);
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--elegant-glow), var(--shadow-lg);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-credits {
  text-align: right;
}

.footer-credits p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-credits a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credits a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(16, 49, 182, 0.5);
}

.counter {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .language-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .language-toggle-desktop {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-top: 3vw;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-top: 3vw;

  }
  
  .about-content,
  .youtube-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .skills {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .footer-credits {
    text-align: center;
    margin-top: 1rem;
  }
  
  .footer-credits p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block !important;
    visibility: visible !important;
  }
  
  .footer-credits a {
    color: var(--accent-color) !important;
    font-weight: 500;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-image img {
    width: 250px;
    height: 250px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Smooth transitions for all interactive elements */
* {
  transition: all 0.3s ease;
}

/* Hobbies Section */
.hobbies {
  background: var(--bg-secondary);
}

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

.hobby-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hobby-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--elegant-glow), var(--shadow-lg);
  border-color: var(--primary-color);
}

.hobby-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hobby-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hobby-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Publications Section */
.publications {
  background: var(--bg-primary);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.publication-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--light-accent);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.publication-item:hover {
  transform: translateX(5px);
  box-shadow: var(--elegant-glow), var(--shadow-md);
  background: var(--medium-accent);
}

.publication-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--elegant-glow);
}

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

.publication-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.publication-period {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.publication-content p:last-child {
  color: var(--text-secondary);
  line-height: 1.6;
}

.publications .gallery-section {
  margin-top: 4rem;
}

/* Awards Section */
.awards {
  background: var(--bg-secondary);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.award-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--elegant-glow), var(--shadow-lg);
}

.award-card.featured {
  border: 2px solid var(--accent-color);
  background: linear-gradient(135deg, #fff 0%, var(--light-accent) 100%);
}

.award-card.featured:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(16, 49, 182, 0.4);
}

.award-card.special {
  border: 2px solid var(--secondary-color);
  background: linear-gradient(135deg, #fff 0%, var(--medium-accent) 100%);
}

.award-card.special:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 10px 30px rgba(16, 49, 182, 0.3);
}

.award-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.award-card.featured .award-icon {
  background: var(--gradient-secondary);
}

.award-card.special .award-icon {
  background: var(--gradient-accent);
}

.award-icon i {
  font-size: 1.8rem;
  color: white;
}

.award-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.award-org {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.award-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Gallery Section with Swiper */
.gallery-section {
  margin-top: 4rem;
}

.gallery-section h3 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.swiper {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  background: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide picture {
  width: 100%;
  height: 100%;
  display: block;
}

.swiper-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-slide:hover picture img {
  transform: scale(1.05);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.swiper-slide:hover .slide-content {
  transform: translateY(0);
}

.slide-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.slide-content p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: -20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
  font-weight: 600;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-details {
    align-items: center;
  }
  
  .detail-item {
    justify-content: center;
  }
  
  .about-content,
  .youtube-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
  
  .publications-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .footer-credits {
    text-align: center;
  }
  
  .swiper {
    height: 300px;
  }
  
  .slide-content {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-image img {
    width: 250px;
    height: 250px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hobby-card,
  .publication-item,
  .award-card {
    padding: 1.5rem;
  }
  
  .swiper {
    height: 250px;
  }
  
  .footer-credits {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem 0;
  }
  
  .footer-credits p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block !important;
    line-height: 1.4;
  }
  
  .footer-credits a {
    color: #3b82f6 !important;
    font-weight: 600;
    text-decoration: underline;
  }
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}
