* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #00598E;
  --dark-blue: #232873;
  --orange: #F38021;
  --red-orange: #FF5A23;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-light: #555555;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-tajawal), sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Base button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--red-orange));
  color: var(--white);
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 128, 33, 0.3);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 128, 33, 0.5);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--orange);
  margin: 15px auto 0;
  border-radius: 2px;
}
.main {
  width: 100%;
}

/* Header */
.header {
  padding: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logoContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.heroContent {
  display: flex;
  flex-direction: column-reverse; /* Text bottom, video top for mobile */
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .heroContent {
    flex-direction: row;
    justify-content: space-between;
    text-align: right;
  }
}

.heroText {
  flex: 1;
  max-width: 600px;
}

.heroSubtitle {
  font-size: 2.8rem;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.heroDesc {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.videoContainer {
  flex: 1;
  display: flex;
  justify-content: center;
}

.videoWrapper {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 89, 142, 0.25);
  border: 12px solid var(--white);
  position: relative;
  background-color: var(--dark-blue);
}

.videoWrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Questions Section */
.questions {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--dark-blue), #181c52);
  color: var(--white);
  position: relative;
}

.questionsHeader h2 {
  color: var(--white);
}

.questionsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (max-width: 900px) {
  .questionsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.questionCard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s;
  text-align: center;
}

.questionCard:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.questionIcon {
  width: 50px;
  height: 50px;
  background: rgba(243, 128, 33, 0.15);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.questionText {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
}

.questionsOutro {
  margin-top: 5rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  text-align: center;
}

/* Features Section */
.features {
  padding: 3.5rem 0;
  background-color: var(--light-bg);
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.featureCard {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
}

.featureCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,89,142,0.1);
  border-top-color: var(--orange);
}

.featureIcon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 89, 142, 0.1), rgba(0, 89, 142, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--blue);
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.featureCard h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-weight: 800;
}

.featureCard p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Experts Section - Compact List Grid */
.experts {
  padding: 4rem 0;
  background-color: var(--white);
}

.expertsIntro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin: -1.5rem auto 3rem;
}

.expertsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.expertCard {
  background: var(--light-bg);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  border-right: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertCard h3 {
  color: var(--dark-blue);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 800;
}

.expertCard p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Form Section */
.registration {
  padding: 3.5rem 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
  position: relative;
}

.formContainer {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  color: var(--text-dark);
}

.formHeader {
  text-align: center;
  margin-bottom: 3rem;
}

.formHeader h2 {
  color: var(--dark-blue);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.formHeader p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.formGroup {
  margin-bottom: 1rem;
}

.formLabel {
  display: block;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-blue);
  font-size: 1.05rem;
}

.formInput,
.formSelect {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eaedf1;
  background-color: #f8fafc;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.formInput:focus,
.formSelect:focus {
  outline: none;
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(243, 128, 33, 0.1);
}

.submitBtn {
  width: 100%;
  padding: 18px;
  font-size: 1.3rem;
  margin-top: 1.5rem;
  border-radius: 12px;
}

.successMessage {
  background-color: #e6f7eb;
  color: #1e7041;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  border: 2px solid #b7e3ca;
}

/* Footer */
.footer {
  background-color: #0b0d26;
  color: #ffffff;
  padding: 4rem 0 3rem;
  text-align: center;
}

.footerContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footerLogo {
  height: 60px;
  filter: brightness(0) invert(1);
}

.socialLinks {
  display: flex;
  gap: 1.5rem;
}

.socialIcon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.socialIcon:hover {
  background: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(243, 128, 33, 0.3);
}

.footerText {
  color: #888899;
  font-size: 0.95rem;
}

.footerText a {
  color: #bbbbcc;
  transition: color 0.2s;
}
.footerText a:hover {
  color: var(--orange);
}

/* Floating Action Button (Phone) */
.fabPhone {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(243, 128, 33, 0.4);
  z-index: 1000;
  animation: pulse 2s infinite;
  transition: transform 0.3s;
}

.fabPhone:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 128, 33, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(243, 128, 33, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 128, 33, 0);
  }
}

@media (max-width: 768px) {
  .heroSubtitle { font-size: 2rem; margin-bottom: 1rem; }
  .heroDesc { margin-bottom: 1.5rem; font-size: 1.1rem; }
  .section-title { font-size: 1.6rem; margin-bottom: 1.5rem; }
  .hero { padding: 1rem 0; }
  .questions { padding: 2rem 0; }
  .features { padding: 2rem 0; }
  .experts { padding: 2rem 0; }
  .registration { padding: 2rem 0; }
  .footer { padding: 2rem 0 1.5rem; }
  
  .questionsGrid { gap: 1rem; margin-top: 1.5rem; }
  .questionCard { padding: 1.5rem 1rem; }
  .questionIcon { width: 35px; height: 35px; font-size: 1.3rem; margin-bottom: 1rem; }
  
  .featuresGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .featureCard { padding: 1.5rem 1rem; }
  .featureIcon { width: 45px; height: 45px; margin-bottom: 1rem; }
  .featureIcon svg { width: 24px; height: 24px; }
  .featureCard h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
  .featureCard p { font-size: 0.85rem; line-height: 1.4; }
  
  .formContainer { padding: 1.5rem 1rem; }
  .formHeader { margin-bottom: 1.5rem; }
  .formHeader h2 { font-size: 1.6rem; }
  .formGroup { margin-bottom: 0.8rem; }
  .formInput, .formSelect { padding: 10px 12px; font-size: 0.95rem; }
  .submitBtn { padding: 14px; font-size: 1.1rem; margin-top: 1rem; }
  
  .fabPhone {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
  .fabPhone svg { width: 22px; height: 22px; }
}
