/* ==========================================================================
   SAF-TESO Official Stylesheet (safteso.org)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #DFB822;
  --primary-hover: #c9a319;
  --primary-dark: #a8870e;
  --primary-light: #fef8e2;
  --dark: #111827;
  --dark-2: #1f2937;
  --dark-3: #374151;
  --text-main: #334155;
  --text-light: #64748b;
  --text-white: #ffffff;
  --bg-main: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-cream: #f8f6f1;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --font-heading: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section-padding {
  padding: 5rem 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-secondary:hover {
  background-color: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--dark);
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-logo-wrap {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 60px;
  width: auto;
  border-radius: var(--radius-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: #111827;
  background-color: rgba(255, 255, 255, 0.25);
}

.dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  border: 1px solid var(--border-color);
}

.nav-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

.sub-menu-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--dark-3);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.sub-menu-item a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding-left: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-search-trigger {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-search-trigger:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--dark);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-nav-menu {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}

.mobile-sub-menu {
  padding-left: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.mobile-sub-menu.open {
  display: flex;
}

.mobile-sub-link {
  padding: 0.4rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hhero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  background-color: var(--dark);
}

.hhero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hhero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hhero-slide.active {
  opacity: 1;
}

.hhero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

.hhero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 4rem 1.5rem;
}

.hhero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--primary);
  color: #000000;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(223, 184, 34, 0.3);
}

.hhero-title {
  font-size: 3.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hhero-subtitle {
  font-size: 1.35rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hhero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 45vh;
  background: url('../images/1001221619-768x576.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto;
}

/* About Block */
.about-block-section {
  background-color: var(--bg-cream);
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.about-heading {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.mv-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.mv-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Impact Section */
.impact-section {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.impact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.impact-badge {
  display: inline-block;
  background: rgba(223, 184, 34, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.impact-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.impact-subtitle {
  color: #94a3b8;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Partners Section */
.partners_section {
  padding: 4.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners_title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.partners-track-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  min-width: 180px;
  height: 80px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-3);
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition);
}

.partner-logo-item:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* What We Do */
.wwd-section {
  padding: 5rem 0;
  background-color: var(--bg-cream);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.pillar-desc {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pillar-result {
  background-color: var(--primary-light);
  border-left: 3px solid var(--primary-dark);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
}

/* Our Team */
.team-section {
  padding: 5rem 0;
  background-color: var(--bg-cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-color);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.team-img-wrap {
  height: 280px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.75rem 1.25rem;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Photo Gallery & Lightbox */
.photos-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: #e2e8f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--primary);
  color: #000;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* News & Stories */
.news-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.news-card-img {
  height: 220px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-card-title a:hover {
  color: var(--primary-dark);
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.news-card-link:hover {
  gap: 0.6rem;
}

/* Single Article Layout */
.article-section {
  padding: 4rem 0 6rem;
}

.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.article-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.95rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.article-featured-img img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-3);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2, .article-content h3, .article-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--bg-alt);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.2rem;
}

.comments-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
  background-color: var(--bg-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-item-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form-wrap {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(223, 184, 34, 0.2);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-alert {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.form-alert.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* About Us Detailed Document */
.about-doc-section {
  padding: 4rem 0 6rem;
  background-color: #ffffff;
}

.about-doc-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark-3);
}

.about-doc-content h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  color: var(--dark);
}

.about-doc-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--dark-2);
}

.about-doc-content h4 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-doc-content p {
  margin-bottom: 1.25rem;
}

.about-doc-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-doc-content li {
  margin-bottom: 0.5rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.doc-table th, .doc-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.doc-table th {
  background-color: var(--dark);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
}

.doc-table tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.badge-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(223, 184, 34, 0.4);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: #000000;
  padding: 4rem 0 0;
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 0.25rem;
}

.footer-about-text {
  font-size: 0.95rem;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 35px;
  height: 3px;
  background-color: #000000;
  margin-top: 0.4rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item i {
  color: #000000;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(8px);
  z-index: 3500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.search-modal.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  width: 90%;
  max-width: 650px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.search-input {
  width: 100%;
  border: none;
  font-size: 1.15rem;
  font-family: var(--font-body);
  outline: none;
  color: var(--dark);
}

.search-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.search-result-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.search-result-item a {
  display: block;
}

.search-result-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.search-result-snippet {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 868px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hhero-title {
    font-size: 2.25rem;
  }

  .hhero-subtitle {
    font-size: 1.1rem;
  }

  .page-hero-title {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
