/* RockGreen International — Main Stylesheet */

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

:root {
  --rgi-green: #1a5f3a;
  --rgi-green-dark: #0f3d25;
  --rgi-green-light: #2a7a4e;
  --rgi-gold: #c9a43a;
  --rgi-gold-light: #dfc06a;
  --rgi-dark: #1a2332;
  --rgi-light: #f5f6f7;
  --rgi-text: #2c3e50;
  --rgi-muted: #6c7a89;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--rgi-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--rgi-dark);
  line-height: 1.25;
}

a {
  color: var(--rgi-green);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--rgi-gold); }

img, svg { max-width: 100%; height: auto; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--rgi-green-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 6px 0;
  letter-spacing: .03em;
}
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--rgi-gold); }

/* ===== NAVBAR ===== */
.navbar-rgi {
  background: var(--rgi-dark);
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-rgi .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.brand-logo-circle {
  width: 44px;
  height: 44px;
  background: var(--rgi-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--rgi-gold);
}

.brand-logo-circle span {
  color: var(--rgi-gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.5px;
}

.brand-text-main {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  display: block;
  line-height: 1.2;
}

.brand-text-sub {
  color: var(--rgi-gold);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: block;
}

.navbar-rgi .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 24px 14px !important;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.navbar-rgi .nav-link:hover,
.navbar-rgi .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--rgi-gold);
}

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--rgi-green-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,61,37,.85) 0%, rgba(26,35,50,.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--rgi-gold);
  color: var(--rgi-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero h1 em {
  color: var(--rgi-gold);
  font-style: normal;
}

.hero .lead {
  color: rgba(255,255,255,.88);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 36px;
}

.btn-rgi-gold {
  background: var(--rgi-gold);
  color: var(--rgi-dark);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 3px;
  border: none;
  transition: background .2s, transform .15s;
}
.btn-rgi-gold:hover {
  background: var(--rgi-gold-light);
  color: var(--rgi-dark);
  transform: translateY(-2px);
}

.btn-rgi-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  background: transparent;
  transition: border-color .2s, color .2s;
}
.btn-rgi-outline:hover {
  border-color: var(--rgi-gold);
  color: var(--rgi-gold);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--rgi-green);
  padding: 32px 0;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--rgi-gold);
  line-height: 1;
  display: block;
}

.stat-label {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ===== SECTION UTILITIES ===== */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

.section-light { background: var(--rgi-light); }
.section-dark {
  background: var(--rgi-dark);
  color: rgba(255,255,255,.88);
}
.section-green {
  background: var(--rgi-green);
  color: rgba(255,255,255,.9);
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rgi-gold);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-title.light { color: #fff; }

.divider-gold {
  width: 52px;
  height: 3px;
  background: var(--rgi-gold);
  margin-bottom: 30px;
}

/* ===== TOPIC CARDS ===== */
.topic-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}

.topic-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-card-body {
  padding: 24px;
}

.topic-card-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rgi-green);
  margin-bottom: 8px;
  display: block;
}

.topic-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.topic-card p {
  font-size: .9rem;
  color: var(--rgi-muted);
  margin-bottom: 16px;
}

.link-arrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--rgi-green);
  text-transform: uppercase;
}
.link-arrow::after { content: ' →'; }
.link-arrow:hover { color: var(--rgi-gold); }

/* ===== FEATURE BLOCK (Afghanistan) ===== */
.feature-block {
  background: var(--rgi-green-dark);
  position: relative;
  overflow: hidden;
}

.feature-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(201,164,58,.06);
  border-radius: 50%;
}

.feature-eyebrow {
  display: inline-block;
  border: 1px solid var(--rgi-gold);
  color: var(--rgi-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.feature-block h2 { color: #fff; }
.feature-block p { color: rgba(255,255,255,.8); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.feature-list li {
  color: rgba(255,255,255,.85);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-left: 22px;
  position: relative;
  font-size: .95rem;
}
.feature-list li::before {
  content: '◆';
  color: var(--rgi-gold);
  position: absolute;
  left: 0;
  font-size: .55rem;
  top: 13px;
}

/* ===== NEWS CARDS ===== */
.news-card {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e8edf2;
  overflow: hidden;
  transition: box-shadow .2s;
  height: 100%;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }

.news-card-meta {
  padding: 20px 22px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--rgi-green);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
}
.badge-cat.gold { background: var(--rgi-gold); color: var(--rgi-dark); }
.badge-cat.outline {
  background: transparent;
  border: 1px solid var(--rgi-green);
  color: var(--rgi-green);
}

.news-date {
  font-size: .78rem;
  color: var(--rgi-muted);
}

.news-card-body {
  padding: 14px 22px 22px;
}
.news-card-body h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body p { font-size: .88rem; color: var(--rgi-muted); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--rgi-dark);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rgi-green) 0%, var(--rgi-gold) 100%);
}

.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

.breadcrumb-rgi { margin-bottom: 14px; }
.breadcrumb-rgi .breadcrumb-item a { color: var(--rgi-gold); }
.breadcrumb-rgi .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb-rgi .breadcrumb-item.active { color: rgba(255,255,255,.6); }

/* ===== THEMEN PAGE ===== */
.thema-section {
  padding: 60px 0;
  border-bottom: 1px solid #e8edf2;
}
.thema-section:last-child { border-bottom: none; }

.thema-icon-box {
  width: 70px;
  height: 70px;
  background: var(--rgi-green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.thema-icon-box svg { color: var(--rgi-gold); }

/* ===== COUNTRIES ===== */
.country-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  height: 100%;
}
.country-card:hover {
  border-color: var(--rgi-green);
  box-shadow: 0 4px 20px rgba(26,95,58,.12);
}

.country-card-header {
  background: var(--rgi-green);
  padding: 20px 24px;
}
.country-card-header h4 { color: #fff; margin: 0; font-size: 1.15rem; }
.country-card-header span {
  color: var(--rgi-gold-light);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.country-card-body { padding: 22px 24px; }
.country-card-body p { font-size: .92rem; color: var(--rgi-text); }

.afghanistan-feature {
  background: linear-gradient(135deg, var(--rgi-green-dark) 0%, var(--rgi-dark) 100%);
  border-radius: 8px;
  padding: 48px 42px;
  position: relative;
  overflow: hidden;
}
.afghanistan-feature::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border: 60px solid rgba(201,164,58,.07);
  border-radius: 50%;
}

/* ===== CONTACT PAGE ===== */
.contact-form-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
  padding: 40px;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--rgi-text);
  margin-bottom: 5px;
}

.form-control, .form-select {
  border-color: #dde2e8;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--rgi-green);
  box-shadow: 0 0 0 3px rgba(26,95,58,.1);
}

.btn-rgi-green {
  background: var(--rgi-green);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 4px;
  border: none;
  transition: background .2s;
}
.btn-rgi-green:hover { background: var(--rgi-green-light); color: #fff; }

.contact-info-box {
  background: var(--rgi-dark);
  border-radius: 8px;
  padding: 36px 32px;
  height: 100%;
}
.contact-info-box h4 { color: #fff; }
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,164,58,.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rgi-gold);
}
.contact-info-content { flex: 1; }
.contact-info-content strong {
  display: block;
  color: #fff;
  font-size: .85rem;
  margin-bottom: 2px;
}
.contact-info-content span {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
}

/* ===== ABOUT PAGE ===== */
.value-card {
  background: #fff;
  border-left: 4px solid var(--rgi-gold);
  padding: 24px;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  height: 100%;
}
.value-card h5 { color: var(--rgi-green-dark); }
.value-card p { font-size: .9rem; color: var(--rgi-muted); margin: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--rgi-dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,.7);
}

.footer-brand .brand-text-main { font-size: 1.1rem; }

.footer-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin-top: 14px;
  line-height: 1.6;
}

.footer-heading {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--rgi-gold); }

.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 40px 0 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links a:hover { color: var(--rgi-gold); }

.footer-gold-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--rgi-green) 0%, var(--rgi-gold) 60%, var(--rgi-green-dark) 100%);
}

/* ===== LEGAL PAGES ===== */
.legal-content h2 { font-size: 1.5rem; margin-top: 36px; margin-bottom: 12px; color: var(--rgi-green-dark); }
.legal-content h3 { font-size: 1.15rem; margin-top: 24px; color: var(--rgi-dark); }
.legal-content p { font-size: .95rem; }

/* ===== NEWSROOM ===== */
.news-hero-card {
  background: var(--rgi-green);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.news-hero-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 50px solid rgba(255,255,255,.05);
  border-radius: 50%;
}
.news-hero-card h3 { color: #fff; }
.news-hero-card p { color: rgba(255,255,255,.8); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp .6s ease forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar-rgi .nav-link { padding: 12px 16px !important; border-bottom: none; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 14px 0; }
  .stat-item:last-child { border-bottom: none; }
  .afghanistan-feature { padding: 32px 24px; }
}

@media (max-width: 767px) {
  .hero { min-height: 420px; }
  .hero-content { padding: 60px 0 72px; }
  .contact-form-wrap { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
