/*
Theme Name: Al Tawthiq 
Author: Shakeel Ahmad
Version: 1.1
*/


:root {
  --primary-purple: #5B4B9A;
  --primary-purple-light: #7B6BB8;
  --primary-purple-dark: #4a3d7d;
  --secondary-cyan: #1C8DC1;
  --secondary-400: #1C8DC1;
  --text-dark: #18233D;
  --text-muted: rgba(24, 35, 61, 0.8);
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fb;
  --gray-200: #F5F5F5;
  --gray-800: #1e1e1e;
  --bluish-gray: #040716;
}

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

img {
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}


[dir="rtl"] body {
  font-family: 'Tajawal', sans-serif;
}

[dir="ltr"] body {
  font-family: 'Inter', sans-serif;
}

/* Professional font size adjustments for LTR (English) */
[dir="ltr"] .hero-content h1 {
  font-size: clamp(36px, 6vw, 44px);
}

[dir="ltr"] .hero-content p {
  font-size: clamp(14px, 2vw, 16px);
}

[dir="ltr"] .step-card h3 {
  font-size: 20px;
}

[dir="ltr"] .hero-content h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-align: right;
  margin-bottom: 18px;
}

[dir="ltr"] .step-card p {
  font-size: 15px;
}

[dir="ltr"] .achiev-section .title {
  font-size: clamp(32px, 4vw, 40px);
}

[dir="ltr"] .training-methods-section .title {
  font-size: 40px;
}

[dir="ltr"] .method-card h3 {
  font-size: 20px;
}

[dir="ltr"] .method-card p {
  font-size: 16px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {

  .hero-section {
    height: auto;
    min-height: 500px;
  }

  .hero-content {
    padding: 120px 20px 60px;
  }
	[dir="ltr"] .hero-content {
    padding: 80px 20px 40px;
  }
	


  .hero-content h1 {
    font-size: 28px;
  }

}




/* ===== ANIMATIONS  ===== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 7s ease-in-out infinite;
}

/* ===== NAVBAR ===== */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu>li {
  position: relative;
  /* REQUIRED for dropdown positioning */
}

.nav-menu a {
  display: block;
  padding: 15px 20px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.nav-menu a:hover {
  background-color: #444;
}

/* Dropdown menu */

.dropdown {
  position: relative;

}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;

  display: block;
  background-color: var(--text-dark);
  min-width: 300px;
  list-style: none;
  padding: 10px;
  margin: 0;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(10px);
}

.dropdown-content li a {
  font-size: 14px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bluish-gray);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

nav .logo img {
  max-height: 70px;
}

@media (max-width: 768px) {
  nav .logo img {
    max-height: 40px;
  }
}
@media (max-width: 480px) {
  nav .logo img {
    max-height: 32px;
  }
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  /* font-size: 20px; */
  transition: color 0.2s;
}

[dir="rtl"] nav a {
  font-size: 20px;
}

[dir="ltr"] nav a {
  font-size: 16px;
}

nav a:hover {
  color: var(--primary-purple-light);
}

.lang-switch {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.lang-switch:hover {
  background: rgba(28, 141, 193, 0.1);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  width: 100%;
max-width: 300px;
  background: var(--primary-purple-light);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-demo:hover {
  background: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91, 75, 154, 0.35);
}

/* ===== HERO ===== */

.hero-title {
  font-size: 1.4rem;
  font-weight: 700;
  padding-top: 40px;
  line-height: 1.5;
}

/* Wrapper */
.highlight-wrapper {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

/* Animated Gradient Text */

.highlight-text {
  background: linear-gradient(135deg, rgb(140, 71, 209), rgb(102, 31, 173));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

/* Underline */
.highlight-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, rgba(140, 71, 209, 0.5), rgba(102, 31, 173, 0.5), rgba(140, 71, 209, 0.5));
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

.hero {
  flex-direction: column;
  text-align: center;
  padding: 40px 20px;
}

.hero-text {
  width: 100%;
}

.hero-image {
  width: 100%;
  margin-top: 20px;
}

.hero-image img {
  width: 100%;
}

}
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  height: 700px;
  padding-top: 20px;
  max-height: 700px;
  align-items: center;
  justify-content: center;
  background: url('assets/bg/bg6.webp') center/cover no-repeat;
}

[dir="ltr"] .hero-section {
  background-image: url('assets/bg/bg6.webp');
}

/* .hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.coursinity.com/assets/hero/glass.webp') center/cover no-repeat;
  /* opacity: 0.7; */
/* z-index: 1; }*/
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: auto;
  padding: 100px 24px 60px;
}

.hero-content h1 {
  font-size: clamp(32px, 6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
}

.hero-content h1 span {
  color: var(--gray-100);
  display: inline-block;
}

.hero-content h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-align: left;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: clamp(18px, 2vw, 25px);
  color: var(--gray-100);
  margin: 0 auto 20px;
  line-height: 1.7;
  font-style: bold;
}

.hero-content .el3 {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-100);
  margin: 0 auto 10px;
  line-height: 1.7;
  font-style: bold;
}

[dir="ltr"] .hero-content .el3 {
  text-align: left;
}

/* Arabic*/
[dir="rtl"] .hero-content .el3 {
  text-align: right;
}

.hero-content ul {
  list-style-position: inside;
  list-style-type: square;
  color: var(--gray-100);
  font-size: 18px;
  max-width: 400px; /* adjust as needed */

  margin-top: 20px;

}




/* English*/
[dir="ltr"] .hero-content ul {
  text-align: left;
}

/* Arabic*/
[dir="rtl"] .hero-content ul {
  text-align: right;
  padding-right: 0;

}


[dir="rtl"] .hero-content li {
  text-align: justify;
  max-width: 350px;

}

.hero-content .btn-demo {
  margin-bottom: 20px;
  width: 100%;
max-width: 300px;
}

.hero-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.hero-elements img {
  position: absolute;
  animation: float 5s ease-in-out infinite;
}

.hero-elements .el4 {
  top: 15%;
  right: -20px;
  max-width: 86px;
  animation-delay: 0.5s;
}

.cta-section .c1 {
  margin-top: 20px;
  color: var(--text-dark);
}

[dir="ltr"] .hero-elements .el4 {
  right: auto;
  left: -20px;
}

/* ===== PILLS SECTION (bordered bar like Coursinity) ===== */
.pills-section {
  padding: 40px 0 80px;
}

.pills-wrap {
  position: relative;
  border: 4px solid var(--secondary-400);
  border-radius: 40px;
  padding: 32px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  background: var(--white);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.pills-wrap:hover {
  box-shadow: 0 12px 40px rgba(28, 141, 193, 0.12);
}

.pill {
  padding: 12px 24px;
  background: var(--gray-200);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill:hover {
  background: var(--primary-purple);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .pills-wrap {
    border-radius: 24px;
    padding: 24px 20px;
    min-height: 100px;
  }
}

/* ===== SUBTITLE ===== */
.subtitle-section {
  padding: 60px 0 20px;
  text-align: center;
}

.subtitle-section h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 16px;
}

.subtitle-section p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== STEPS SECTION ===== */
.steps-section {
  text-align: center;
  padding: 40px 0 40px;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch;
  /* make all cards equal height */
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

}

.step-card {
  background: var(--white);
  border: 4px solid var(--secondary-400);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 10px;
  height: 100%;
  /* fill grid row, enabling equal heights */
}

.step-card:hover {
  box-shadow: 0 24px 60px rgba(28, 141, 193, 0.18);
  transform: translateY(-8px);
  border-color: var(--primary-purple);
}


.step-card .step-img {
  align-items: baseline;
  width: auto;
  height: 100px;
  object-fit: contain;
  margin-bottom: 5px;
}

.step-card h4 {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 4px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 16px;
  color: var(--black);
  text-align: start;
  font-weight: bold;
  padding: 0 10px 12px;
  margin: 0;
}

.step-card ul {
  list-style: disc inside;
  padding: 0 10px 14px;
  margin: 0;
  text-align: start;
}

.step-card li {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 5px;
}

.steps-section .c2 {
  margin-top: 40px;
  color: var(--text-dark);
}

.steps-section .btn-demo {
  margin-top: 20px;
  width: 100%;
max-width: 300px;

}



/* ===== INVESTMENT CTA ===== */
.investment-section {
  padding: 30px 0;
  background: var(--white);
  text-align: center;
}

.investment-section h3 {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* cF3&jD@7bkhBFbhIa& */


.investment-section p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 36px;
}

/* ===== SOLUTIONS CAROUSEL ===== */
.solutions-section {
  padding: 120px 0 160px;
  background: var(--black);
  position: relative;
  min-height: 920px;
}

.solutions-section h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
}

.solutions-section .subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.solutions-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.solution-slide {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 2%;
  padding: 48px 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  display: none;
  transition: opacity 0.5s ease;
}

.solution-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.solution-slide h4 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.solution-slide ul {
  list-style: none;
}

.solution-slide li {
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  padding-inline-end: 28px;
  position: relative;
  line-height: 1.6;
}

.solution-slide li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--secondary-cyan);
  font-weight: bold;
}

[dir="ltr"] .solution-slide li::before {
  right: auto;
  left: 0;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
  background: var(--secondary-cyan);
  transform: scale(1.25);
  box-shadow: 0 0 0 2px rgba(28, 141, 193, 0.5);
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-arrows:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrows.prev {
  right: -72px;
}

.carousel-arrows.next {
  left: -72px;
}

[dir="ltr"] .carousel-arrows.prev {
  right: auto;
  left: -72px;
}

[dir="ltr"] .carousel-arrows.next {
  left: auto;
  right: -72px;
}

.carousel-arrows svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.solutions-cta {
  text-align: center;
}

/* directional alignment for the container itself */
html[dir="ltr"] .solutions-cta {
  text-align: right;
  /* button on right for English */
}

html[dir="rtl"] .solutions-cta {
  text-align: left;
  /* button on left for Arabic */
}

.solutions-cta p {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
  text-decoration: none;
}

.solutions-cta h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-align: left;
  margin-bottom: 18px;
}



.solutions-cta .btn-demo {
  padding: 8px 20px;
  font-size: 18px;
  width: 100%;
max-width: 350px;

}

/* override paragraph alignment if needed (keeping center default) */
[dir="ltr"] .solutions-cta p {
  text-align: right;
}

[dir="rtl"] .solutions-cta p {
  text-align: left;
}

/* ===== AI SECTION ===== */
.ai-section {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.ai-section h4 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.ai-section .intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.ai-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.ai-pills .pill {
  background: var(--gray-200);
}

.ai-section .btn-demo {
  margin-top: 8px;
  width: 100%;
max-width: 300px;

}

/* ===== Achievements (cards with lavender hover effect) ===== */
.achiev-section {
  padding: 50px 0;
  background: var(--gray-100);
}

.achiev-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.achiev-section .section-header .title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.achiev-section .section-header .title .accent {
  color: var(--primary-purple);
}

.achiev-section .section-header .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-style: bold;
  display: block;
  text-align: center;
  align-content: center;
  color: var(--black);
  max-width: 700px;
}

.achiev-grid {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
 gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.custom-item-lavender,
.achiev-item {
  border-radius: 24px;
}

.stat-card {
  position: relative;
  padding: 15px 20px;
  border-radius: 24px;
  background: #ece3ff;
  /* lavender */
  color: var(--text-dark);
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(91, 75, 154, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.stat-card:hover {
  background: var(--white);
  border-color: var(--primary-purple);
  color: var(--primary-purple);
  box-shadow: 0 20px 50px rgba(91, 75, 154, 0.25);
  transform: translateY(-6px);
}

.icon-wrapper {
  position: relative;
  margin-bottom: 18px;
}

.icon-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(91, 75, 154, 0.35);
  filter: blur(22px);
  opacity: 0.7;
}

.icon-circle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(91, 75, 154, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card svg {
  color: var(--primary-purple);
}

.stat-card .number {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 6px;
}
@media (max-width:480px){
	
	.stat-card .number {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1px;
}
	
	.stat-card {
		height:150px;
	}
	
.icon-circle {
  position: relative;
  width: 44px;
	height: 44px;
	align-content:center;
	}
	
	.icon-wrapper {
  position: relative;
  margin-bottom: 2px;
}
	
	

}

.stat-card .number .primary {
  color: inherit;
}

.stat-card .number .accent {
  color: var(--secondary-cyan);
  margin-inline-start: 2px;
}

.stat-card .label {
  font-size: 22px;
  font-weight: 600;
  color: rgba(24, 35, 61, 0.8);
}

.stat-card:hover .label {
  color: var(--primary-purple);
}

/* ===== CUSTOM SOLUTIONS (6 items) ===== */
.custom-section {
  padding: 120px 0;
  background: var(--gray-100);
}

.custom-section h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
}

.custom-section .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
}

.custom-section .intro {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.custom-grid {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.custom-item {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-item:hover {
  background: var(--primary-purple);
  color: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(91, 75, 154, 0.25);
}

.custom-item h4 {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 10px;
}

.custom-item p {
  font-size: 15px;
  line-height: 1.65;
}

.custom-item:hover h4,
.custom-item:hover p {
  color: var(--white);
  opacity: 1;
}

.cta-section {
  padding: 25px 0;
  text-align: center;
  background: var(--gray-100);
}

.cta-section .btn-demo {
  margin-top: 35px;
  width: 100%;
max-width: 300px;

}

/* ===== PASSION SECTION (6 cards) ===== */
.passion-section {
  padding: 120px 0;
  background: var(--white);
}

.passion-section h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
}

.passion-section .intro {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.passion-grid {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.passion-card {
  background: var(--gray-100);
  padding: 40px 32px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.passion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(91, 75, 154, 0.12);
}

.passion-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.passion-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== VALUE SECTION (4 points) ===== */
.value-section {
  padding: 100px 0;
  background: var(--gray-100);
  text-align: center;
}

.value-section h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.value-section .intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 48px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.value-item {
  background: var(--white);
  padding: 36px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.value-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-cyan);
  margin-bottom: 12px;
}

.value-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== DATA DRIVEN ===== */
.data-section {
  padding: 100px 0;
  background: var(--white);
}

.data-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.data-section h4 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.data-section p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.data-section img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 120px 0;
  background: var(--gray-100);
}

.testimonials-section h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-section .intro {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-card {
  background: var(--white);
  padding: 52px 48px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  max-width: 860px;
  margin: 0 auto 32px;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card .meta {
  font-size: 12px;
  color: var(--secondary-cyan);
  font-weight: 600;
  margin-bottom: 20px;
}

.testimonial-card .quote {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.testimonial-card .author {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-card .company {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== SUCCESS PARTNERS MARQUEE ===== */
.partners-section {
  margin-top: 30px;
  margin-bottom: 20px;
  overflow-x: hidden;

}


.partners-title {
  letter-spacing: 0;
  text-align: center;
  padding-bottom: 20px;
  font-size: 40px;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
}

.partners-track {
  display: flex;
  gap: 36px;
  align-items: center;
  animation-delay: 1s;
  /* wait before starting scroll */
}

/* RTL Animation (Arabic page) */
html[dir="rtl"] .partners-track {
  animation: partners-scroll-rtl 30s linear infinite;
  animation-delay: 1s;
}

/* LTR Animation (English page) */
html[dir="ltr"] .partners-track {
  animation: partners-scroll-ltr 30s linear infinite;
  animation-delay: 1s;
}

/* RTL: Move Right → Left */
/* start fully visible at 0, then slide rightward */
@keyframes partners-scroll-rtl {
  to {
    transform: translateX(0%);
  }

  from {
    transform: translateX(50%);
  }
}

/* LTR: Move Left → Right */
/* begin at 0 so logos all shown, then scroll leftward */
@keyframes partners-scroll-ltr {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

.partner-logo img {
  height: 60px;
  max-width: auto;
  min-width: 80%;
  padding: auto;
  opacity: 0.85;
  /* filter: grayscale(1); */
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.partner-logo img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}



/* ===== FOOTER CTA ===== */
.footer-cta {
  padding: 140px 0 100px;
  background: var(--primary-purple);
  color: var(--white);
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
}

.footer-cta .btn-demo {
  background: var(--white);
  color: var(--primary-purple-light) !important;
  width: 100%;
max-width: 300px;

}

.footer-cta .btn-demo:hover {
  background: var(--gray-200);
  transform: translateY(-2px);
  color: var(--white);
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 50px;
}
@media (max-width:768px){

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

}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
}

.footer-logo {
  display: block;
  min-height: 60px;
  max-height: 80px;
  margin-bottom: 12px;
}

.footer-col h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 4px 0;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-contact {
  font-size: 16px;

}

.footer-contact p {
  margin-bottom: 6px;
}

[dir="ltr"] .footer-contact {
  margin-right: 40px;
  /* space between details and map on English page */
}

.footer-contact a {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact .h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-brand .footer-social {
  display: inline-flex;
  gap: 16px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
}

/* make social icons larger */
.footer-brand .footer-social a {
  font-size: 35px;
  /* adjust as needed */
  line-height: 1;
}

.footer-brand .footer-social a svg,
.footer-brand .footer-social a i {
  width: 40px;
  height: 40px;
}

.footer-social a {
  color: var(--white);
  font-size: 25px;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--secondary-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.8;
}

/* ===== AOS OVERRIDES ===== */
[data-aos] {
  pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 600px;
  }

  .hero-content {
    padding: 100px 24px 80px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
max-width: 400px;
    margin: 0 auto;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .passion-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-section .container {
    grid-template-columns: 1fr;
  }

  .carousel-arrows {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}



.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .logo-section {
    align-items: flex-start;
  }
}

.logo-section img {
  height: 3rem;
  /* h-12 */
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-section img {
    height: 4rem;
    /* md:h-16 */
  }
}

.logo-text {
  color: #6b7280;
  /* text-muted-foreground */
  font-size: 0.875rem;
  /* text-sm */
  text-align: center;
  max-width: 20rem;
  /* max-w-xs */
}

@media (min-width: 768px) {
  .logo-text {
    text-align: right;
  }
}

/* Chat Toggle Button */
[dir="rtl"] #chat-toggle,
[dir="rtl"] #chatbot {
  left: 20px;
  right: auto;
}

[dir="ltr"] #chat-toggle,
[dir="ltr"] #chatbot {
  right: 20px;
  left: auto;
}

#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0d7a38, #1fa75a);
  color: white;
  width: 60px;
  z-index: 99999;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(14, 92, 44, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

#chat-toggle:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 22px rgba(14, 92, 44, 0.5);
  filter: saturate(1.1);
}

.chat-toggle-icon {
  line-height: 1;
}

/* Chat Container */
#chatbot {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  z-index: 99999;
  height: 450px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
  border: 1px solid rgba(18, 108, 58, 0.18);
  border-radius: 18px;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(11, 40, 23, 0.26);
  overflow: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Hidden by default */
.hidden {
  display: none;
}

/* Show only when NOT hidden */
#chatbot:not(.hidden) {
  display: flex;
}

/* Header */
#chat-header {
  background: linear-gradient(120deg, #0a6f35, #13a053);
  color: white;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.16);
  font-weight: bold;
  font-size: 14px;
}

.title {
  font-weight: bold;
  letter-spacing: 0.2px;
}

.subtitle {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}

.close-btn {
  cursor: pointer;
  color: white;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbf7d0;
  box-shadow: 0 0 0 4px rgba(187, 247, 208, 0.2);
}

.chat-welcome {
  padding: 10px 12px;
  background: rgba(18, 108, 58, 0.06);
  border-bottom: 1px solid rgba(18, 108, 58, 0.15);
}

.chat-welcome p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #234733;
}

/* Messages */
#chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Message Bubbles */
.message {
  max-width: 75%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  word-wrap: break-word;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #bbf7d0, #dcfce7);
  border-bottom-right-radius: 4px;
}

.bot {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #e4eaf2;
  border-bottom-left-radius: 4px;
}

/* Input */
#chat-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
  border-top: 1px solid #e4eaf2;
}

#chat-input input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #c7d2e0;
  outline: none;
  background: #ffffff;
  font-size: 13px;
}

#chat-input input:focus {
  border-color: #18934a;
  box-shadow: 0 0 0 3px rgba(24, 147, 74, 0.15);
}

#chat-input button {
  background: linear-gradient(120deg, #0a6f35, #13a053);
  color: white;
  border: none;
  min-width: 74px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#chat-input button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10, 111, 53, 0.35);
}

.faq-option {
  background: #ffffff;
  padding: 9px 12px;
  margin: 2px 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  border: 1px solid #d4deea;
  max-width: 88%;
  transition: all 0.2s ease;
}

.faq-option:hover {
  background: #f4f9ff;
  border-color: #9bc6e2;
  transform: translateX(2px);
}

[dir="ltr"] #whatsapp-float {
  left: 30px;
  right: auto;
}

[dir="rtl"] #whatsapp-float {
  right: 30px;
  left: auto;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 99999;
}

.whatsapp-float i {
  margin-top: 15px;
}



/* Blogs Stylesheet */

.blog-section {
  min-height: 100vh;
  background: var(--gray-100);
  padding: 160px 0 100px;
}

.blog-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  color: var(--black);
}

.blog-card p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

/* grid layout for multiple posts */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.post-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-card .post-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.post-card p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-card .read-more {
  margin-top: 20px;
  align-self: flex-start;
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 36px 24px;
  }
}

/* additional blog layout rules */

/* header/navigation */
.site-header {
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.site-header .logo img {
  height: 40px;
}

.site-header ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

.site-header .lang-switch {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.site-header .btn-demo {
  padding: 8px 20px;
  background: var(--primary-purple);
  color: #fff;
  border-radius: 4px;
  width: 100%;
max-width: 300px;

}

/* hero */
.hero {
  padding: 200px 0 120px;
  background: linear-gradient(to bottom, #f9fafb, #fff);
  text-align: center;
  margin-top: 80px;
  /* account for fixed header */
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero .btn-primary {
  background: var(--primary-purple);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
}

/* featured articles */
.featured-articles {
  padding: 60px 0;
  background: #fff;
}

.featured-articles .card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.featured-articles .card img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
}

.featured-articles .card .content {
  flex: 1;
}

.featured-articles .card h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.featured-articles .card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.featured-articles .card .read-more {
  color: var(--primary-purple);
  font-weight: 600;
  text-decoration: none;
}

/* latest articles & search */
.latest-articles {
  padding: 80px 0;
  background: var(--gray-100);
}

.latest-articles .search-bar {
  max-width: 100%;
max-width: 400px;
  margin: 0 auto 40px;
  position: relative;
}

.latest-articles .search-bar input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 1rem;
}

.latest-articles .search-bar svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.latest-articles .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 50px;
}

.pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.pagination button.current {
  background: var(--primary-purple);
  color: #fff;
  border-color: var(--primary-purple);
}

/* footer */
.site-footer {
  background: var(--primary-purple);
  color: #fff;
  padding: 80px 0 40px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer .column {
  flex: 1;
  min-width: 200px;
}

.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer .bottom p,
.site-footer .bottom a {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .featured-articles .card {
    flex-direction: column;
  }

  .site-footer .bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== TRAINING METHODS SECTION ===== */
.training-methods-section {
  padding: 80px 0;
  text-align: center;

  background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.training-methods-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.training-methods-section .title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.training-methods-section .title .accent {
  color: var(--primary-purple);
}

.training-methods-section .subtitle {
  font-size: 16px;
  color: var(--text-dark);
  max-width: 500px;
  font-weight: 700;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* .method-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 249, 255, 0.8) 100%);
  border: 2px solid #e8e8e8;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--secondary-cyan) 0%, var(--primary-purple) 100%) 1;
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
} */

.method-card {
  background: var(--white);
  border: 4px solid var(--secondary-400);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: center;

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 10px;
  height: 100%;
  /* fill grid row, enabling equal heights */
}

.method-card:hover {
  box-shadow: 0 24px 60px rgba(28, 141, 193, 0.18);
  transform: translateY(-8px);
  border-color: var(--primary-purple);
}

.method-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(230, 248, 255, 0.7) 100%);
}

.method-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(239, 245, 255, 0.7) 100%);
}

.method-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 253, 250, 0.7) 100%);
}

.method-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 242, 255, 0.7) 100%);
}

.method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 141, 193, 0.08) 0%, rgba(91, 75, 154, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  pointer-events: none;
}

/* .method-card:hover {
  border-color: var(--secondary-cyan);
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(28, 141, 193, 0.15);
} */

.method-card:hover::before {
  opacity: 1;
}

.method-card:hover .card-header {
  transform: scale(1.12);
}

.card-header {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 2px solid #e8e8e8;
}

.method-card:hover .card-header {
  border-color: var(--secondary-cyan);
  box-shadow: 0 12px 32px rgba(28, 141, 193, 0.2);
}

.method-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  /* logos now appear in their original colors */
}

.method-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.method-card h3::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--secondary-cyan);
  margin: 8px auto 0;
  transition: width 0.35s ease;
}

.method-card:hover h3::after {
  width: 40px;
}

.method-card p {
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.6;
  position: relative;
  font-weight: 650;

  z-index: 1;
  margin-bottom: 12px;
}

.method-card ul {
  list-style: disc inside;
  text-align: start;
  margin: 8px 0 0 0;
  padding-left: 16px;
  position: relative;
  z-index: 1;
}

.method-card ul li {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Directional adjustments for RTL/LTR */
[dir="ltr"] .method-card h3::after {
  margin: 8px auto 0;
}

/* Responsive design */
@media (max-width: 1024px) {
  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .training-methods-section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .training-methods-section .title {
    font-size: 28px;
  }

  .training-methods-section .subtitle {
    font-size: 14px;
  }

  .method-card {
    padding: 24px 16px;
  }

  .card-header {
    width: 70px;
    height: 70px;
  }

  .method-logo {
    width: 45px;
    height: 45px;
  }

  .method-card h3 {
    font-size: 16px;
  }

  .training-methods-section .btn-demo {
    padding: 8px 16px;
    font-size: 14px;
    width: 100%;
max-width: 300px;


  }
}

/* Contact Form */
.contact-section {
  min-height: 100vh;
  background: var(--gray-100);
  padding: 160px 0 100px;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}

.contact-card p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

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

.cf7-form-wrap .wpcf7-form {
  direction: rtl;
}

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

.cf7-form-wrap .wpcf7-form .form-grid > * {
  width: 100%;
  min-width: 0;
}

.cf7-form-wrap .wpcf7-form .form-grid p {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.cf7-form-wrap .wpcf7-form .form-grid br {
  display: none;
}

.cf7-form-wrap .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  width: 100%;
  min-width: 0;
}

.cf7-form-wrap .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}

.cf7-form-wrap .wpcf7-form input[type="text"],
.cf7-form-wrap .wpcf7-form input[type="email"],
.cf7-form-wrap .wpcf7-form input[type="tel"],
.cf7-form-wrap .wpcf7-form select,
.cf7-form-wrap .wpcf7-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--white);
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}

.cf7-form-wrap .wpcf7-form select {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;
  line-height: 1.2;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 16px;
  padding-left: 16px;
}

.cf7-form-wrap .wpcf7-form select.wpcf7-form-control.wpcf7-select {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.cf7-form-wrap .wpcf7-form input[type="text"]:focus,
.cf7-form-wrap .wpcf7-form input[type="email"]:focus,
.cf7-form-wrap .wpcf7-form input[type="tel"]:focus,
.cf7-form-wrap .wpcf7-form select:focus,
.cf7-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(91, 75, 154, 0.15);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: span 2;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);

}
[dir="rtl"] label {
  text-align: right;
}

[dir="ltr"] label {
  text-align: left;
}

input,
select {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--white);

}

[dir="rtl"] input [dir="rtl"] select {
  direction: rtl;
}

[dir="ltr"] input [dir="ltr"] select {
  direction: ltr;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(91, 75, 154, 0.15);
}

.submit-wrap {
  margin-top: 32px;
  text-align: center;
}

.submit-wrap button {
  width: 240px;
  height: 54px;
  border-radius: 50px;
  border: none;
  background: var(--primary-purple);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cf7-form-wrap .submit-wrap .wpcf7-submit {
  width: 240px;
  height: 54px;
  border-radius: 50px;
  border: none;
  background: var(--primary-purple);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cf7-form-wrap .submit-wrap .wpcf7-submit:hover {
  background: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 75, 154, 0.35);
}

/* MailPoet signup (page-signup.php) — match CF7 card styling */
.mailpoet-signup-wrap .mailpoet_form {
  direction: rtl;
}

.mailpoet-signup-wrap .mailpoet_form .mailpoet_paragraph,
.mailpoet-signup-wrap .mailpoet_form p {
  margin-bottom: 16px;
}

.mailpoet-signup-wrap .mailpoet_form label,
.mailpoet-signup-wrap .mailpoet_form .mailpoet_segment_label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  margin-bottom: 6px;
}

.mailpoet-signup-wrap .mailpoet_form input[type="text"],
.mailpoet-signup-wrap .mailpoet_form input[type="email"],
.mailpoet-signup-wrap .mailpoet_form input[type="tel"],
.mailpoet-signup-wrap .mailpoet_form input[type="url"],
.mailpoet-signup-wrap .mailpoet_form select,
.mailpoet-signup-wrap .mailpoet_form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--white);
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}

.mailpoet-signup-wrap .mailpoet_form input:focus,
.mailpoet-signup-wrap .mailpoet_form select:focus,
.mailpoet-signup-wrap .mailpoet_form textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(91, 75, 154, 0.15);
}

.mailpoet-signup-wrap .mailpoet_form .mailpoet_submit,
.mailpoet-signup-wrap .mailpoet_form input.mailpoet_submit,
.mailpoet-signup-wrap .mailpoet_form button[type="submit"] {
  width: 240px;
  height: 54px;
  border-radius: 50px;
  border: none;
  background: var(--primary-purple);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 24px auto 0;
  display: block;
}

.mailpoet-signup-wrap .mailpoet_form .mailpoet_submit:hover,
.mailpoet-signup-wrap .mailpoet_form input.mailpoet_submit:hover,
.mailpoet-signup-wrap .mailpoet_form button[type="submit"]:hover {
  background: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 75, 154, 0.35);
}

.mailpoet-signup-wrap .mailpoet_message,
.mailpoet-signup-wrap .mailpoet_error,
.mailpoet-signup-wrap .mailpoet_validate_success {
  text-align: center;
  margin-top: 16px;
}

.submit-wrap button:hover {
  background: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 75, 154, 0.35);
}

@media (max-width: 768px) {
  .contact-card {
    padding: 36px 24px;
  }

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

  .cf7-form-wrap .wpcf7-form .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

}
/* ============================= */
/* Large Desktop */
/* ============================= */
@media (min-width:1440px){

.container{
max-width:1400px;
}

}

/* ============================= */
/* Tablet */
/* ============================= */
@media (max-width:1024px){

.steps-grid{
grid-template-columns:repeat(2,1fr);
}

}

/* ============================= */
/* Mobile */
/* ============================= */
@media (max-width:768px){

.hero-content h1{

font-size:28px;
}



.steps-grid{
grid-template-columns:repeat(1,1fr);
}


.footer-grid{
grid-template-columns:1fr;
}

}

/* ============================= */
/* Small Mobile */
/* ============================= */
@media (max-width:480px){

.hero-content h1{
font-size:24px;
}
		
.solutions-cta h2 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-align: center;
  margin-bottom: 18px;
}
	.solutions-cta .btn-demo {
  padding: 8px 20px;
  font-size: 18px;
  width: 100%;
		text-align: center;
max-width: 260px;

}

}

/* ============================= */
/* GLOBAL MOBILE IMPROVEMENTS */
/* ============================= */

@media (max-width: 768px) {

  section{
    padding-left:16px;
    padding-right:16px;
  }

  h1,h2,h3,h4{
    line-height:1.3;
  }

  p{
    font-size:16px;
  }

}


/* ============================= */
/* NAVBAR MOBILE */
/* ============================= */

@media (max-width: 768px){

nav{
padding:12px 0;
}

nav .container{
gap:12px;
}

.nav-menu{
flex-direction:column;
gap:12px;
}

}

.hamburger{
  display:none;
  font-size:28px;
  color: white;
  cursor:pointer;
}

/* Mobile */

@media (max-width: 900px){

  #navMenu{
    display:none;
    position:absolute;
    top:70px;
    right:0;
    width:100%;
    background: var(--primary-purple-dark);
    flex-direction:column;
    text-align:right;
  }

  #navMenu.active{
    display:flex;
  }

  #navMenu li{
    padding:15px;
    border-bottom:1px solid #eee;
  }

  .hamburger{
    display:block;
  }

}


/* ============================= */
/* HERO MOBILE */
/* ============================= */

@media (max-width:768px){

.hero-section{
min-height:auto;
height:auto;
padding-top:100px;
padding-bottom:60px;
}

.hero-content{
padding:2px;
}
	
.hero-content h1{
font-size:25px;
}


.hero-content p{
font-size:16px;
}

.hero-content ul{
font-size:14px;
}

.hero-elements{
display:none;
}

}


/* ============================= */
/* GRID FIXES MOBILE */
/* ============================= */

@media (max-width:768px){

.steps-grid,
.custom-grid,
.passion-grid,
.value-grid,
.methods-grid{
grid-template-columns:1fr;
}

}


/* ============================= */
/* CAROUSEL MOBILE */
/* ============================= */

@media (max-width:768px){

.solutions-section{
padding:80px 0;
min-height:auto;
}

.solution-slide{
padding:28px 22px;
}

.carousel-arrows{
display:none;
}

}


/* ============================= */
/* DATA SECTION MOBILE */
/* ============================= */

@media (max-width:768px){

.data-section .container{
grid-template-columns:1fr;
gap:40px;
text-align:center;
}

}


/* ============================= */
/* CTA BUTTONS MOBILE */
/* ============================= */

@media (max-width:768px){

.btn-demo{
width:100%;
max-width:260px;
font-size:14px;
padding:12px 18px;
}

}


/* ============================= */
/* FOOTER MOBILE */
/* ============================= */

@media (max-width:768px){

.footer-grid{
grid-template-columns:1fr;
text-align:center;
}

.footer-brand .footer-social{
justify-content:center;
}

.footer-contact{
margin:0;
}

}


/* ============================= */
/* BLOG MOBILE */
/* ============================= */

@media (max-width:768px){

.blog-card{
padding:32px 20px;
}

.featured-articles .card{
flex-direction:column;
}

.site-footer .container{
flex-direction:column;
}

}


/* ============================= */
/* CHATBOT MOBILE */
/* ============================= */

@media (max-width:480px){

#chatbot{
width:90%;
right:5%;
left:5%;
}

#chat-toggle{
width:55px;
height:55px;
font-size:24px;
}

}


/* ============================= */
/* CONTACT FORM MOBILE */
/* ============================= */

@media (max-width:768px){

.contact-section{
padding:140px 0 80px;
}

.contact-card{
padding:30px 18px;
}

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

.submit-wrap button{
width:100%;
max-width:260px;
}

}