:root {
  --green-deep: #1a3a2a;
  --green-mid: #2d5f4f;
  --gold: #d4a574;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;500;600;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   NAVBAR - RTL/LTR SUPPORT
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--green-deep);
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  height: auto;
  min-height: 80px;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand img {
  height: 55px;
  width: auto;
}

/* MAIN NAVIGATION LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.nav-link.active {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
}

/* ACTION BUTTONS + LANGUAGE */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary, .btn-secondary {
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  min-width: 140px;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--green-deep);
  transform: translateY(-2px);
}

.lang-toggle {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.lang-toggle:hover {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
}

/* RTL ADJUSTMENTS */
[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

/* MAIN CONTENT */
main {
  margin-top: 80px;
}

/* FOOTER */
.footer {
  background: var(--green-deep);
  color: var(--white);
  padding: 80px 5% 40px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  transition: var(--transition);
}

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

.footer-col a.highlight {
  color: var(--gold);
  font-weight: 600;
}

.footer-logo {
  height: 45px;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: var(--white);
  padding: 100px 5% 60px;
  margin-top: 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.breadcrumb a:hover {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

/* SECTIONS */
.section {
  padding: 80px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 15px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .navbar {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .nav-links {
    flex: 1 1 100%;
    margin: 0;
  }
  
  .btn-primary, .btn-secondary {
    min-width: auto;
    padding: 10px 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 3%;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-brand img {
    height: 45px;
  }
  
  main {
    margin-top: 60px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
}


/* ========================================
   FOOTER PROFESSIONAL STYLING
   ======================================== */
.footer {
  background: var(--green-deep);
  color: var(--white);
  padding: 100px 5% 50px;
  margin-top: 120px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

/* FOOTER COLUMN STYLING */
.footer-col {
  animation: fadeInUp 0.6s ease-out;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
  display: block;
}

.footer-about {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 0;
}

/* FOOTER LISTS */
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
  position: relative;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.footer-col a.highlight {
  color: var(--gold);
  font-weight: 700;
}

.footer-col a.highlight:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

.footer-col a.admin-link {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.footer-col a.admin-link:hover {
  color: var(--gold);
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 8px 0;
  line-height: 1.6;
}

.footer-credit {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 15px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 5% 40px;
    margin-top: 80px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .footer-logo {
    height: 40px;
  }
}

/* ========================================
   FORM STYLING - PROFESSIONAL
   ======================================== */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  border-color: var(--green-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,58,42,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

.btn {
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212,165,116,0.3);
}

.btn-success {
  background: #22863a;
  color: white;
}

.btn-success:hover {
  background: #1a6230;
  transform: translateY(-2px);
}

.btn-danger {
  background: #c53030;
  color: white;
}

.btn-danger:hover {
  background: #a02828;
  transform: translateY(-2px);
}

.alert {
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.alert-success {
  background: #d4edda;
  border-left: 4px solid #22863a;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border-left: 4px solid #c53030;
  color: #721c24;
}

.alert-info {
  background: #cfe2ff;
  border-left: 4px solid #0c63e4;
  color: #084298;
}

