/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  background-color: #000;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(22, 1, 0, 0.95) 0%,
    rgba(22, 1, 0, 0.75) 50%,
    rgba(22, 1, 0, 0.6) 100%
  );
}

body[dir="rtl"] .hero-video-overlay {
  background: linear-gradient(
    270deg,
    rgba(22, 1, 0, 0.95) 0%,
    rgba(22, 1, 0, 0.75) 50%,
    rgba(22, 1, 0, 0.6) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content-wrapper {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body[dir="rtl"] .hero-content-wrapper {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body[dir="ltr"] .hero-content-wrapper {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-text {
  color: var(--text-light);
}

.hero-main-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -1px;
  text-align: center;
}

body[dir="ltr"] .hero-main-title {
  font-size: 52px;
}

body[dir="ltr"] .hero-main-title::first-line {
  font-size: 76px;
  font-weight: 800;
}

.hero-main-title::first-line {
  font-size: 76px;
}

.hero-main-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  text-align: center;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  opacity: 0.95;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body[dir="rtl"] .hero-description {
  text-align: center;
  text-align-last: center;
  direction: rtl;
  line-height: 2;
}

body[dir="ltr"] .hero-description {
  text-align: center;
  text-align-last: center;
  direction: ltr;
  line-height: 1.8;
}

.hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

body[dir="rtl"] .hero-cta-buttons {
  flex-direction: row-reverse;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  color: #1a0a00;
  box-shadow: 0 6px 25px rgba(242, 206, 102, 0.5);
  font-weight: 700;
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #f2ce66 0%, #f4e4b8 50%, #a86c1e 100%);
  color: #1a0a00;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(242, 206, 102, 0.6);
}

.hero-btn-primary svg {
  transition: transform 0.3s ease;
}

.hero-btn-primary:hover svg {
  transform: translateX(5px);
}

body[dir="rtl"] .hero-btn-primary:hover svg {
  transform: translateX(-5px);
}

.hero-btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  border-color: #f2ce66;
  color: #1a0a00;
  transform: translateY(-3px);
}

.hero-text {
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Common Styles */
.section-intro {
  text-align: left;
  margin-bottom: 60px;
}

.section-intro.centered {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

body[dir="rtl"] .section-intro {
  text-align: right;
}

body[dir="rtl"] .section-title {
  text-align: center;
  font-family: "Dubai", sans-serif;
  font-weight: 700;
}

body[dir="rtl"] .section-description {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.quick-features .section-intro {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

body[dir="rtl"] .section-badge {
  display: inline-block;
}

body[dir="rtl"] .section-intro.centered {
  text-align: center;
}

body[dir="rtl"] .quick-features .section-intro {
  text-align: center;
}

.section-badge {
  display: inline-block;
  background: rgba(242, 206, 102, 0.1);
  color: #f2ce66;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(242, 206, 102, 0.3);
}

.section-title {
  font-size: 42px;
  color: #f2ce66;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(242, 206, 102, 0.4);
}

.section-description {
  font-size: 18px;
  color: #555555;
  opacity: 0.95;
  line-height: 1.8;
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* Quick Features */
.quick-features {
  padding: 100px 0;
  background-color: #160100;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  background-color: #ffffff;
  padding: 45px 35px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  direction: inherit;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(242, 206, 102, 0.2);
  border-color: var(--border-color);
}

.feature-icon {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 25px;
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  border-radius: 50%;
  border: 2px solid rgba(242, 206, 102, 0.3);
  box-shadow: 0 4px 15px rgba(242, 206, 102, 0.3);
}

.feature-icon svg {
  color: #333333;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--secondary-color);
  text-align: center;
  direction: inherit;
  font-weight: 700;
}

.feature-card p {
  color: #666666;
  line-height: 1.8;
  direction: inherit;
}

/* RTL Feature Cards */
body[dir="rtl"] .feature-card {
  direction: rtl;
}

body[dir="rtl"] .feature-card h3 {
  direction: rtl;
  text-align: center;
}

body[dir="rtl"] .feature-card p {
  direction: rtl;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  word-spacing: 0;
}

/* LTR Feature Cards */
body[dir="ltr"] .feature-card {
  direction: ltr;
}

body[dir="ltr"] .feature-card h3 {
  direction: ltr;
  text-align: center;
}

body[dir="ltr"] .feature-card p {
  direction: ltr;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Celine Ready Section */
.celine-ready-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../image/celine-ready.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #160100;
  padding: 120px 0;
  overflow: hidden;
}

.celine-ready-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.celine-ready-section .container {
  position: relative;
  z-index: 2;
}

.celine-ready-section .ready-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.celine-ready-section .ready-image {
  display: none;
}

.celine-ready-section .ready-text h2 {
  font-size: 48px;
  color: #ffffff;
  text-align: center;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 0;
  background-image: url("../image/celine-ready.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.how-it-works-section .container {
  position: relative;
  z-index: 1;
}

.how-it-works-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 1, 0, 0.85);
  z-index: 0;
}

.how-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.how-work-card {
  background-image: url("../image/celine-ready.jpg");
  background-size: cover;
  background-position: center;
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.how-work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  z-index: 0;
}

.how-work-card:hover::before {
  background-color: rgba(255, 255, 255, 0.88);
}

.how-work-icon,
.how-work-card h3,
.how-work-card p {
  position: relative;
  z-index: 1;
}

.how-work-card > * {
  position: relative;
  z-index: 1;
}

.how-work-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: 0 12px 35px rgba(242, 206, 102, 0.2);
}

.how-work-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  width: 180px;
  height: 180px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 30px rgba(242, 206, 102, 0.25);
  transition: var(--transition);
}

.how-work-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(242, 206, 102, 0.35);
}

.how-work-icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-work-icon svg {
  width: 90px;
  height: 90px;
  color: var(--secondary-color);
  stroke: var(--secondary-color);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.how-work-card h3 {
  position: relative;
  z-index: 1;
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

.how-work-card p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #666666;
  line-height: 1.8;
}

/* RTL How Work Cards */
body[dir="rtl"] .how-work-card {
  direction: rtl;
}

body[dir="rtl"] .how-work-card h3 {
  direction: rtl;
  text-align: center;
}

body[dir="rtl"] .how-work-card p {
  direction: rtl;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-spacing: 0;
}

/* LTR How Work Cards */
body[dir="ltr"] .how-work-card {
  direction: ltr;
}

body[dir="ltr"] .how-work-card h3 {
  direction: ltr;
  text-align: center;
}

body[dir="ltr"] .how-work-card p {
  direction: ltr;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background-image: url("../image/celine-ready.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 1, 0, 0.85);
  z-index: 0;
}

.features-section .container {
  position: relative;
  z-index: 1;
}

.features-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-item {
  background-image: url("../image/celine-ready.jpg");
  background-size: cover;
  background-position: center;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(242, 206, 102, 0.3);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  direction: inherit;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.93);
  z-index: 0;
}

.feature-item:hover::before {
  background-color: rgba(255, 255, 255, 0.9);
}

.feature-item-icon,
.feature-item h3,
.feature-item p {
  position: relative;
  z-index: 1;
}

.feature-item > * {
  position: relative;
  z-index: 1;
}

.feature-item:hover {
  transform: translateY(-10px);
  border-color: var(--border-color);
  box-shadow: 0 12px 40px rgba(242, 206, 102, 0.2);
}

.feature-item-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  color: var(--text-light);
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  border-radius: 50%;
  border: 2px solid rgba(242, 206, 102, 0.3);
  box-shadow: 0 4px 15px rgba(242, 206, 102, 0.3);
}

.feature-item-icon svg {
  color: #333333;
}

.feature-item h3 {
  position: relative;
  z-index: 1;
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: center;
  direction: inherit;
  font-weight: 700;
}

.feature-item p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #666666;
  line-height: 1.8;
  direction: inherit;
}

/* RTL Feature Items */
body[dir="rtl"] .feature-item {
  direction: rtl;
}

body[dir="rtl"] .feature-item h3 {
  direction: rtl;
  text-align: center;
}

body[dir="rtl"] .feature-item p {
  direction: rtl;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-spacing: 0;
}

/* LTR Feature Items */
body[dir="ltr"] .feature-item {
  direction: ltr;
}

body[dir="ltr"] .feature-item h3 {
  direction: ltr;
  text-align: center;
}

body[dir="ltr"] .feature-item p {
  direction: ltr;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: #160100;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.service-card {
  background-color: #ffffff;
  padding: 70px 30px 40px 30px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  direction: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: 0 12px 35px rgba(242, 206, 102, 0.2);
}

.service-number {
  position: absolute;
  top: 15px;
  font-size: 24px;
  font-weight: 900;
  color: #1a0a00;
  opacity: 1;
  z-index: 10;
  line-height: 1;
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(242, 206, 102, 0.3);
  box-shadow: 0 3px 12px rgba(242, 206, 102, 0.3);
}

body[dir="ltr"] .service-number {
  right: 15px;
  left: auto;
}

body[dir="rtl"] .service-number {
  left: 15px;
  right: auto;
}

.service-card h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  margin-top: 5px;
  direction: inherit;
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 55px;
  font-weight: 700;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  direction: inherit;
}

.service-list li {
  padding: 12px 0 12px 25px;
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  direction: inherit;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* RTL Service Cards */
body[dir="rtl"] .service-card {
  direction: rtl;
}

body[dir="rtl"] .service-card h3 {
  direction: rtl;
  text-align: center;
}

body[dir="rtl"] .service-list {
  direction: rtl;
}

body[dir="rtl"] .service-list li {
  padding: 12px 25px 12px 0;
  direction: rtl;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-spacing: 0;
}

body[dir="rtl"] .service-list li::before {
  left: auto;
  right: 0;
}

/* LTR Service Cards */
body[dir="ltr"] .service-card {
  direction: ltr;
}

body[dir="ltr"] .service-card h3 {
  direction: ltr;
  text-align: center;
}

body[dir="ltr"] .service-list {
  direction: ltr;
}

body[dir="ltr"] .service-list li {
  padding: 12px 0 12px 25px;
  direction: ltr;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

body[dir="ltr"] .service-list li::before {
  left: 0;
  right: auto;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background-color: #160100;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(242, 206, 102, 0.4));
}

.stat-label {
  font-size: 16px;
  opacity: 0.95;
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: #160100;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 40px 35px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(242, 206, 102, 0.2);
  border-color: var(--border-color);
}

.testimonial-rating {
  font-size: 20px;
  margin-bottom: 20px;
  color: #f2ce66;
  filter: drop-shadow(0 2px 4px rgba(242, 206, 102, 0.3));
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 25px;
  font-style: italic;
}

body[dir="rtl"] .testimonial-text {
  text-align: justify;
  text-justify: inter-word;
  padding: 0 5px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: #333333;
  border: 2px solid var(--border-color);
}

.author-info h4 {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-weight: 700;
}

.author-info p {
  font-size: 13px;
  color: #999999;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: #160100;
}

.contact-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 60px;
  margin-bottom: 40px;
}

.contact-info-side h3,
.contact-form-side h3 {
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-item:hover {
  border-color: var(--border-color);
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(242, 206, 102, 0.15);
}

body[dir="rtl"] .contact-info-item:hover {
  transform: translateX(5px);
}

.contact-info-icon {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-info-text p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.contact-info-text a {
  color: #666666;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-text a:hover {
  color: var(--secondary-color);
}

.form-description {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #333333;
  transition: var(--transition);
  background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--border-color);
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(242, 206, 102, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.contact-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Final CTA Section */
.final-cta-section {
  padding: 100px 0;
  background-color: #160100;
  text-align: center;
}

.final-cta-section .cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-section h2 {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-weight: 700;
}

.final-cta-section p {
  font-size: 20px;
  color: var(--text-light);
  opacity: 0.95;
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.final-cta-section .btn {
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  color: #1a0a00;
  box-shadow: 0 6px 25px rgba(242, 206, 102, 0.5);
  font-weight: 700;
}

.final-cta-section .btn:hover {
  background: linear-gradient(135deg, #f2ce66 0%, #f4e4b8 50%, #a86c1e 100%);
  color: #1a0a00;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(242, 206, 102, 0.6);
}

.final-cta-section .btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-light);
}

.final-cta-section .btn-secondary:hover {
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  color: #1a0a00;
}

/* ========================================== */
/* TEXT ALIGNMENT ENHANCEMENTS */
/* ========================================== */

/* Hero Section Text Alignment */
body[dir="rtl"] .hero-description {
  text-align: center;
  text-align-last: center;
  direction: rtl;
  line-height: 2;
}

body[dir="ltr"] .hero-description {
  text-align: center;
  text-align-last: center;
  direction: ltr;
  line-height: 1.8;
}

/* Section Descriptions - Centered Justified */
body[dir="rtl"] .section-intro.centered .section-description,
body[dir="rtl"] .quick-features .section-intro .section-description {
  text-align: justify;
  text-align-last: center;
  direction: rtl;
  line-height: 2;
}

body[dir="ltr"] .section-intro.centered .section-description,
body[dir="ltr"] .quick-features .section-intro .section-description {
  text-align: justify;
  text-align-last: center;
  direction: ltr;
  line-height: 1.8;
}

/* Feature Cards Paragraph Alignment */
body[dir="rtl"] .feature-card p {
  text-align: justify;
  text-align-last: right;
  direction: rtl;
  line-height: 2;
  word-spacing: 0;
}

body[dir="ltr"] .feature-card p {
  text-align: justify;
  text-align-last: left;
  direction: ltr;
  line-height: 1.8;
}

/* How Work Cards Paragraph Alignment */
body[dir="rtl"] .how-work-card p {
  text-align: justify;
  text-align-last: right;
  direction: rtl;
  line-height: 2;
  word-spacing: 0;
}

body[dir="ltr"] .how-work-card p {
  text-align: justify;
  text-align-last: left;
  direction: ltr;
  line-height: 1.8;
}

/* Feature Items Paragraph Alignment */
body[dir="rtl"] .feature-item p {
  text-align: justify;
  text-align-last: right;
  direction: rtl;
  line-height: 2;
  word-spacing: 0;
}

body[dir="ltr"] .feature-item p {
  text-align: justify;
  text-align-last: left;
  direction: ltr;
  line-height: 1.8;
}

/* Service List Items Alignment */
body[dir="rtl"] .service-list li {
  text-align: justify;
  text-align-last: right;
  direction: rtl;
  line-height: 2;
  word-spacing: 0;
}

body[dir="ltr"] .service-list li {
  text-align: justify;
  text-align-last: left;
  direction: ltr;
  line-height: 1.8;
}

/* Testimonial Text Alignment */
body[dir="rtl"] .testimonial-text {
  text-align: justify;
  text-align-last: right;
  direction: rtl;
  line-height: 2;
  padding: 0;
}

body[dir="ltr"] .testimonial-text {
  text-align: justify;
  text-align-last: left;
  direction: ltr;
  line-height: 1.8;
}

/* Contact Form Description */
body[dir="rtl"] .form-description {
  text-align: justify;
  text-align-last: right;
  direction: rtl;
  line-height: 2;
}

body[dir="ltr"] .form-description {
  text-align: justify;
  text-align-last: left;
  direction: ltr;
  line-height: 1.8;
}

/* Contact Info Text */
body[dir="rtl"] .contact-info-text p {
  text-align: right;
  direction: rtl;
  line-height: 1.8;
}

body[dir="ltr"] .contact-info-text p {
  text-align: left;
  direction: ltr;
  line-height: 1.8;
}

/* CTA Content Paragraph */
body[dir="rtl"] .cta-content p,
body[dir="rtl"] .final-cta-section p {
  text-align: justify;
  text-align-last: center;
  direction: rtl;
  line-height: 2;
}

body[dir="ltr"] .cta-content p,
body[dir="ltr"] .final-cta-section p {
  text-align: justify;
  text-align-last: center;
  direction: ltr;
  line-height: 1.8;
}

/* ========================================== */
/* MODAL STYLES */
/* ========================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.modal-content {
  background: linear-gradient(135deg, #160100 0%, #0d0000 100%);
  margin: 5% auto;
  padding: 0;
  border: 2px solid #f2ce66;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(242, 206, 102, 0.4);
  animation: slideDown 0.4s ease;
}

.modal-header {
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  padding: 2rem;
  border-radius: 18px 18px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(242, 206, 102, 0.3);
}

.modal-title {
  color: #333333;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.close {
  color: #333333;
  font-size: 2.5rem;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  background: rgba(51, 51, 51, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: #f9f3e1 !important;
  font-weight: 700 !important;
  margin-bottom: 0.8rem;
  font-size: 1.1rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(242, 206, 102, 0.3);
  border-radius: 12px;
  background: #ffffff !important;
  color: #333333 !important;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 500;
}

.form-input:focus {
  outline: none;
  border-color: #f2ce66;
  background: #ffffff !important;
  box-shadow: 0 0 20px rgba(242, 206, 102, 0.3);
}

.form-input::placeholder {
  color: #999999 !important;
  font-weight: 400;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-btn {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-btn-primary {
  background: linear-gradient(135deg, #f2ce66 0%, #a86c1e 50%, #f2ce66 100%);
  color: #1a0a00;
  font-weight: 700;
}

.form-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(242, 206, 102, 0.5);
  background: linear-gradient(135deg, #f2ce66 0%, #f4e4b8 50%, #a86c1e 100%);
}

.form-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-btn-secondary {
  background: transparent;
  color: #f2ce66;
  border: 2px solid #f2ce66;
}

.form-btn-secondary:hover {
  background: rgba(242, 206, 102, 0.15);
  border-color: #a86c1e;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RTL Modal Styles */
body[dir="rtl"] .modal-header {
  flex-direction: row-reverse;
}

body[dir="rtl"] .modal-title {
  text-align: right;
}

body[dir="rtl"] .form-label {
  text-align: right;
  color: #f9f3e1 !important;
}

body[dir="rtl"] .form-input {
  text-align: right;
  direction: rtl;
  background: #ffffff !important;
  color: #333333 !important;
}

body[dir="rtl"] .form-input::placeholder {
  text-align: right;
  color: #999999 !important;
}

body[dir="rtl"] .form-buttons {
  flex-direction: row-reverse;
}

/* ========================================== */
/* RESPONSIVE DESIGN */
/* ========================================== */

@media (max-width: 1024px) {
  .hero-main-title {
    font-size: 52px;
  }

  .hero-main-subtitle {
    font-size: 24px;
  }

  .hero-description {
    font-size: 17px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-description {
    font-size: 17px;
    max-width: 650px;
  }

  .contact-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero-content-wrapper {
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  body[dir="rtl"] .hero-content-wrapper {
    text-align: center;
  }

  body[dir="ltr"] .hero-content-wrapper {
    text-align: center;
  }

  .hero-main-title {
    font-size: 42px;
    text-align: center;
  }

  .hero-main-subtitle {
    font-size: 22px;
    text-align: center;
  }

  .hero-description {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }

  body[dir="rtl"] .hero-description {
    text-align: center;
    direction: rtl;
  }

  body[dir="ltr"] .hero-description {
    text-align: center;
    direction: ltr;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  body[dir="rtl"] .hero-cta-buttons {
    flex-direction: column;
  }

  body[dir="ltr"] .hero-cta-buttons {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(22, 1, 0, 0.95) 0%,
      rgba(22, 1, 0, 0.85) 50%,
      rgba(22, 1, 0, 0.95) 100%
    );
  }

  body[dir="rtl"] .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(22, 1, 0, 0.95) 0%,
      rgba(22, 1, 0, 0.85) 50%,
      rgba(22, 1, 0, 0.95) 100%
    );
  }

  body[dir="ltr"] .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(22, 1, 0, 0.95) 0%,
      rgba(22, 1, 0, 0.85) 50%,
      rgba(22, 1, 0, 0.95) 100%
    );
  }

  .celine-ready-section {
    min-height: 400px;
    padding: 80px 0;
    background-attachment: scroll;
  }

  .how-it-works-section,
  .features-section {
    background-attachment: scroll;
  }

  .celine-ready-section .ready-text h2 {
    font-size: 36px;
  }

  .section-intro {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 32px;
    text-align: center;
  }

  .section-description {
    font-size: 16px;
    padding: 0 15px;
    max-width: 100%;
    text-align: justify;
    text-align-last: center;
  }

  body[dir="rtl"] .section-description {
    text-align: justify;
    text-align-last: center;
    line-height: 2;
    direction: rtl;
  }

  body[dir="ltr"] .section-description {
    text-align: justify;
    text-align-last: center;
    line-height: 1.8;
    direction: ltr;
  }

  .section-badge {
    font-size: 13px;
    padding: 6px 16px;
  }

  .features-grid,
  .how-works-grid,
  .features-content-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-number {
    font-size: 48px;
  }

  .final-cta-section h2 {
    font-size: 36px;
  }

  .final-cta-section p {
    font-size: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-buttons-wrapper,
  .cta-buttons-group {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-buttons-wrapper .btn,
  .cta-buttons-group .btn {
    width: 100%;
  }

  body[dir="rtl"] .feature-card p,
  body[dir="rtl"] .how-work-card p,
  body[dir="rtl"] .feature-item p,
  body[dir="rtl"] .service-list li {
    text-align: justify;
    text-align-last: right;
    direction: rtl;
    word-spacing: 0;
    line-height: 2;
  }

  body[dir="ltr"] .feature-card p,
  body[dir="ltr"] .how-work-card p,
  body[dir="ltr"] .feature-item p,
  body[dir="ltr"] .service-list li {
    text-align: justify;
    text-align-last: left;
    direction: ltr;
    line-height: 1.8;
  }

  body[dir="rtl"] .testimonial-text {
    text-align: justify;
    text-align-last: right;
    direction: rtl;
    line-height: 2;
  }

  body[dir="ltr"] .testimonial-text {
    text-align: justify;
    text-align-last: left;
    direction: ltr;
    line-height: 1.8;
  }

  body[dir="rtl"] .service-card h3 {
    text-align: center;
    direction: rtl;
  }

  body[dir="ltr"] .service-card h3 {
    text-align: center;
    direction: ltr;
  }

  /* Responsive Modal */
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .form-buttons {
    flex-direction: column;
  }

  .form-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: 36px;
    letter-spacing: -0.5px;
    text-align: center;
  }

  .hero-main-subtitle {
    font-size: 20px;
    text-align: center;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  body[dir="rtl"] .hero-description {
    text-align: center;
    direction: rtl;
  }

  body[dir="ltr"] .hero-description {
    text-align: center;
    direction: ltr;
  }

  .hero-btn {
    padding: 15px 30px;
    font-size: 15px;
  }

  .hero-cta-buttons {
    gap: 15px;
  }

  .celine-ready-section {
    min-height: 350px;
    padding: 60px 0;
  }

  .celine-ready-section .ready-text h2 {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.4;
    text-align: center;
  }

  .section-description {
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
  }

  body[dir="rtl"] .section-description {
    line-height: 2;
    text-align: justify;
    text-align-last: center;
    direction: rtl;
  }

  body[dir="ltr"] .section-description {
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
    direction: ltr;
  }

  .section-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .quick-features,
  .how-it-works-section,
  .features-section,
  .services-section,
  .testimonials-section,
  .contact-section,
  .final-cta-section {
    padding: 60px 0;
  }

  .stats-section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .final-cta-section h2 {
    font-size: 28px;
  }

  .final-cta-section p {
    font-size: 16px;
  }

  body[dir="rtl"] .feature-card p,
  body[dir="rtl"] .how-work-card p,
  body[dir="rtl"] .feature-item p,
  body[dir="rtl"] .service-list li,
  body[dir="rtl"] .testimonial-text,
  body[dir="rtl"] .contact-info-text p,
  body[dir="rtl"] .form-description {
    text-align: justify;
    text-align-last: right;
    direction: rtl;
    word-spacing: 0;
    line-height: 2;
  }

  body[dir="ltr"] .feature-card p,
  body[dir="ltr"] .how-work-card p,
  body[dir="ltr"] .feature-item p,
  body[dir="ltr"] .service-list li,
  body[dir="ltr"] .testimonial-text,
  body[dir="ltr"] .contact-info-text p,
  body[dir="ltr"] .form-description {
    text-align: justify;
    text-align-last: left;
    direction: ltr;
    line-height: 1.8;
  }

  body[dir="rtl"] .service-card h3 {
    text-align: center;
    direction: rtl;
  }

  body[dir="ltr"] .service-card h3 {
    text-align: center;
    direction: ltr;
  }

  /* Small Mobile Modal */
  .modal-content {
    margin: 5% auto;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .form-input {
    padding: 0.8rem;
  }

  .form-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
