/* style.css – Magpie.Red main stylesheet */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #faf9fc;
  color: #1e1b2e;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* header / nav */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: #1e1b2e;
  text-decoration: none;
  cursor: pointer;
}

.logo i {
  color: #d93f4c;
  font-size: 2rem;
}

.logo span {
  background: #1e1b2e;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  margin-left: 0.25rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  color: #2d2a3e;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: #d93f4c;
}

.nav-links a.active {
  color: #d93f4c;
  font-weight: 600;
}

.btn-outline {
  border: 1.5px solid #1e1b2e;
  background: transparent;
  padding: 0.6rem 1.6rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s;
  cursor: default;
  color: #1e1b2e;
}

.btn-outline i {
  margin-right: 0.4rem;
}

/* hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0 3rem 0;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text .tag {
  background: #efe7f0;
  color: #6b4b6b;
  display: inline-block;
  padding: 0.3rem 1.2rem;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 1.2rem;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-text h1 i {
  color: #d93f4c;
}

.hero-text p {
  font-size: 1.2rem;
  color: #3f3a53;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: #1e1b2e;
  color: white;
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.2s;
  cursor: default;
  box-shadow: 0 8px 18px rgba(30, 27, 46, 0.15);
}

.btn-primary i {
  margin-right: 0.6rem;
}

.btn-primary:hover {
  background: #d93f4c;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1 1 300px;
  background: #eae4f0;
  border-radius: 40px;
  padding: 1.8rem 1.8rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
}

.hero-image .magpie-icon {
  font-size: 5rem;
  color: #1e1b2e;
  background: white;
  padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

/* services section */
.services {
  padding: 3.5rem 0 4rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header h2 i {
  color: #d93f4c;
  margin-right: 0.5rem;
}

.section-header .sub {
  color: #5f5a72;
  font-weight: 500;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.25s;
  border: 1px solid rgba(0,0,0,0.02);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -12px rgba(30, 27, 46, 0.12);
  border-color: #e8e1f0;
}

.service-card .icon {
  background: #f2edf7;
  width: 70px;
  height: 70px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: #1e1b2e;
  transition: 0.2s;
}

.service-card:hover .icon {
  background: #d93f4c;
  color: white;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #514c64;
  font-size: 0.95rem;
}

/* feature row */
.feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #1e1b2e;
  color: white;
  border-radius: 50px;
  padding: 2.5rem 3rem;
  margin: 2rem 0 3rem 0;
  gap: 2rem;
}

.feature-row .item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-row .item i {
  font-size: 2rem;
  color: #d93f4c;
}

.feature-row .item span {
  font-weight: 500;
  font-size: 1rem;
}

.feature-row .item strong {
  font-weight: 700;
  display: block;
  font-size: 1.1rem;
}

/* PLAN PAGE */
.plan-section {
  padding: 2rem 0 3rem 0;
}

.plan-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  letter-spacing: -0.02em;
}

.plan-section h2 i {
  color: #d93f4c;
  margin-right: 0.5rem;
}

.plan-section h2:first-of-type {
  margin-top: 0;
}

.plan-card {
  background: white;
  border-radius: 32px;
  padding: 2rem 2.2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.02);
  border: 1px solid #f0ebf5;
}

.plan-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-card h3 i {
  color: #d93f4c;
  font-size: 1.8rem;
}

.plan-card ul, .plan-card ol {
  padding-left: 1.8rem;
  margin: 1rem 0 0.5rem 0;
  color: #2d2a3e;
}

.plan-card li {
  margin-bottom: 0.5rem;
}

.plan-card .phase-badge {
  background: #1e1b2e;
  color: white;
  padding: 0.2rem 1.2rem;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 0.5rem 0;
}

.value-item {
  background: #f4f0f8;
  padding: 1.5rem 1rem;
  border-radius: 24px;
  text-align: center;
}

.value-item i {
  font-size: 2rem;
  color: #d93f4c;
  margin-bottom: 0.5rem;
}

.value-item h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.9rem;
  color: #4b455e;
}

.coop-steps {
  background: #f7f4fc;
  border-radius: 28px;
  padding: 1.8rem 2rem;
  margin: 1.5rem 0;
}

.coop-steps ol {
  padding-left: 1.8rem;
}

.coop-steps li {
  margin-bottom: 0.7rem;
}

/* footer */
.footer {
  padding: 2rem 0 2.5rem 0;
  border-top: 1px solid #e1dbe8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: #3f3a53;
  font-size: 0.95rem;
}

.footer .social i {
  font-size: 1.5rem;
  margin-left: 1.2rem;
  color: #3f3a53;
  transition: 0.2s;
  cursor: default;
}

.footer .social i:hover {
  color: #d93f4c;
}

.footer a {
  text-decoration: none;
  color: inherit;
}

/* responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .hero-text h1 {
    font-size: 2.6rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .feature-row {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 32px;
    padding: 2rem;
  }
  .footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .plan-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fills the box, clips overflow */
}

/* Drop Down stuff */

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;

}


.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  z-index: 1000;
  margin-top: 0; 
  border: 1px solid #f0ebf5;
  padding-top: 10px; 
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* For desktop - ensure the menu stays open when hovering over it */
.dropdown-menu:hover {
  display: block !important;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: #2d2a3e;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f4f0f8;
  color: #d93f4c;
}

.dropdown-menu a:first-child {
  border-radius: 16px 16px 0 0;
}

.dropdown-menu a:last-child {
  border-radius: 0 0 16px 16px;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .dropdown {
    display: block;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1.5rem;
    margin-top: 0.2rem;
    background: transparent;
  }
  
  .dropdown-menu a {
    padding: 0.5rem 1rem;
  }
  
  .dropdown-menu a:hover {
    background: #f4f0f8;
  }
}

/* Smooth dropdown animation */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .dropdown-menu {
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
  }
}
