:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary: #f59e0b;
  --accent: #06d6a0;
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f1f5f9;
  --text-light: #94a3b8;
  --light: #334155;
  --border: #475569;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4),
    0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navigation Styles */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  box-shadow: var(--shadow-lg);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  li:not(.nav-dropdown) {
    margin-top: 10px;
  }
}

.mobile-menu-checkbox {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  inset-inline-end: 50px;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 25px;
}

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

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Dropdown Navigation Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  min-width: 220px;
  backdrop-filter: blur(20px);
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  max-height: 0;
  overflow: hidden;
}

/* JavaScript controlled states */
.nav-dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  max-height: 300px;
  padding: 12px 0;
}

.nav-dropdown.show .dropdown-arrow {
  transform: rotate(180deg);
}

/* Animation classes for individual dropdown items */
.dropdown-link {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown.show .dropdown-link {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation delays for dropdown items */
.nav-dropdown.show .dropdown-link:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-dropdown.show .dropdown-link:nth-child(2) {
  transition-delay: 0.15s;
}
.nav-dropdown.show .dropdown-link:nth-child(3) {
  transition-delay: 0.2s;
}
.nav-dropdown.show .dropdown-link:nth-child(4) {
  transition-delay: 0.25s;
}
.nav-dropdown.show .dropdown-link:nth-child(5) {
  transition-delay: 0.3s;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 10px;
  margin: 0 12px;
  position: relative;
  overflow: hidden;
}

.dropdown-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

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

.dropdown-link:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary);
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.dropdown-link i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  padding: 40px 20px;
}

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

/* Section Styles */
.section {
  margin-bottom: 100px;
  scroll-margin-top: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  background: var(--card-bg);
  padding: 60px;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  max-width: 800px;
  animation: heroSlideIn 1s ease-out;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  border-radius: 32px;
  z-index: -1;
  opacity: 0.1;
  animation: borderGlow 4s ease-in-out infinite;
}

.hero-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--primary);
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.4),
    inset 0 0 20px rgba(139, 92, 246, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: contrast(1.1) brightness(1.05) saturate(1.2) hue-rotate(5deg)
    drop-shadow(0 10px 20px rgba(139, 92, 246, 0.3));
  position: relative;
  overflow: hidden;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(139, 92, 246, 0.2) 90deg,
    rgba(245, 158, 11, 0.2) 180deg,
    rgba(6, 214, 160, 0.2) 270deg,
    transparent 360deg
  );
  animation: imageRotate 8s linear infinite;
  z-index: -1;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  border-radius: 50%;
  z-index: -2;
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

.hero-image:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(139, 92, 246, 0.6),
    0 0 100px rgba(139, 92, 246, 0.3), inset 0 0 30px rgba(139, 92, 246, 0.2);
  filter: contrast(1.2) brightness(1.1) saturate(1.4) hue-rotate(15deg)
    drop-shadow(0 20px 40px rgba(139, 92, 246, 0.5));
  border-color: var(--primary);
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;

  .title {
    background: linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--secondary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

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

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

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(139, 92, 246, 0.4);
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--secondary) 100%
  );
}

.btn:active {
  transform: translateY(-1px);
}

/* Card Styles */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease-out backwards;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.1),
    transparent
  );
  transition: left 0.6s;
}

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

.card:hover {
  transform: translateY(-15px) rotateY(5deg);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

.card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Hobbies Section */
.hobby-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hobby-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.hobby-card:hover .hobby-image {
  transform: scale(1.1);
}

.hobby-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.hobby-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Section */
.contact-info {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--light);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

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

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Social Links */
.social-container {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(245, 158, 11, 0.1) 100%
  );
  padding: 40px;
  border-radius: 25px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.social-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(139, 92, 246, 0.15),
    transparent
  );
  animation: rotate 15s linear infinite;
  opacity: 0.3;
}

.social-title {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 25px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #334155, #1e293b);
  box-shadow: 20px 20px 60px #0f172a, -20px -20px 60px #475569;
  border: 1px solid rgba(71, 85, 105, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.2),
    transparent
  );
  transition: left 0.5s;
}

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

.social-link:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 25px 25px 80px #0a0f1a, -25px -25px 80px #52637a,
    0 20px 40px rgba(139, 92, 246, 0.4);
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.1) rotate(5deg);
}

.social-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.social-link:hover .social-label {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Countries Section */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.country-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: var(--card-bg);
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.country-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.country-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.country-info {
  padding: 25px;
}

.country-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* CV Section */
.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.cv-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.cv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cv-title {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-content p {
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.6;
}

.cv-content a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.cv-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

.skills-list li {
  padding: 12px 0;
  color: var(--text);
  position: relative;
  padding-left: 30px;
  transition: all 0.3s ease;
}

.skills-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.skills-list li:hover {
  color: var(--primary);
  transform: translateX(10px);
}

/* Form Styles */
.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--card-bg);
  font-family: inherit;
  resize: vertical;
  color: var(--text);
  position: relative;
}
select {
  background-color: #1e293b !important;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2),
    0 10px 20px rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    var(--card-bg) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
}

/* Birthday Section */
.birthday-container {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--card-bg) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  padding: 80px 60px;
  border-radius: 40px;
  box-shadow: var(--shadow-xl), 0 0 100px rgba(245, 158, 11, 0.2),
    inset 0 0 50px rgba(139, 92, 246, 0.1);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.birthday-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(245, 158, 11, 0.3) 0deg,
    rgba(139, 92, 246, 0.3) 90deg,
    rgba(6, 214, 160, 0.3) 180deg,
    rgba(245, 158, 11, 0.3) 270deg,
    rgba(245, 158, 11, 0.3) 360deg
  );
  animation: birthdayRotate 15s linear infinite;
  opacity: 0.4;
}

.birthday-container::after {
  content: "🎉 ✨ 🎂 🎈 🎊 🎁 ✨ 🎉";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: floatingEmojis 6s ease-in-out infinite;
  z-index: 1;
  letter-spacing: 20px;
}

.birthday-date-display {
  margin-bottom: 50px;
  position: relative;
  z-index: 3;
}

.date-card {
  display: inline-block;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  padding: 40px 60px;
  border-radius: 25px;
  box-shadow: var(--shadow-xl), 0 0 50px rgba(245, 158, 11, 0.4);
  transform: perspective(1000px) rotateY(0deg);
  animation: cardFloat 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.date-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: cardShine 3s ease-in-out infinite;
}

.month {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.day {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
  animation: dayPulse 2s ease-in-out infinite;
}

.celebration-icons {
  font-size: 1.8rem;
  letter-spacing: 8px;
  animation: iconsBounce 3s ease-in-out infinite;
}

.birthday-countdown {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  padding: 40px;
  border-radius: 25px;
  margin: 50px 0;
  border: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-lg);
}

.birthday-countdown h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-item {
  background: linear-gradient(145deg, var(--card-bg), #2d3748);
  padding: 25px 20px;
  border-radius: 20px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3),
    -10px -10px 30px rgba(71, 85, 105, 0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: countdownFloat 3s ease-in-out infinite;
}

.countdown-item:nth-child(1) {
  animation-delay: 0s;
}

.countdown-item:nth-child(2) {
  animation-delay: 0.5s;
}

.countdown-item:nth-child(3) {
  animation-delay: 1s;
}

.countdown-item:nth-child(4) {
  animation-delay: 1.5s;
}

.countdown-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.4),
    -15px -15px 40px rgba(71, 85, 105, 0.2), 0 0 30px rgba(245, 158, 11, 0.3);
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: numberGlow 2s ease-in-out infinite;
}

.countdown-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.birthday-image {
  width: 100%;
  max-width: 600px;
  border-radius: 30px;
  margin: 50px auto 30px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-xl), 0 0 50px rgba(245, 158, 11, 0.3);
  border: 3px solid transparent;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
    linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
  animation: imageGlow 4s ease-in-out infinite;
  transition: all 0.5s ease;
}

.birthday-image:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(245, 158, 11, 0.5);
}

.birthday-wishes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
  position: relative;
  z-index: 3;
}

.wish-card {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(6, 214, 160, 0.1) 100%
  );
  padding: 40px;
  border-radius: 25px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  animation: wishCardFloat 5s ease-in-out infinite;
}

.wish-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(139, 92, 246, 0.3);
}

.wish-card h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.wish-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
}

.birthday-message {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  padding: 40px;
  border-radius: 25px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  animation: messageGlow 6s ease-in-out infinite;
}

.birthday-message::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  border-radius: 27px;
  z-index: -1;
  opacity: 0.3;
  animation: messageBorder 4s ease-in-out infinite;
}

/* Birthday Animations */
@keyframes birthdayRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatingEmojis {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
    opacity: 0.8;
  }

  50% {
    transform: translateX(-50%) translateY(-20px);
    opacity: 1;
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: perspective(1000px) rotateY(0deg) translateY(0px);
  }

  25% {
    transform: perspective(1000px) rotateY(5deg) translateY(-10px);
  }

  50% {
    transform: perspective(1000px) rotateY(0deg) translateY(-15px);
  }

  75% {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
  }
}

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

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes dayPulse {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(255, 255, 255, 0.3);
  }

  50% {
    transform: scale(1.1);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4),
      0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(245, 158, 11, 0.8);
  }
}

@keyframes iconsBounce {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes countdownFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes numberGlow {
  0%,
  100% {
    filter: brightness(1);
    text-shadow: none;
  }

  50% {
    filter: brightness(1.3);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  }
}

@keyframes imageGlow {
  0%,
  100% {
    box-shadow: var(--shadow-xl), 0 0 50px rgba(245, 158, 11, 0.3);
  }

  50% {
    box-shadow: var(--shadow-xl), 0 0 80px rgba(245, 158, 11, 0.6),
      0 0 120px rgba(139, 92, 246, 0.4);
  }
}

@keyframes wishCardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes messageGlow {
  0%,
  100% {
    box-shadow: var(--shadow-lg);
  }

  50% {
    box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.4);
  }
}

@keyframes messageBorder {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes imageRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

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

  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  50% {
    transform: translateY(-10px);
  }
}

.social-link:nth-child(1) {
  animation: float 3s ease-in-out infinite;
}

.social-link:nth-child(2) {
  animation: float 3s ease-in-out infinite 0.5s;
}

.social-link:nth-child(3) {
  animation: float 3s ease-in-out infinite 1s;
}

/* Thank You Section */
.thank-you {
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #059669);
  color: white;
  padding: 60px;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you h2 {
  color: white;
  -webkit-text-fill-color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    gap: 30px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .mobile-menu-checkbox:checked ~ nav .nav-menu {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Dropdown Styles */
  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(15px);
    margin: 12px 0;
    border-radius: 12px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-dropdown.show .dropdown-menu {
    max-height: 350px;
    padding: 15px 0;
  }

  .nav-dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Mobile dropdown links */
  .dropdown-link {
    margin: 0 15px;
    padding: 12px 18px;
    border-radius: 8px;
  }

  /* Reset staggered animations for mobile */
  .dropdown-link {
    transition-delay: 0s !important;
  }

  .dropdown-link {
    margin: 0 15px;
    padding: 10px 15px;
  }

  .dropdown-toggle {
    justify-content: center;
    width: 100%;
  }

  /* Auto-close menu when nav links are clicked */
  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
  }

  .nav-container {
    height: 80px;
    padding: 0 20px;
  }

  .main-content {
    margin-top: 80px;
  }

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

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

  .hero-content {
    padding: 40px 30px;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    min-width: 100px;
    padding: 20px 15px;
  }

  .grid-2,
  .grid-3,
  .countries-grid,
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-info {
    padding: 30px 20px;
  }

  .social-container {
    padding: 30px 20px;
    margin-top: 30px;
  }

  .social-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .social-link {
    width: 100%;
    max-width: 280px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 20px 25px;
  }

  .social-icon {
    margin-right: 15px;
    margin-bottom: 0;
  }

  /* CV Section Mobile Responsiveness */
  .cv-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .cv-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .cv-content p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .skills-list li {
    padding: 10px 0;
    padding-left: 25px;
    font-size: 14px;
  }
}

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

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

  .hero-description {
    font-size: 1.1rem;
  }

  .card {
    padding: 20px;
  }

  .social-container {
    padding: 30px 20px;
  }

  .contact-form,
  .contact-info {
    padding: 25px 15px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
  }

  .birthday-container {
    padding: 40px 20px;
  }

  .hero-content {
    padding: 30px 20px;
  }

  /* CV Section for very small screens */
  .cv-grid {
    gap: 20px;
  }

  .cv-card {
    padding: 20px 15px;
    border-left-width: 3px;
  }

  .cv-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .cv-content p {
    font-size: 13px;
    line-height: 1.5;
  }

  .skills-list li {
    padding: 8px 0;
    padding-left: 20px;
    font-size: 13px;
  }

  .skills-list li::before {
    font-size: 1rem;
  }
}

/* Portfolio Specific Styles */

/* Hero/Cover Section Enhanced */
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 1rem;
  margin-top: 20px;
}

.location-icon {
  font-size: 1.2rem;
}

/* About Section */
.about-content {
  padding-right: 40px;
}

.about-title {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-highlights {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.highlight-item {
  text-align: center;
}

.highlight-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.highlight-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 5px;
}

.about-image-container {
  position: relative;
}

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

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 12px 20px;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Education Section */
.education-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--card-bg);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.timeline-dot.active {
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: -40px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.timeline-date {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.timeline-title {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.timeline-institution,
.timeline-company {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
}

.timeline-gpa {
  color: var(--text-light);
  margin-bottom: 15px;
  font-style: italic;
}

.timeline-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.timeline-responsibilities {
  list-style: none;
  margin-bottom: 20px;
}

.timeline-responsibilities li {
  color: var(--text-light);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.timeline-responsibilities li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Skills Section */
.skills-container {
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category {
  margin-bottom: 50px;
}

.category-title {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.skill-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

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

.skill-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.skill-name {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.skill-bar {
  background: var(--light);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Experience Section */
.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
}

/* Services Section */
.service-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-title {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  color: var(--text-light);
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.project-card.featured {
  grid-column: span 2;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
  opacity: 1;
}

.project-link {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.project-content {
  padding: 30px;
}

.project-title {
  color: var(--text);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.project-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.projects-footer {
  text-align: center;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid var(--border);
}

.projects-note {
  color: var(--text-light);
  font-size: 1.1rem;
}

.github-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.github-link:hover {
  color: var(--secondary);
}

/* Achievements Section */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.achievement-card {
  background: var(--card-bg);
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.achievement-title {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.achievement-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.achievement-year {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 25px;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info {
  flex: 1;
}

.author-name {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Enhanced Contact Section */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-title,
.contact-info-title {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-methods {
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-text {
  color: var(--text);
  font-size: 1rem;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(6, 214, 160, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(6, 214, 160, 0.5);
  animation: pulse 2s infinite;
}

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

.status-text {
  color: var(--accent);
  font-weight: 600;
}

.cta-section {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(245, 158, 11, 0.1) 100%
  );
  border-radius: 20px;
  margin: 40px 0;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.cta-title {
  color: var(--text);
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-description {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Brand-specific CTA button colors */
.cta-buttons .btn[href*="mailto"] {
  background: linear-gradient(135deg, #ea4335, #fbbc05);
  border-color: #ea4335;
  color: white;
}

.cta-buttons .btn[href*="mailto"]:hover {
  background: linear-gradient(135deg, #d33b2c, #f9ab00);
  border-color: #d33b2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
}

.cta-buttons .btn[href*="wa.me"] {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-color: #25d366;
  color: white;
}

.cta-buttons .btn[href*="wa.me"]:hover {
  background: linear-gradient(135deg, #128c7e, #075e54);
  border-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.cta-buttons .btn[href*="linkedin"] {
  background: transparent;
  color: #0077b5;
  border: 2px solid #0077b5;
}

.cta-buttons .btn[href*="linkedin"]:hover {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  color: white;
  border-color: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  min-width: 120px;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.social-link.linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3);
}

.social-link.github:hover {
  border-color: #333;
  box-shadow: 0 10px 30px rgba(51, 51, 51, 0.3);
}

.social-link.whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.social-link.email:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* Brand-specific contact icon colors */
.contact-icon.email-icon,
.social-link.email .social-icon {
  background: linear-gradient(135deg, #ea4335, #fbbc05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-icon.phone-icon,
.social-icon:has(.fa-mobile-alt) {
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-icon.location-icon,
.social-icon:has(.fa-map-marker-alt) {
  background: linear-gradient(135deg, #ff3b30, #ff9500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-icon.linkedin-icon,
.social-link.linkedin .social-icon {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-link.github .social-icon {
  background: linear-gradient(135deg, #333333, #24292e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-link.whatsapp .social-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-link.email .social-icon {
  background: linear-gradient(135deg, #ea4335, #fbbc05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Hover effects for brand colors */
.contact-icon.email-icon:hover,
.social-link.email:hover .social-icon {
  background: linear-gradient(135deg, #d33b2c, #f9ab00);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
}

.contact-icon.phone-icon:hover {
  background: linear-gradient(135deg, #0056cc, #32ade6);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.contact-icon.location-icon:hover {
  background: linear-gradient(135deg, #d70015, #e6751f);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 59, 48, 0.4);
}

.contact-icon.linkedin-icon:hover,
.social-link.linkedin:hover .social-icon {
  background: linear-gradient(135deg, #005885, #0077b5);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link.github:hover .social-icon {
  background: linear-gradient(135deg, #24292e, #586069);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(36, 41, 46, 0.4);
}

.social-link.whatsapp:hover .social-icon {
  background: linear-gradient(135deg, #128c7e, #075e54);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.social-link .social-icon {
  font-size: 2rem;
}

.social-link .social-label {
  color: var(--text);
  font-weight: 500;
}

/* Thank You Section */
.thank-you-section {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(245, 158, 11, 0.05) 100%
  );
  border-radius: 30px;
  margin: 60px 0;
  padding: 60px 0;
}

.thank-you-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.thank-you-title {
  color: var(--text);
  font-size: 3rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.thank-you-message {
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.thank-you-submessage {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

.thank-you-signature {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.signature-text {
  color: var(--text-light);
  font-style: italic;
}

.signature-name {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 600;
}

.signature-title {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.thank-you-visual {
  text-align: center;
  position: relative;
}

.gratitude-icon {
  font-size: 8rem;
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

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

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.float-element {
  position: absolute;
  font-size: 2rem;
  animation: float 4s ease-in-out infinite;
  opacity: 0.6;
}

.float-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.float-element:nth-child(2) {
  top: 10%;
  right: 15%;
  animation-delay: 1s;
}

.float-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

.float-element:nth-child(4) {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .about-highlights {
    justify-content: space-around;
  }

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

  .project-card.featured {
    grid-column: span 1;
  }

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

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

  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .thank-you-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .thank-you-signature {
    align-items: center;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--primary);
    padding-top: 20px;
    padding-left: 0;
  }
}
