/*
Theme Name: SYH Agency
Theme URI: https://syh.et
Author: SYH Foreign Employment Agency
Author URI: https://syh.et
Description: Official WordPress theme for SYH Foreign Employment Agency - Ethiopia's trusted overseas manpower recruitment agency.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: syh-agency
Tags: business, one-page, recruitment, agency
*/

/* ===== ROOT & VARIABLES ===== */
:root {
  --primary: #34d399;
  --primary-dark: #10b981;
  --primary-light: #ecfdf5;
  --secondary: #065f46;
  --accent: #d4a017;
  --accent-light: #fef3c7;
  --text-dark: #1a2e25;
  --text-muted: #6b7280;
  --white: #ffffff;
  --light-bg: #f0fdf9;
  --border: #a7f3d0;
  --shadow: 0 4px 24px rgba(52,211,153,0.14);
  --shadow-lg: 0 8px 40px rgba(52,211,153,0.20);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: var(--transition); }

.section-padding { padding: 90px 0; }

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: transparent;
  padding: 18px 0;
  transition: var(--transition);
}
#mainNav.scrolled {
  background: var(--secondary);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.brand-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #0f2417;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.brand-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  color: rgba(255,255,255,0.85) !important;
}
.nav-link:hover { color: white !important; background: rgba(255,255,255,0.1); }
.btn-nav-contact {
  background: var(--accent) !important;
  color: #0f2417 !important;
  border-radius: 8px;
  padding: 8px 18px !important;
  font-weight: 600;
}
.btn-nav-contact:hover { background: #b8880f !important; }

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%),
    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80') center/cover no-repeat;
  background-blend-mode: multiply;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,78,58,0.88) 0%, rgba(52,211,153,0.30) 100%);
}
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0;
}
.text-highlight {
  color: var(--accent);
  position: relative;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  max-width: 680px;
  line-height: 1.8;
}
.btn-primary-custom {
  background: var(--accent);
  color: #0f2417;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212,160,23,0.4);
}
.btn-primary-custom:hover {
  background: #b8880f;
  color: #0f2417;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.5);
}
.hero-stats { gap: 40px !important; }
.stat-item {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-top: 4px;
}
.hero-scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator a {
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== ABOUT ===== */
.about-img-wrapper { position: relative; }
.main-about-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-badge-card {
  position: absolute; bottom: -20px; right: -20px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
}
.mvv-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.mvv-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.values-list { display: flex; flex-direction: column; gap: 10px; }
.value-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
}

/* ===== SERVICES ===== */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--primary);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: white; }
.service-card h5 { font-weight: 700; margin-bottom: 10px; }

/* ===== COUNTRIES ===== */
.country-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: default;
}
.country-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.country-flag {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.country-card:hover .country-flag img { transform: scale(1.06); }
.country-card h6 { font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.country-card p { font-size: 0.75rem; }

/* ===== JOB CATEGORIES ===== */
.job-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
  cursor: default;
}
.job-card i { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; }
.job-card:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.job-card:hover i { color: white; }

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: linear-gradient(135deg, #065f46 0%, #34d399 100%);
  position: relative; overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.12); }
.why-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.big-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.stat-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 8px 0 0; }

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.masonry-gallery {
  columns: 4;
  column-gap: 16px;
}
@media (max-width: 991px) { .masonry-gallery { columns: 3; } }
@media (max-width: 767px) { .masonry-gallery { columns: 2; } }
@media (max-width: 479px) { .masonry-gallery { columns: 1; } }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.masonry-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,52,96,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex; align-items: flex-end;
  padding: 16px;
}
.masonry-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-size: 0.85rem; font-weight: 600; }
.masonry-item.hidden { display: none; }

/* ===== LICENSES ===== */
.license-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.license-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.license-icon { font-size: 2.5rem; margin-bottom: 16px; }
.license-card h6 { font-weight: 700; margin-bottom: 8px; }

/* ===== CONTACT ===== */
.contact-info-block {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--primary);
}
.whatsapp-icon { background: #e8f5e9 !important; color: #25d366 !important; }
.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.map-placeholder { border-radius: var(--radius); overflow: hidden; }

/* ===== FOOTER ===== */
.footer-section { background: #022c1e; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.footer-contact-list a { color: rgba(255,255,255,0.55); }
.footer-contact-list a:hover { color: white; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.social-link.whatsapp:hover { background: #25d366; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
  position: fixed; bottom: 90px; right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { background: #1da851; color: white; transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--accent);
  border: none; border-radius: 10px;
  color: #0f2417; font-size: 1.1rem;
  z-index: 999;
  cursor: pointer;
  opacity: 0; transform: translateY(20px);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #b8880f; transform: translateY(-3px); }

/* ===== AOS ANIMATIONS ===== */
[data-aos] { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section-padding { padding: 70px 0; }
  .about-badge-card { right: 0; bottom: -15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 28px; }
}
@media (max-width: 767px) {
  .hero-stats { gap: 24px !important; }
  .stat-item { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .big-num { font-size: 2.2rem; }
  .about-badge-card { position: static; margin-top: 16px; }
  .contact-form-card { padding: 24px; }
}

/* ===== WORDPRESS ADMIN BAR OFFSET ===== */
.admin-bar #mainNav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #mainNav { top: 46px; }
}
