/* ============================================
   KIVO EVENTS — SHARED STYLESHEET
   Target: Kolkata | Colors: Yellow & Green
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --yellow: #F5C518;
  --yellow-light: #FDE87A;
  --yellow-dark: #C9A000;
  --green: #2D6A4F;
  --green-light: #40916C;
  --green-dark: #1B4332;
  --green-xdark: #0D2B1F;
  --white: #ffffff;
  --off-white: #F9F9F7;
  --gray-100: #F3F3F1;
  --gray-200: #E8E8E4;
  --gray-400: #9A9A94;
  --gray-600: #5A5A54;
  --text: #1A1A18;
  --wa-green: #25D366;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
p { font-weight: 300; }
em { font-style: italic; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.08); }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 700;
  color: var(--green-dark); text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--yellow-dark); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0.3rem; }
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-size: 0.88rem; font-weight: 400; padding: 0.45rem 0.85rem;
  border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--gray-100); }
.nav-links .nav-cta {
  background: var(--green); color: #fff !important;
  padding: 0.5rem 1.2rem; border-radius: 50px;
  font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--green-dark) !important; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: all 0.3s; }
.nav-mobile { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile {
    display: none; position: fixed; top: 62px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 5%; z-index: 999; flex-direction: column; gap: 0.5rem;
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    text-decoration: none; color: var(--text); font-size: 1rem;
    padding: 0.7rem 0; border-bottom: 1px solid var(--gray-100); display: block;
  }
  .nav-mobile .nav-cta {
    background: var(--green); color: #fff !important; text-align: center;
    border-radius: 50px; padding: 0.8rem; border: none; margin-top: 0.5rem;
  }
}

/* ---- SECTION UTILITIES ---- */
section { padding: 6rem 5%; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--green-light);
  margin-bottom: 0.8rem;
}
.section-title { color: var(--green-dark); margin-bottom: 1rem; }
.section-sub {
  font-size: 1.05rem; color: var(--gray-600); line-height: 1.8;
  max-width: 580px; font-weight: 300;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 50px; font-size: 0.92rem;
  font-weight: 500; text-decoration: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.25s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,67,50,0.25); }
.btn-secondary { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn-secondary:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--green-dark); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,160,0,0.3); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 998;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--wa-green); color: #fff; text-decoration: none;
  padding: 0.8rem 1.3rem 0.8rem 1rem; border-radius: 50px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  font-size: 0.88rem; font-weight: 500; font-family: 'Outfit', sans-serif;
  transition: all 0.25s; animation: fadeUp 1s ease 0.5s both;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.5); }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }
.wa-pulse {
  position: absolute; top: -3px; right: -3px;
  width: 12px; height: 12px; background: #ff4444;
  border-radius: 50%; border: 2px solid #fff;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:0.5} }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--green-dark);
  padding: 10rem 5% 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(245,197,24,0.03) 40px, rgba(245,197,24,0.03) 80px);
}
.page-hero-content { position: relative; max-width: 720px; }
.page-hero .section-label { color: var(--yellow); }
.page-hero h1 { color: #fff; margin-bottom: 1.2rem; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; line-height: 1.8; max-width: 560px; }
.page-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---- CARDS ---- */
.card {
  background: var(--white); border-radius: 1.5rem;
  padding: 2.2rem; box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-200); transition: all 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); border-color: var(--green-light); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 1rem 5%; font-size: 0.82rem; color: var(--gray-400);
  background: var(--gray-100); border-bottom: 1px solid var(--gray-200);
  display: flex; gap: 0.5rem; align-items: center;
}
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray-400); }

/* ---- FOOTER ---- */
footer {
  background: var(--green-xdark); color: rgba(255,255,255,0.65);
  padding: 4rem 5% 2rem;
}
.footer-social-strip {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem; margin-bottom: 3rem; gap: 2rem;
}
.footer-social-strip .strip-tagline {
  font-size: 0.9rem; color: rgba(255,255,255,0.45); font-style: italic; line-height: 1.5;
}
.footer-social-strip .strip-tagline span {
  color: var(--yellow); font-style: normal; font-weight: 600;
}
.footer-social-strip .strip-icons {
  display: flex; align-items: center; flex-shrink: 0;
}
.footer-social-strip .strip-icons a {
  width: 48px; height: 54px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.2s;
}
.footer-social-strip .strip-icons a:hover { background: rgba(255,255,255,0.05); color: var(--yellow); }
.footer-social-strip .strip-icons a.wa:hover { color: #25D366; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { color: #fff; font-size: 1.8rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col p { font-size: 0.88rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-social-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-social-strip .strip-icons a { border-left: none; border-right: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 5%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- FORM STYLES ---- */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--green-dark); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  padding: 0.75rem 1rem; font-family: 'Outfit', sans-serif;
  font-size: 0.92rem; color: var(--text); background: var(--off-white);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---- SHARED JS SNIPPET (inline per page) ---- */
