/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.top-bar a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .top-bar-left span:not(:first-child),
  .top-bar-right a:not(:last-child) {
    display: none;
  }
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--dark);
}

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

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-links a {
  padding: var(--space-3) var(--space-4);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-md);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: var(--space-6);
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  max-width: 320px;
}

.hero-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.hero-card-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-4);
}

.countdown {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.countdown-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  min-width: 64px;
}

.countdown-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
}

.countdown-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-visual {
    display: none;
  }
}

/* ========== STATS ========== */
.stats-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-10) 0;
  margin-top: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-item {
  text-align: center;
}

.stat-item-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.stat-item-label {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  .stat-item-value {
    font-size: 1.75rem;
  }
}

/* ========== PILLARS ========== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition);
}

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

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== MESSAGE SECTION ========== */
.message-section {
  background: var(--primary-light);
}

.message-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.message-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto;
  border: 4px solid var(--gold-light);
}

.message-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.message-author {
  font-weight: 600;
  color: var(--dark);
}

.message-role {
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .message-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: var(--space-12) 0;
  text-align: center;
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-12) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: var(--space-3);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: white;
}

/* ========== STATE CARDS ========== */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
}

.state-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  transition: all var(--transition);
}

.state-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.state-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.state-name {
  font-weight: 600;
  font-size: 1.0625rem;
}

/* ========== OPPORTUNITY CARDS ========== */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
}

.opp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.opp-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.opp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.opp-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
  line-height: 1.4;
}

.opp-org {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.opp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.opp-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.opp-desc {
  font-size: 0.875rem;
  color: var(--text);
  flex: 1;
  margin-bottom: var(--space-4);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--border);
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--gold-light));
  color: var(--primary);
}

/* ========== FILTER BAR ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  align-items: center;
}

.filter-bar .form-control {
  width: auto;
  min-width: 160px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-box .form-control {
  padding-left: 2.5rem;
  width: 100%;
}

.search-box .search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* ========== DOCUMENT CARDS ========== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition);
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.doc-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.doc-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

.doc-actions {
  display: flex;
  gap: 0.25rem;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

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

.contact-item-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.125rem;
}

.contact-item-value {
  font-weight: 500;
  color: var(--dark);
}

.map-placeholder {
  background: var(--border);
  border-radius: var(--radius-xl);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-top: var(--space-6);
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
  padding: var(--space-12) 0;
}

.content-block {
  margin-bottom: var(--space-10);
}

.content-block h3 {
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.content-block p {
  color: var(--text);
  line-height: 1.7;
}

.objectives-list {
  display: grid;
  gap: var(--space-3);
}

.objective-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.objective-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  flex-shrink: 0;
}
