/* ============ Reset & Base ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: #f9f9f9;
}

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

/* ============ Animations ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

/* ============ Animation Classes ============ */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
}

.scale-in {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* ============ Header ============ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 70px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  height: 60px;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
}

/* ============ Navigation ============ */
nav {
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav a {
  text-decoration: none;
  color: #333333c4;
  font-weight: 550;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: rgb(47, 39, 212);
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

nav a:hover {
  color: rgb(47, 39, 212);
  transform: translateY(-3px);
}

nav a:hover::after {
  width: 100%;
}

/* ============ Hamburger Menu ============ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============ Hero Section ============ */
.BluePart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 0 75px;
  background: linear-gradient(135deg, #1e4896cd, #144880d7);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.BluePart::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  top: -100px;
  right: -100px;
}

.BluePart::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  bottom: -50px;
  left: -50px;
}

.BluePart h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.BluePart p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 600;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s ease-out;
}

.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============ Buttons ============ */
.btn {
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  animation: scaleIn 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.btn-primary {
  background: #ff7a00;
  color: #fff;
}

.btn-primary:hover {
  background: #ff9500;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.3);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

form {
  margin: 0;
}

form button {
  margin: 0;
}

/* ============ Why Remix Section ============ */
.WhyRemix {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 75px;
  background: #ffffff;
}

.WhyRemix div {
  flex: 1;
  max-width: 600px;
}

.WhyRemix h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #1e4896;
  animation: slideInLeft 0.8s ease-out;
}

.WhyRemix ul {
  padding: 0;
  list-style: none;
  margin-bottom: 30px;
}

.WhyRemix ul li {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  padding-left: 28px;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.WhyRemix ul li:nth-child(1) { animation-delay: 0.1s; }
.WhyRemix ul li:nth-child(2) { animation-delay: 0.2s; }
.WhyRemix ul li:nth-child(3) { animation-delay: 0.3s; }
.WhyRemix ul li:nth-child(4) { animation-delay: 0.4s; }
.WhyRemix ul li:nth-child(5) { animation-delay: 0.5s; }
.WhyRemix ul li:nth-child(6) { animation-delay: 0.6s; }
.WhyRemix ul li:nth-child(7) { animation-delay: 0.7s; }

.WhyRemix ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff7a00;
  font-weight: bold;
  animation: bounce 0.6s ease-out;
}

.WhyRemix img {
  flex: 1;
  max-width: 700px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: slideInRight 0.8s ease-out;
  transition: transform 0.3s ease;
}

.WhyRemix img:hover {
  transform: scale(1.05);
}

/* ============ Services Section ============ */
.services-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: left;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #E60015;
  font-weight: 700;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.services-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.services-image img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  animation: slideInLeft 0.8s ease-out;
  transition: transform 0.3s ease;
}

.services-image img:hover {
  transform: scale(1.08);
}

.services-content {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  animation: slideInRight 0.8s ease-out;
  animation-fill-mode: both;
  position: relative;
  overflow: hidden;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.2), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

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

.service-card h3 {
  color: #E60015;
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  position: relative;
  z-index: 1;
}

/* ============ Footer ============ */
.footer {
  background: linear-gradient(135deg, #144880d7, #1a5bb8e0);
  color: #fff;
  padding: 60px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.footer-col {
  flex: 1 1 200px;
  margin: 15px;
  animation: fadeInUp 0.8s ease-out;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.footer-col h3:hover {
  transform: scale(1.05);
}

.footer-col p {
  margin: 5px 0;
  line-height: 1.6;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.footer-col a:hover {
  color: #ffd700;
}

.footer-col a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links a img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  transition: all 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.3) rotate(15deg);
  background: #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.footer a {
  text-decoration: none;
  position: relative;
}

.copyright {
  font-size: 14px;
  color: #ccc;
  margin-top: 25px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

/* ============ Scroll Animations ============ */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* ============ Responsive Design - Tablet (max-width: 1024px) ============ */
@media (max-width: 1024px) {
  header {
    padding: 10px 40px;
  }

  .BluePart {
    padding: 0 40px;
  }

  .BluePart h1 {
    font-size: 2.8rem;
  }

  .WhyRemix {
    gap: 30px;
    padding: 60px 40px;
  }

  .services-wrapper {
    gap: 30px;
  }

  nav {
    gap: 25px;
  }

  nav a {
    font-size: 0.95rem;
  }
}

/* ============ Responsive Design - Large Mobile (max-width: 768px) ============ */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(0);
    transition: left 0.3s ease;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  nav a {
    padding: 15px 20px;
    text-align: left;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  nav a::after {
    display: none;
  }

  nav a:hover {
    background: #f9f9f9;
  }

  .logo {
    height: 50px;
  }

  .BluePart {
    padding: 0 20px;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .BluePart h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .BluePart p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .WhyRemix {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .WhyRemix div {
    max-width: 100%;
  }

  .WhyRemix h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .WhyRemix ul li {
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  .WhyRemix ul li::before {
    display: none;
  }

  .services-section {
    padding: 50px 20px;
  }

  .services-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .service-card {
    padding: 15px 20px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

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

  .footer-container {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .footer-col {
    margin: 10px 0;
    flex: 1 1 100%;
  }

  .footer-col h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer {
    padding: 40px 20px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* ============ Responsive Design - Small Mobile (max-width: 480px) ============ */
@media (max-width: 480px) {
  header {
    padding: 8px 15px;
  }

  nav {
    padding-top: 70px;
    gap: 0;
  }

  nav a {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .logo {
    height: 45px;
  }

  .hamburger span {
    width: 22px;
    height: 2.5px;
  }

  .BluePart {
    padding: 0 15px;
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .BluePart h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .BluePart p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
  }

  .WhyRemix {
    padding: 30px 15px;
    gap: 25px;
  }

  .WhyRemix h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .WhyRemix ul li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    padding-left: 24px;
  }

  .services-section {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .service-card {
    padding: 12px 15px;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer-col {
    margin: 8px 0;
  }

  .footer-col h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-col p {
    font-size: 0.9rem;
    margin: 3px 0;
  }

  .social-links {
    gap: 15px;
    margin-top: 15px;
  }

  .social-links a img {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .copyright {
    font-size: 11px;
    margin-top: 15px;
  }
}

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