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

:root {
  --border: 240 10% 20%;
}

body {
  font-family: "Cairo", sans-serif;
  background: hsl(220 25% 8% / 1);
  color: #fff;
  overflow-x: hidden;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  background: rgba(10, 14, 39, 0.8);
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #7c3aed;
}

.nav-links a.active {
  color: #7c3aed;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: white;
  position: relative;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s;
}

.nav-btn:hover {
  transform: translateY(-2px);
}

/* Hero Section */
.contact-hero {
  min-height: 40vh;
  margin-top: 0;
  padding: 8rem 10% 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, hsl(220 20% 18%) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(220 20% 18%) 1px, transparent 1px);
  background-size: 50px 50px;
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(124, 58, 237, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: #a855f7;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-description {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.9;
}

/* Contact Section */
.contact-section {
  padding: 4rem 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
  text-align: right;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.5);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.info-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.info-text {
  color: #94a3b8;
  line-height: 1.8;
}

.info-text a {
  color: #a855f7;
  text-decoration: none;
  transition: color 0.3s;
}

.info-text a:hover {
  color: #7c3aed;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-end;
  direction: ltr;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

.social-icon:hover {
  background: rgba(124, 58, 237, 0.4);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: right;
}

.form-subtitle {
  color: #94a3b8;
  margin-bottom: 2rem;
  text-align: right;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: right;
}

.form-input,
.form-textarea {
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
  text-align: right;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #64748b;
}

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

.submit-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s;
  margin-top: 0.5rem;
  font-family: "Cairo", sans-serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  padding: 1rem;
  border-radius: 8px;
  display: none;
  margin-bottom: 1rem;
  text-align: right;
}

.success-message.show {
  display: block;
}

/* Footer */
footer {
  padding: 3rem 5%;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  text-align: right;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

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

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #7c3aed;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .logo img {
    height: 32px;
    max-width: 120px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    border-right: 1px solid rgba(124, 58, 237, 0.2);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-btn {
    display: none;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 3rem 5%;
    gap: 2rem;
  }

  .contact-hero {
    padding: 6rem 5% 3rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.75rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }
}
/* Language Switcher */
.lang-switcher {
  background: hsl(240, 20%, 15%);
  color: #fff;
  border: 1px solid hsl(260, 50%, 50%);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-weight: 500;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
  direction: ltr;
  appearance: none;
  -webkit-appearance: none;
}

.lang-switcher:hover {
  background: hsl(260, 30%, 25%);
  border-color: hsl(280, 70%, 60%);
}

.lang-switcher:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

/* Option text color */
.lang-switcher option {
  background: #1e1e2e;
  color: white;
}

/* Option text color */
.lang-switcher option {
  background: #1e1e2e;
  color: white;
}
