/* ============================================================
   FRCT INDIA — Main CSS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --green:   #1a5c2e;
  --green2:  #2d7a47;
  --green-light: #eef7f2;
  --gold:    #f5a800;
  --gold2:   #e09600;
  --dark:    #0f2518;
  --gray:    #f4f7f5;
  --text:    #2d3748;
  --text-light: #718096;
  --white:   #ffffff;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--gray);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- HEADER TOPBAR ---- */
.frct-header { position: sticky; top: 0; z-index: 999; }

.header-topbar {
  background: var(--dark);
  color: #a8c5b0;
  font-size: 0.78rem;
  padding: 6px 0;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-sep { opacity: .4; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a { color: #a8c5b0; transition: var(--transition); }
.topbar-right a:hover { color: var(--gold); }
.topbar-donate-btn {
  background: var(--gold);
  color: #000 !important;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  transition: var(--transition);
}
.topbar-donate-btn:hover { background: var(--gold2); }

/* ---- MAIN NAV ---- */
.main-nav {
  background: var(--green);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand */
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; background: #fff; padding: 3px; border: 2px solid rgba(255,255,255,.3); }
.nav-logo-placeholder { width: 52px; height: 52px; background: #fff; color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; border: 2px solid rgba(255,255,255,.3); }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-weight: 700; font-size: 1.1rem; color: #fff; line-height: 1.2; }
.nav-brand-tagline { font-size: 0.68rem; color: #9dd6b0; letter-spacing: .5px; }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: #d4eedb;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-arrow { font-size: .6rem; margin-left: 2px; transition: var(--transition); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-dropdown-item:hover { background: var(--green-light); color: var(--green); }

/* CTA Buttons */
.nav-login-btn {
  color: #d4eedb;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.nav-login-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta-btn {
  background: var(--gold);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 30px;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 12px rgba(245,168,0,.35);
  transition: var(--transition);
}
.nav-cta-btn:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,168,0,.45); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  background: var(--dark);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  color: #c2ddc9;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.mobile-auth-links { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mobile-auth-links .nav-cta-btn { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: #9db8a4; position: relative; }
.footer-wave { line-height: 0; overflow: hidden; background: #eef7f2; }
.footer-wave svg { width: 100%; height: 60px; }

.footer-body { padding: 64px 0 40px; }
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 40px; }

.footer-brand-col {}
.footer-brand-link { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo { height: 50px; width: 50px; border-radius: 50%; object-fit: cover; background: #fff; padding: 4px; border: 2px solid rgba(255,255,255,.15); }
.footer-logo-placeholder { width: 50px; height: 50px; background: var(--green); border: 2px solid rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; font-weight: 800; }
.footer-brand-name { font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-about-text { font-size: 0.84rem; line-height: 1.8; color: #7fa891; margin-bottom: 20px; }

/* Socials */
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  background: rgba(255,255,255,.07);
  color: #9db8a4;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.social-icon:hover { transform: translateY(-3px); color: #fff; }
.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.social-icon.instagram:hover { background: #e1306c; border-color: #e1306c; }
.social-icon.youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-icon.whatsapp:hover { background: #25d366; border-color: #25d366; }

/* Footer Cols */
.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: #7fa891;
  transition: var(--transition);
}
.footer-links a i { color: var(--green2); font-size: .7rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }

/* Contact */
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.84rem; line-height: 1.6; }
.footer-contact-list li i { color: var(--gold); margin-top: 2px; min-width: 14px; }

/* Newsletter */
.newsletter-label { font-size: 0.8rem; color: #7fa891; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #fff;
  outline: none;
  transition: var(--transition);
}
.newsletter-input::placeholder { color: #4d7060; }
.newsletter-input:focus { border-color: var(--green2); background: rgba(255,255,255,.1); }
.newsletter-btn {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0 16px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.newsletter-btn:hover { background: var(--gold2); }

/* Footer Bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.8rem; color: #5a7a65; }
.footer-copy strong { color: #7fa891; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 0.8rem; color: #5a7a65; transition: var(--transition); }
.footer-legal-links a:hover { color: #fff; }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 1000;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.5); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 92px; right: 30px;
  width: 42px; height: 42px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green2); transform: translateY(-3px); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
  border: 1px solid #c4e0cc;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-title span { color: var(--green); }
.section-subtitle { font-size: 0.95rem; color: var(--text-light); line-height: 1.75; max-width: 600px; }
.section-divider { width: 52px; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 4px; margin: 14px 0; }
.section-divider.center { margin: 14px auto; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(26,92,46,.35);
  transition: var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,92,46,.4); color: #fff; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(245,168,0,.35);
  transition: var(--transition);
  border: none; cursor: pointer;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,168,0,.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.4);
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.7); color: #fff; transform: translateY(-2px); }

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Icon Box */
.icon-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.icon-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: var(--transition);
}
.icon-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icon-box:hover::before { opacity: 1; }
.icon-box-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.icon-box:hover .icon-box-icon { transform: scale(1.08) rotate(-4deg); }
.icon-box h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.icon-box p { font-size: 0.84rem; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .topbar-left { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-body { padding: 40px 0 24px; }
}
@media (max-width: 480px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }
}
