/* ====== Theme Variables ====== */
:root {
  --color-bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --color-text-primary: #f3f4f6;
  --color-text-secondary: #d1d5db;
  --color-accent: #facc15;
  --color-accent-hover: #eab308;
  --color-accent-shadow: rgba(250, 204, 21, 0.3);
  --color-bg-card: rgba(255, 255, 255, 0.05);
  --color-bg-card-hover: rgba(255, 255, 255, 0.12);
  --color-shadow-dark: rgba(0, 0, 0, 0.3);
  --font-family-base: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --transition-speed: 0.3s;
  --border-radius: 12px;
  --max-width-container: 1200px;
}

/* ====== Reset and Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, box-shadow
    var(--transition-speed) ease, transform var(--transition-speed) ease;
}

body {
  font-family: var(--font-family-base);
  background: var(--color-bg-gradient);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 1rem 2rem 3rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ====== Header/Navbar Styles ====== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 5px 15px var(--color-shadow-dark);
  height: var(--navbar-height);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  z-index: 1001;
  background-color: inherit;
  padding: 0.25rem 0;
  margin: 0;
}

/* === Navigation === */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === Nav Link Styles === */
.nav-links li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: var(--color-accent);
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

/* ====== Profile Section Adjustments ====== */
.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 85vh;
  padding: clamp(20px, 5vh, 40px) 20px;
  margin-top: clamp(20px, 5vh, 60px);
  gap: clamp(1rem, 2vw, 2rem);
  scroll-margin-top: 80px;
  position: relative;
}

/* ===== Profile Content ===== */
.profile-image-wrapper {
  width: clamp(140px, 12vw, 180px);
  height: clamp(140px, 12vw, 180px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px #facc15;
  margin-bottom: 0.5rem;
  margin-top: 80px;
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #facc15;
}

.profile-text {
  text-align: center;
  width: 100%;
}

.profile-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.profile-text h2 span {
  color: var(--color-accent);
}

.profile-text p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 1rem;
  color: #ccc;
}

/* ===== Buttons ===== */
.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  width: 100%;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #111;
  border: none;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.5);
  background: linear-gradient(135deg, #fde047, #facc15);
}

.btn-secondary {
  background: transparent;
  color: #facc15;
  border: 2px solid #facc15;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #facc15;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn-secondary:hover {
  color: #111;
}

/* ===== Responsive Breakpoints ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .profile-text h2 {
    font-size: 2.2rem;
  }
  .profile-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .profile-container {
    padding-top: 3rem;
    margin-top: 1rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 80%;
    max-width: 220px;
  }
}

/* about section */
.about-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--max-width-container);
  margin: 2rem auto;
  padding: 0 1rem;
}

.about-section {
  margin-top: 10rem;
  margin-bottom: 6rem;
  scroll-margin-top: 80px;
}

.section-title h6 {
  font-size: 1.2rem;
}

.about-text,
.about-edu {
  flex: 1 1 320px;
  max-width: 350px;
  background: var(--color-bg-card);
  padding: 2.5rem 2.5rem 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px var(--color-shadow-dark);
  color: var(--color-text-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-text:hover,
.about-edu:hover {
  box-shadow: 0 12px 30px var(--color-accent-shadow);
  transform: translateY(-6px);
  cursor: default;
}

.about-text::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 2rem;
  height: 80%;
  width: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.about-text:hover::before {
  opacity: 1;
}

.about-text h4 {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.3rem;
}

.about-text p {
  line-height: 1.9rem;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  word-spacing: normal;
}

.about-edu h4 {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.3rem;
}

.about-edu p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.edu-courses {
  list-style: inside disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.edu-courses li {
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.edu-courses li:hover {
  color: var(--color-accent);
  cursor: default;
}

@media (max-width: 1024px) {
  .about-text,
  .about-edu {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-container {
    gap: 2rem;
  }
}

.about-interest {
  flex: 1 1 320px;
  max-width: 350px;
  background: var(--color-bg-card);
  padding: 2.5rem 2.5rem 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px var(--color-shadow-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-interest:hover {
  box-shadow: 0 12px 30px var(--color-accent-shadow);
  transform: translateY(-6px);
}

.about-interest h4 {
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.3rem;
  font-size: 1.05rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  text-align: center;
}

.interest-icon {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.interest-icon:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.icon-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.icon-label:hover {
  color: var(--color-accent);
}

.icon-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  font-style: italic;
}

@media (max-width: 1024px) {
  .about-interest {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 900px) {
  .about-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .about-text,
  .about-edu {
    flex: 1 1 100%;
    padding: 2rem 1.5rem 2.5rem;
  }

  .about-text::before {
    left: 1rem;
    top: 1.5rem;
    height: 70%;
    width: 3px;
  }
}

@media (max-width: 480px) {
  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p,
  .about-edu p {
    font-size: 1rem;
  }

  .edu-courses {
    margin-left: 1rem;
  }
}

/* section title for all sections */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #facc15;
  margin: 3rem 0 2rem;
  position: relative;
  font-weight: bold;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #facc15;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* ====== Skills Section ====== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.75rem;
  padding: 0 1rem;
  max-width: var(--max-width-container);
  margin: 2rem auto;
}

.skills-section {
  margin-bottom: 6rem;
  scroll-margin-top: 80px;
}

.skill-card {
  background: var(--color-bg-card);
  padding: 1.5rem 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 18px var(--color-shadow-dark);
  text-align: center;
  color: var(--color-text-primary);
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.skill-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.75rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s ease;
}

.skill-card p {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--color-text-primary);
  user-select: text;
}

.skill-card:hover {
  box-shadow: 0 12px 30px var(--color-accent-shadow);
  transform: translateY(-8px);
}

.skill-card:hover img {
  filter: drop-shadow(0 4px 5px var(--color-accent));
}

.skill-card p::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  margin: 0.4rem auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.skill-card:hover p::after {
  width: 60%;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.25rem;
  }

  .skill-card {
    padding: 1rem 0.75rem 1.5rem;
  }

  .skill-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
  }

  .skill-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }

  .skill-card img {
    width: 45px;
    height: 45px;
  }

  .skill-card p {
    font-size: 0.9rem;
  }
}

/* ====== Projects Section ====== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 0 1rem;
  max-width: var(--max-width-container);
  margin: 2rem auto;
}

.projects-section {
  scroll-margin-top: 80px;
}

.project-card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 6px 18px var(--color-shadow-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.project-card:hover,
.project-card:focus-within {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15), 0 14px 40px var(--color-accent-shadow);
  transform: translateY(-8px);
  z-index: 10;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--color-accent);
  transition: transform 0.4s ease;
}

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

.project-card h4 {
  margin: 1.25rem 1rem 0.75rem;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  user-select: text;
}

.project-desc {
  flex-grow: 1;
  padding: 0 1rem 1.5rem;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  user-select: text;
  letter-spacing: 0.01em;
}

.project-buttons {
  padding: 0 1rem 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-button {
  background-color: var(--color-accent);
  color: #111827;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  box-shadow: 0 4px 12px var(--color-accent-shadow);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  user-select: none;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
}

.project-button:hover,
.project-button:focus {
  background-color: var(--color-accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 18px var(--color-accent-shadow);
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .project-card img {
    height: 180px;
  }

  .project-card h4 {
    font-size: 1.2rem;
  }

  .project-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
    gap: 1.5rem;
  }

  .project-card img {
    height: 160px;
  }

  .project-card h4 {
    font-size: 1.1rem;
  }

  .project-desc {
    font-size: 0.9rem;
  }

  .project-buttons {
    justify-content: center;
  }
}

/* === Contact Section Styling === */
.contact-section {
  scroll-margin-top: 80px;
  padding: 6rem 1rem;
  background-color: var(--color-bg);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-info,
.contact-form {
  flex: 1 1 350px;
  background: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 6px 18px var(--color-shadow-dark);
  padding: 2rem;
  color: var(--color-text-secondary);
}

.contact-info h2,
.contact-form h3 {
  color: var(--color-accent);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info ul li {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-info a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  font-size: 1rem;
  font-family: var(--font-family-base);
  resize: none;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--color-text-secondary);
}

.input-group input:focus,
.input-group textarea:focus {
  background-color: rgba(255, 255, 255, 0.12);
  outline: none;
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2);
}

button[type="submit"] {
  background-color: var(--color-accent);
  color: #111827;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px var(--color-accent-shadow);
  transition: background-color var(--transition-speed);
  align-self: flex-start;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-info ul {
    padding-left: 0.5rem;
  }

  .contact-form h3 {
    font-size: 1.4rem;
  }
}

.contact-info ul li,
.contact-info ul li a {
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ====== Modern Footer Styles ====== */
.modern-footer {
  background: linear-gradient(135deg, #0a1a1f 0%, #1a2f3a 50%, #2a4a5a 100%);
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  color: var(--color-text-secondary);
  font-family: var(--font-family-base);
}

.modern-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(250, 204, 21, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(250, 204, 21, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(250, 204, 21, 0.05) 0%, transparent 50%);
  animation: floatingParticles 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatingParticles {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

.footer-accent-line {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-accent) 25%,
    #fde047 50%,
    var(--color-accent) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

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

.footer-content {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transition: left 0.6s ease;
}

.footer-section:hover::before {
  left: 100%;
}

.footer-section:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(250, 204, 21, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.footer-section h3 {
  color: var(--color-accent);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.4s ease;
}

.footer-section:hover h3::after {
  width: 100%;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(8px);
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -25px;
}

.footer-links a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background: rgba(250, 204, 21, 0.1);
}

.contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: var(--color-accent);
  font-weight: bold;
}

.footer-motto {
  text-align: center;
  margin: 3rem 0 2rem;
  position: relative;
}

.motto-text {
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3), 0 0 20px rgba(250, 204, 21, 0.2), 0 0 30px rgba(250, 204, 21, 0.1);
  animation: gentleGlow 3s ease-in-out infinite alternate;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes gentleGlow {
  0% {
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.3), 0 0 20px rgba(250, 204, 21, 0.2);
  }
  100% {
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.4), 0 0 25px rgba(250, 204, 21, 0.3);
  }
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.copyright-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-bottom:hover .copyright-text {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-content {
    padding: 3rem 1rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section {
    padding: 1.5rem;
  }

  .motto-text {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-links li:hover {
    transform: translateX(4px);
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 2rem 0.5rem 1rem;
  }

  .footer-section {
    padding: 1rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .motto-text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modern-footer::before,
  .footer-accent-line,
  .motto-text {
    animation: none;
  }

  .footer-section,
  .footer-links li,
  .footer-links a {
    transition: none;
  }
}

.footer-links a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
