@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500&display=swap');

:root {
  --bg: #fff7f9;
  --primary: #e63b6f;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --card-bg: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 90px;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */

.main-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: transform 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.main-header.hide {
  transform: translateY(-100%);
}

.header-logo {
  position: absolute;
  left: 40px;
}

.header-logo img {
  height: 56px;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary);
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 60%;
}

/* Hero */

.hero {
  text-align: center;
  padding: 80px 20px 60px;
}

.hero img {
  width: 320px;
  max-width: 90%;
  margin-bottom: 25px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  margin: 0;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 18px;
  color: var(--muted);
}

/* CTA */

.hero-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 36px;
  border: 2px solid #e63b6f;
  border-radius: 999px;
  color: #e63b6f;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(230, 59, 111, 0.15);
}

.hero-cta:hover {
  background: #e63b6f;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(230, 59, 111, 0.25);
}

/* Sections */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px 60px;
  text-align: center;
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section p {
  max-width: 720px;
  margin: 10px auto 40px;
  font-size: 17px;
  color: var(--muted);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  padding: 28px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(230,59,111,0.18);
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  font-size: 15.5px;
  color: #555;
  margin: 0;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(230,59,111,0.18);
}

/* Scroll Reveal */

.section, .card, .contact-card, .hero {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section.active, .card.active, .contact-card.active, .hero.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */

.main-footer {
  background: #111;
  color: #fff;
  padding: 70px 20px 30px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-brand p {
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-brand span {
  font-size: 14px;
  color: #aaa;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* Mobile */

@media (max-width: 900px) {
  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-header {
    flex-direction: column;
    padding: 18px;
  }

  .header-logo {
    position: static;
    margin-bottom: 10px;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section h2 {
    font-size: 32px;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 15px;
  }
}

@media (min-width: 1200px) {
  .hero img {
    width: 380px;
  }
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.section p a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 59, 111, 0.4);
}

.section p a:hover {
  border-bottom-color: var(--primary);
}


