@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-saffron: #F26522;
  --primary-hover: #D84E0F;
  --saffron-light: #FFF5F0;
  --navy-dark: #0B192C;
  --navy-surface: #1E2E45;
  --navy-card: #152238;
  --emerald: #10B981;
  --emerald-light: #ECFDF5;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --bg-warm: #FAF9F6;
  --card-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Frozen Header Styles */
.frozen-header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Topmost Strip */
.top-strip {
  background-color: var(--navy-dark);
  color: #FFFFFF;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-title-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.brand-tagline {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-weight: 500;
}

.top-contact-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  font-weight: 500;
}

.contact-item:hover {
  color: var(--primary-saffron);
}

.btn-donate-strip {
  background-color: var(--primary-saffron);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.35);
}

.btn-donate-strip:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-auth-strip {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-auth-strip:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Sub-nav Options Bar */
.sub-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.nav-links-container {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link-item a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link-item a:hover,
.nav-link-item a.active {
  color: var(--primary-saffron);
  background-color: var(--saffron-light);
}

.sub-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* WhatsApp Floating Icon with Animated Pulsing Rings */
.whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
  z-index: 2;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background: #20BA5A;
}

.whatsapp-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

.whatsapp-ring-2 {
  animation-delay: 0.6s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy-dark);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Layout Containers & Sections */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

.section-title-wrapper {
  margin-bottom: 32px;
  text-align: center;
}

.section-badge {
  display: inline-block;
  background: var(--saffron-light);
  color: var(--primary-saffron);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
}

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

/* Cards & Progress */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.campaign-card {
  background: var(--card-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.campaign-img-wrapper {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

.campaign-card:hover .campaign-img {
  transform: scale(1.05);
}

.campaign-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 25, 44, 0.85);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.campaign-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.campaign-purpose {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.progress-container {
  margin-top: auto;
}

.progress-bar-bg {
  width: 100%;
  height: 10px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-saffron), var(--gold));
  border-radius: var(--radius-full);
  transition: width 0.8s ease-in-out;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
}

.stat-raised {
  color: var(--primary-saffron);
}

.stat-target {
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.7);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--card-white);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary-saffron);
  color: white;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-saffron);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.15);
}

/* Admin Banner Bar */
.admin-badge {
  background: #8B5CF6;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-left: 6px;
}

.btn-primary {
  background: var(--primary-saffron);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: #F1F5F9;
  color: var(--navy-dark);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #E2E8F0;
}

/* Header Desktop & Mobile Responsive Switch */
.desktop-header-wrapper {
  display: block;
}

.mobile-header-bar {
  display: none;
}

@media (max-width: 868px) {
  .desktop-header-wrapper {
    display: none !important;
  }

  .mobile-header-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: var(--navy-dark);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .mobile-brand-logo-img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .mobile-brand-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
    color: #FFFFFF;
    line-height: 1.2;
  }

  .mobile-brand-tagline {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-call-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .mobile-call-btn:hover {
    background: var(--primary-saffron);
  }

  .mobile-hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.25);
  }
}

/* Mobile Off-Canvas Drawer Styles */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  justify-content: flex-end;
  animation: fadeInOverlay 0.22s ease-out;
}

.mobile-drawer-menu {
  width: 86%;
  max-width: 340px;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.25);
  animation: slideInDrawer 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer-header {
  background: var(--navy-dark);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-drawer-close-btn:hover {
  background: var(--primary-saffron);
}

.mobile-drawer-auth {
  padding: 14px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
}

.mobile-user-card {
  background: var(--navy-surface);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: white;
}

.mobile-signout-btn {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.mobile-signout-btn:hover {
  background: #EF4444;
}

.mobile-admin-btn {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.mobile-admin-btn-orange {
  background: linear-gradient(135deg, #F26522 0%, #EA580C 100%);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.35);
}

.mobile-admin-btn-purple {
  background: #8B5CF6;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35);
}

.mobile-login-btn {
  width: 100%;
  background: var(--primary-saffron);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.3);
  transition: var(--transition);
}

.mobile-login-btn:hover {
  background: var(--primary-hover);
}

.mobile-drawer-lang {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: #FAF9F6;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy-dark);
  border-left: 4px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-saffron);
  background: var(--saffron-light);
  border-left-color: var(--primary-saffron);
  font-weight: 700;
}

.mobile-drawer-footer {
  padding: 16px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Global Mobile Responsiveness Tweaks */
@media (max-width: 768px) {
  .main-container {
    padding: 20px 16px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }

  .modal-overlay {
    padding: 8px;
  }

  .modal-card {
    padding: 20px 14px;
    width: 98%;
    border-radius: 14px;
    max-height: 94vh;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 16px 12px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .whatsapp-widget {
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Google Translate Widget Sanitization & Complete Top Banner Suppression */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9I-ORHb-OEVmcd,
iframe.VIpgJd-ZVi9I-ORHb-OEVmcd,
.VIpgJd-ZVi9I-ORHb-OEVmcd-ti,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-banner {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html, body {
  top: 0px !important;
  position: static !important;
}

body > .skiptranslate:not(.language-selector-wrapper) {
  display: none !important;
  height: 0 !important;
}

#google_translate_element {
  display: none !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}

.language-selector-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rich Text Document Display for Initiative Details & Guidance */
.rich-guidance-display {
  font-family: inherit;
  color: var(--navy-dark);
  font-size: 0.94rem;
  line-height: 1.7;
}

.rich-guidance-display p {
  margin: 0 0 10px 0;
}

.rich-guidance-display p:last-child {
  margin-bottom: 0;
}

.rich-guidance-display h1,
.rich-guidance-display h2,
.rich-guidance-display h3,
.rich-guidance-display h4 {
  color: var(--navy-dark);
  font-weight: 700;
  margin: 14px 0 8px 0;
}

.rich-guidance-display h1 { font-size: 1.3rem; }
.rich-guidance-display h2 { font-size: 1.15rem; }
.rich-guidance-display h3 { font-size: 1.05rem; }
.rich-guidance-display h4 { font-size: 0.95rem; }

.rich-guidance-display ul,
.rich-guidance-display ol {
  padding-left: 24px;
  margin: 8px 0 12px 0;
}

.rich-guidance-display li {
  margin-bottom: 6px;
}

.rich-guidance-display blockquote {
  border-left: 4px solid var(--primary-saffron);
  background: var(--saffron-light);
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
  font-style: italic;
  color: #334155;
}

.rich-guidance-display a {
  color: #2563EB;
  text-decoration: underline;
  font-weight: 600;
}

.rich-guidance-display hr {
  border: none;
  border-top: 1px solid #E2E8F0;
  margin: 16px 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-anim {
  animation: spin 1s linear infinite;
}

/* ========================================================================= */
/* Hero Carousel Responsive Styles                                           */
/* ========================================================================= */
.hero-carousel-section {
  min-height: 520px;
  height: 520px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  transition: var(--transition);
}

.hero-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-carousel-section {
    min-height: 480px;
    height: auto;
    padding: 56px 0 64px 0;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 3vw, 1.05rem);
    margin-bottom: 22px;
  }

  .hero-arrow-btn {
    width: 36px;
    height: 36px;
  }

  .hero-arrow-left {
    left: 8px;
  }

  .hero-arrow-right {
    right: 8px;
  }
}

@media (max-width: 540px) {
  .hero-arrow-btn {
    display: none !important;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
}

/* ========================================================================= */
/* Webinar Calendar Responsive Styles                                        */
/* ========================================================================= */
.webinar-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  align-items: start;
}

.webinar-calendar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.webinar-weekdays-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.webinar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.webinar-empty-cell {
  height: 48px;
}

.webinar-day-btn {
  height: 52px;
  border-radius: 12px;
  border: 1px solid #F1F5F9;
  background: #F8FAFC;
  color: var(--navy-dark);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
}

.webinar-day-btn .day-number {
  font-size: 0.9rem;
}

.webinar-day-btn.has-events {
  background: #FFFBEB;
  border: 1.5px solid #FDBA74;
  color: #B45309;
  font-weight: 800;
}

.webinar-day-btn.is-today {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.webinar-day-btn.selected {
  background: #FFF7ED !important;
  border: 2px solid var(--primary-saffron) !important;
  color: var(--primary-saffron) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.2);
}

.webinar-day-btn .event-dot {
  background: var(--primary-saffron);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 3px;
}

.webinar-day-btn .today-badge {
  font-size: 0.62rem;
  color: #2563EB;
  font-weight: 700;
}

.webinar-legend {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .webinar-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .webinar-calendar-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .webinar-days-grid {
    gap: 5px;
  }

  .webinar-empty-cell {
    height: 38px;
  }

  .webinar-day-btn {
    height: 42px;
    border-radius: 8px;
  }

  .webinar-day-btn .day-number {
    font-size: 0.82rem;
  }

  .webinar-weekdays-header {
    font-size: 0.72rem;
  }

  .webinar-legend {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .webinar-calendar-card {
    padding: 12px 8px;
  }

  .webinar-days-grid {
    gap: 3px;
  }

  .webinar-day-btn {
    height: 38px;
  }
}

/* ========================================================================= */
/* Webmail 3-Pane Responsiveness                                             */
/* ========================================================================= */
.email-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.email-sidebar-pane {
  width: 240px;
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  gap: 16px;
  flex-shrink: 0;
}

.email-list-pane {
  width: 360px;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  flex-shrink: 0;
}

.email-detail-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #FAFAFA;
  overflow: hidden;
}

.email-mobile-folder-bar {
  display: none;
}

.email-mobile-back-btn {
  display: none;
}

@media (max-width: 868px) {
  .email-sidebar-pane {
    display: none !important;
  }

  .email-mobile-folder-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .email-modal-body {
    flex-direction: column;
  }

  .email-list-pane {
    width: 100% !important;
    border-right: none !important;
  }

  .email-detail-pane {
    width: 100% !important;
  }

  .email-mobile-back-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #EEF2F6;
    color: var(--navy-dark);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 8px;
    border: 1px solid #CBD5E1;
    cursor: pointer;
    align-self: flex-start;
  }

  /* In mobile view, toggle between list pane and detail pane */
  .email-modal-body.show-list .email-detail-pane {
    display: none !important;
  }

  .email-modal-body.show-list .email-list-pane {
    display: flex !important;
    flex: 1;
  }

  .email-modal-body.show-detail .email-list-pane {
    display: none !important;
  }

  .email-modal-body.show-detail .email-detail-pane {
    display: flex !important;
    flex: 1;
  }
}



