/* ============================================
   FEBC Glory Company - Styles
   ============================================ */

:root {
  --accent: #608E3D;
  --accent-dark: #4a6e2e;
  --accent-light: #e8f2df;
  --accent2: #392361;
  --accent2-light: #ede5f5;
  --gradient: linear-gradient(135deg, #608E3D 0%, #392361 100%);
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #1a0f2e;
  --text: #1a1a2e;
  --text-muted: #5a6178;
  --text-light: #8892a6;
  --border: #e2e5ea;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.06);
  --transition: 0.2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Container */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
}
.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(96, 142, 61, 0.35), 0 2px 8px rgba(57, 35, 97, 0.2);
}
.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--bg);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; }

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header--scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__svg {
  width: auto;
  height: 52px;
  flex-shrink: 0;
  display: block;
}
.logo__text {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

/* Nav */
.nav__list {
  display: flex;
  gap: 8px;
}
.nav__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__link:hover,
.nav__link--active {
  color: var(--accent);
  background: var(--accent-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #ede5f5 0%, var(--accent-light) 40%, #e8f2df 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(57,35,97,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(96,142,61,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.text-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent2 { color: var(--accent2); }
.hero__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__globe {
  width: 320px;
  height: 320px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   Stats
   ============================================ */
.stats { padding: 0; transform: translateY(-40px); }
.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   Section commons
   ============================================ */
.section__tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gradient);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.section__title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section__title--lg {
  font-size: clamp(32px, 4vw, 46px);
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: 40px 0 100px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Card */
.card {
  padding: 32px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }
.card:nth-child(1) .card__icon { background: var(--accent-light); color: var(--accent); }
.card:nth-child(2) .card__icon { background: var(--accent2-light); color: var(--accent2); }
.card:nth-child(3) .card__icon { background: var(--accent-light); color: var(--accent); }
.card:nth-child(4) .card__icon { background: var(--accent2-light); color: var(--accent2); }
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--bg-alt);
}
.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.about__content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.about__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about__card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.about__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.about__card-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a0f2e 0%, #2a1450 50%, #1a0f2e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96,142,61,0.12) 0%, rgba(57,35,97,0.06) 40%, transparent 70%);
  pointer-events: none;
}
.cta__title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta__text {
  font-size: 16px;
  color: #8892a6;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 0 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.logo--footer .logo__text { color: #fff; }
.footer__desc {
  margin-top: 16px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 300px;
}
.footer__heading {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links li,
.footer__links a {
  font-size: 14px;
  color: #6b7280;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent-light); }
.footer__bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer__bottom p {
  font-size: 13px;
  color: #4b5563;
}

/* ============================================
   Contact Hero
   ============================================ */
.contact-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #ede5f5 0%, var(--accent-light) 40%, #e8f2df 100%);
  text-align: center;
}
.contact-hero__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact { padding: 80px 0 100px; }
.contact__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: start;
}

/* Form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6178' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.form-success {
  text-align: center;
  padding: 60px 40px;
}
.form-success h3 {
  font-size: 22px;
  margin: 16px 0 8px;
  color: var(--text);
}
.form-success p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Info cards */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.info-card:hover {
  border-color: var(--accent);
}
.info-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 10px;
  margin-bottom: 12px;
  color: var(--accent);
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.info-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Map placeholder
   ============================================ */
.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Nav */
  .hamburger { display: flex; }
  .header { border-bottom: none; }
  .nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { padding: 12px 16px; display: block; }

  /* Hero */
  .hero { padding: 120px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__globe { width: 220px; height: 220px; }

  /* Stats */
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 24px; }
  .stat:last-child { border-bottom: none; }

  /* About */
  .about__inner { grid-template-columns: 1fr; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 28px; }
  .services__grid { grid-template-columns: 1fr; }
  .btn--lg { padding: 14px 28px; }
}
