/* ===== CSS VARIABLES ===== */


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== DECORATIVE BLUR BLOBS ===== */
.blur-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  animation: float-blob 22s infinite alternate ease-in-out;
}

.blob-gold {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: 15%;
  right: 0;
}

.blob-gold-2 {
  width: 400px;
  height: 400px;
  background: var(--gold-dark);
  bottom: 20%;
  left: 0;
  animation-delay: -7s;
}

.blob-dark {
  width: 600px;
  height: 600px;
  background: rgba(187, 154, 101, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 30s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -20px) scale(1.05);
  }

  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  direction: rtl;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.text-center {
  text-align: center !important;
}
.mt-10 {
  margin-top: 2.5rem !important;
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  animation: pulse-gold 1.5s ease-in-out infinite;
}

.loader-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 20px;
  animation: expand-line 1.5s ease-in-out infinite;
}

@keyframes pulse-gold {

  0%,
  100% {
    opacity: 0.6
  }

  50% {
    opacity: 1
  }
}

@keyframes expand-line {

  0%,
  100% {
    transform: scaleX(0.3)
  }

  50% {
    transform: scaleX(1)
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

/* ===== SELECTION ===== */
::selection {
  background: var(--gold);
  color: var(--black);
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: var(--black-alpha);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex: 2;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
}

.nav-actions a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}

.nav-actions a:hover {
  color: var(--gold);
}

.nav-actions a.gold {
  color: var(--gold);
}

.nav-cta-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--white);
  border-radius: 4px;
  color: var(--white) !important;
  font-weight: 500;
  transition: var(--transition);
}

.nav-cta-outline:hover {
  background: var(--white);
  color: var(--black) !important;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(187, 154, 101, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(187, 154, 101, 0.5);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-close {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 1.5rem;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== HERO ===== */
#hero {
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://basis.sa/wp-content/uploads/2024/07/pexels-quang-nguyen-vinh-222549-2138126-1-scaled.jpg');
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content.basis-style {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 60px;
}

.hero-welcome {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 40px;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn-primary-outline:hover {
  color: var(--black) !important;
}

.btn-primary-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== BRAND BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black) !important;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(187, 154, 101, 0.2);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(187, 154, 101, 0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black) !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
}

.btn-wa:hover {
  background: linear-gradient(135deg, #2fe674, #15a191) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
  color: var(--white) !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--black) !important;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(187, 154, 101, 0.3);
}

.btn-secondary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-secondary:active {
  transform: translateY(1px);
}


/* Animations for hero elements */
.fade-up-1 { animation: fade-up 1s ease 0.3s both; }
.fade-up-2 { animation: fade-up 1s ease 0.5s both; }
.fade-up-3 { animation: fade-up 1s ease 0.7s both; }
.fade-up-4 { animation: fade-up 1s ease 0.9s both; }

.hero-stats {
  position: absolute;
  bottom: 80px;
  left: 60px;
  display: flex;
  gap: 60px;
  animation: fade-up 1s ease 0.8s both;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-in 1s ease 1.2s both;
}

.hero-scroll span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(187, 154, 101, 0.8), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {

  0%,
  100% {
    transform: scaleY(0);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }
}

/* ===== SECTION COMMONS ===== */
section {
  padding: 100px 60px;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  position: relative;
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
}

.section-title .gold {
  color: var(--gold);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.gold-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto 0;
}

/* ===== ABOUT ===== */
#about {
  background: var(--black);
  padding: 100px 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary); /* Burgundy */
  margin-bottom: 10px;
}

.section-title-large {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 700;
}

.about-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 90%;
}

.about-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-service-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.about-service-link:hover {
  color: var(--white);
}

.about-divider {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

@media (max-width: 576px) {
  .about-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .about-divider {
    display: none;
  }
}

.about-images {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 85%;
  object-fit: cover;
  z-index: 1;
  box-shadow: var(--shadow-deep);
}

.about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 60%;
  object-fit: cover;
  z-index: 2;
  border: 10px solid var(--black);
  box-shadow: var(--shadow-deep);
}

/* ===== SERVICES ===== */
#services {
  background: var(--black);
  padding: 100px 60px;
}

#services .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#services .section-subtitle {
  color: var(--primary);
}

#services .section-title-large {
  color: var(--white);
}

.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.service-card-v2 {
  display: block;
  background: var(--black-card);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: var(--transition);
  position: relative;
}

.service-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-icon-box {
  position: absolute;
  bottom: 0;
  left: 24px; /* RTL layout */
  transform: translateY(50%);
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(187, 154, 101, 0.4);
}

.service-icon-box i {
  color: var(--white);
  font-size: 1.5rem;
}

.service-content {
  padding: 40px 24px 30px;
  position: relative;
  background: var(--black-card);
  transition: var(--transition);
}

.service-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-btn-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.service-btn-arrow i {
  transform: rotate(45deg);
  transition: var(--transition);
}

.service-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card-v2:hover .service-img {
  transform: scale(1.1);
}

.service-card-v2:hover .service-content {
  background: var(--black);
}

.service-card-v2:hover .service-title {
  color: var(--white);
}

.service-card-v2:hover .service-desc {
  color: rgba(255,255,255,0.7);
}

.service-card-v2:hover .service-btn-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.service-card-v2:hover .service-btn-arrow i {
  transform: rotate(0deg);
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: var(--black);
}

.portfolio-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border-color: transparent;
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item.tall {
  grid-row: span 2;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.portfolio-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

.portfolio-plus {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(187, 154, 101, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-plus {
  opacity: 1;
  transform: scale(1);
}

/* ===== WHY US ===== */
#why-us {
  background: var(--black);
}

.why-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-img-wrap {
  position: relative;
}

.why-main-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-deep);
}

.why-img-decor {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(187, 154, 101, 0.2);
  border-radius: 8px;
  z-index: -1;
}

.why-img-decor2 {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(187, 154, 101, 0.2);
  border-radius: 8px;
  z-index: -1;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: var(--transition);
}

.why-feature:hover {
  background: rgba(187, 154, 101, 0.04);
  border-color: rgba(187, 154, 101, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.why-feat-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(187, 154, 101, 0.08);
  border: 1px solid rgba(187, 154, 101, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feat-icon i {
  color: var(--gold);
  font-size: 1.3rem;
}

.why-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.why-feat-desc {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 25rem;
  color: rgba(187, 154, 101, 0.03);
  position: absolute;
  top: -50px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(24, 24, 24, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 36px 30px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(187, 154, 101, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(187, 154, 101, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars i {
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(187, 154, 101, 0.3);
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.author-role {
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 2px;
}

/* ===== COUNTER SECTION ===== */
.counter-section {
  background: var(--black);
  border-top: 1px solid rgba(187, 154, 101, 0.1);
  border-bottom: 1px solid rgba(187, 154, 101, 0.1);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.counter-item {}

.counter-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  text-shadow: 0 0 20px rgba(187, 154, 101, 0.15);
}

.counter-plus {
  font-size: 2.5rem;
  color: var(--gold);
}

.counter-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--black);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-mid);
  line-height: 1.9;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(187, 154, 101, 0.08);
  border: 1px solid rgba(187, 154, 101, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-detail-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-detail-label {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-bottom: 2px;
  letter-spacing: 0.1em;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-mid);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(187, 154, 101, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.contact-form {
  background: rgba(24, 24, 24, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 44px 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--white);
  transition: var(--transition);
  direction: rtl;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(187, 154, 101, 0.04);
  box-shadow: 0 0 10px rgba(187, 154, 101, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

select.form-control option {
  background: var(--black-card, #111);
  color: var(--white, #fff);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(187, 154, 101, 0.4);
}

.map-wrap {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: none;
  filter: grayscale(100%) invert(90%);
  opacity: 0.8;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  border-top: 1px solid rgba(187, 154, 101, 0.12);
  padding: 70px 60px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 30px;
}

.footer-brand {}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(187, 154, 101, 0.15);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-mid);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy span {
  color: var(--gold);
}

/* ===== FLOATING WA ===== */
.floating-wa {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-pulse {
  position: relative;
}

.wa-pulse::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: wa-ring 2s ease-in-out infinite;
}

@keyframes wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.6
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

.wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.wa-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.wa-tooltip {
  background: var(--black-card);
  border: 1px solid rgba(187, 154, 101, 0.2);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.floating-wa:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  background: rgba(187, 154, 101, 0.15);
  border: 1px solid rgba(187, 154, 101, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  top: 100px;
  right: 30px;
  z-index: 9999;
  background: var(--black-card);
  border: 1px solid rgba(187, 154, 101, 0.3);
  border-right: 3px solid var(--gold);
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateX(30px);
  transition: var(--transition);
  max-width: 320px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 992px) {
  section {
    padding: 80px 30px;
  }

  #navbar {
    padding: 18px 30px;
  }

  #navbar.scrolled {
    padding: 12px 30px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 6px 12px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero-stats {
    left: 30px;
    bottom: 60px;
    gap: 30px;
  }

  .about-grid,
  .why-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-images {
    height: 400px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .portfolio-item.tall {
    grid-row: span 1;
  }

  .portfolio-grid {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 20px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-stats {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .counter-section {
    padding: 50px 20px;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 28px 20px;
  }
}
