/* =========================================
   MY DREAM RISE UNITED GROUP — STYLESHEET
   ========================================= */

:root {
  --primary: #1B6FA8;
  --primary-dark: #0F4C75;
  --primary-light: #4A93C4;
  --accent: #F5A623;
  --accent-dark: #E0720C;
  --gradient-accent: linear-gradient(135deg, #F5A623 0%, #E0720C 100%);
  --gradient-primary: linear-gradient(135deg, #1B6FA8 0%, #0F4C75 100%);
  --dark: #1C1C1C;
  --gray: #5B6470;
  --light-gray: #E9ECEF;
  --bg-alt: #F8F9FA;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 76, 117, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 76, 117, 0.18);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.eyebrow-light {
  color: var(--accent);
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-heading h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.section-subtext {
  margin-top: 14px;
  color: var(--gray);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(224, 114, 12, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(224, 114, 12, 0.45);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 64px;
  width: 90px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.logo-sub {
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

#nav-menu ul {
  display: flex;
  gap: 30px;
}

#nav-menu a {
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
}

#nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition);
}

#nav-menu a:hover {
  color: var(--primary);
}

#nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 26px;
  font-size: 0.9rem;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

#menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 3px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('assets/download (4).jpeg') center/cover no-repeat;
  text-align: center;
  padding: 140px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--gradient-accent);
  opacity: 0.25;
  border-radius: 50%;
  top: -200px;
  right: -150px;
  filter: blur(40px);
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  opacity: 0.25;
  border-radius: 50%;
  bottom: -200px;
  left: -150px;
  filter: blur(40px);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,76,117,0.85) 0%, rgba(224,114,12,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-tagline {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.years-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.about-text > p {
  color: var(--gray);
  margin-bottom: 30px;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 20px;
}

.value-card h3 {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
 
.service-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
}
 
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background-size: 112%;
}
 
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,76,117,0.15) 0%, rgba(15,76,117,0.75) 65%, rgba(15,76,117,0.92) 100%);
  transition: var(--transition);
}
 
.service-card:hover .service-overlay {
  background: linear-gradient(180deg, rgba(224,114,12,0.25) 0%, rgba(15,76,117,0.8) 65%, rgba(15,76,117,0.95) 100%);
}
 
.service-content {
  position: relative;
  z-index: 2;
  padding: 26px;
}
 
.service-content h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
 
.service-content p {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
}
 

/* ===== MEMBERSHIP PLANS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
}

.plan-card.featured .plan-tag,
.plan-card.featured p {
  color: rgba(255,255,255,0.85);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
}

.plan-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: inherit;
}

.plan-card.featured h3 {
  color: var(--white);
}

.plan-tag {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.plan-card p:not(.plan-tag) {
  color: var(--gray);
  font-size: 0.92rem;
}
.plan-card.featured p:not(.plan-tag) {
  color: rgba(255, 255, 255, 0.88);
}
/* ===== BENEFIT TABLE ===== */
.benefit-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 500px;
}

.benefit-table th {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.benefit-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--dark);
  font-size: 0.92rem;
}

.benefit-table tr:last-child td {
  border-bottom: none;
}

/* ===== QUALIFYING / COVER ===== */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cover-card {
  background: var(--white);
  padding: 26px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.cover-card h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.cover-card p {
  color: var(--gray);
  font-size: 0.88rem;
}

/* ===== REGISTER ===== */
.register-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: var(--white);
  overflow: hidden;
}

.register-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,76,117,0.92) 0%, rgba(15,76,117,0.85) 60%, rgba(224,114,12,0.35) 100%);
  z-index: 1;
}

.register-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* ===== FAQs ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-dark);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 4px 22px;
  color: var(--gray);
  font-size: 0.94rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 26px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.3rem;
}

.contact-item p {
  color: var(--gray);
}

.contact-map {
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
 
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 50px;
  width: 92px;
  margin-bottom: 14px;
}

.footer-brand p {
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-branches {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.footer-branches-label {
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}
.footer-contact p {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}
/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}
 
.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}
 
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .register-section {
  background-attachment: scroll;
}
  #nav-menu, .nav-cta { display: none; }
  #menu-toggle { display: flex; }

  #nav-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
  }

  #nav-menu.active ul {
    flex-direction: column;
    gap: 18px;
  }

  .about-grid, .register-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .value-cards, .services-grid, .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 560px) {
  .value-cards, .services-grid, .plans-grid, .cover-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }
}

/* ===== MOBILE FIXES ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

img, iframe {
  max-width: 100%;
}

/* stops grid columns from stretching wider than the screen */
.about-grid > *,
.register-grid > *,
.contact-grid > *,
.footer-grid > *,
.services-grid > *,
.plans-grid > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .register-section {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .container {
    padding: 0 18px;
  }

  .nav-container {
    padding: 12px 16px;
    gap: 10px;
  }

  .logo img {
    height: 40px;
  }

  .logo-title {
    font-size: 0.9rem;
  }

  .logo-sub {
    font-size: 0.7rem;
  }

  .contact-item p,
  .footer-contact p,
  .paybill-value {
    overflow-wrap: anywhere;
  }
}