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

/* Updated color scheme for luxury portfolio design */
:root {
  --primary-color: #c9a868;
  --dark-bg: #1a2332;
  --dark-text: #1a2332;
  --light-text: #666666;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --off-white: #f5f5f0;
}

body {
  /* Updated font family for elegant look */
  font-family: "Inter", "Noto Naskh Arabic", "Amiri", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
}

.logo {
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.logo-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  width: 100px;
  height: 100px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.search-btn {
  background: none;
  border: none;
  color: var(--dark-text);
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.search-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.cta-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #e5a711;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(253, 185, 19, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-text);
  transition: all 0.3s ease;
}

/* Mobile full-screen menu overlay */
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(26, 35, 50, 0.85); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 3000; }
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-content { position: relative; width: 100%; max-width: 520px; padding: 40px 20px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.mobile-menu-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.mobile-menu-nav { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mobile-menu-link { font-size: 20px; font-weight: 600; color: var(--white); text-decoration: none; transition: color 0.2s ease; }
.mobile-menu-link:hover { color: var(--primary-color); }

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Prevent body scroll when menu is open */
body.menu-open { overflow: hidden; }

/* Updated hero section for portfolio layout */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2a3b4f 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--hero-bg-image) center / cover no-repeat;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

/* Decorative diagonal shapes layer for hero */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-decor .shape {
  position: absolute;
  top: var(--startY, 110%);
  left: var(--startX, -10%);
  transform: translate(0, 0) rotate(var(--rot, 0deg)) scale(var(--scale, 1));
  color: rgba(201, 168, 104, 0.65);
  opacity: var(--op, 0.3);
  mix-blend-mode: multiply;
  filter: blur(0.8px) drop-shadow(0 8px 16px rgba(201, 168, 104, 0.3));
  animation: diagonalRise var(--dur, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.hero-decor .shape-chart i {
  height: var(--h, 12px);
}
@keyframes diagonalRise {
  0% {
    top: var(--startY, 110%);
    left: var(--startX, -10%);
    opacity: 0;
  }
  8% {
    opacity: var(--op, 0.12);
  }
  100% {
    top: var(--endY, -15%);
    left: var(--endX, 110%);
    opacity: var(--op, 0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-decor .shape { animation: none; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-content {
  max-width: none;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: "Playfair Display", "Noto Naskh Arabic", "Amiri", serif;
}

.title-name {
  display: block;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-main-title {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 104, 0.15);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.4s both;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--primary-color);
}

@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.discover-btn {
  background: var(--white);
  color: var(--dark-text);
  border: none;
  padding: 18px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

.discover-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(253, 185, 19, 0.3);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

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

.card-1 {
  bottom: 150px;
  right: 10%;
  width: 250px;
  height: 150px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 50px;
  right: 5%;
  width: 250px;
  height: 150px;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease 0.6s both;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    height: 0;
  }
  50% {
    opacity: 1;
    height: 60px;
  }
  100% {
    opacity: 0;
    height: 60px;
  }
}

/* Services Section */
.services {
  padding: 120px 0;
  background: var(--white);
}

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

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.2;
}

.section-description {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--light-text);
  font-size: 16px;
  line-height: 1.6;
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.service-icon {
  margin-bottom: 24px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.service-description {
  color: var(--light-text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-link:hover {
  transform: translateX(5px);
}

/* Services v2 (redesigned) */
.services-layout {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 60px;
  align-items: stretch;
}
/* Ensure the illustration fills the left column proportionally */
.services-image {
  min-height: 520px;
}
.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.services-content {
  display: flex;
  flex-direction: column;
}
.services-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 24px;
}
.service-item {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.35s ease;
  cursor: pointer;
}
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}
.service-item-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
}
.service-item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-text);
}
.service-item-description {
  color: var(--light-text);
  line-height: 1.7;
}
.services-cta {
  margin-top: 32px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 28px;
}
.services-cta-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.services-cta-text {
  color: var(--light-text);
  margin-bottom: 16px;
}
.services-cta-btn {
  display: inline-flex;
}
@media (max-width: 968px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-items-grid {
    grid-template-columns: 1fr;
  }
  .services-image {
    min-height: 280px;
  }
}
@media (max-width: 640px) {
  .service-item {
    padding: 20px;
  }
}
.about {
  padding: 120px 0;
  background: var(--light-bg);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-img-floating {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 250px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 8px solid var(--white);
  animation: float 6s ease-in-out infinite;
}

.about-img-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -30px;
  background: var(--primary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(253, 185, 19, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.experience-number {
  display: block;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.experience-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.about-content {
  animation: fadeInRight 1s ease;
}

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

.about-text {
  color: var(--light-text);
  line-height: 1.8;
  margin: 24px 0 32px;
  font-size: 16px;
}

.about-features {
  list-style: none;
  margin-bottom: 40px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--dark-text);
}

.primary-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: #e5a711;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(253, 185, 19, 0.3);
}

/* Stats Section */
.stats {
  padding: 100px 0;
  background: var(--dark-bg);
}

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

.stat-card {
  text-align: center;
  padding: 30px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 64px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
}

/* CTA Section */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e5a711 100%);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

.secondary-btn {
  background: var(--white);
  color: var(--dark-text);
  border: none;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: var(--dark-bg);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-primary {
  background: var(--white);
  color: var(--dark-text);
}

.cta-primary:hover {
  background: var(--dark-bg);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

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

/* Portfolio Section styles */
.portfolio {
  padding: 120px 0;
  background: var(--white);
}

.portfolio-filters {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 2px solid #e8e8e8;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--dark-text);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 40px 30px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.portfolio-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.portfolio-link:hover {
  transform: translateX(5px);
}

/* Team Section styles */
.team {
  padding: 120px 0;
  background: var(--light-bg);
}

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

.team-member {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.member-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: all 0.4s ease;
}

.team-member:hover .member-social {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.member-social a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.member-info {
  padding: 30px;
}

.member-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.member-bio {
  color: var(--light-text);
  line-height: 1.6;
  font-size: 14px;
}

/* Testimonials Section styles */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

/* Improved testimonials wrapper and slider layout */
.testimonials-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.testimonial-card {
  background: var(--white);
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 50px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: scale(0.9) translateX(100px);
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  position: relative;
  pointer-events: all;
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(253, 185, 19, 0.15);
}

.testimonial-card:hover {
  box-shadow: 0 25px 70px rgba(253, 185, 19, 0.2);
}

.testimonial-rating {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.testimonial-rating svg {
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating svg {
  transform: scale(1.1);
}

.testimonial-text {
  color: var(--dark-text);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  padding-left: 30px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 60px;
  color: var(--primary-color);
  font-family: "Noto Naskh Arabic", "Amiri", Georgia, serif;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  transition: transform 0.3s ease;
}

/* Added missing testimonial and new section styles */
.testimonial-card:hover .testimonial-author img {
  transform: scale(1.1);
}

.testimonial-author h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--light-text);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e8e8e8;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot:hover {
  background: var(--light-text);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary-color);
  width: 40px;
  border-radius: 6px;
}

/* Experience Timeline Section */
.experience {
  padding: 120px 0;
  background: var(--white);
}

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

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.2;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-marker {
  position: absolute;
  left: -38px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-color);
  z-index: 1;
}

.timeline-content {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.timeline-company {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.timeline-description {
  color: var(--light-text);
  line-height: 1.7;
}

/* Education Section */
.education {
  padding: 120px 0;
  background: var(--light-bg);
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.education-column-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.education-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.education-icon {
  margin-bottom: 20px;
}

.education-degree {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.education-field {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.education-institution {
  color: var(--light-text);
  font-size: 14px;
}

.diploma-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diploma-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.diploma-item:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.diploma-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.diploma-item span {
  color: var(--dark-text);
  font-weight: 500;
  line-height: 1.6;
}

/* Memberships Section */
.memberships { padding: 120px 0; background: var(--white); }

.memberships-tiles { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 24px; }

.membership-tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.membership-tile:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); }

.membership-image { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.membership-tile:hover .membership-image { transform: scale(1.06); }

.membership-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%); padding: 28px; opacity: 0; transform: translateY(12px); transition: all 0.4s ease; pointer-events: none; }
.membership-overlay-content { color: var(--white); }
.membership-title { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.membership-org { color: var(--primary-color); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.membership-description { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6; }
.membership-tile:hover .membership-overlay, .membership-tile.active .membership-overlay { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (max-width: 1024px) {
  .memberships-tiles { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .membership-image { height: 240px; }
}
@media (max-width: 640px) {
  .memberships-tiles { grid-template-columns: 1fr; }
  .membership-image { height: 220px; }
}

/* Training Section */
.training {
  padding: 120px 0;
  background: var(--light-bg);
}

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

.training-card {
  background: var(--white);
  padding: 35px;
  border-radius: 16px;
  border: 2px solid #e8e8e8;
  position: relative;
  transition: all 0.4s ease;
}

.training-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.training-type-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.training-type-badge.conference-badge {
  background: #2a3b4f;
}

.training-icon {
  margin-bottom: 24px;
}
.training-icon img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.training-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.training-provider {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.training-description {
  color: var(--light-text);
  line-height: 1.7;
  font-size: 14px;
}

/* Skills Section */
.skills {
  padding: 120px 0;
  background: var(--white);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}

.skills-column-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skill-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--light-bg);
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.skill-icon {
  flex-shrink: 0;
}

.skill-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.skill-description {
  color: var(--light-text);
  line-height: 1.6;
  font-size: 14px;
}

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

.language-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  text-align: center;
  transition: all 0.3s ease;
}

.language-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.language-flag {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.language-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.language-level {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.language-description {
  color: var(--light-text);
  line-height: 1.6;
  font-size: 14px;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(201, 168, 104, 0.1);
}

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

.submit-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background: #b8954e;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 104, 0.3);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top img {
  width: 24px;
  height: 24px;
  display: block;
}

.back-to-top:hover {
  background: #b8954e;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Language toggle */
.lang-toggle {
  position: fixed;
  bottom: 92px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1100;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: #b8954e;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .lang-toggle {
    bottom: 82px;
    right: 20px;
  }
}

/* Footer policies */
.footer-policies {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.footer-policies a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-policies a:hover {
  color: var(--primary-color);
}

.footer-policies span {
  color: rgba(255, 255, 255, 0.3);
}

/* Fade in animation class */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple effect for buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid,
  .education-grid,
  .skills-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-badges {
    justify-content: center;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-marker {
    left: -28px;
  }

  .cta-btn {
    margin-left: 12px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 60px;
  }

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

  .services-grid,
  .memberships-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-main-title {
    font-size: 20px;
  }

  .about-img-floating {
    display: none;
  }

  .experience-badge {
    left: 0;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* Low-transparency background and animated decorative shapes for non-hero sections */
section:not(.hero) {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(201, 168, 104, 0.04) 0%, rgba(201, 168, 104, 0.02) 100%);
}

section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1000px circle at 10% 10%, rgba(201, 168, 104, 0.08), transparent 60%),
    radial-gradient(800px circle at 90% 80%, rgba(201, 168, 104, 0.06), transparent 60%);
}
section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-image, none) center/cover no-repeat;
  opacity: 0.25;
}

section:not(.hero) > * {
  position: relative;
  z-index: 1;
}

.section-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  top: var(--startY, 110%);
  left: var(--x, 50%);
  transform: translateX(-50%) rotate(var(--rot, 0deg)) scale(var(--scale, 1));
  opacity: 0.15;
  color: rgba(0, 0, 0, 0.35);
  mix-blend-mode: multiply;
  filter: blur(1.5px) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  animation: rise var(--dur, 12s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.shape-arrow {
  width: 24px;
  height: 24px;
}

.shape-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 100%;
  background: currentColor;
  transform: translateX(-50%);
}

.shape-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translate(-50%, 50%) rotate(45deg);
}

.shape-angle {
  width: 20px;
  height: 20px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.shape-chart {
  width: 32px;
  height: 24px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 2px;
  box-sizing: border-box;
}

.shape-chart i {
  display: block;
  width: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.3;
  height: var(--h, 12px);
}

@keyframes rise {
  0% {
    top: var(--startY, 110%);
  }
  100% {
    top: -15%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
  }
}
