:root {
  --color-primary: #1e5470;
  --color-secondary: #5ec1d1;
  --color-accent: #8ec1d1;
  --color-text: #1e5470;
  --color-text-light: #4a4a4a;
  --color-white: #ffffff;
  --color-background: #d3f0f7;
  --font-tajawal: 'Tajawal', sans-serif;
  --font-cairo: 'Cairo', sans-serif;
  --font-kufam: 'Kufam', sans-serif;
  --font-nunito: 'Nunito', sans-serif;
  --font-be-vietnam: 'Be Vietnam Pro', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  direction: ltr;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-tajawal);
  background-color: var(--color-background);
  color: var(--color-text);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
}

.page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  background-color: var(--color-white);
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 26px 48px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .btn {
    padding: 18px 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 24px;
    font-size: 13px;
  }
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background-color: #4ab0c0;
}

.section-title {
    color: var(--color-primary);
    font-family: var(--font-tajawal);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    text-align: right;
}

.section-subtitle {
    color: var(--color-primary);
    font-family: var(--font-tajawal);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    text-align: right;
    max-width: 970px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
}

/* CSS from section:header-hero */
.header-hero-section {
  background: linear-gradient(180deg, #1e5470 29.81%, #5c8397 60.1%, #d3f0f7 100%);
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  direction: rtl;
  min-height: 100vh;
}

.main-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 83px;
  position: relative;
  z-index: 1000;
}

.logo .logo-text-main {
  font-family: var(--font-kufam);
  font-weight: 900;
  font-size: 44px;
  color: var(--color-secondary);
  text-shadow: 0px 17px 25px rgba(0, 0, 0, 0.25);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.main-nav ul {
  display: flex;
  flex-direction: row-reverse;
  gap: 44px;
}

.main-nav a {
  font-family: var(--font-tajawal);
  font-weight: 500;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

.main-nav a:hover, .main-nav li:first-child a {
  color: var(--color-white);
}

.login-btn {
  padding: 26px 48px;
  font-size: 24px;
}
.hero-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 20px;
}

.hero-visual-wrapper {
  flex-shrink: 0;
  position: relative;
  width: 600px;
  height: 500px;
  max-width: 100%;
}

.hero-main-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-main-video,
.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-overlay-media {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.8);
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-overlay-media:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.35);
}

.overlay-video,
.overlay-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Positioning for overlay media */
.hero-overlay-top-left {
  top: 20px;
  left: 20px;
}

.hero-overlay-top-right {
  top: 20px;
  right: 20px;
}

.hero-overlay-bottom-left {
  bottom: 20px;
  left: 20px;
}

.hero-overlay-bottom-right {
  bottom: 20px;
  right: 20px;
}

.hero-overlay-center-left {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.hero-overlay-center-right {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  pointer-events: none;
  z-index: 5;
}

/* Mobile responsive styles for hero media */
@media (max-width: 768px) {
  .hero-visual-wrapper {
    width: 100%;
    height: 350px;
  }
  
  .hero-overlay-media {
    width: 70px;
    height: 70px;
  }
  
  .hero-overlay-top-left,
  .hero-overlay-bottom-left,
  .hero-overlay-center-left {
    left: 15px;
  }
  
  .hero-overlay-top-right,
  .hero-overlay-bottom-right,
  .hero-overlay-center-right {
    right: 15px;
  }
  
  .hero-overlay-top-left,
  .hero-overlay-top-right {
    top: 15px;
  }
  
  .hero-overlay-bottom-left,
  .hero-overlay-bottom-right {
    bottom: 15px;
  }
}

@media (max-width: 480px) {
  .hero-visual-wrapper {
    width: 100%;
    height: 300px;
  }
  
  .hero-overlay-media {
    width: 60px;
    height: 60px;
  }
  
  .hero-overlay-top-left,
  .hero-overlay-bottom-left,
  .hero-overlay-center-left {
    left: 10px;
  }
  
  .hero-overlay-top-right,
  .hero-overlay-bottom-right,
  .hero-overlay-center-right {
    right: 10px;
  }
  
  .hero-overlay-top-left,
  .hero-overlay-top-right {
    top: 10px;
  }
  
  .hero-overlay-bottom-left,
  .hero-overlay-bottom-right {
    bottom: 10px;
  }
}

.hero-text {
  flex: 1;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* ensure right alignment */
  text-align: right;
  gap: 32px;
}

.hero-text h1 {
  font-family: var(--font-tajawal);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-secondary);
  text-align: right;
  max-width: 627px;
}

.hero-text p {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  max-width: 628px;
}

.hero-description-line {
  display: block;
  margin-bottom: 4px;
}

.hero-description-line:last-child {
  margin-bottom: 0;
}

.contact-btn {
  padding: 32px 62px;
  font-size: 28px;
  align-self: flex-end; /* align button to right edge of text */
  margin-right: 0;      /* ensure no extra margin */
}

.hero-image-container {
  flex-shrink: 0;
  position: relative;
  width: 548px;
  height: 558px;
  right: 0;
  left: auto;
}

.hero-image-container > * {
  position: absolute;
}

.hero-image-bg-1 {
  width: 533px;
  height: 245px;
  background-color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  right: 15px;
  top: 131px;
}

.hero-main-img {
  width: 406px;
  height: 507px;
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  right: 94px;
  top: 0;
  object-fit: cover;
}

.hero-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-card-1 {
  width: 230px;
  height: 80px;
  top: 26px;
  right: 301px;
}

.hero-card-2 {
  width: 229px;
  height: 80px;
  top: 478px;
  right: 0;
}

.hero-card-avatar {
  width: 66px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-primary);
}

.hero-card-text {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-text-light);
}

.hero-card-text p {
  font-size: 12px;
  line-height: 1.2;
  color: var(--color-text-light);
  font-weight: 700;
}

.hero-card-text span {
  font-family: var(--font-kufam);
  font-weight: 600;
}

.hero-card-1 .hero-card-text { text-align: right; }
.hero-card-2 .hero-card-text { text-align: left; }

.hero-play-btn {
  width: 87px;
  height: 87px;
  right: 247px;
  top: 204px;
  cursor: pointer;
}

/* Mobile Responsive Styles for Header */
@media (max-width: 1200px) {
  .hero-content { 
    flex-direction: row-reverse; /* keep row-reverse */
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
  }
  .hero-text { 
    align-items: flex-end; /* keep right alignment */
    width: 100%;
    text-align: right;
  }
  .hero-text h1, .hero-text p { 
    text-align: right; 
  }
  .contact-btn { 
    align-self: flex-end; /* keep right alignment */
    margin: 0;
    display: inline-flex;
  }
  .hero-image-container {
    transform: scale(0.9);
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: row-reverse; /* keep row-reverse */
    justify-content: center;
    align-items: center;
    gap: 30px;
    text-align: center;
  }
  .hero-text {
    align-items: flex-end;
    width: 100%;
    text-align: right;
  }
  .hero-text h1, .hero-text p {
    text-align: right;
  }
  .contact-btn {
    align-self: flex-end;
    margin: 0;
    display: inline-flex;
  }
  .hero-image-container {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .header-hero-section {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  
  .main-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    flex-wrap: nowrap;
  }
  
  .logo {
    order: 1;
  }
  
  .hamburger-menu {
    display: flex;
    order: 2;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1e5470 0%, #5c8397 100%);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 80px;
    order: 3;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: flex-end;
  }
  
  .main-nav a {
    font-size: 20px;
    display: block;
    padding: 10px 0;
  }
  
  .login-btn {
    order: 4;
    display: none;
  }
  
  .hero-text h1 {
    font-size: 29px !important;
    max-width: 100%;
    margin-top: 50px;
    font-family: var(--font-tajawal)!important ;
  }
  
  .hero-text p {
    font-size: 20px !important;
    max-width: 100%;
  }
  
  .contact-btn {
    padding: 18px 32px;
    font-size: 18px;
  }
  
  .hero-image-container {
    transform: scale(0.6);
    width: 329px;
    height: 335px;
    margin-top: -60px;
  }
}

@media (max-width: 480px) {
  .header-hero-section {
    padding-top: 15px;
    padding-bottom: 30px;
  }
  
  .main-header {
    padding-bottom: 30px;
  }
  
  .logo .logo-text-main {
    font-size: 28px;
  }
  
  .main-nav {
    width: 250px;
    padding-top: 70px;
  }
  
  .main-nav ul {
    padding: 15px;
  }
  
  .main-nav a {
    font-size: 18px;
  }
  
  .hero-text h1 {
    font-size: 6vw;
    max-width: 95vw;
    word-break: break-word;
  }
  .hero-text p {
    font-size: 4.5vw;
    max-width: 95vw;
    word-break: break-word;
  }
  .contact-btn {
    font-size: 5vw;
    padding: 18px 32px;
    max-width: 95vw;
    white-space: normal;
  }
  
  .hero-image-container {
    order: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px !important;
    transform: scale(0.75);
    img{
          margin-right: 50px !important;

    }
  }
  
  /* Adjust hero cards for mobile */
  .hero-card {
    padding: 3px;
    gap: 8px;
  }
  
  .hero-card-avatar {
    width: 40px;
    height: 42px;
  }
  
  .hero-card-text {
    font-size: 8px;
  }
  
  .hero-card-text p {
    font-size: 8px;
  }
  
  .hero-play-btn {
    width: 50px;
    height: 50px;
  }
}

.hero-text-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 12px;
}

@media (max-width: 480px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: center;
  }
  .hero-text-btn-group {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-text {
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 12px;
  }
  .contact-btn {
    order: 2;
    align-self: center;
    margin: 12px auto 0 auto;
    display: inline-flex;
  }
  .hero-image-container {
    order: 3;
    margin: 32px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 346px;
    transform: scale(0.75);
  }
}

/* CSS from section:umrah-packages */
.packages-section {
  padding: 80px 0;
  background-color: var(--color-background);
  direction: rtl;
}

.packages-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  gap: 20px;
  flex-direction: row-reverse;
}

.packages-header-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-align: right;
  flex: 1;
}

.btn-outline {
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 15px 40px;
  color: var(--color-primary);
  font-family: var(--font-cairo);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  direction: rtl;
}

.package-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 24px;
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}



.package-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.package-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.package-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--color-text-light);
}

.package-duration img {
  width: 22px;
  height: 22px;
}

.package-content h3 {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-light);
  text-align: right;
}

.package-content p {
  font-family: var(--font-tajawal);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-light);
  text-align: right;
  flex-grow: 1;
}

.package-price {
  font-family: var(--font-cairo);
  font-size: 16px;
  color: var(--color-text-light);
  text-align: right;
  line-height: 1.4;
}

.package-price span:first-child {
  font-family: var(--font-tajawal);
  font-size: 12px;
}

.package-details-link {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
  color: var(--color-primary);
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.arrow-circle {
  width: 26px;
  height: 26px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-circle img {
  width: 18px;
  height: 18px;
}

/* Mobile Responsive Styles for Packages */
@media (max-width: 1024px) {
  .packages-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .packages-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .packages-section {
    padding: 40px 0;
  }
  
  .packages-header { 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .packages-header-text {
    align-items: center;
    text-align: center;
  }
  
  .packages-grid { 
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .package-content {
    padding: 24px;
  }
  
  .package-content h3 {
    font-size: 18px;
    text-align: center;
  }
  
  .package-content p {
    text-align: center;
    font-size: 14px;
  }
  
  .package-price {
    text-align: center;
  }
  
  .package-details-link {
    align-self: center;
  }
  
  .btn-outline {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .packages-section {
    padding: 30px 0;
  }
  
  .packages-header {
    margin-bottom: 40px;
    gap: 20px;
  }
  
  .package-content {
    padding: 20px;
    gap: 12px;
  }
  
  .package-content h3 {
    font-size: 16px;
  }
  
  .package-content p {
    font-size: 12px;
  }
  
  .package-details-link {
    font-size: 14px;
  }
  
  .btn-outline {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* CSS from section:partner-banner */
.partner-banner-section {
  position: relative;
  width: 100%;
  height: 259px;
  background-image: url('imgs/Rectangle\ 68.png');
  background-size: cover;
  background-position: center;
  border-radius: 40px;
  box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 0 50px;
  margin: 40px auto;
  max-width: 1364px;
}

.partner-banner-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partner-banner-section h2 {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  text-align: right;
}

.partner-banner-logo {
  text-align: right;
}

.partner-banner-logo p {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 36px;
  margin-bottom: -10px;
}

.partner-banner-logo span {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 16px;
}

/* Mobile Responsive Styles for Partner Banner */
@media (max-width: 992px) {
  .partner-banner-section {
    height: 220px;
    padding: 0 40px;
    border-radius: 30px;
  }
  
  .partner-banner-section h2 {
    font-size: 36px;
  }
  
  .partner-banner-logo p {
    font-size: 30px;
  }
  
  .partner-banner-logo span {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .partner-banner-section {
    height: auto;
    padding: 40px 20px;
    border-radius: 20px;
    margin: 30px auto;
  }
  
  .partner-banner-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .partner-banner-section h2, .partner-banner-logo {
    text-align: center;
  }
  
  .partner-banner-section h2 {
    font-size: 28px;
  }
  
  .partner-banner-logo p {
    font-size: 24px;
  }
  
  .partner-banner-logo span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .partner-banner-section {
    padding: 30px 15px;
    margin: 20px auto;
  }
  
  .partner-banner-section h2 {
    font-size: 22px;
  }
  
  .partner-banner-logo p {
    font-size: 20px;
  }
  
  .partner-banner-logo span {
    font-size: 11px;
  }
}

/* CSS from section:about */
.about-section {
  background: linear-gradient(180deg, #d3f0f7 0%, #ffffff 50%, #d3f0f7 100%);
  padding: 75px 0 122px;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 48px;
}

.about-text {
  max-width: 650px;
  margin-right: 0;
  margin-left: auto;
  align-items: flex-end;
  text-align: right;
  gap: 52px;
  display: flex;
  flex-direction: column;
}

.about-text h2 {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: -2.08px;
  text-align: right;
}

.about-text p {
  font-family: var(--font-be-vietnam);
  font-size: 20px;
  line-height: 1.6;
  text-align: right;
}

.btn-read-more {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 18px 80px;
  border-radius: 10px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 28px;
  text-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  align-self: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-read-more:hover {
  background-color: #4ab0c0;
}

.about-image-wrapper {
  flex-shrink: 0;
  position: relative;
  width: 600px;
  height: auto;
  max-width: 100%;
  margin-bottom: 0;
  justify-content: center;
  display: flex;
}

.about-main-image {
  position: relative;
  width: 60%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}


/* Responsive: About image full width and margin for text below on phones */
@media (max-width: 480px) {
  .about-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    transform: none;
    height: auto;
  }
  .about-main-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 24px;
  }
}

/* Mobile Responsive Styles for About Section */
@media (max-width: 1200px) {
  .about-container { 
    flex-direction: column; 
    gap: 50px;
    justify-content: flex-start;
  }
  .about-text { 
    align-items: center; 
    text-align: center;
    max-width: 100%;
  }
  .about-text h2, .about-text p { 
    text-align: center; 
  }
  
  .about-image-wrapper {
    transform: scale(0.9);
  }
}

@media (max-width: 992px) {
  .about-section {
    padding: 60px 0 80px;
  }
  
  .about-text h2 {
    font-size: 42px;
  }
  
  .about-text p {
    font-size: 24px;
  }
  
  .btn-read-more {
    padding: 16px 60px;
    font-size: 24px;
  }
  
  .about-image-wrapper {
    transform: scale(0.8);
    width: 520px;
    height: 455px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 0 60px;
  }
  
  .about-container {
    gap: 40px;
  }
  
  .about-text {
    gap: 30px;
  }
  
  .about-text h2 { 
    font-size: 36px; 
  }
  
  .about-text p { 
    font-size: 20px; 
  }
  
  .btn-read-more {
    padding: 14px 40px;
    font-size: 20px;
  }
  
  .about-image-wrapper { 
    transform: scale(0.7); 
    width: 460px;
    height: 400px;
    margin-top: -30px; 
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 30px 0 40px;
  }
  
  .about-container {
    gap: 30px;
  }
  
  .about-text {
    gap: 20px;
  }
  
  .about-text h2 {
    font-size: 28px;
  }
  
  .about-text p {
    font-size: 16px;
  }
  
  .btn-read-more {
    padding: 12px 30px;
    font-size: 16px;
  }
  
  .about-image-wrapper {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-bottom: 0;
  }
}

/* CSS from section:testimonials */
.testimonials-section {
  background: linear-gradient(180deg, #d5f1f7 1.92%, #ffffff 39.43%, #ffffff 48.08%, #d3f0f7 100%);
  padding: 80px 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-header h2 {
  font-family: var(--font-cairo);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.testimonials-header p {
  font-family: var(--font-tajawal);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-carousel {
  overflow: hidden;
  border-radius: 20px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 20px;
}

.testimonial-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.15);
  padding: 40px;
  margin: 0 auto;
  max-width: 700px;
  min-height: 300px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.2);
}

.testimonial-card-bg {
  position: absolute;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background: linear-gradient(135deg, #f0efef 0%, #e8f4f8 100%);
  border: 2px solid #34729c;
  border-radius: 15px;
  top: 20px;
  left: 20px;
  opacity: 0.8;
}

.testimonial-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.testimonial-user {
  margin-bottom: 20px;
}

.testimonial-user h4 {
  font-family: var(--font-cairo);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.testimonial-stars img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.testimonial-stars img:hover {
  transform: scale(1.1);
}

.testimonial-content p {
  font-family: var(--font-cairo);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

.testimonials-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.carousel-btn {
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 84, 112, 0.3);
}

.carousel-btn:hover {
  background: var(--color-secondary);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 84, 112, 0.4);
}

.carousel-btn svg {
  color: white;
}

.carousel-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 84, 112, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(30, 84, 112, 0.2);
}

.dot:hover:not(.active) {
  background: rgba(30, 84, 112, 0.6);
  transform: scale(1.1);
}

/* Mobile Responsive Styles for Testimonials */
@media (max-width: 1200px) {
  .testimonials-section {
    padding: 60px 0;
  }
  
  .testimonials-header {
    margin-bottom: 40px;
  }
  
  .testimonials-header h2 {
    font-size: 36px;
  }
  
  .testimonials-header p {
    font-size: 20px;
  }
  
  .testimonial-card {
    padding: 30px;
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 40px 0;
  }
  
  .testimonials-header {
    margin-bottom: 30px;
    padding: 0 10px;
  }
  
  .testimonials-header h2 {
    font-size: 28px;
  }
  
  .testimonials-header p {
    font-size: 18px;
  }
  
  .testimonial-slide {
    padding: 0 10px;
  }
  
  .testimonial-card {
    padding: 25px;
    min-height: auto;
  }
  
  .testimonial-card-bg {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 10px;
    left: 10px;
  }
  
  .testimonial-user h4 {
    font-size: 24px;
  }
  
  .testimonial-content p {
    font-size: 16px;
  }
  
  .testimonials-navigation {
    gap: 20px;
    margin-top: 30px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 30px 0;
  }
  
  .testimonials-header h2 {
    font-size: 24px;
  }
  
  .testimonials-header p {
    font-size: 16px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-user h4 {
    font-size: 20px;
  }
  
  .testimonial-content p {
    font-size: 14px;
  }
  
  .testimonial-stars img {
    width: 20px;
    height: 20px;
  }
}

/* CSS from section:partners */
.partners-section {
  padding: 80px 0;
  background-color: var(--color-background);
  overflow: hidden;
}

.partners-heading {
  text-align: center;
  margin-bottom: 40px;
}

.partners-heading h2 {
  font-family: var(--font-kufam);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.4;
  color: var(--color-primary);
}

.partners-heading p {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-primary);
}

.partners-logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners-logos-scroll {
  width: 100%;
  overflow: hidden;
}

.partners-logos-track {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}

.partner-logo-item {
  background-color: #f3fffe;
  border-radius: 10px;
  width: 280px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.partner-logo-item:hover {
  transform: translateY(-5px);
}

.partner-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
}

/* Scrolling Animation */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.partners-logos-track:hover {
  animation-play-state: paused;
}

/* Mobile Responsive Styles for Partners */
@media (max-width: 992px) {
  .partners-section {
    padding: 60px 0;
  }
  
  .partners-heading h2 {
    font-size: 40px;
  }
  
  .partners-heading p {
    font-size: 20px;
  }
  
  .partner-logo-item {
    width: 250px;
    height: 160px;
  }
  
  .partners-logos-track {
    animation-duration: 25s;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 0;
  }
  
  .partners-heading {
    margin-bottom: 30px;
  }
  
  .partners-heading h2 {
    font-size: 32px;
  }
  
  .partners-heading p {
    font-size: 18px;
  }
  
  .partner-logo-item {
    width: 220px;
    height: 140px;
    padding: 15px;
  }
  
  .partners-logos-track {
    gap: 20px;
    animation-duration: 20s;
  }
}

@media (max-width: 600px) {
  .partners-heading h2 {
    font-size: 28px;
  }
  
  .partners-heading p {
    font-size: 16px;
  }
  
  .partner-logo-item {
    width: 200px;
    height: 120px;
    padding: 10px;
  }
  
  .partners-logos-track {
    gap: 15px;
    animation-duration: 18s;
  }
}

@media (max-width: 480px) {
  .partners-section {
    padding: 30px 0;
  }
  
  .partners-heading h2 {
    font-size: 28px;
  }
  
  .partners-heading p {
    font-size: 16px;
  }
  
  .partner-logo-item {
    height: 120px;
    padding: 10px;
  }
}

.site-footer {direction: ltr !important;}


/* CSS from section:gallery */
.gallery-section {
  background-color: #f3fffe;
  padding: 70px 0 100px;
}
.gallery-heading {
  text-align: center;
  margin-bottom: 70px;
}
.gallery-heading h2 {
  font-family: var(--font-kufam);
  font-weight: 700;
  font-size: 54px;
  color: var(--color-primary);
}
.gallery-heading p {
  font-family: var(--font-tajawal);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary);
  max-width: 660px;
  margin: 10px auto 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Fallback image gallery layout when no cards are available */
.gallery-grid.image-layout {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  grid-template-areas:
    "large small-1 small-2"
    "large small-3 small-4";
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid areas for image layout only */
.gallery-grid.image-layout .gallery-item-1 { grid-area: large; }
.gallery-grid.image-layout .gallery-item-2 { grid-area: small-1; }
.gallery-grid.image-layout .gallery-item-3 { grid-area: small-2; }
.gallery-grid.image-layout .gallery-item-4 { grid-area: small-3; }
.gallery-grid.image-layout .gallery-item-5 { grid-area: small-4; }

.gallery-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(29, 165, 153, 0.7);
  border: 1px solid #1da599;
  backdrop-filter: blur(2px);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  color: var(--color-white);
  font-family: var(--font-kufam);
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  /* Image layout fallback for tablets */
  .gallery-grid.image-layout {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-areas:
      "large large"
      "small-1 small-2"
      "small-3 small-4";
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Image layout fallback for mobile */
  .gallery-grid.image-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "small-1"
      "small-2"
      "small-3"
      "small-4";
  }
}

/* CSS from section:footer */


/* Expired Card Styles */
.package-card.expired-card {
  position: relative;
  opacity: 0.7;
  filter: grayscale(50%);
}

.expired-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
  border-radius: 24px;
}

.expired-badge {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  text-align: center;
}

.package-card.expired-card .package-image {
  filter: grayscale(30%);
}

.package-card.expired-card:hover {
  transform: none;
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.07);
}

