/* === 1. Imports & Root Variables === */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Lora:wght@600&display=swap");

:root {
  /* Brand Colors */
  --primary-color: #ec4899;
  --primary-hover: #db2777;
  --accent-pink-light: #fce7f3;
  --accent-pink: #fbcfe8;
  --accent-pink-medium: #f472b6;
  --accent-dusty-pink: #d8a3b8;
  --accent-peach: #ffe4e6;

  /* Light Theme Variables */
  --bg-main: #ffffff;
  --bg-secondary: #fdf2f8;
  --bg-muted: #f1f1f1;
  --bg-light: #e5e7eb;
  --bg-gradient: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 100%);
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --input-bg: #ffffff;
  --input-border: #fbcfe8;
  --white: #ffffff;

  /* Global Settings */
  --radius: 12px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

/* === 2. Dark Theme Variables === */
body.dark-theme {
  --bg-main: #0f172a;
  --bg-secondary: #1e293b;
  --bg-gradient: radial-gradient(circle at top, #1e1b4b 0%, #0f172a 100%);
  --text-dark: #f8fafc;
  --text-light: #cbd5e1;
  --input-bg: rgba(30, 41, 59, 0.7);
  --input-border: rgba(255, 255, 255, 0.1);
  --primary-color: #f472b6;
  --dark-theme: #0b1120;
  --dark-theme-deep: #2a0f1f;
  --dark-theme-light: #f1f5f9;
}

/* === 3. Base Styles === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
  background-color: var(--white);
  transition: background-color var(--transition);
}

section {
  scroll-margin-top: 100px;
}

h1,
h2,
h3,
.project-card h4 {
  font-family: "Lora", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* === 4. Animated Background === */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-gradient);
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent-pink);
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.5;
  animation: move 20s infinite alternate;
  will-change: transform;
}

.blob-2 {
  background: var(--accent-peach);
  right: -10%;
  bottom: -10%;
  animation-delay: -5s;
}

body.dark-theme .blob {
  background: var(--primary-color);
  opacity: 0.2;
}

@keyframes move {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(100px, 100px);
  }
}

/* === 5. Components (Theme Dependent) === */

/* Header */
body.dark-theme .header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
}

/* Hero Section */
body.dark-theme .hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-theme .hero-section h2 {
  color: var(--text-light);
}

/* Projects */
.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

body.dark-theme .project-image {
  filter: brightness(0.9);
  opacity: 0.75;
}

body.dark-theme .project-card {
  box-shadow: none;
  border-color: var(--input-border);
}

body.dark-theme .project-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-color);
}

body.dark-theme .project-card:hover .project-image {
  opacity: 1;
  transform: scale(1.05);
}

/* Form & Skills */
body.dark-theme .contact-section_form {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--input-border);
}

body.dark-theme .skills-list span {
  background-color: var(--bg-secondary-dark);
  color: var(--dark-theme-light);
  border: 1px solid var(--input-border);
}

body.dark-theme .footer {
  background-color: var(--dark-theme);
}

body.dark-theme .footer .link:hover,
body.dark-theme .footer .footer_address-link:hover {
  color: var(--white);
  text-shadow: 0 0 10px var(--primary-color);
  transform: translateY(-2px);
}

body.dark-theme .footer_address-info .footer_address-link:hover {
  color: var(--white);
  text-decoration: underline;
  transform: none;
}

#theme-toggle {
  position: relative;
  z-index: 5;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  min-width: 42px;
  height: 42px;
  flex-shrink: 0;
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle:hover {
  background: var(--primary-color);
  color: var(--text-dark);
}

.input_control {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-dark);
  padding: 14px 20px;
  border-radius: var(--radius);
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  outline: none;
}

.input_control::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

.input_control:hover {
  border-color: var(--primary-color);
}

.input_control:focus {
  border-color: var(--primary-color);
  background-color: var(--input-bg);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

/* === 3. Buttons === */
button,
.contact-section_button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
  font-family: inherit;
}

button:hover,
.contact-section_button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

/* === 4. Header === */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
  z-index: 1000;
}

.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header_nav img {
  height: 90px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.header_nav a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header_menu {
  display: flex;
  gap: 30px;
}

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

.theme-toggle-button {
  padding: 10px 15px;
}

.header_menu a.active {
  color: var(--primary-color);
  font-weight: 700;
}

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

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

/* === 5. Hero Section === */
.hero-section {
  padding: 4rem 0 4rem;
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-main) 100%
  );
  text-align: center;
}

.hero-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 4px solid var(--accent-pink);
  box-shadow:
    0 0 15px rgba(236, 72, 153, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.hero-avatar:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
}

body.dark-theme .hero-avatar {
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(236, 72, 153, 0.3);
}

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

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

.hero-section h2 {
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.hero-section p {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: scale(1.05) rotate(-1deg);
}

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

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

.mobile-text {
  display: none;
}

/* === 6. About Section === */
.about-section {
  padding: 80px 0;
  text-align: center;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: var(--text-dark);
  font-size: 16px;
}

.languages-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.badge {
  padding: 8px 20px;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  background: var(--bg-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}

.badge:hover {
  background: var(--primary-color);
  color: var(--bg-main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

body.dark-theme .badge {
  background: rgba(30, 41, 59, 0.6);
  color: var(--primary-color);
}

.interests-container {
  margin-top: 60px;
}

.interests-container h3 {
  font-size: 1.5rem;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.interest-item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.interest-item i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.interest-item span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.interest-item:hover {
  background: var(--white);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(236, 72, 153, 0.15);
  border-color: var(--primary-color);
}

body.dark-theme .interest-item {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

/* === 7. Sections (General) === */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 12px auto 0;
  border-radius: 2px;
}

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

.projects-section h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1.5rem;
  color: var(--text-light);
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
  grid-column: 1 / -1;
}

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

.projects-section_container > * {
  height: 100%;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--bg-light);
  transition: 0.3s var(--transition);
  cursor: pointer;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--bg-secondary);
  transition: transform 0.5s ease;
}

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

.project-card h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.project-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  flex-grow: 1;
  font-size: 0.95rem;
}

.project-card a {
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

.project-card button {
  width: 100%;
  display: block;
  background-color: var(--bg-secondary);
  color: var(--primary-color);
}

.project-card button:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* === 9. Skills === */
.skills-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.skills-container h3 {
  margin-top: 2rem;
  color: var(--text-dark);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.skills-list span {
  background-color: var(--bg-secondary);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--bg-light);
  transition: var(--transition);
}

.skills-list span:hover {
  background-color: var(--accent-pink-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

/* === 10. Contact Section === */
.contact-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.contact-section iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: grayscale(100%) opacity(0.7);
  border: 0;
  transition: all 0.5s ease;
}

.contact-section:hover iframe {
  filter: grayscale(0%) opacity(1);
}

.contact-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.contact-section_form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  text-align: center;
  pointer-events: auto;
}

.contact-section_container {
  margin: 0;
  justify-content: center;
}

.contact-section_form h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-section_form-field {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* === 11. Footer === */
.footer {
  background-color: var(--dark-theme-deep);
  color: var(--accent-pink-light);
  padding: 4rem 0 2rem;
}

.footer_container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer img {
  width: 100%;
  max-width: 200px;
  height: auto;
  max-height: 300px;
}

.footer_menu {
  display: flex;
  gap: 25px;
}

.footer .link,
.footer_address-link {
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.footer .link:hover,
.footer_address-link:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer_menu .link {
  color: var(--accent-pink-medium);
}

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

.footer_contacts {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_address-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer_address-link {
  color: var(--accent-pink-medium);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer_address-info .footer_address-link {
  transition: color 0.3s ease;
  text-decoration: none;
}

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

.footer_socials {
  display: flex;
  gap: 20px;
}

.footer_socials a {
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  background-color: var(--accent-pink-medium);
}

.footer_socials a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.footer_socials i {
  font-size: 1.2rem;
  color: var(--white);
}

.footer_address-info {
  margin-top: 3rem;
  text-align: center;
  color: var(--accent-dusty-pink);
  font-size: 0.9rem;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  padding: 0;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--bg-main);
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition:
    background-color 0.3s,
    transform 0.3s;
}

#scrollToTopBtn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

/* === Custom Scrollbar === */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* === Typed.js Cursor === */
.typed-cursor {
  color: var(--primary-color);
  font-size: inherit;
}

/* =========================================
   SUCCESS PAGE STYLES
   ========================================= */

.success-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  padding: 0;
}

.success-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  animation: floatIcon 3s ease-in-out infinite;
}

.success-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-dark);
}

.success-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* === 12. Adaptability (Mobile & Tablet) === */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  /* --- Header --- */
  .header {
    padding: 10px 0;
  }

  .header_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .header_nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
  }

  .header_nav img {
    height: 35px;
    flex-shrink: 0;
  }

  .header_menu {
    display: flex;
    flex-direction: row;
    gap: 12px;
    font-size: 13px;
  }

  .header_actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
  }

  #theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    padding: 0;
    flex-shrink: 0;
  }

  .btn-primary,
  .btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 35px;
    padding: 8px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    white-space: nowrap;
  }

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: inline;
  }

  /* --- Hero Section --- */
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-avatar {
    width: 110px;
    height: 110px;
    margin-bottom: 10px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 240px;
    height: auto;
    padding: 12px 0;
    font-size: 14px;
  }

  button,
  .btn-primary {
    transition: 0.2s ease;
  }

  button:hover {
    transform: scale(1.05);
  }

  /* About Section */
  .about-section {
    padding: 50px 20px;
    text-align: center;
  }

  .about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }

  .about-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
  }

  .about-section p {
    font-size: 15px;
    text-align: left;
    line-height: 1.6;
    color: var(--text-dark);
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 0 10px;
  }

  .languages-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
  }

  .badge {
    padding: 10px;
    font-size: 12px;
  }

  .interests-container {
    margin-top: 40px;
  }

  .interests-container h3 {
    font-size: 1.5rem;
  }

  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .interest-item {
    padding: 15px;
  }

  .interest-item i {
    font-size: 2.2rem;
  }

  .interest-item span {
    font-size: 1rem;
  }

  /* Experience Section */
  .experience-section {
    padding: 30px 0 20px;
  }

  .experience-section h2 {
    font-size: 32px;
    margin: 0 0 40px;
  }

  .timeline {
    position: relative;
    padding-left: 20px;
  }

  .timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
  }

  .timeline-item {
    margin-bottom: 50px;
    position: relative;
  }

  .timeline-dot {
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
  }

  .timeline-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .timeline-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .timeline-location {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    font-style: italic;
  }

  .timeline-content ul {
    padding-left: 18px;
    margin-bottom: 20px;
  }

  .timeline-content li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-dark);
  }

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

  .skills-list span {
    background: var(--bg-secondary);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
  }

  /* Projects Section */
  .projects-section {
    padding: 30px 0 20px;
  }

  .projects-section h2 {
    font-size: 1.8em;
    margin: 20px 0;
  }

  /* Skills Section */
  .skills-section {
    padding: 30px 0 40px;
  }

  .skills-section h2 {
    font-size: 1.8em;
    margin: 20px 0;
  }

  .skills-list {
    display: flex;
    justify-content: center;
  }

  /* --- Contact Section --- */
  .contact-section {
    padding: 50px 20px;
  }

  .contact-section h2 {
    font-size: 1.8em;
  }

  .contact-section-text {
    font-size: 1rem;
  }

  .contact-section_form {
    padding: 2.5rem 2rem;
    width: 100%;
  }

  .form-terms {
    font-size: 0.5rem;
  }

  /* --- Footer --- */
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 15px;
  }

  .footer_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
  }

  .footer_nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .footer img {
    height: 60px;
  }

  .footer_menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    font-size: 15px;
  }

  .footer_address {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-style: normal;
    width: 100%;
  }

  .footer_contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer_address-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 1rem;
  }

  .footer_address-link {
    font-size: 14px;
  }

  .footer_socials {
    gap: 15px;
  }

  .footer_address-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 2rem;
  }

  .footer_address-copyright {
    font-size: 11px;
    margin: 0;
  }

  .success-icon {
    font-size: 4rem;
  }

  .success-content h1 {
    font-size: 2.5rem;
  }

  .success-content p {
    font-size: 1rem;
  }
}

/* Mobile phones (up to 480px) */
@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 15px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section h2 {
    font-size: 16px;
  }

  .hero-section p {
    font-size: 18px;
  }

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

  .header_actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  button,
  .contact-section_button {
    width: 100%;
    text-align: center;
  }

  .header_actions button {
    width: auto;
  }
}
