/* ===== CSS Variables ===== */
:root {
  --primary-blue: #0056b3;
  --primary-blue-hover: #004494;
  --deep-blue: #1E3A8A;
  --light-blue: #89CFF0;
  --paw-blue: #ADD8E6;
  --gold-primary: #D4AF37;
  --gold-light: #F4E5C2;
  --gold-hover: #B8941F;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --text-dark: #1a2332;
  --text-muted: #5a6b7d;
  --border-light: #e1e8ef;
  --shadow-sm: 0 2px 8px rgba(0, 86, 179, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 86, 179, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 86, 179, 0.18);
  --whatsapp-green: #25D366;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-blue);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  background-image: linear-gradient(rgba(0, 30, 80, 0.55), rgba(0, 30, 80, 0.55)),
                    url('assets/herobg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 36px;
  opacity: 0.95;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  color: var(--primary-blue);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

/* ===== Paw Print Decoration ===== */
.paw-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px 0 40px;
}

.paw-icon {
  width: 22px;
  height: 22px;
  fill: var(--paw-blue);
}

.paw-icon.small {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-blue);
}

.card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Bullet List with Paw ===== */
.paw-list {
  max-width: 800px;
  margin: 0 auto;
}

.paw-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.paw-list li:last-child {
  border-bottom: none;
}

.paw-list li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: var(--paw-blue);
  margin-top: 4px;
}

/* ===== Bank Details Card ===== */
.bank-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--light-blue);
  max-width: 800px;
  margin: 0 auto 30px;
}

.bank-card h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-details-table {
  width: 100%;
  table-layout: fixed;
}

.bank-details-table tr {
  border-bottom: 1px solid var(--border-light);
}

.bank-details-table tr:last-child {
  border-bottom: none;
}

.bank-details-table td {
  padding: 14px 0;
  font-size: 0.98rem;
}

.bank-details-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 38%;
  padding-right: 12px;
  vertical-align: top;
}

.bank-details-table td:last-child {
  color: var(--text-dark);
  font-family: 'Courier New', monospace;
  font-weight: 500;
  word-break: break-word;
  vertical-align: top;
}

.coming-soon-card {
  background: repeating-linear-gradient(
    45deg,
    var(--off-white),
    var(--off-white) 10px,
    var(--white) 10px,
    var(--white) 20px
  );
  border: 2px dashed var(--paw-blue);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-card h3 {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ===== Trust Badge ===== */
.trust-badge {
  background: var(--primary-blue);
  color: var(--white);
  padding: 24px 32px;
  border-radius: 16px;
  text-align: center;
  max-width: 700px;
  margin: 40px auto 0;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
}

.trust-badge strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--off-white);
  padding: 36px;
  border-radius: 16px;
  border-left: 4px solid var(--primary-blue);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-blue);
}

.contact-item a {
  color: var(--primary-blue);
  font-weight: 500;
  word-break: break-all;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ===== Form ===== */
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 30, 80, 0.85));
  padding: 20px;
  color: var(--white);
  font-weight: 600;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  transform: translateY(0);
}

/* ===== Legal Pages (used in privacy-terms.html tabs) ===== */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h2 {
  color: var(--primary-blue);
  font-size: 1.6rem;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-blue);
}

.legal-content h3 {
  color: var(--text-dark);
  margin: 24px 0 10px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 50px 0 24px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand p {
  color: #b8c4d1;
  margin-top: 12px;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer h4 {
  color: var(--light-blue);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-links a {
  display: block;
  color: #b8c4d1;
  padding: 6px 0;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-tagline {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--light-blue);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-copyright {
  text-align: center;
  color: #8a97a8;
  font-size: 0.88rem;
}

/* ===== WhatsApp Bubble ===== */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* ===== Social Media Icons ===== */
.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 20px 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.social-facebook {
  background: #1877F2;
}

.social-facebook:hover {
  background: #166fe5;
}

.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-instagram:hover {
  background: linear-gradient(45deg, #e08928 0%, #d65d32 25%, #d21f3d 50%, #c21d5b 75%, #b2127d 100%);
}

.social-tiktok {
  background: #000000;
}

.social-tiktok:hover {
  background: #1a1a1a;
}

.social-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-light);
}

.social-section h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.social-section p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-social {
  margin-top: 20px;
}

.footer-social .social-links {
  justify-content: flex-start;
}

/* ===== Gold Badge ===== */
.gold-badge {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  font-size: 0.95rem;
}

/* ===== 5 Pillars Grid ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.pillar-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--border-light);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.pillar-card h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== Mission Box ===== */
.mission-box {
  background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
  color: white;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin: 60px 0;
  box-shadow: var(--shadow-lg);
}

.mission-box h3 {
  color: var(--gold-light);
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.mission-box p {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Change CTA Section ===== */
.change-cta {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--white) 100%);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  margin: 60px 0;
  border: 2px solid var(--gold-primary);
}

.change-cta h2 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 16px;
}

.change-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-style: italic;
}

/* ===== Logo Styling ===== */
.nav-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-logo-img {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.nav-logo-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 50%;
}

/* ===== Legal Tabs (privacy-terms.html) ===== */
.legal-tabs-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.legal-tabs {
  display: flex;
  background: var(--off-white);
  border-bottom: 2px solid var(--border-light);
}

.legal-tab {
  flex: 1;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.legal-tab svg {
  fill: currentColor;
}

.legal-tab:hover {
  color: var(--primary-blue);
  background: rgba(0, 86, 179, 0.05);
}

.legal-tab.active {
  color: var(--primary-blue);
  background: var(--white);
}

.legal-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-blue);
}

.legal-tab-content {
  display: none;
  padding: 40px;
  animation: fadeIn 0.4s ease;
}

.legal-tab-content.active {
  display: block;
}

/* ===== Our Story Page Styles (our-story.html) ===== */
.founder-intro {
  box-shadow: var(--shadow-md);
}

.founder-photo img {
  transition: transform 0.4s ease;
}

.founder-intro:hover .founder-photo img {
  transform: scale(1.05);
}

.story-chapters {
  max-width: 900px;
  margin: 0 auto;
}

.story-chapter {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.chapter-marker {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.chapter-marker::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--gold-primary);
  animation: pulse-ring 2s infinite;
}

.chapter-marker span {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  z-index: 1;
}

.chapter-content {
  flex: 1;
  padding-top: 10px;
}

/* ===== Animations ===== */
@keyframes pulse {
  0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ===== Responsive Design ===== */

/* Tablet & Below */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 12px auto;
  }

  .hero {
    height: 70vh;
  }

  .section {
    padding: 60px 0;
  }

  .bank-card, .coming-soon-card {
    padding: 28px 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }
  
  .pillar-card {
    padding: 24px 16px;
  }
  
  .mission-box {
    padding: 40px 24px;
  }
  
  .mission-box h3 {
    font-size: 1.4rem;
  }
  
  .mission-box p {
    font-size: 1.1rem;
  }

  .founder-intro {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .founder-photo img {
    width: 200px;
    height: 200px;
  }
  
  .story-chapter {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .chapter-marker {
    width: 60px;
    height: 60px;
  }
  
  .chapter-marker span {
    font-size: 1.5rem;
  }

  .bank-details-table td:first-child {
    width: 45%;
  }
}

/* Small Mobile */
@media (max-width: 600px) {
  .legal-tabs {
    flex-direction: column;
  }
  
  .legal-tab {
    border-bottom: 1px solid var(--border-light);
  }
  
  .legal-tab.active::after {
    bottom: -1px;
    height: 2px;
  }
  
  .legal-tab-content {
    padding: 24px 20px;
  }

  .bank-details-table {
    table-layout: auto;
  }

  .bank-details-table tr {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
  }

  .bank-details-table td {
    padding: 2px 0;
    width: 100% !important;
  }

  .bank-details-table td:first-child {
    color: var(--primary-blue);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

/* Extra Small Mobile */
@media (max-width: 500px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .btn-large { padding: 14px 32px; font-size: 1rem; }
  .whatsapp-bubble { width: 54px; height: 54px; }
  .whatsapp-bubble svg { width: 28px; height: 28px; }
  .social-icon {
    width: 40px;
    height: 40px;
  }
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}


/* ===== Alternating Image-Text Grid ===== */
.alternating-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1100px;
  margin: 60px auto 0;
}

.alt-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.alt-row.reverse {
  flex-direction: row-reverse;
}

.alt-text {
  flex: 1;
}

.alt-text h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.alt-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.alt-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.alt-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.alt-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  background: var(--gold-light);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
}

.alt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  transition: transform 0.5s ease;
}

.alt-image:hover img {
  transform: scale(1.05);
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
  .alternating-grid {
    gap: 50px;
  }
  
  .alt-row,
  .alt-row.reverse {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .alt-text h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .alt-image {
    width: 100%;
  }
  
  .alt-text {
    order: 2;
  }
  
  .alt-image {
    order: 1;
  }
}


/* ===== Rescue Gallery (3x4 Grid) ===== */
.rescue-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.rescue-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1; /* Square images */
  transition: var(--transition);
  border: 2px solid var(--border-light);
}

.rescue-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue);
}

.rescue-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rescue-item:hover img {
  transform: scale(1.05);
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .rescue-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile: 2 columns still (better UX than 1) */
@media (max-width: 500px) {
  .rescue-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .rescue-item {
    border-radius: 8px;
  }
}
