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

:root {
  --cream: #fff8f0;
  --peach: #ffdab9;
  --rose: #d4a5a5;
  --mauve: #9a7b8c;
  --chocolate: #6b4d57;
  --espresso: #3e2723;
  --gold: #e6c39c;
  --blush: #f4e4d7;
  --berry: #8e5572;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(
    135deg,
    var(--cream) 0%,
    var(--blush) 50%,
    var(--peach) 100%
  );
  color: var(--espresso);
  overflow-x: hidden;
  cursor: none;
}

.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--rose);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--mauve);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: rgba(212, 165, 165, 0.2);
  border-color: var(--mauve);
}

.bg-decoration {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
  filter: blur(2px);
}

.shape1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--rose), var(--peach));
  border-radius: 50%;
  top: 10%;
  left: 5%;
}

.shape2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--mauve), var(--gold));
  border-radius: 50%;
  bottom: 20%;
  right: 10%;
  animation-delay: 5s;
}

.shape3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold), var(--blush));
  border-radius: 50%;
  top: 60%;
  left: 15%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(50px, -50px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translate(30px, 50px) rotate(270deg) scale(1.05);
  }
}

.particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--rose);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--mauve), var(--gold));
  z-index: 9999;
  transition: width 0.2s ease;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 1rem 5%;
  box-shadow: 0 5px 25px rgba(62, 39, 35, 0.1);
  z-index: 1000;
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 0.7rem 5%;
  box-shadow: 0 8px 35px rgba(62, 39, 35, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: var(--chocolate);
  padding: 0.6rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  transform: translateY(-2px);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
  margin-top: 0.5rem;
  z-index: 1001;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav-links li:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideDown 0.3s ease;
}

.dropdown-content:hover {
  display: block;
  opacity: 1;
}

.nav-links li {
  position: relative;
}

.has-dropdown:hover .dropdown-content {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  padding: 1rem 1.5rem;
  display: block;
  color: var(--chocolate);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.dropdown-content a:hover {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  transform: translateX(5px);
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

.burger-menu span {
  width: 30px;
  height: 3px;
  background: var(--chocolate);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: -100%;
  width: 300px;
  height: calc(100vh - 70px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease;
  overflow-y: auto;
  padding: 2rem;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  color: var(--chocolate);
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  transform: translateX(5px);
}

section {
  min-height: 100vh;
  padding: 120px 8% 80px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInSection 0.8s ease forwards;
}

@keyframes fadeInSection {
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 3rem;
  color: var(--chocolate);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  opacity: 0;
  animation: slideInTitle 0.8s ease forwards;
}

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

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--mauve));
  margin: 1rem auto;
  border-radius: 2px;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(1.2);
  }
}

.section-subtitle {
  text-align: center;
  color: var(--mauve);
  margin-bottom: 3rem;
  font-size: 1.1rem;
  font-style: italic;
}

#home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.home-content {
  flex: 1;
  min-width: 300px;
}

.home-content h1 {
  font-size: 4rem;
  background: linear-gradient(
    135deg,
    var(--chocolate),
    var(--mauve),
    var(--rose)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: textShine 3s ease-in-out infinite;
  background-size: 200% auto;
}

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

.home-content h2 {
  font-size: 2rem;
  color: var(--mauve);
  margin-bottom: 1.5rem;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.3s both;
}

.tagline {
  font-style: italic;
  color: var(--mauve);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.home-content p {
  font-size: 1.15rem;
  color: var(--chocolate);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.7s both;
}

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s ease;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(212, 165, 165, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(212, 165, 165, 0.6);
}

.cta-button.secondary {
  background: white;
  color: var(--mauve);
  border: 2px solid var(--rose);
}

.cta-button.download {
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--espresso);
}

.home-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.profile-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  box-shadow: 0 20px 60px rgba(212, 165, 165, 0.4);
  animation: floatProfile 4s ease-in-out infinite;
  position: relative;
}

.profile-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-circle::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes floatProfile {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

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

.about-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  transition: all 0.4s ease;
}

.about-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(212, 165, 165, 0.3);
}

.about-box p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--chocolate);
  margin-bottom: 1.5rem;
}

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

.stat-item {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--blush), var(--peach));
  border-radius: 20px;
  transition: all 0.4s ease;
}

.stat-item:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 15px 35px rgba(212, 165, 165, 0.4);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--chocolate);
}
.stat-label {
  color: var(--mauve);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* NEW EDUCATION STYLES - SIMPLIFIED */
.education-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.education-item {
  margin-bottom: 3rem;
  position: relative;
}

.education-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(212, 165, 165, 0.4);
}

.education-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.education-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  animation: bounce 2s ease-in-out infinite;
}

.education-main {
  flex: 1;
}

.education-card h3 {
  color: var(--chocolate);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.education-card .school {
  color: var(--mauve);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-card .gpa {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--rose);
  margin: 0.5rem 0;
}

.education-card .period {
  color: var(--mauve);
  font-style: italic;
  margin-bottom: 0.3rem;
}

.education-card .location {
  color: var(--chocolate);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.involvement-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--blush);
}

.involvement-section h4 {
  color: var(--chocolate);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.involvement-section ul {
  line-height: 1.8;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  color: var(--chocolate);
}

.achievement-box {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  padding: 1.2rem;
  border-radius: 15px;
  margin-top: 1rem;
}

.achievement-box h4 {
  color: var(--chocolate);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.achievement-box ul {
  line-height: 1.8;
  font-size: 0.95rem;
  margin-left: 1.5rem;
}

.achievement-highlight {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  padding: 1.2rem;
  border-radius: 15px;
  margin-top: 1rem;
  text-align: center;
}

.achievement-highlight h4 {
  color: var(--chocolate);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.achievement-highlight p {
  font-size: 1rem;
  font-weight: bold;
  color: var(--chocolate);
  margin: 0.3rem 0;
}

.achievement-highlight .award-name {
  color: var(--mauve);
  font-weight: 600;
  font-size: 0.9rem;
}

.tab-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 1rem 2rem;
  background: white;
  border: 2px solid var(--rose);
  border-radius: 25px;
  color: var(--chocolate);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 165, 165, 0.4);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.interactive-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.interactive-card::after {
  content: "👆 Click for details";
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 0.8rem;
  color: var(--mauve);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.interactive-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(212, 165, 165, 0.5);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.interactive-card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
}

.interactive-card h3 {
  color: var(--chocolate);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}
.interactive-card .date {
  color: var(--mauve);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.interactive-card p {
  color: var(--chocolate);
  line-height: 1.6;
}

.pub-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--espresso);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  margin: 0.3rem 0.3rem 0 0;
  font-weight: 600;
}

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

.skill-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.skill-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;
}

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

.skill-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 50px rgba(212, 165, 165, 0.4);
}

.skill-card h3 {
  color: var(--chocolate);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  padding: 0.6rem 0;
  color: var(--chocolate);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--blush);
  transition: all 0.3s ease;
}

.skill-list li:last-child {
  border-bottom: none;
}

.skill-list li::before {
  content: "✓";
  color: var(--rose);
  font-weight: bold;
  font-size: 1.2rem;
}

.skill-list li:hover {
  padding-left: 0.5rem;
  color: var(--mauve);
}

.language-item {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  padding: 1rem 1.5rem;
  border-radius: 15px;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.language-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(212, 165, 165, 0.3);
}

.language-name {
  font-weight: 600;
  color: var(--chocolate);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.language-level {
  color: var(--mauve);
  font-size: 0.9rem;
}

.project-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.explore-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--espresso);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.explore-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(230, 195, 156, 0.5);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: linear-gradient(135deg, var(--cream), var(--blush));
  margin: 5% auto;
  padding: 3rem;
  border-radius: 30px;
  width: 85%;
  max-width: 800px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 80vh;
  overflow-y: auto;
  animation: slideInModal 0.4s ease;
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close {
  color: var(--chocolate);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: var(--rose);
  transform: rotate(90deg) scale(1.2);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(212, 165, 165, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 165, 165, 0.7);
}

/* Certification specific styles */
.cert-year-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cert-icon {
  font-size: 3rem;
}

.cert-timeline {
  border-left: 3px solid var(--rose);
  padding-left: 2rem;
  margin-left: 1.5rem;
}

.cert-item {
  margin-bottom: 2.5rem;
  position: relative;
}

.cert-dot {
  position: absolute;
  left: -2.6rem;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid white;
}

.cert-title {
  color: var(--chocolate);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.cert-provider {
  color: var(--mauve);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cert-tag {
  background: linear-gradient(135deg, var(--blush), var(--peach));
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-tag:hover {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  transform: scale(1.05);
}

.cert-button {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cert-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(212, 165, 165, 0.4);
}

.cert-list {
  list-style: none;
  padding: 0;
}

.cert-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--blush);
  color: var(--chocolate);
}

.cert-list li:last-child {
  border-bottom: none;
}

.cert-link {
  color: var(--mauve);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.cert-link:hover {
  text-decoration: underline;
}

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  .home-content h1 {
    font-size: 3rem;
  }
  .profile-circle {
    width: 300px;
    height: 300px;
    font-size: 7rem;
  }
  .profile-circle::before {
    width: 320px;
    height: 320px;
  }

  .education-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .home-content h1 {
    font-size: 2.2rem;
  }
  .modal-content {
    width: 95%;
    padding: 2rem;
  }
  section {
    padding: 100px 5% 60px;
  }

  .education-card {
    padding: 1.5rem;
  }

  .education-icon {
    font-size: 2.5rem;
  }
}

/* ============================================
   GALLERY SECTION - Swipeable Gallery
   ============================================ */

   .gallery-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
  }
  
  .gallery-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .gallery-header h3 {
    color: var(--chocolate);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  
  .gallery-header p {
    color: var(--mauve);
    font-size: 1rem;
    font-style: italic;
  }
  
  /* Gallery Slider Container */
  .gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 1rem;
    cursor: grab;
    user-select: none;
  }
  
  .gallery-container:active {
    cursor: grabbing;
  }
  
  .gallery-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
  }
  
  .gallery-slider.dragging {
    transition: none;
  }
  
  .gallery-item {
    min-width: calc(33.333% - 1rem);
    flex-shrink: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
  }
  
  .gallery-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 165, 165, 0.3);
  }
  
  .gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.95) 0%, rgba(44, 24, 16, 0.7) 50%, transparent 100%);
    color: white;
    padding: 2rem 1rem 1rem;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 600;
    transform: translateY(0);
    transition: transform 0.3s ease;
  }
  
  /* Gallery Navigation */
  .gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .gallery-btn {
    background: var(--chocolate);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(92, 61, 46, 0.3);
    font-weight: 300;
    line-height: 1;
  }
  
  .gallery-btn:hover {
    background: var(--mauve);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(154, 123, 140, 0.4);
  }
  
  .gallery-btn:active {
    transform: scale(1.05);
  }
  
  .gallery-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
  }
  
  .indicator:hover {
    opacity: 1;
    transform: scale(1.2);
  }
  
  .indicator.active {
    background: var(--chocolate);
    width: 30px;
    border-radius: 5px;
    opacity: 1;
  }
  
  /* Certificate Button in Organization Cards */
  .cert-button-org {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--peach));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  }
  
  .cert-button-org:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--peach), var(--gold));
  }
  
  .cert-button-org:active {
    transform: scale(0.98);
  }
  
  /* TOEFL Certificate Link */
.toefl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--chocolate);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(212, 165, 165, 0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.toefl-link:hover {
  background: var(--rose);
  color: white;
  transform: translateX(5px);
  border-color: var(--rose);
  box-shadow: 0 4px 15px rgba(212, 165, 165, 0.3);
}

  /* Responsive Design */
  @media (max-width: 768px) {
    .gallery-item {
      min-width: calc(100% - 1rem);
    }
  
    .gallery-section {
      padding: 2rem 1rem;
    }
  
    .gallery-item img {
      height: 250px;
    }
  
    .gallery-btn {
      width: 40px;
      height: 40px;
      font-size: 1.5rem;
    }
  
    .gallery-header h3 {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 1024px) {
    .gallery-item {
      min-width: calc(50% - 0.75rem);
    }
  }