/* ===========================================================
   ROOT + RESET
=========================================================== */

:root {
  --gold: #ffcc67;
  --gold-light: #ffe7b3;
  --gold-dark: #e3b35a;
  --dark1: #334553;
  --dark2: #2a3844;
  --text: #1e2730;
  --radius: 16px;
  --glass: rgba(255,255,255,0.05);
  --border: rgba(214,181,116,0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  width: 100%;
  overflow-x: hidden;
  background: radial-gradient(circle at top right, #334553 100%, #1a1a1a 50%, #334553 50%);
  color: #fff;
  padding-top: 180px; /* header+topbar space, hero nicely down */
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}


/* ===========================================================
   HEADER (FIXED TOP)
=========================================================== */

.karaman-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 999999;
  background: linear-gradient(135deg, var(--dark1), var(--dark2));
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Top bar */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 25px;
  font-size: 15px;
  background: var(--dark2);
  color: #ffdf96;
}

.header-top-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.info {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.lang-box { display: flex; align-items: center; }

.lang-select {
  padding: 6px 22px;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}

/* Main nav */
.header-menu {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  position: relative;
}

.logo { margin-right: auto; }

.logo img {
  height: 90px;
  transition: 0.3s ease;
}

.menu-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
}

.menu-links li { list-style: none; }

.menu-links a,
.dropdown-toggle {
  padding: 8px 16px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.25s ease;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-links a:hover,
.dropdown-toggle:hover {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #333;
  transform: translateY(-2px);
}

.menu-links a.active {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold));
  color: #333;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.dropdown-toggle.active {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.dropdown-wrapper { position: relative; }

.arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
  transition: 0.25s ease;
}

/* Floating dropdown (desktop) */
.floating-dropdown {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  min-width: 260px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 20px;
  border: 1px solid rgba(255,204,103,0.45);
  padding: 10px 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transform: translateY(6px);
  transition: 0.25s ease;
  z-index: 99999999;
}

.floating-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(12px);
}

.floating-dropdown .item {
  padding: 14px 22px;
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #334553;
  border-radius: 12px;
  transition: 0.25s ease;
}

.floating-dropdown .item:hover {
  background: rgba(255,255,255,0.35);
  transform: translateX(8px);
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  margin-left: 14px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-services {
  display: none;
  margin-top: 6px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 14px;
  overflow: hidden;
}

.mobile-services li a {
  display: block;
  padding: 10px 18px;
  color: #334553;
  font-weight: 800;
  font-size: 16px;
}

.mobile-services li a:hover {
  background: rgba(255,255,255,0.35);
}

/* Header responsive */
@media (max-width: 900px) {
  body { padding-top: 140px; }

  .header-top { display: none; }

  .header-menu {
    flex-wrap: wrap;
    padding: 10px 18px;
  }

  .logo img { height: 70px; }

  .mobile-toggle { display: block; }

  .menu-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0 10px;
    background: linear-gradient(135deg, var(--dark1), var(--dark2));
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 10px;
  }

  .header-menu.open .menu-links {
    display: flex;
    animation: menuSlideDown 0.25s ease both;
  }

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

  .menu-links a,
  .dropdown-toggle { width: 100%; }

  .dropdown-wrapper.open-mobile .mobile-services {
    display: block;
    animation: fadeSlide 0.25s ease;
  }

  .floating-dropdown { display: none !important; }
}

/* Gold line below top bar on desktop */
@media (min-width: 901px) {
  .header-top {
    border-bottom: 1px solid rgba(255,204,103,0.45);
  }
}


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

.hero-wrapper { width: 100%; }

.hero-section {
  padding: 160px 40px;
  color: #fff;
  text-align: left;
  /* Background properties are kept, but the image URL is removed */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(51,69,83,0.90),
    rgba(51,69,83,0.65),
    rgba(255,204,103,0.35)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
  animation: fadeSlide 1s ease;
}

.hero-sub {
  font-size: 20px;
  margin-bottom: 18px;
  opacity: 0.95;
  animation: fadeSlide 1.2s ease;
}

.hero-desc {
  font-size: 17px;
  max-width: 850px;
  line-height: 1.6;
  margin-bottom: 35px;
  animation: fadeSlide 1.4s ease;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
  border: none;
}

.btn-gold {
  background: #ffcc67;
  color: #334553;
  box-shadow: 0 7px 18px rgba(255, 204, 103, 0.6);
}

.btn-gold:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 22px rgba(255, 204, 103, 0.8);
}

.btn-glass {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}

.btn-glass:hover {
  backdrop-filter: blur(6px);
  transform: translateY(-4px) scale(1.04);
}

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

@media(max-width: 768px) {
  .hero-section { padding: 120px 22px; }
  .hero-title   { font-size: 34px; }
  .hero-sub     { font-size: 18px; }
  .hero-desc    { font-size: 16px; }
}


/* ===========================================================
   ABOUT MAIN
=========================================================== */

.about-section {
  padding: 60px 20px 80px;
}

.about-section .container { max-width: 1400px; }

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

.section-header h1 {
  font-size: 40px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-shadow: 0 4px 20px rgba(255, 204, 103, 0.3);
  display: inline-block;
  padding: 0 30px;
  position: relative;
}

.section-header h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 25px auto 0;
}

.two-column-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  margin-bottom: 80px;
}

.column {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 204, 103, 0.15);
  border-radius: 25px;
  padding: 50px 45px;
  transition: 0.5s ease;
}

.column:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 25px 50px rgba(255, 204, 103, 0.25);
}

.column-content h2 {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 18px;
}

.column-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  font-size: 16px;
  margin-bottom: 12px;
}

.vision-column {
  background: linear-gradient(135deg, #ffcc67, #ffe2a4);
  border: 2px solid #f5b73d;
}

.vision-column .vision-heading { color: #334553 !important; }
.vision-column .vision-text    { color: #334553 !important; }

/* Impact stats */
.impact-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 3px solid rgba(255, 204, 103, 0.25);
  border-radius: 25px;
  padding: 60px;
}

.impact-section h2 {
  font-size: 32px;
  color: var(--gold);
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 204, 103, 0.2);
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* About responsive */
@media (max-width: 1024px) {
  .two-column-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-section { padding: 40px 15px 60px; }

  .section-header { margin-bottom: 50px; }

  .section-header h1 {
    font-size: 28px;
    padding: 0 15px;
  }

  .section-tagline { font-size: 1rem; }

  .column { padding: 35px 25px; }

  .column-content h2 { font-size: 26px; }
  .column-content p  { font-size: 15px; }

  .impact-section {
    padding: 35px 20px;
  }

  .impact-section h2 { font-size: 26px; }

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

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

@media (max-width: 480px) {
  .section-header h1 { font-size: 24px; }
  .stats-grid        { grid-template-columns: 1fr; }
}


/* ===========================================================
   ABOUT – WHY & LEADERSHIP
=========================================================== */

.about-why-leadership {
  padding: 70px 20px 80px;
}

.about-why-leadership .main-title {
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: .5px;
}

.about-why-leadership .main-title::after {
  content: "";
  display: block;
  width: 160px;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 12px auto 45px;
  border-radius: 4px;
}

.about-why-leadership .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(400px, 1fr));
  gap: 40px;
}

.about-why-leadership .card {
  background: linear-gradient(65deg, #334553 80%, #1a1a1a 60%, #334553 50%);
  border: 1px solid rgba(255,204,103,0.18);
  padding: 40px;
  border-radius: 22px;
  backdrop-filter: blur(14px);
  transition: .4s ease;
}

.about-why-leadership .card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(214,181,116,0.18);
}

.about-why-leadership .card-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.about-why-leadership .card-title::after {
  content: "";
  display: block;
  width: 95px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 6px 0 18px 0;
  border-radius: 3px;
}

.about-why-leadership .card,
.about-why-leadership .card p,
.about-why-leadership .text-block,
.about-why-leadership .sub-title {
  color: #ffcc67;
}

.about-why-leadership ul {
  list-style: none;
  margin-top: 15px;
  padding-left: 0;
}

.about-why-leadership ul li {
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.about-why-leadership ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.1;
}

.about-why-leadership .sub-title {
  margin-top: 25px;
  font-size: 1.3rem;
  font-weight: 700;
}

.about-why-leadership .sub-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 7px 0;
}

/* progress bars */
.progress { margin-top: 18px; }

.progress-head {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
}
/* Impact section label color */
.stat-card p {
  color: #ffcc67 !important;   /* your gold */
  font-weight: 800;
  letter-spacing: 0.5px;
}


/*------Our Impact in Numbers-------->*/

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-top: 5px;
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffcc67, #bfa05a, #ffcc67);
  border-radius: 10px;
  transition: 2s ease;
}

@media(max-width: 900px) {
  .about-why-leadership .grid { grid-template-columns: 1fr; }
}


/* ===========================================================
   SERVICES
=========================================================== */

.service-showcase {
  padding: 80px 5vw;
  background: radial-gradient(circle at top right, #334553 100%, #1a1a1a 50%, #334553 50%);
  text-align: center;
}

.service-showcase h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 50px;
  line-height: 1.3;
}

.service-showcase h2::after {
  content: "";
  width: 90px;
  height: 4px;
  display: block;
  margin: 12px auto;
  background: var(--gold);
  border-radius: 4px;
}

.service-grid {
  display: grid;
  gap: 20px;
  max-width: 1350px;
  margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.service-card {
  background: #1f2a31;
  border: 2px solid rgba(255,204,103,0.22);
  border-radius: 22px;
  overflow: hidden;
  transition: .4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--gold);
  box-shadow: 0px 20px 40px rgba(255,204,103,0.28);
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: .45s ease-in-out;
}

.service-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.service-card .label {
  width: 100%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  padding: 24px 18px;
  border-top: 2px solid rgba(255,204,103,0.35);
  min-height: 115px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card .label h3 {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
}

.service-card .label p {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  opacity: .9;
}

.service-card {
  position: relative;
  overflow: hidden; /* already there but keep */
}

.service-card .label {
  background: rgba(255,255,255,0.12); /* lighter glass fix */
  overflow: hidden; /* THIS fixes the bottom radius issue */
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.service-card {
  border-radius: 22px;
  overflow: hidden;
  background-clip: padding-box;
}


@media(max-width: 500px) {
  .service-showcase h2 { font-size: 2rem; }

  .service-card img { height: 220px; }

  .service-card .label {
    padding: 18px;
    min-height: 100px;
  }
}


/* ===========================================================
   CONTRACTING & MINING
=========================================================== */

.contracting-mining {
  padding: 80px 20px 100px;
}

.contracting-mining .container { max-width: 1400px; }

.contracting-mining .section-header { margin-bottom: 50px; }

.ornament-divider {
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffcc67, transparent);
  margin: 25px auto 0;
  position: relative;
}

.ornament-divider::before {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffcc67;
  font-size: 14px;
  background: #334553;
  padding: 0 15px;
}

/* layout */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.content-column {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 204, 103, 0.2);
  border-radius: 25px;
  padding: 50px 45px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-column::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ffcc67, #334553, #ffcc67);
  border-radius: 25px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: borderGlow 4s ease infinite;
}

.content-column:hover::before { opacity: 0.4; }

.content-column::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 103, 0.08), transparent);
  transition: left 0.6s ease;
}

.content-column:hover::after { left: 100%; }

.content-column:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(255, 204, 103, 0.25);
  border-color: rgba(255, 204, 103, 0.5);
}

/* decorative pattern (optional, if used) */
.arabic-pattern {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 90px;
  height: 90px;
  opacity: 0.08;
  pointer-events: none;
  transition: all 0.4s ease;
}

.content-column:hover .arabic-pattern {
  opacity: 0.15;
  transform: rotate(45deg) scale(1.1);
}

/* titles & text */
.content-column h2 {
  font-size: 1.8rem;
  color: #ffcc67;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 20px;
  line-height: 1.3;
}

.content-column h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #ffcc67, transparent);
  transition: width 0.4s ease;
}

.content-column:hover h2::after { width: 140px; }

.content-column p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 35px;
}

/* CTA */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffcc67;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 15px 35px;
  border: 2px solid #ffcc67;
  border-radius: 50px;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
}

.cta-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffcc67;
  transition: left 0.4s ease;
  z-index: -1;
}

.cta-link:hover::before { left: 0; }

.cta-link:hover {
  color: #334553;
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(255, 204, 103, 0.3);
}

.cta-link .arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.cta-link:hover .arrow { transform: translateX(8px); }

/* animations */
@keyframes borderGlow {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* responsive */
@media (max-width: 1200px) {
  .content-row { gap: 35px; }
  .content-column { padding: 40px 35px; }
}

@media (max-width: 992px) {
  .content-row { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .contracting-mining { padding: 60px 15px 80px; }
  .content-column { padding: 35px 25px; }
  .arabic-pattern { width: 70px; height: 70px; }
  .cta-link { padding: 12px 28px; font-size: 1rem; }
}


/* ===========================================================
   CLIENT SLIDER MODULE
=========================================================== */

.client-slider-module {
  text-align: center;
  padding: 40px 20px 70px;
}

.client-slider-module h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.subtitle-top {
  font-size: 18px;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Desktop banner */
/* ================================
   Animated Golden Border – Premium
   ================================ */

.desktop-banner {
  position: relative;
  border-radius: 14px;
  padding: 4px;                     /* border thickness */
  overflow: hidden;
  background: linear-gradient(130deg, #ffcc67, #bfa05a, #ffcc67);
  animation: goldPulse 3.5s infinite ease-in-out;
}

/* Keep image clean inside */
.desktop-banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Subtle animation of border gold flow */
@keyframes goldPulse {
  0% {
    background-position: 0% 0%;
    box-shadow: 0 0 12px rgba(255,204,103,0.25);
  }
  50% {
    background-position: 100% 100%;
    box-shadow: 0 0 20px rgba(255,204,103,0.45);
  }
  100% {
    background-position: 0% 0%;
    box-shadow: 0 0 12px rgba(255,204,103,0.25);
  }
}



/* Mobile slider */
.mobile-slider {
  width: 100%;
  overflow: hidden;
  display: none;
  position: relative;
}

.mobile-slide {
  width: 100%;
  display: none;
}

.mobile-slide.active { display: block; }

.mobile-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Dots */
.mobile-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ffffff40;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active { background: var(--gold); }

.subtitle-bottom {
  font-size: 16px;
  color: var(--gold);
  opacity: 0.85;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .client-slider-module h2 { font-size: 32px; }
  .subtitle-top           { font-size: 16px; }

  .desktop-banner { display: none; }
  .mobile-slider  { display: block; }

  .subtitle-bottom { font-size: 14px; }
}


/* ===========================================================
   CONTACT SECTION
=========================================================== */

.contact-section {
  padding: 120px 50px 100px;
}

.contact-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-title {
  font-size: 42px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(255,204,103,0.5);
}

.contact-title::after {
  content: "";
  width: 90px;
  height: 4px;
  display: block;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(255,204,103,0.9);
}

/* form */
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,204,103,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.contact-form label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gold);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,204,103,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--gold);
  font-size: 16px;
  outline: none;
}

.contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffdc92;
  opacity: 0.7;
}

.contact-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: var(--gold);
  color: #334553;
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 24px rgba(255,204,103,0.4);
}

.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(255,204,103,0.7);
}

/* info side */
.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--gold);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.9);
  transition: 0.35s ease;
}

.info-item:hover { color: var(--gold); }

.icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  transition: 0.3s ease;
}

.info-item:hover .icon svg {
  fill: var(--gold);
  filter: drop-shadow(0 0 8px rgba(255,204,103,0.6));
  transform: scale(0.5);
}


.info-item:hover .icon svg {
  stroke: var(--gold);
  filter: drop-shadow(0 0 15px rgba(255,204,103,1));
  transform: translate(5px,2px);
}

.map-box {
  margin-top: 35px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,204,103,0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
/* Make clickable info links visually identical to the text spans */
.info-link {
  color: inherit;              /* inherit parent color (so .info-item:hover works) */
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color .25s ease, transform .25s ease;
}

/* Keep phone-number class behavior (if used elsewhere) */
.info-link.phone-number { font-weight: 700; }

/* Ensure hover color change still applies */
.info-item:hover .info-link { color: var(--gold); }

/* For safety, make sure anchors don't overflow on small screens */
.info-link br { display:block; } /* keep line breaks if translation injects HTML */


/* success popup (if used) */
.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999999;
}

.success-box {
  background: linear-gradient(145deg, #334553, #24323c);
  padding: 40px 50px;
  border-radius: 18px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  border: 1px solid rgba(255,204,103,0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  animation: popIn 0.35s ease;
}

.success-icon {
  font-size: 52px;
  color: var(--gold);
  margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(255,204,103,0.8);
}

.close-success {
  background: var(--gold);
  color: #334553;
  padding: 12px 25px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.close-success:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255,204,103,0.7);
}

@keyframes popIn {
  0%   { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

@media(max-width:960px) {
  .contact-section { padding: 80px 20px 80px; }

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

.info-link {
  color: #ffcc67;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.info-link:hover {
  color: #ffe7b3;
  text-decoration: underline;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 20px;
  flex-shrink: 0;
}


/* ===========================================================
   FOOTER (CLEAN, SAME LAYOUT)
=========================================================== */

.kg-footer {
  width: 100%;
  background: linear-gradient(135deg, #334553 100%, #1a1a1a 50%, #334553 50%);
  padding: 25px 0 0;
  border-top: 2px solid rgba(255, 204, 103, 0.4);
  color: var(--gold);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.45);
  margin-top: 60px;
}

.kg-footer-inner {
  width: 100%;
  padding: 0 40px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: flex-start;
}

/* columns */
.kg-footer-col {
  display: flex;
  flex-direction: column;
}

.kg-footer-heading {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}

.kg-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

/* contact */
.kg-footer-left { align-items: flex-start; }

.kg-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kg-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #ffdf96;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  transition: 0.3s;
}

/* New CSS to ensure links inside the contact item adopt the appearance */
.kg-contact-item a {
    color: inherit; /* Ensures link text is the same color as the item */
    text-decoration: none; /* Removes underline from the link */
    /* Must use display: block/flex for the whole link to be interactive */
    display: flex;
    align-items: flex-start;
}

.kg-contact-item:hover {
  transform: translateX(5px);
  color: var(--gold);
}

/* center logo + social */
.kg-footer-center { text-align: center; }

.kg-footer-logo {
  width: 230px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(255, 204, 103, 0.45));
  transition: 0.4s;
}

.kg-footer-logo:hover { transform: scale(1.06); }

.kg-social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.kg-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,204,103,0.3);
  background: rgba(255,204,103,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.kg-social-link img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.kg-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(255,204,103,0.4);
}

/* quick links */
.kg-footer-right {
  text-align: right;
  align-items: flex-end;
}

.kg-footer-right .kg-footer-heading::after {
  right: 0;
  left: auto;
}

.kg-footer-menu {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kg-footer-menu li a {
  color: #ffdf96;
  font-size: 16px;
  transition: 0.3s;
}

.kg-footer-menu li a:hover {
  color: var(--gold);
  letter-spacing: 0.5px;
}


/* MAIN FOOTER LAYOUT FIX — REQUIRED */
.kg-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* ensures responsive behavior */
  width: 100%;
}

/* copyright bar full width */
.kg-footer-bottom {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255, 204, 103, 0.3);
  padding: 10px 0;
  text-align: center;
}

.kg-footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #ffdf96;
}

/* footer responsive */
@media (max-width: 900px) {
  .kg-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .kg-footer-center { order: -1; }

  .kg-footer-left,
  .kg-footer-right {
    align-items: center;
    text-align: center;
  }

  .kg-footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .kg-footer-right .kg-footer-heading::after {
    left: 50%;
    right: auto;
  }

  .kg-footer-menu { align-items: center; }

  .kg-contact-item { justify-content: center; }
}

@media (max-width: 600px) {
  .kg-footer-inner { padding: 0 25px 10px; gap: 25px; }
  .kg-footer-logo   { width: 180px; margin-bottom: 12px; }
  .kg-social-link   { width: 38px; height: 38px; }
  .kg-footer-bottom p { font-size: 13px; }
}

/* Footer links (address, phone, email) */
.footer-link {
  color: #ffdf96;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.kg-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: inherit; /* RTL safe */
}

.kg-contact-icon {
  font-size: 18px;
  flex-shrink: 0;
}



/* ===========================================================
   LANG BBUTTON TO TOP BUTTON
=========================================================== */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background: var(--gold);
  color: #334553;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999999;
  box-shadow: 0 10px 28px rgba(255,204,103,0.45);
  transition: 0.35s ease;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 14px 30px rgba(255,204,103,0.7);
}

#backToTop .arrow-up {
  width: 28px;
  height: 28px;
}

/* mobile */
@media (max-width: 600px) {
  #backToTop {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  #backToTop .arrow-up {
    width: 24px;
    height: 24px;
  }
}


/* Mobile Language Button in Header */
.mobile-lang-btn {
  display: none; /* Hidden by default */
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  border: 2px solid #d4af37;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 15px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 100;
}

.mobile-lang-btn .lang-text {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.mobile-lang-btn:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(212, 175, 55, 0.4);
}

/* Show only on mobile devices */
@media (max-width: 768px) {
  .mobile-lang-btn {
    display: block;
  }
  
  /* Adjust header-menu to accommodate the button */
  .header-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
  
  /* Create a flex container for lang button + hamburger */
  .header-menu .logo {
    flex: 0 0 auto;
  }
  
  /* Group the language button and mobile toggle together */
  .header-menu::after {
    content: '';
    flex: 1;
  }
}

/* RTL Support */
html[dir="rtl"] .mobile-lang-btn {
  margin-right: 0;
  margin-left: 15px;
}

/* Animation on language change */
@keyframes langPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.mobile-lang-btn.changing {
  animation: langPulse 0.3s ease;
}


/* Hide Footer Contact and Quick Links - MOBILE ONLY */

@media (max-width: 768px) {
  /* Hide left column (Contact Us) */
  .kg-footer-left {
    display: none !important;
  }

  /* Hide right column (Quick Links) */
  .kg-footer-right {
    display: none !important;
  }

  /* Center the middle column */
  .kg-footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .kg-footer-center {
    text-align: center;
    max-width: 100%;
  }

  /* Ensure logo and social links are centered */
  .kg-footer-logo {
    margin: 0 auto;
    display: block;
  }

  .kg-social-links {
    justify-content: center;
    margin: 0 auto;
  }
}


/* Disable text selection */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow form fields selection */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
