* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #620080;
  --pink: #f27990;
  --light-bg: #f9f6fc;
  --font: "Segoe UI", system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--light-bg);
  color: var(--purple);
  line-height: 1.6;
  padding-top: 80px;
  padding-bottom: 100px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/header-bg.png") no-repeat center center;
  background-size: cover;
  backdrop-filter: blur(8px);
  z-index: -1;
  transform: scale(1.15);
  transition: transform 9s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header.scrolled::before {
  transform: scale(1);
}

.header__logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pink);
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(242, 121, 144, 0.4);
  transition: transform 0.3s;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header__menu a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
}

.header__menu a[aria-current="page"],
.header__menu a:hover {
  color: var(--pink);
  text-shadow: 0 0 15px rgba(242, 121, 144, 0.6);
  transform: translateY(-3px);
}

.header__menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(242, 121, 144, 0.3) 0%, transparent 70%);
  border-radius: 12px;
  transition: transform 0.4s ease;
  z-index: -1;
}

.header__menu a:hover::before {
  transform: translate(-50%, -50%) scale(1.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== SECTIONS ========== */
.section-title {
  font-size: 2.2rem;
  margin: 60px 0 40px;
  color: var(--purple);
  position: relative;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--pink);
  margin: 16px auto;
  border-radius: 2px;
}

/* ========== LOGO SLIDER ========== */
.logo-slider-section {
  background-color: #f8f5fc;
  padding: 60px 0;
  margin: 60px 0;
}

.logo-slider-wrapper {
  overflow: hidden;
  padding: 40px 0;
}

.logo-slider-track {
  display: flex;
  gap: 40px;
  animation: slideLogos 30s linear infinite;
}

.logo-slider-track:hover {
  animation-play-state: paused;
}

.logo-slide {
  flex: 0 0 200px;
  height: 200px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.logo-slide:hover {
  transform: scale(1.05);
}

.logo-slide img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

@keyframes slideLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== PROJECT CARDS ========== */
.projects-section {
  text-align: center;
  padding: 40px 0 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.project-card {
  background: linear-gradient(140deg, #5a1e78, #2d0a5e);
  border-radius: 24px;
  padding: 32px;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(242, 121, 144, 0.3);
}

.project-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.project-card h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
}

.project-card p {
  margin-bottom: 24px;
  opacity: 0.92;
  line-height: 1.7;
  font-size: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 600;
  text-decoration: none;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(98, 0, 128, 0.25);
  transition: background 0.3s;
}

.project-link:hover {
  background: rgba(242, 121, 144, 0.4);
}

/* ========== BANNER SLIDER ========== */
.banner-slider-section {
  background-color: #f8f5fc;
  padding: 60px 0;
  margin: 60px 0;
}

.banner-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-slider-container {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.banner-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.banner-slide {
  flex: 0 0 100%;
  height: 400px;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.banner-slider-btn {
  background: var(--purple);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(98, 0, 128, 0.3);
}

.banner-slider-btn:hover {
  background: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 121, 144, 0.4);
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot.active {
  background: var(--purple);
  transform: scale(1.2);
}

/* ========== FOOTER ========== */
.footer {
  background: white;
  padding: 50px 0 30px;
  margin-top: 80px;
  border-top: 1px solid #eee;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-email a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-email a:hover {
  color: var(--pink);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f3f7;
  color: var(--purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
}

.footer-copyright {
  color: var(--purple);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
    gap: 20px;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header__menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(98, 0, 128, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    z-index: 999;
    display: none;
  }

  .header__menu.active {
    display: flex;
  }

  .header__menu li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .banner-slide { height: 300px; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .banner-slide { height: 250px; }
  .banner-slider-btn { padding: 10px 16px; font-size: 0.9rem; }
}