/* ============================================================
   ConferenceMind Trust — Global Design System
   Colors: Teal #0D6E6E | Amber #F2A63A | Ivory #FAF7F2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --teal: #0D6E6E;
  --teal-dark: #085041;
  --teal-light: #E1F5EE;
  --amber: #F2A63A;
  --amber-dark: #C8841A;
  --amber-light: #FAEEDA;
  --ivory: #FAF7F2;
  --dark: #1A1A2E;
  --dark-soft: #2C2C3E;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --white: #FFFFFF;
  --border: rgba(13,110,110,0.12);
  --shadow-sm: 0 2px 8px rgba(13,110,110,0.08);
  --shadow-md: 0 8px 32px rgba(13,110,110,0.12);
  --shadow-lg: 0 20px 60px rgba(13,110,110,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --nav-h: 72px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

/* Typography with premium letter-spacing */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.01em;
  font-feature-settings: "ss02", "liga" 1;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--gray); line-height: 1.8; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

/* Utility */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header p { max-width: 560px; margin-top: 0.75rem; }
.section-header.center p { margin: 0.75rem auto 0; }

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border-radius: 40px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--dark);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,166,58,0.35);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,110,110,0.3);
}

/* Premium Cards */
.card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(13,110,110,0.2);
}

/* Form elements */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid rgba(13,110,110,0.2);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,110,110,0.1);
}
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.badge-teal { background: var(--teal-light); color: var(--teal-dark); }
.badge-amber { background: var(--amber-light); color: var(--amber-dark); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(242,166,58,0.15) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(250,247,242,0.75); max-width: 540px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(250,247,242,0.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--amber); }

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: none;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* Premium gradient overlay for hero images */

/* Temporary hero image background fix */
.hero-image-wrap {
  background: var(--teal-dark);
  min-height: 400px;
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
}

/* Floating donate button for mobile */
@media (max-width: 768px) {
  .floating-donate-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--amber);
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
  }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hide-mobile { display: none !important; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}
/* Global image fallback */
img {
  background-color: #E1F5EE;
  min-height: 100px;
  display: inline-block;
}

img[src=""] {
  display: none;
}

/* Fallback for any image that fails to load */
img:after {
  content: "📷 Image Coming Soon";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #E1F5EE;
  color: #0D6E6E;
  font-size: 12px;
}

/* Puri Reel sample cards without images */
.reel-sample-card {
  position: relative;
  overflow: hidden;
}

.reel-sample-card span {
  z-index: 2;
}