@font-face {
  font-family: 'RawasiDisplay';
  src: url('assets/fonts/itfRawasiDisplayARLT-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'RawasiDisplay';
  src: url('assets/fonts/itfRawasiDisplayARLT-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'RawasiDisplay';
  src: url('assets/fonts/itfRawasiDisplayARLT-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'RawasiDisplay';
  src: url('assets/fonts/itfRawasiDisplayARLT-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

:root {
  --primary-green: #454529;
  --primary-green-rgb: 69, 69, 41;
  --secondary-green: #595938;
  --accent-gold: #693b21;
  --accent-gold-rgb: 105, 59, 33;
  --bg-light: #fbfbfa;
  --bg-cream: #ebe3d1;
  --text-dark: #222218;
  --text-muted: #6b6b58;
  --white: #ffffff;
}

body {
  font-family: 'RawasiDisplay', 'Cairo', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(69, 69, 41, 0.88) 0%, rgba(41, 41, 25, 0.94) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-logo {
  max-width: 210px;
  height: auto;
  margin-bottom: 2.5rem;
  border-radius: 4px;
}

.hero-title {
  font-weight: 800;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  transition: opacity 0.4s ease;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.hero-btn {
  background-color: var(--white);
  color: var(--primary-green) !important;
  font-weight: 700;
  padding: 12px 40px;
  border-radius: 4px;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: var(--accent-gold);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 59, 33, 0.4);
}

/* Header & Nav */
.header-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 25px 0;
  transition: all 0.3s ease;
}

.header-nav.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
  animation: slideDown 0.35s ease-out;
}

.header-nav.scrolled .nav-link-item {
  color: var(--text-dark);
}

.header-nav.scrolled .nav-link-item:hover,
.header-nav.scrolled .nav-link-item.active {
  color: var(--primary-green);
}

.header-nav.scrolled .nav-link-item::after {
  background-color: var(--primary-green);
}

.header-nav.scrolled .scale-logo-icon {
  color: var(--primary-green);
  opacity: 0.85;
}

.header-nav.scrolled .scale-logo-icon:hover {
  color: var(--accent-gold);
}

.header-nav.scrolled .lang-btn {
  background: rgba(69, 69, 41, 0.05);
  border-color: rgba(69, 69, 41, 0.15);
  color: var(--primary-green);
}

.header-nav.scrolled .lang-btn:hover,
.header-nav.scrolled .lang-btn.active {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.header-nav.scrolled .btn-outline-light {
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.header-nav.scrolled .btn-outline-light:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

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

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link-item {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--white);
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
  width: 100%;
}

.nav-logo-img {
  height: 44px;
  border-radius: 4px;
  transition: transform 0.3s ease;
  display: block;
}

.nav-logo-img:hover {
  transform: scale(1.03);
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--white);
  color: var(--primary-green);
  border-color: var(--white);
}

/* Sections Styling */
.section-padding {
  padding: 100px 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-custom {
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--primary-green);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

/* About Us Paragraphs */
.about-p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Tabs Section */
.tabs-section {
  background-color: var(--bg-light);
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.tab-nav-wrapper {
  background: #f0f2f0;
  padding: 6px;
  border-radius: 30px;
  display: inline-flex;
  margin-bottom: 40px;
}

.tab-btn-custom {
  border: none;
  background: transparent;
  padding: 10px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.tab-btn-custom.active {
  background: var(--white);
  color: var(--primary-green);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tab-card-content {
  background: var(--white);
  border-radius: 12px;
  padding: 45px;
  box-shadow: 0 10px 35px rgba(69, 69, 41, 0.04);
  border: 1px solid rgba(69, 69, 41, 0.03);
  text-align: center;
  transition: all 0.3s ease;
}

.tab-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(69, 69, 41, 0.05);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 25px auto;
}

.tab-content-title {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.tab-content-desc {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

/* Values Grid */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.value-card-col {
  flex: 1 1 18%;
  min-width: 220px;
}

.value-card {
  background: var(--white);
  border: 1px solid #f0f2f0;
  border-radius: 8px;
  padding: 35px 20px;
  height: 100%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(69, 69, 41, 0.08);
  border-color: rgba(69, 69, 41, 0.1);
}

.value-icon-box {
  width: 55px;
  height: 55px;
  background-color: rgba(69, 69, 41, 0.03);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px auto;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon-box {
  background-color: var(--primary-green);
  color: var(--white);
}

.value-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Footer styling */
.footer-section {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 70px 0 25px 0;
  font-size: 0.95rem;
}

.footer-logo {
  max-width: 240px;
  margin-bottom: 20px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link-item a:hover {
  color: var(--white);
  padding-right: 5px;
}

.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
  text-align: right;
}

.footer-contact-item i {
  color: var(--white);
  width: 20px;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  text-align: right;
}

.footer-contact-item a:hover {
  color: var(--white);
}

[dir="ltr"] .footer-contact-item {
  text-align: left;
  justify-content: flex-start;
}

[dir="ltr"] .footer-contact-item a,
[dir="ltr"] .footer-contact-item span {
  text-align: left;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Floating contact widget */
.floating-widget {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 100;
  background-color: var(--primary-green);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-widget:hover {
  background-color: var(--accent-gold);
  transform: scale(1.1);
  color: var(--white);
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .header-nav {
    background-color: rgba(69, 69, 41, 0.95);
    position: sticky;
    padding: 15px 0;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 20px 80px 20px;
  }

  .hero-title {
    font-size: 2.0rem;
  }

  .hero-subtitle {
    font-size: 1.0rem;
  }

  .value-card-col {
    flex: 1 1 45%;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .value-card-col {
    flex: 1 1 100%;
  }
}

/* WOW Reveal Animations on Scroll */
.reveal-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-fade-in.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-zoom-in.revealed {
  opacity: 1;
  transform: scale(1);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* Floating Contact Widget */
.floating-contact-wrapper {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.floating-contact-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  pointer-events: none;
}

.floating-contact-menu.active {
  pointer-events: auto;
}

.contact-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  direction: ltr;
  /* keep text and icon layout clean */
}

.floating-contact-menu.active .contact-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.floating-contact-menu.active .contact-menu-item:nth-child(1) {
  transition-delay: 150ms;
}

.floating-contact-menu.active .contact-menu-item:nth-child(2) {
  transition-delay: 100ms;
}

.floating-contact-menu.active .contact-menu-item:nth-child(3) {
  transition-delay: 50ms;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.05);
}

.email-btn {
  background-color: #3b82f6;
}

.email-btn:hover {
  background-color: #2563eb;
  transform: scale(1.05);
}

.call-btn {
  background-color: #1f3547;
}

.call-btn:hover {
  background-color: #111e29;
  transform: scale(1.05);
}

.floating-contact-trigger {
  width: 55px;
  height: 55px;
  background-color: #11222e;
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-contact-trigger:hover {
  background-color: var(--accent-gold);
  transform: scale(1.05);
}

.floating-contact-trigger.active {
  transform: rotate(135deg);
  background-color: var(--accent-gold);
}

/* LTR English Overrides for absolute positioned underlines */
[dir="ltr"] .footer-title::after {
  right: auto;
  left: 0;
}

[dir="ltr"] .nav-link-item::after {
  right: auto;
  left: 0;
}

@media (max-width: 768px) {
  .floating-contact-wrapper {
    left: 20px !important;
    right: auto !important;
    bottom: 20px !important;
    align-items: baseline;
  }
  .floating-contact-menu {
    align-items: baseline;
  }
}

.whatsapp-contact-link {
  color: #25d366 !important;
  font-size: 1.1rem;
  transition: opacity 0.2s ease;
  margin-left: 8px;
  margin-right: 8px;
}
.whatsapp-contact-link:hover {
  opacity: 0.8;
}

/* Mobile Menu Language Button Styling Override */
.collapse .lang-btn,
.offcanvas .lang-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--white) !important;
}
.collapse .lang-btn:hover,
.collapse .lang-btn.active,
.offcanvas .lang-btn:hover,
.offcanvas .lang-btn.active {
  background: var(--white) !important;
  color: var(--primary-green) !important;
  border-color: var(--white) !important;
}

/* Modern Mobile Nav Toggler */
.mobile-nav-toggle {
  background: transparent;
  border: none;
  padding: 8px;
  font-size: 1.5rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.mobile-nav-toggle:focus {
  outline: none;
  box-shadow: none;
}
.mobile-nav-toggle:active {
  transform: scale(0.9);
}
.header-nav.scrolled .mobile-nav-toggle,
.header-nav-internal .mobile-nav-toggle {
  color: var(--primary-green);
}
