/* ==========================================
   CSS لصفحة اتصل بنا - contact.html
   NiceChat - متعدد اللغات (English/Arabic)
   Fixed Text Direction Support
   ========================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #77bd20;
  --dark-green: #39a750;
  --text-color: #39a750;
  --special-btn-1: #082611;
  --special-btn-2: #114922;
  --gradient-green: linear-gradient(135deg, #77bd20, #39a750);
  --dark-gradient: linear-gradient(135deg, #0d2818, #1a3d2e, #082611);
  --mysterious-gradient: linear-gradient(
    135deg,
    #000000,
    #1a3d2e,
    #39a750,
    #77bd20
  );
  --glow-green: #77bd20;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow: rgba(57, 167, 80, 0.1);
  --dark-shadow: rgba(0, 0, 0, 0.3);
  --glass: rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #1a3d2e, #39a750);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-green);
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #77bd20, #39a750);
}

/* تعريف خط Bahij TheSansArabic */
@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/Bahij_TheSansArabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/alfont_com_ArbFONTS-Bahij_TheSansArabic-Plain.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/ArbFONTS-Bahij_TheSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* حماية شاملة للخط - تطبيق على جميع العناصر */
* {
  font-family: inherit;
}

body,
html {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* تطبيق الخط على جميع الأزرار والنماذج */
button,
input,
textarea,
select,
.cta-button,
.hero-btn,
.form-btn,
.faq-question,
.nav-link,
.mobile-menu-btn,
.language-toggle,
.close {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* تطبيق على العربي والإنجليزي */
body[dir="rtl"] *,
body[dir="ltr"] * {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* Body & Background */
body {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: #000;
  position: relative;
  min-height: 100vh;
}

/* Arabic Font Support */
body[dir="rtl"] {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mysterious-gradient);
  z-index: -2;
  animation: backgroundShift 25s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="g1"><stop offset="0%" stop-color="%2377bd20" stop-opacity="0.15"/><stop offset="100%" stop-color="%2377bd20" stop-opacity="0"/></radialGradient><radialGradient id="g2"><stop offset="0%" stop-color="%2339a750" stop-opacity="0.08"/><stop offset="100%" stop-color="%2339a750" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="400" fill="url(%23g1)" opacity="0.8"><animate attributeName="cx" values="200;800;200" dur="35s" repeatCount="indefinite"/><animate attributeName="cy" values="200;600;200" dur="30s" repeatCount="indefinite"/></circle><circle cx="800" cy="800" r="350" fill="url(%23g2)" opacity="0.6"><animate attributeName="cy" values="800;200;800" dur="28s" repeatCount="indefinite"/><animate attributeName="r" values="350;500;350" dur="32s" repeatCount="indefinite"/></circle><circle cx="500" cy="500" r="450" fill="url(%23g1)" opacity="0.4"><animate attributeName="r" values="450;650;450" dur="40s" repeatCount="indefinite"/><animate attributeName="cx" values="500;300;500" dur="25s" repeatCount="indefinite"/></circle></svg>')
    center/cover;
  z-index: -1;
  opacity: 0.7;
}

@keyframes backgroundShift {
  0%,
  100% {
    background: linear-gradient(
      135deg,
      #000000 0%,
      #1a3d2e 25%,
      #39a750 75%,
      #77bd20 100%
    );
  }
  25% {
    background: linear-gradient(
      225deg,
      #082611 0%,
      #1a3d2e 35%,
      #39a750 65%,
      #77bd20 100%
    );
  }
  50% {
    background: linear-gradient(
      315deg,
      #000000 0%,
      #082611 30%,
      #1a3d2e 70%,
      #39a750 100%
    );
  }
  75% {
    background: linear-gradient(
      45deg,
      #1a3d2e 0%,
      #39a750 40%,
      #77bd20 80%,
      #39a750 100%
    );
  }
}

/* ==========================================
   HEADER STYLES
   ========================================== */
header {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
  box-shadow: 0 4px 30px rgba(119, 189, 32, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body[dir="ltr"] .header-container {
  flex-direction: row;
}

body[dir="rtl"] .header-container {
  flex-direction: row-reverse;
}

/* Logo */
.logo {
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(119, 189, 32, 0.5));
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(119, 189, 32, 0.8));
}

.logo img {
  height: clamp(60px, 7vw, 90px);
  width: auto;
  max-width: clamp(200px, 35vw, 350px);
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 5px;
}

.logo-text {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.3);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

body[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.8rem 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid transparent;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-green);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
  border-radius: 2px;
}

body[dir="ltr"] .nav-link::after {
  right: 0;
}

body[dir="rtl"] .nav-link::after {
  left: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--glow-green);
  text-shadow: 0 0 15px rgba(119, 189, 32, 0.8);
  border-bottom: 3px solid var(--primary-green);
}

/* CTA Button */
.cta-button {
  background: var(--gradient-green);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(119, 189, 32, 0.6);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

body[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

/* Language Toggle Button */
.language-toggle {
  background: rgba(119, 189, 32, 0.1);
  border: 1px solid rgba(119, 189, 32, 0.3);
  border-radius: 25px;
  padding: 0.6rem 1.2rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.language-toggle:hover {
  background: rgba(119, 189, 32, 0.2);
  border-color: rgba(119, 189, 32, 0.5);
  transform: translateY(-2px);
}

.globe-icon {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary-green);
  transform: scale(1.1);
}

.mobile-menu-btn.active {
  color: var(--primary-green);
  transform: scale(1.1) rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.mobile-nav-links .nav-link {
  font-size: 1.2rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.contact-hero {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(26, 61, 46, 0.9)
  );
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,0 Q500,300 1000,0 L1000,1000 Q500,700 0,1000 Z" fill="rgba(119,189,32,0.08)"/></svg>')
    center/cover;
  z-index: 1;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
}

.contact-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.1;
  background: linear-gradient(45deg, #fff, #77bd20, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
  text-align: center;
}

.contact-subtitle {
  font-size: clamp(1rem, 3vw, 1.6rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  opacity: 0.9;
  color: #77bd20;
  font-weight: 600;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Text alignment for RTL */
body[dir="rtl"] .contact-subtitle {
  text-align: center;
}

@keyframes titleGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(119, 189, 32, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(119, 189, 32, 0.8));
  }
}

/* Social Media Platforms */
.social-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 500px;
  margin: 2rem auto;
  justify-items: center;
}

.social-icon {
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  background: rgba(119, 189, 32, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(119, 189, 32, 0.3);
}

.social-icon:hover {
  background: var(--gradient-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(119, 189, 32, 0.4);
}

.social-icon svg {
  width: clamp(25px, 5vw, 30px);
  height: clamp(25px, 5vw, 30px);
  fill: #ffffff;
}

/* ==========================================
   CONTACT METHODS SECTION
   ========================================== */
.contact-methods {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, #0d2818, #1a3d2e);
  position: relative;
  overflow: hidden;
}

.methods-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  text-shadow: 0 0 25px rgba(119, 189, 32, 0.5);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  color: #77bd20;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.method-card {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(26, 61, 46, 0.6)
  );
  border-radius: clamp(20px, 4vw, 30px);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: 1px solid rgba(119, 189, 32, 0.2);
  backdrop-filter: blur(15px);
}

.method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.method-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(119, 189, 32, 0.1) 0%,
    transparent 50%
  );
  transform: scale(0);
  transition: transform 0.5s ease;
  z-index: 1;
}

.method-card:hover::before {
  transform: scaleX(1);
}

.method-card:hover::after {
  transform: scale(1);
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(119, 189, 32, 0.3);
  border-color: rgba(119, 189, 32, 0.6);
}

.method-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.method-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  margin: 0 auto clamp(1rem, 3vw, 2rem);
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(119, 189, 32, 0.4);
  animation: iconFloat 4s ease-in-out infinite;
}

.method-icon svg {
  width: clamp(25px, 5vw, 40px);
  height: clamp(25px, 5vw, 40px);
  fill: #ffffff;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.method-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  text-shadow: 0 0 15px rgba(119, 189, 32, 0.4);
  text-align: center;
}

.method-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  text-align: center;
}

/* RTL alignment for paragraphs */
body[dir="rtl"] .method-description {
  text-align: center;
}

.method-info {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* تقليل المسافة من 0.8rem إلى 0.5rem */
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

/* LTR: محاذاة من اليسار */
body[dir="ltr"] .info-item {
  justify-content: flex-start;
  text-align: left;
}

/* RTL: محاذاة من اليمين */
body[dir="rtl"] .info-item {
  justify-content: flex-start;
  text-align: right;
  flex-direction: row-reverse;
}

.info-icon {
  color: var(--primary-green);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  flex-shrink: 0;
  width: 22px; /* تقليل العرض من 24px إلى 22px */
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RTL: الأيقونة على اليمين */
body[dir="rtl"] .info-item .info-icon {
  order: 2;
}

/* النص يأخذ المساحة المتبقية */
.info-item span:not(.info-icon) {
  flex: 1;
}

body[dir="ltr"] .info-item span:not(.info-icon) {
  text-align: left;
}

body[dir="rtl"] .info-item span:not(.info-icon) {
  text-align: right;
}
.method-button {
  background: var(--gradient-green);
  color: white;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1rem);
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
  white-space: nowrap;
}

.method-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(119, 189, 32, 0.5);
}

/* ==========================================
   CONTACT FORM SECTION
   ========================================== */
.contact-form-section {
  background: linear-gradient(135deg, #082611, #1a3d2e, #000);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.contact-form-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: radial-gradient(
    circle,
    rgba(119, 189, 32, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: formGlow 5s ease-in-out infinite;
}

@keyframes formGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.9;
  }
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(26, 61, 46, 0.8),
    rgba(0, 0, 0, 0.9)
  );
  border-radius: clamp(20px, 4vw, 30px);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 0 60px rgba(119, 189, 32, 0.3);
  border: 1px solid rgba(119, 189, 32, 0.3);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 2;
}

.form-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  text-shadow: 0 0 15px rgba(119, 189, 32, 0.3);
}

.form-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 2rem);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
  font-weight: 600;
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* RTL label alignment */
body[dir="rtl"] .form-label {
  text-align: right;
}

body[dir="ltr"] .form-label {
  text-align: left;
}

.form-input,
.form-textarea,
.form-select {
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
  border: 2px solid rgba(119, 189, 32, 0.3);
  border-radius: 12px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  resize: none;
  width: 100%;
}

/* RTL input text alignment */
body[dir="rtl"] .form-input,
body[dir="rtl"] .form-textarea,
body[dir="rtl"] .form-select {
  text-align: right;
  direction: rtl;
}

body[dir="ltr"] .form-input,
body[dir="ltr"] .form-textarea,
body[dir="ltr"] .form-select {
  text-align: left;
  direction: ltr;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(119, 189, 32, 0.2);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
  min-height: clamp(100px, 15vw, 120px);
  resize: vertical;
}

.form-select option {
  background: #2a2a2a;
  color: white;
}

/* RTL select options */
body[dir="rtl"] .form-select option {
  text-align: right;
  direction: rtl;
}

body[dir="ltr"] .form-select option {
  text-align: left;
  direction: ltr;
}

.form-submit {
  background: var(--gradient-green);
  color: white;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.1rem);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
  justify-self: center;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.form-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(119, 189, 32, 0.5);
}

/* Success Message */
.success-message {
  display: none;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 12px;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.success-message.show {
  display: block;
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   COMPANY INFO SECTION
   ========================================== */
.company-info-section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, #1a3d2e, #39a750);
  position: relative;
  overflow: hidden;
}

.company-info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="800" cy="800" r="200" fill="rgba(255,255,255,0.03)"/><circle cx="500" cy="600" r="100" fill="rgba(255,255,255,0.07)"/></svg>');
  animation: companyFloat 20s ease-in-out infinite;
}

@keyframes companyFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
}

.company-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.company-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: clamp(15px, 3vw, 25px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.company-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s;
}

.company-card:hover::before {
  left: 100%;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.company-icon {
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.company-icon svg {
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  fill: #ffffff;
}

.company-title {
  color: white;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
  text-align: center;
}

.company-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  text-align: center;
}

/* RTL company text alignment */
body[dir="rtl"] .company-text {
  text-align: center;
}

/* ==========================================
   MODAL STYLES
   ========================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  animation: modalFadeIn 0.3s ease-out;
  padding: clamp(1rem, 3vw, 2rem);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  margin: clamp(2%, 5vw, 3%) auto;
  padding: 0;
  border-radius: clamp(20px, 4vw, 30px);
  width: 100%;
  max-width: clamp(300px, 90vw, 600px);
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(119, 189, 32, 0.3);
  box-shadow: 0 0 80px rgba(119, 189, 32, 0.3);
}

.modal-header {
  background: var(--gradient-green);
  color: white;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: clamp(20px, 4vw, 30px) clamp(20px, 4vw, 30px) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

body[dir="rtl"] .modal-header {
  flex-direction: row-reverse;
}

.modal-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  flex: 1;
  text-align: center;
}

body[dir="rtl"] .modal-title {
  text-align: center;
}

body[dir="ltr"] .modal-title {
  text-align: center;
}

.close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  cursor: pointer;
  padding: 0;
  width: clamp(35px, 6vw, 40px);
  height: clamp(35px, 6vw, 40px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.modal-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.modal-form-group {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.modal-form-label {
  display: block;
  margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
  font-weight: 600;
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* RTL modal label alignment */
body[dir="rtl"] .modal-form-label {
  text-align: right;
}

body[dir="ltr"] .modal-form-label {
  text-align: left;
}

.modal-form-input {
  width: 100%;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
  border: 2px solid rgba(119, 189, 32, 0.3);
  border-radius: 12px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

/* RTL modal input alignment */
body[dir="rtl"] .modal-form-input {
  text-align: right;
  direction: rtl;
}

body[dir="ltr"] .modal-form-input {
  text-align: left;
  direction: ltr;
}

.modal-form-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(119, 189, 32, 0.2);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.modal-form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.modal-form-buttons {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  justify-content: flex-end;
  margin-top: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

body[dir="rtl"] .modal-form-buttons {
  flex-direction: row-reverse;
}

.modal-form-btn {
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
  min-width: clamp(100px, 25vw, 140px);
  flex: 1;
  max-width: 200px;
}

.modal-form-btn-primary {
  background: var(--gradient-green);
  color: white;
  box-shadow: 0 0 20px rgba(119, 189, 32, 0.3);
}

.modal-form-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-form-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
footer {
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: white;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(119, 189, 32, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 769px) {
  body[dir="ltr"] .footer-container {
    text-align: left;
  }

  body[dir="rtl"] .footer-container {
    text-align: right;
  }
}

.footer-section h3 {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--primary-green);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.9;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

/* RTL footer text alignment */
body[dir="rtl"] .footer-section p {
  text-align: right;
}

body[dir="ltr"] .footer-section p {
  text-align: left;
}

@media (max-width: 768px) {
  .footer-section p {
    text-align: center;
  }
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.footer-links a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.3);
}

body[dir="ltr"] .footer-links a:hover {
  transform: translateX(-5px);
}

body[dir="rtl"] .footer-links a:hover {
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  color: #999;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
}

.footer-bottom a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(119, 189, 32, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--gradient-green);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(119, 189, 32, 0.4);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ==========================================
   ERROR STYLES
   ========================================== */
.form-input.error,
.form-textarea.error,
.form-select.error,
.modal-form-input.error {
  border-color: #ff4444 !important;
  box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.2) !important;
}

.error-message {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  animation: errorSlide 0.3s ease-out;
}

/* RTL error message alignment */
body[dir="rtl"] .error-message {
  text-align: right;
}

body[dir="ltr"] .error-message {
  text-align: left;
}

@keyframes errorSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .header-container {
    padding: 0.8rem 1rem;
  }

  .contact-hero {
    min-height: 50vh;
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .company-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .social-icons-grid {
    gap: 1rem;
  }

  .modal-content {
    margin: 5% auto;
    max-height: 85vh;
  }

  .modal-form-buttons {
    flex-direction: column;
  }

  .modal-form-btn {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.6rem 0.8rem;
  }

  .contact-hero {
    padding: 2rem 0.8rem 1.5rem;
    min-height: 45vh;
  }

  .contact-methods,
  .contact-form-section,
  .company-info-section {
    padding: 2rem 0.8rem;
  }

  .method-card,
  .company-card {
    padding: 1.2rem;
  }

  .form-container {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .social-icons-grid {
    gap: 0.8rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .modal-content {
    width: 95%;
    margin: 3% auto;
  }

  .modal-body {
    padding: 1.2rem;
  }
}

@media (max-width: 360px) {
  .logo img {
    height: 40px;
    max-width: 140px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .method-title {
    font-size: 1.2rem;
  }

  .company-title {
    font-size: 1rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .mobile-menu-btn,
  .modal,
  .language-toggle {
    display: none !important;
  }

  body::before,
  body::after {
    display: none;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #00ff00;
    --dark-green: #008000;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
