/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --accent-color: #60a5fa;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Alternating section colors */
  --section-1: #e0f2fe;
  --section-2: #f8fafc;
  --section-3: #e0f2fe;
  --section-4: #f8fafc;
  --section-5: #e0f2fe;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

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

.btn-cv {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border: 2px solid #1e40af;
  position: relative;
  overflow: hidden;
}

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

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

.btn-cv:hover {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

/* Floating CV Button */
.cv-fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: fab-bounce 2s ease-in-out infinite;
}

.cv-fab {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.cv-fab:hover::before {
  left: 100%;
}

.cv-fab:hover {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.cv-fab:active {
  transform: translateY(0) scale(0.95);
}

.cv-fab i {
  font-size: 16px;
}

.cv-fab-text {
  font-weight: 600;
}

/* FAB bounce animation */
@keyframes fab-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cv-fab-container {
    bottom: 20px;
    right: 20px;
  }

  .cv-fab {
    padding: 12px 16px;
    font-size: 12px;
  }

  .cv-fab i {
    font-size: 14px;
  }

  .cv-fab-text {
    display: inline;
  }
}

@media (max-width: 480px) {
  .cv-fab {
    padding: 10px 14px;
    border-radius: 25px;
  }

  .cv-fab-text {
    font-size: 11px;
  }
}

.btn:active {
  transform: translateY(0);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Animations */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.animate-text:nth-child(2) {
  animation-delay: 0.3s;
}

.animate-text:nth-child(3) {
  animation-delay: 0.5s;
}

.animate-text:nth-child(4) {
  animation-delay: 0.7s;
}

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

/* Show More Button */
.show-more-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.show-more-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.show-more-btn:active {
  transform: translateY(0);
}
