/* =============================================
   JIVAN FOUNDATION - MAIN STYLESHEET
   Color Palette: Orange #F5A623 | Blue #1A5BA6 | Navy #1B2A6B | White
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@300;400;600;700;800&display=swap');

:root {
  --orange: #F5A623;
  --orange-dark: #E08C0A;
  --blue: #1A5BA6;
  --blue-dark: #1B2A6B;
  --blue-light: #4A90D9;
  --white: #ffffff;
  --light-bg: #F8F9FC;
  --text-dark: #222222;
  --text-muted: #6c757d;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ===== NAVBAR ===== */
#mainNav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

#mainNav.scrolled {
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.navbar-brand img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--blue-dark) !important;
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
}

.btn-donate {
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 25px;
  padding: 0.4rem 1.2rem !important;
  font-weight: 800 !important;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(245,166,35,0.4);
}

.btn-donate:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245,166,35,0.5);
}

.btn-volunteer {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 25px;
  padding: 0.4rem 1.2rem !important;
  font-weight: 800 !important;
  transition: var(--transition);
}

.btn-volunteer:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ===== HERO SLIDER ===== */
#heroSlider {
  position: relative;
  width: 100%;
  height: calc(100vh - 75px);
  min-height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,107,0.75) 0%, rgba(26,91,166,0.5) 50%, rgba(0,0,0,0.4) 100%);
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  color: var(--white);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.7s ease 0.3s;
}

.hero-slide.active .hero-caption {
  transform: translateY(0);
  opacity: 1;
}

.hero-caption h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.hero-caption p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-btns .btn {
  border-radius: 30px;
  padding: 0.7rem 1.8rem;
  font-weight: 700;
  margin: 0.3rem;
  transition: var(--transition);
}

.hero-btns .btn-primary-hero {
  background: var(--orange);
  border: none;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(245,166,35,0.5);
}

.hero-btns .btn-primary-hero:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}

.hero-btns .btn-outline-hero {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.hero-btns .btn-outline-hero:hover {
  background: var(--white);
  color: var(--blue-dark);
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 20px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--orange);
  width: 28px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.2rem;
}

.slider-arrow:hover { background: var(--orange); border-color: var(--orange); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ===== SECTION STYLES ===== */
section { padding: 80px 0; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title .tag {
  display: inline-block;
  background: rgba(245,166,35,0.1);
  color: var(--orange);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 20px;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.section-title h2 span { color: var(--orange); }

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--orange), var(--blue));
  border-radius: 2px;
  margin: 0 auto 1rem;
}

/* ===== ABOUT SECTION ===== */
#about { background: var(--light-bg); }

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--orange);
}

.about-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}

/* ===== VISION MISSION SECTION ===== */
#vision-mission { background: var(--blue-dark); color: var(--white); }

.vm-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
}

.vm-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
}

.vm-card h3 { color: var(--orange); font-size: 1.5rem; margin-bottom: 1rem; }
.vm-card p { color: rgba(255,255,255,0.85); line-height: 1.8; }

/* Core Values */
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 30px;
  padding: 0.5rem 1rem;
  margin: 0.3rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.value-chip:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.value-chip i { color: var(--orange); }
.value-chip:hover i { color: var(--white); }

/* ===== ACTIVITIES ===== */
#activities { background: var(--light-bg); }

.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

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

.activity-icon {
  height: 120px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}

.activity-body { padding: 1.5rem; }
.activity-body h5 { color: var(--blue-dark); font-family: 'Nunito', sans-serif; font-weight: 700; margin-bottom: 0.5rem; }
.activity-body p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== IMPACT COUNTERS ===== */
#impact { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); color: var(--white); }

.counter-card {
  text-align: center;
  padding: 2rem 1rem;
}

.counter-card .count {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1;
}

.counter-card .label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.counter-card i {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.5rem;
}

/* ===== EVENTS ===== */
#events { background: var(--white); }

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.06);
}

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

.event-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.event-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.event-body { padding: 1.5rem; }
.event-body h5 { color: var(--blue-dark); font-family: 'Nunito', sans-serif; font-weight: 700; margin-bottom: 0.5rem; }

/* ===== CHAIRPERSON MESSAGE ===== */
#chairperson { background: var(--light-bg); }

.chairperson-wrap {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chairperson-photo {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 6rem;
}

.chairperson-content {
  padding: 3rem;
}

.chairperson-content .quote-icon {
  font-size: 4rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--blue-dark); color: var(--white); }

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.4;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p { color: rgba(255,255,255,0.85); font-style: italic; padding-top: 1.5rem; }
.testimonial-card .author { color: var(--orange); font-weight: 700; margin-top: 1rem; }

/* ===== NEWSLETTER ===== */
#newsletter {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}

.newsletter-form .form-control {
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  border: none;
  font-family: 'Nunito', sans-serif;
}

.newsletter-form .btn-sub {
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  transition: var(--transition);
}

.newsletter-form .btn-sub:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* ===== CONTACT PREVIEW ===== */
#contact-preview { background: var(--white); }

.contact-info-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border-left: 4px solid var(--orange);
}

/* ===== FOOTER ===== */
#footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 20px;
}

#footer h5 {
  color: var(--orange);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}

#footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--orange);
}

#footer p, #footer li { font-size: 0.9rem; line-height: 1.8; }

#footer a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  font-size: 0.9rem;
}

#footer a:hover { color: var(--orange); padding-left: 4px; }

#footer ul { list-style: none; padding: 0; }
#footer ul li { margin-bottom: 0.4rem; }
#footer ul li a::before { content: '→ '; color: var(--orange); }

.social-links { display: flex; gap: 12px; margin-top: 1rem; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7) !important;
  transition: var(--transition);
  font-size: 1rem;
}

.social-link:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
  transform: translateY(-3px) !important;
  padding-left: 0 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(245,166,35,0.1);
  border-radius: 50%;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.page-hero .breadcrumb-item.active { color: var(--orange); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ===== GOVERNING BODY ===== */
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

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

.member-photo {
  height: 500px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.3);
  overflow: hidden;
}

.member-photo img { width: 100%; height: 100%; object-fit: cover; }

.member-body { padding: 1.5rem; }
.member-body h5 { color: var(--blue-dark); font-family: 'Nunito', sans-serif; font-weight: 700; }
.member-body .designation { color: var(--orange); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ===== GALLERY PAGE ===== */
.year-tabs { margin-bottom: 2rem; }

.year-tab-btn {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  border-radius: 30px;
  padding: 0.6rem 1.8rem;
  font-weight: 700;
  margin: 0.3rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
}

.year-tab-btn:hover,
.year-tab-btn.active {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26,91,166,0.3);
}

.type-tab-btn {
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  margin: 0.3rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}

.type-tab-btn:hover,
.type-tab-btn.active {
  background: var(--orange);
  color: var(--white);
}

.pdf-viewer-wrap {
  background: var(--light-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(26,91,166,0.1);
}

.pdf-toolbar {
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.pdf-viewer-frame {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
  background: #fff;
}

.pdf-placeholder {
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--text-muted);
}

/* ===== EVENTS PAGE ===== */
.events-year-section { margin-bottom: 4rem; }

.events-year-header {
  background: linear-gradient(to right, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
}

/* ===== CONTACT PAGE ===== */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  transition: var(--transition);
}

.contact-form-card .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,91,166,0.1);
}

.btn-submit {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}

.btn-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.5);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item .ci-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== ABOUT PAGE ===== */
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 45px;
  bottom: -10px;
  width: 2px;
  background: rgba(26,91,166,0.2);
}

.timeline-item:last-child::before { display: none; }

.timeline-year {
  width: 45px;
  height: 45px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ===== BUTTONS ===== */
.btn-primary-jf {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  cursor: pointer;
}

.btn-primary-jf:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245,166,35,0.4);
}

.btn-outline-jf {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  cursor: pointer;
}

.btn-outline-jf:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245,166,35,0.5);
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
  font-size: 1.1rem;
}

#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
}

#backToTop:hover { background: var(--orange-dark); transform: translateY(-3px); }

/* ===== AOS FALLBACK (animations) ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  #heroSlider { height: 60vh; }
  section { padding: 60px 0; }
  .hero-caption { padding: 2rem; }
}

@media (max-width: 768px) {
  #heroSlider { height: 70vw; min-height: 350px; }
  .hero-caption h1 { font-size: 1.6rem; }
  .hero-btns .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .pdf-viewer-frame { height: 500px; }
  section { padding: 50px 0; }
  .slider-arrow { display: none; }
}

@media (max-width: 576px) {
  .section-title h2 { font-size: 1.5rem; }
  .pdf-viewer-frame { height: 400px; }
}
