/* 
  FadelDeveloper Portfolio 
  Main Stylesheet - Enhanced UI/UX Version
*/

/* ===== Base Styles ===== */
:root {
  /* Colors */
  --primary: #7e22ce; /* Purple 700 */
  --primary-light: #a855f7; /* Purple 500 */
  --primary-dark: #6b21a8; /* Purple 800 */
  --secondary: #4f46e5; /* Indigo 600 */
  --accent: #ec4899; /* Pink 500 - New accent color */
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --text: #1f2937; /* Gray 800 */
  --text-light: #4b5563; /* Gray 600 */
  --text-lighter: #9ca3af; /* Gray 400 */
  --bg-light: #ffffff;
  --bg-gray: #f9fafb; /* Gray 50 */
  --bg-dark: #111827; /* Gray 900 */
  --bg-dark-light: #1f2937; /* Gray 800 */
  --border-light: #e5e7eb; /* Gray 200 */
  --border-dark: #374151; /* Gray 700 */
  --success: #10b981; /* Emerald 500 */
  --info: #3b82f6; /* Blue 500 */
  --warning: #f59e0b; /* Amber 500 */
  --danger: #ef4444; /* Red 500 */
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-sans);
  --font-code: 'Fira Code', monospace;
  
  /* Sizing */
  --nav-height: 80px;
  --container-width: 1200px;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 15px rgba(126, 34, 206, 0.5);
}

/* Dark Theme Colors */
.dark-mode {
  --text: #f9fafb; /* Gray 50 */
  --text-light: #e5e7eb; /* Gray 200 */
  --text-lighter: #9ca3af; /* Gray 400 */
  --bg-light: #111827; /* Gray 900 */
  --bg-gray: #1f2937; /* Gray 800 */
  --bg-dark: #0f172a; /* Slate 900 */
  --bg-dark-light: #1e293b; /* Slate 800 */
  --border-light: #374151; /* Gray 700 */
  --border-dark: #4b5563; /* Gray 600 */
  --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-light);
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

input, textarea, select, button {
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-light);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dark-mode #preloader {
  background-color: var(--bg-dark);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.loader-inner span {
  display: inline-block;
}

.loader-inner span:first-child {
  color: var(--primary);
  margin-right: 0.25rem;
  animation: bounce 1.5s infinite 0.2s;
}

.loader-inner span:nth-child(2) {
  color: var(--text);
  animation: bounce 1.5s infinite 0.4s;
}

.loader-inner span:last-child {
  color: var(--primary);
  margin-left: 0.25rem;
  animation: bounce 1.5s infinite 0.6s;
}

.dark-mode .loader-inner span:nth-child(2) {
  color: var(--text-light);
}

.loader p {
  color: var(--text-light);
  letter-spacing: 0.1em;
  animation: fadeInOut 1.5s infinite;
}

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

@keyframes fadeInOut {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.top-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: linear-gradient(to bottom, var(--bg-light), transparent);
  z-index: 1;
}

.dark-mode .top-fade {
  background-image: linear-gradient(to bottom, var(--bg-dark), transparent);
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(50px);
  transition: opacity var(--transition-slow);
}

.dark-mode .bg-blob {
  opacity: 0.15;
}

.bg-blob-1 {
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
}

.bg-blob-2 {
  top: 30%;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary);
}

.bg-blob-3 {
  bottom: -100px;
  right: 25%;
  width: 350px;
  height: 350px;
  background-color: var(--primary-light);
}

.bg-blob-4 {
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
}

.bg-blob-5 {
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background-color: var(--secondary);
}

.bg-blob-6 {
  top: 0;
  right: 0;
  width: 350px;
  height: 350px;
  background-color: var(--primary);
}

.bg-blob-7 {
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background-color: var(--secondary);
}

.bg-blob-8 {
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background-color: var(--primary);
}

.bg-blob-9 {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary);
}

.bg-blob-10 {
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--primary);
}

.bg-blob-11 {
  bottom: 0;
  left: 0;
  width: 350px;
  height: 350px;
  background-color: var(--secondary);
}

.bg-blob-12 {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
}

.bg-blob-13 {
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background-color: var(--secondary);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-highlight {
  color: var(--primary);
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  margin-top: 1rem;
}

/* ===== Stars Background ===== */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.dark-mode .stars-container {
  opacity: 0.5;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.dark-mode .navbar {
  background-color: rgba(31, 41, 55, 0.95);
  border-bottom: 1px solid var(--border-dark);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  transition: height var(--transition-normal);
}

.navbar.scrolled .navbar-content {
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
}

.logo .bracket {
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.logo:hover .bracket:first-child {
  transform: rotate(10deg);
}

.logo:hover .bracket:last-child {
  transform: rotate(-10deg);
}

.logo .name {
  position: relative;
}

.logo:hover .name::after {
  width: 100%;
}

.logo .name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

.logo .highlight {
  color: var(--primary);
}

.desktop-menu {
  display: none;
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
    gap: 1.5rem;
  }
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
  background-color: rgba(126, 34, 206, 0.1);
}

.nav-link.active {
  color: white;
  background-color: var(--primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle, 
.mobile-menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text);
  background-color: rgba(228, 228, 231, 0.4);
  transition: all var(--transition-normal);
}

.dark-mode .theme-toggle,
.dark-mode .mobile-menu-toggle {
  background-color: rgba(63, 63, 70, 0.4);
  color: var(--text-light);
}

.theme-toggle:hover, 
.mobile-menu-toggle:hover {
  background-color: rgba(228, 228, 231, 0.8);
  transform: translateY(-2px);
}

.dark-mode .theme-toggle:hover,
.dark-mode .mobile-menu-toggle:hover {
  background-color: rgba(63, 63, 70, 0.8);
}

/* Tooltip for theme toggle */
.theme-toggle {
  position: relative;
}

.toggle-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 10;
}

.theme-toggle:hover .toggle-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Desktop nav icons */
.desktop-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.desktop-menu .nav-link i {
  font-size: 0.875rem;
}

/* Enhanced Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.dark-mode .mobile-menu {
  background-color: var(--bg-dark);
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.dark-mode .mobile-menu-header {
  border-color: var(--border-dark);
}

.mobile-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.mobile-logo .bracket {
  color: var(--primary);
}

.mobile-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-light);
  background-color: var(--bg-gray);
  transition: all var(--transition-normal);
}

.dark-mode .mobile-close {
  background-color: var(--bg-dark-light);
}

.mobile-close:hover {
  background-color: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.mobile-menu-links {
  padding: 1.5rem;
  flex-grow: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.mobile-nav-link i {
  width: 24px;
  margin-right: 1rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.mobile-nav-link:hover {
  background-color: var(--bg-gray);
  transform: translateX(5px);
}

.dark-mode .mobile-nav-link:hover {
  background-color: var(--bg-dark-light);
}

.mobile-nav-link.active {
  color: white;
  background-color: var(--primary);
  transform: translateX(5px);
}

.mobile-nav-link.active i {
  color: white;
}

.mobile-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.dark-mode .mobile-cta {
  border-color: var(--border-dark);
}

.mobile-theme-btn {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background-color: var(--bg-gray);
  color: var(--text);
  font-weight: 600;
  transition: all var(--transition-normal);
  gap: 0.5rem;
}

.dark-mode .mobile-theme-btn {
  background-color: var(--bg-dark-light);
  color: var(--text-light);
}

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

.mobile-theme-btn i {
  transition: transform var(--transition-normal);
}

.mobile-theme-btn:hover i {
  transform: rotate(30deg);
}

/* Backdrop when mobile menu is open */
.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 998;
  backdrop-filter: blur(3px);
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Floating Music Player */
.music-player-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  transition: all var(--transition-normal);
  background-color: var(--bg-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
}

.music-player-float.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dark-mode .music-player-float {
  background-color: var(--bg-dark-light);
  border-color: var(--border-dark);
}

.music-player-content {
  display: flex;
  align-items: center;
  padding-right: 1rem;
}

.music-toggle-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  transition: all var(--transition-normal);
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
}

.music-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  transition: all var(--transition-normal);
}

.music-toggle-btn:hover::before {
  transform: translateY(-100%);
}

.music-toggle-btn.playing {
  background-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.music-controls {
  display: none;
  align-items: center;
  margin-left: 1rem;
  gap: 1rem;
}

@media (min-width: 640px) {
  .music-controls {
    display: flex;
  }
}

.song-info {
  display: flex;
  flex-direction: column;
}

.song-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.dark-mode .song-title {
  color: var(--text-light);
}

.song-artist {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Music visualizer */
#music-visualizer {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 15px;
}

#music-visualizer span {
  display: inline-block;
  width: 3px;
  height: 5px;
  margin: 0 1px;
  background-color: white;
  animation-name: music-visualize;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.music-toggle-btn.playing #music-visualizer span {
  opacity: 1;
}

#music-visualizer span:nth-child(1) { animation-duration: 0.6s; }
#music-visualizer span:nth-child(2) { animation-duration: 0.5s; }
#music-visualizer span:nth-child(3) { animation-duration: 0.8s; }
#music-visualizer span:nth-child(4) { animation-duration: 0.4s; }
#music-visualizer span:nth-child(5) { animation-duration: 0.7s; }

@keyframes music-visualize {
  0% { height: 5px; }
  100% { height: 15px; }
}

/* Volume control */
.volume-control {
  position: relative;
}

#volume-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  color: var(--text-light);
  transition: all var(--transition-normal);
}

#volume-button:hover {
  background-color: var(--bg-gray);
  color: var(--primary);
}

.dark-mode #volume-button:hover {
  background-color: var(--bg-dark);
}

#volume-slider-container {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 0.5rem;
  width: 120px;
  transition: all var(--transition-normal);
  z-index: 10;
}

.dark-mode #volume-slider-container {
  background-color: var(--bg-dark-light);
  border-color: var(--border-dark);
}

#volume-slider-container.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

#volume-slider {
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  height: 4px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  outline: none;
}

.dark-mode #volume-slider {
  background: var(--bg-dark);
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.dark-mode #volume-slider::-webkit-slider-thumb {
  border-color: var(--bg-dark-light);
}

/* Fixed play button for small screens */
@media (max-width: 639px) {
  .music-player-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  
  .music-toggle-btn {
    border-radius: 50%;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--nav-height);
}

.profile-image {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 2rem;
}

.image-container {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 4px solid var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.profile-image:hover .image-container {
  transform: scale(1.05);
}

.profile-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 4px solid rgba(126, 34, 206, 0.3);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
}

.title-text {
  color: var(--text);
}

.dark-mode .title-text {
  color: var(--text-light);
}

.title-highlight {
  color: var(--primary);
}

.hero-title .title-underline {
  bottom: -0.5rem;
  height: 0.25rem;
}

.typing-container {
  height: 2.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.typing-effect {
  font-family: var(--font-code);
  font-size: 1.5rem;
  color: var(--text-light);
  display: inline-block;
  border-right: 0.15em solid var(--primary);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.text-highlight {
  color: var(--primary);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(126, 34, 206, 0.3);
}

.secondary-btn {
  background-color: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border-light);
}

.dark-mode .secondary-btn {
  background-color: var(--bg-dark-light);
  color: var(--text-light);
  border-color: var(--border-dark);
}

.secondary-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(226, 232, 240, 0.3);
}

.dark-mode .secondary-btn:hover {
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

.btn i {
  margin-right: 0.5rem;
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

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

.scroll-text {
  display: block;
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-bottom: 0.5rem;
}

.scroll-icon {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 6px;
  height: 10px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* ===== About Section ===== */
.about-section {
  background-color: var(--bg-gray);
}

.dark-mode .about-section {
  background-color: var(--bg-dark);
}

.about-tabs {
  background-color: var(--bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.dark-mode .about-tabs {
  background-color: var(--bg-dark-light);
}

.about-tabs:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), 0 15px 30px rgba(126, 34, 206, 0.1);
}

.tab-navigation {
  display: flex;
  background-color: var(--bg-gray);
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  margin: 1.5rem;
}

.dark-mode .tab-navigation {
  background-color: var(--bg-dark);
}

.tab-btn {
  flex: 1;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  color: var(--text-light);
}

.tab-btn:hover {
  color: var(--text);
}

.dark-mode .tab-btn:hover {
  color: var(--text-light);
}

.tab-btn.active {
  background-color: var(--bg-light);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.dark-mode .tab-btn.active {
  background-color: var(--bg-dark-light);
}

.tab-content-container {
  padding: 0 1.5rem 1.5rem;
}

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

.tab-content.active {
  display: block;
}

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

.story-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .story-layout {
    flex-direction: row;
  }
  
  .story-image-column {
    width: 30%;
  }
  
  .story-content-column {
    width: 70%;
  }
}

.about-image {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  display: flex;
  justify-content: center;
}

.overlay-text {
  text-align: center;
}

.overlay-text .name {
  font-weight: 700;
  font-size: 1.25rem;
}

.overlay-text .role {
  font-size: 0.875rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--bg-gray);
  transition: all var(--transition-normal);
}

.dark-mode .social-link {
  background-color: var(--bg-dark);
}

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

.content-title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.quote-icon {
  color: var(--primary);
  margin-right: 0.5rem;
}

.content-paragraph {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background-color: var(--bg-gray);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.dark-mode .role-badges {
  background-color: var(--bg-dark);
  border-color: var(--border-dark);
}

.role-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.dark-mode .role-badge {
  background-color: var(--bg-dark-light);
}

.role-badge i {
  color: var(--primary);
}

/* Mission Tab */
.mission-content {
  padding: 2rem 1rem;
}

.mission-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mission-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  background-color: rgba(126, 34, 206, 0.1);
  border-radius: var(--radius-full);
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.mission-statement {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-gray);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal);
}

.dark-mode .value-card {
  background-color: var(--bg-dark);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.create-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981; /* Emerald 500 */
}

.learn-icon {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6; /* Blue 500 */
}

.share-icon {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b; /* Amber 500 */
}

.value-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Approach Tab */
.approach-content {
  padding: 2rem 1rem;
}

.approach-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.approach-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  background-color: rgba(126, 34, 206, 0.1);
  border-radius: var(--radius-full);
}

.approach-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.approach-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .approach-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.approach-card {
  position: relative;
  padding: 1.5rem;
  background-color: var(--bg-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.dark-mode .approach-card {
  background-color: var(--bg-dark);
}

.approach-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  background-color: rgba(126, 34, 206, 0.05);
  border-bottom-left-radius: var(--radius-lg);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-right: 60px;
}

.card-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.approach-list i {
  color: #10b981; /* Emerald 500 */
  margin-top: 0.25rem;
}

/* ===== Skills Section ===== */
.skills-section {
  background-color: var(--bg-light);
}

.dark-mode .skills-section {
  background-color: var(--bg-dark-light);
}

.skills-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.675rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  background-color: var(--bg-gray);
  color: var(--text-light);
}

.dark-mode .filter-btn {
  background-color: var(--bg-dark);
}

.filter-btn:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.dark-mode .filter-btn:hover {
  color: var(--text-light);
}

.filter-btn.active {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(126, 34, 206, 0.2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.dark-mode .skill-card {
  background-color: var(--bg-dark-light);
}

.skill-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.skill-top-bar {
  height: 6px;
  background-color: #000;
}

.skill-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.badge-language {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6; /* Blue 500 */
}

.dark-mode .badge-language {
  background-color: rgba(59, 130, 246, 0.2);
}

.badge-framework {
  background-color: rgba(126, 34, 206, 0.1);
  color: #7e22ce; /* Purple 700 */
}

.dark-mode .badge-framework {
  background-color: rgba(126, 34, 206, 0.2);
}

.badge-tool {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981; /* Emerald 500 */
}

.dark-mode .badge-tool {
  background-color: rgba(16, 185, 129, 0.2);
}

.skill-content {
  padding: 1.5rem;
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.skill-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-right: 1rem;
  background-color: var(--bg-gray);
  border-radius: var(--radius-md);
}

.dark-mode .skill-icon {
  background-color: var(--bg-dark);
}

.skill-info {
  flex: 1;
}

.skill-name {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.skill-level {
  font-size: 0.875rem;
  color: var(--text-lighter);
}

.skill-progress {
  height: 10px;
  background-color: var(--bg-gray);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.dark-mode .skill-progress {
  background-color: var(--bg-dark);
}

.progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1s ease-out;
}

.skill-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.skills-footer {
  text-align: center;
  margin-top: 4rem;
}

.skills-quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.skills-cta {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.skills-cta:hover {
  transform: translateX(5px);
}

.skills-cta i {
  margin-left: 0.5rem;
  transition: transform var(--transition-normal);
}

.skills-cta:hover i {
  transform: translateX(3px);
}

/* ===== Projects Section ===== */
.projects-section {
  background-color: var(--bg-gray);
}

.dark-mode .projects-section {
  background-color: var(--bg-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.dark-mode .project-card {
  background-color: var(--bg-dark-light);
}

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

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}

.project-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  background-color: rgba(126, 34, 206, 0.1);
  border-radius: var(--radius-full);
}

.project-type {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  background-color: rgba(126, 34, 206, 0.1);
  border-radius: var(--radius-full);
}

.project-title {
  padding: 1rem 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.project-description {
  padding: 0.75rem 1.5rem;
  color: var(--text-light);
  flex-grow: 1;
  line-height: 1.6;
}

.project-tech {
  padding: 0.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-gray);
  border-radius: var(--radius-full);
}

.dark-mode .tech-badge {
  background-color: var(--bg-dark);
}

.project-links {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  margin-top: 1rem;
}

.dark-mode .project-links {
  border-color: var(--border-dark);
}

.project-link {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.project-link:hover {
  background-color: var(--bg-gray);
  color: var(--primary);
}

.dark-mode .project-link:hover {
  background-color: var(--bg-dark);
}

/* ===== Thanks Section ===== */
.thanks-section {
  background-color: var(--bg-light);
}

.dark-mode .thanks-section {
  background-color: var(--bg-dark-light);
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.thanks-card {
  background-color: var(--bg-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.dark-mode .thanks-card {
  background-color: var(--bg-dark);
}

.thanks-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: -1;
}

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

.thanks-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  background-color: var(--bg-light);
  box-shadow: var(--shadow-md);
}

.dark-mode .thanks-icon {
  background-color: var(--bg-dark-light);
}

.thanks-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.thanks-relation {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.thanks-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
  transition: all var(--transition-normal);
  font-size: 0.875rem;
}

.dark-mode .thanks-action {
  background-color: var(--bg-dark-light);
}

.thanks-action:hover {
  background-color: var(--primary);
  color: white;
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: var(--bg-gray);
}

.dark-mode .contact-section {
  background-color: var(--bg-dark);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.contact-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.dark-mode .contact-card {
  background-color: var(--bg-dark-light);
}

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

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.whatsapp-icon {
  color: #25D366;
  background-color: rgba(37, 211, 102, 0.1);
}

.instagram-icon {
  color: #E1306C;
  background-color: rgba(225, 48, 108, 0.1);
}

.email-icon {
  color: var(--primary);
  background-color: rgba(126, 34, 206, 0.1);
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-gray);
  color: var(--text);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.dark-mode .contact-link {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.contact-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.dark-mode .contact-form-container {
  background-color: var(--bg-dark-light);
}

.form-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text);
}

.dark-mode .form-title {
  color: var(--text-light);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.contact-form label {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-gray);
  transition: all var(--transition-normal);
}

.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
  border-color: var(--border-dark);
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(126, 34, 206, 0.2);
}

.submit-btn {
  grid-column: span 2;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(126, 34, 206, 0.3);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}

.dark-mode .footer {
  background-color: var(--bg-dark-light);
  border-color: var(--border-dark);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--bg-gray);
  transition: all var(--transition-normal);
}

.dark-mode .social-icon {
  background-color: var(--bg-dark);
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: var(--primary);
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.dark-mode .footer-bottom {
  border-color: var(--border-dark);
}

.copyright {
  color: var(--text-light);
  font-size: 0.875rem;
}

.back-to-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--bg-gray);
  color: var(--text);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.dark-mode .back-to-top {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.back-to-top:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== Animation Classes ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Helpers ===== */
.hidden {
  display: none !important;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .typing-effect {
    font-size: 1.25rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .submit-btn {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .tab-navigation {
    flex-direction: column;
  }
  
  .tab-btn {
    padding: 0.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
}