/* ===== ROOT VARIABLES ===== */
:root {
  --red: #c8102e;
  --red-dark: #a00c24;
  --red-light: #e8294a;
  --red-muted: #fca5a5;
  --cream: #fdf6ef;
  --warm-white: #fffaf7;
  --charcoal: #1a1a1a;
  --dark: #111;
  --mid: #444;
  --light: #888;
  --border: #e5ddd5;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --section-pad: 90px 0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hind', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
em { font-family: 'Crimson Text', serif; font-style: italic; color: var(--red); }
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-desc {
  color: var(--mid);
  font-size: 1.05rem;
  max-width: 520px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc { margin: 0 auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,0.97);
  border-bottom: 2px solid var(--border);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.1); }
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.8rem; }
.logo-hi { display: block; font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--red); line-height: 1.1; }
.logo-en { display: block; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--light); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; padding: 6px 14px;
  border-radius: 6px; color: var(--mid);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--red); background: #fef2f2; }
.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 32px;
  border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.3); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-full { width: 100%; text-align: center; font-size: 1rem; padding: 16px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff9f9 0%, #fdf0f0 40%, #fff5f0 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 100px 60px 60px;
  position: relative; overflow: hidden; gap: 40px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(200,16,46,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(200,16,46,0.04) 0%, transparent 50%);
}
.hero-content { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  color: #fff; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 24px;
  animation: fadeSlideIn 0.7s ease forwards;
}
.hero-title { margin-bottom: 24px; }
.line1 {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--red); font-weight: 900;
  animation: fadeSlideIn 0.8s 0.1s ease both;
}
.line2 {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal); font-weight: 700;
  animation: fadeSlideIn 0.8s 0.2s ease both;
}
.hero-subtitle {
  color: var(--mid); font-size: 1.05rem; margin-bottom: 36px;
  animation: fadeSlideIn 0.8s 0.3s ease both;
}
.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px;
  animation: fadeSlideIn 0.8s 0.4s ease both;
}
.hero-meta {
  display: flex; align-items: center; gap: 20px;
  animation: fadeSlideIn 0.8s 0.5s ease both;
}
.meta-item { text-align: left; }
.meta-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--red); }
.meta-item span { font-size: 0.82rem; color: var(--light); }
.meta-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 0 0 380px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeSlideIn 1s 0.3s ease both;
}

/* ===== LOGO IMAGE ===== */
.logo-img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
  padding: 2px;
}
.footer-logo-img {
  width: 44px; height: 44px;
}

/* ===== HERO LOGO ===== */
.hero-logo-wrap {
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-img {
  width: 280px; height: 280px;
  object-fit: contain;
  border-radius: 50%;
  background: #0d0d0d;
  box-shadow: 0 12px 60px rgba(200,16,46,0.35), 0 0 0 3px rgba(200,16,46,0.15);
  position: relative; z-index: 2;
  animation: dropFloat 5s ease-in-out infinite;
}
.hero-logo-wrap .pulse-ring {
  position: absolute; width: 310px; height: 310px;
  border-radius: 50%; border: 2px solid rgba(200,16,46,0.25);
  animation: pulse 2.5s ease-in-out infinite;
}
.hero-logo-wrap .ring2 {
  width: 340px; height: 340px;
  border-color: rgba(34,139,34,0.15);
  animation: pulse 2.5s 0.8s ease-in-out infinite;
}


@keyframes dropFloat { 
  0%,100%{transform: translateY(0)} 
  50%{transform: translateY(-12px)} 
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.15);opacity:0.15} }
@keyframes fadeSlideIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--red); color: #fff;
  padding: 14px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-track span { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.05em; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== ABOUT ===== */
.about-section { background: var(--warm-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { color: var(--mid); margin-bottom: 18px; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.value-chip {
  background: #fef2f2; color: var(--red); border: 1px solid #fecaca;
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
}
.about-cards { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  padding: 24px 28px; border-radius: var(--radius);
  display: flex; align-items: flex-start; gap: 16px;
}
.about-card .card-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.about-card p { font-size: 0.9rem; }
.card-red { background: var(--red); color: #fff; }
.card-red h3 { color: #fff; }
.card-red p { color: rgba(255,255,255,0.85); }
.card-white { background: #fff; border: 1.5px solid var(--border); box-shadow: var(--shadow); }
.card-dark { background: var(--charcoal); color: #fff; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.75); }

/* ===== SERVICES ===== */
.services-section { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow); transition: all 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--charcoal); }
.service-card p { font-size: 0.9rem; color: var(--mid); }

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--red-dark), var(--red), #e63950);
  padding: var(--section-pad); position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat-item { text-align: center; padding: 32px 20px; }
.stat-number {
  display: inline-block; font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 900; color: #fff;
  line-height: 1;
}
.stat-plus { font-size: 2rem; color: rgba(255,255,255,0.7); font-weight: 700; vertical-align: top; padding-top: 8px; display: inline-block; }
.stat-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 8px; font-weight: 500; }

/* ===== BLOOD TYPES ===== */
.bloodtype-section { background: var(--warm-white); }
.bloodtype-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bt-card {
  text-align: center; padding: 28px 16px;
  border-radius: var(--radius); background: #fff;
  border: 2px solid var(--border); transition: all 0.25s;
}
.bt-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.bt-card.featured { border-color: var(--red); background: #fff9f9; }
.bt-label {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900; color: var(--red);
  margin-bottom: 8px;
}
.bt-sub { font-size: 0.8rem; color: var(--mid); }

/* ===== EVENTS ===== */
.events-section { background: var(--cream); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.event-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px; border: 1.5px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
  box-shadow: var(--shadow); transition: all 0.3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-date {
  flex-shrink: 0; background: var(--red); color: #fff;
  width: 64px; border-radius: 10px;
  text-align: center; padding: 10px 8px;
}
.event-date .day { display: block; font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 900; line-height: 1; }
.event-date .month { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.event-info h3 { font-size: 1rem; margin-bottom: 8px; }
.event-info p { font-size: 0.85rem; color: var(--mid); margin-bottom: 4px; }
.event-link { display: inline-block; margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--red); }
.event-link:hover { text-decoration: underline; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--warm-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow); position: relative;
}
.quote-mark {
  font-family: 'Playfair Display', serif; font-size: 5rem;
  color: var(--red); opacity: 0.15; line-height: 0.6;
  position: absolute; top: 20px; left: 20px;
}
.testimonial-card p { color: var(--mid); font-size: 0.95rem; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { font-size: 0.82rem; font-weight: 600; color: var(--red); }

/* ===== CONTACT ===== */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info p { color: var(--mid); margin-bottom: 32px; }
.info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 0.85rem; color: var(--charcoal); margin-bottom: 2px; }
.info-item p { font-size: 0.9rem; color: var(--mid); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  padding: 8px 18px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  background: #fff; border: 1.5px solid var(--border); color: var(--mid);
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--red); color: var(--red); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: #fff; border-radius: 16px;
  padding: 36px; box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
}
.contact-form h3 {
  font-size: 1.3rem; margin-bottom: 28px; color: var(--charcoal);
  padding-bottom: 18px; border-bottom: 1.5px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Hind', sans-serif; font-size: 0.92rem; color: var(--charcoal);
  background: var(--warm-white); outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 18px;
  background: #f0fdf4; border: 1.5px solid #86efac;
  border-radius: 8px; font-size: 0.9rem; color: #166534;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-hi { color: #fca5a5; }
.footer-brand .logo-en { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer-links h4 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 18px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li, .footer-links ul a { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer-links ul a:hover { color: var(--red-muted); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ===== EMERGENCY FAB ===== */
.emergency-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  background: var(--red); color: #fff;
  padding: 14px 22px; border-radius: 50px;
  font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 6px 24px rgba(200,16,46,0.5);
  animation: fabPulse 2.5s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.emergency-fab:hover { transform: scale(1.06); box-shadow: 0 10px 32px rgba(200,16,46,0.6); }
@keyframes fabPulse { 0%,100%{box-shadow:0 6px 24px rgba(200,16,46,0.5)} 50%{box-shadow:0 6px 36px rgba(200,16,46,0.8)} }

/* ===== ANIMATION CLASSES ===== */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bloodtype-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 100px 24px 60px; }
  .hero-buttons { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { flex: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--border); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .bloodtype-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
}
@media (max-width: 480px) {
  .hero { padding: 90px 16px 50px; }
  .bloodtype-grid { grid-template-columns: repeat(2, 1fr); }
}
