@charset "UTF-8";
/* Font Face Declarations */
@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('/meethaq_website_custom/static/src/fonts/Cairo-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('/meethaq_website_custom/static/src/fonts/GE_SS_Two_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('/meethaq_website_custom/static/src/fonts/GE_SS_Two_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('/meethaq_website_custom/static/src/fonts/GE_SS_Two_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'GE SS Two', Arial, sans-serif;
  line-height: 1.6;
  color: #393d46;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  background-color: #ffffff;
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  width: 100%;
  padding: 0 60px;
  position: relative;
}

.logo {
  width: 242px;
  height: 68px;
  object-fit: contain;
}

.nav-menu {
  display: none;
  max-width: 750px;

}
.nav-actions-mobile { display: none; }

.nav-link {
  font-size: 20px;
  font-weight: 500;
  color: #393d46;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #c09c3a;
}

.header-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
}

.header-buttons .btn {
  flex: 1; /* Make buttons equal width */
  min-width: 120px; /* Set minimum width */
  max-width: 150px; /* Set maximum width */
  white-space: nowrap; /* Prevent text wrapping */
  text-align: center;
  justify-content: center;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #21272a;
  border-radius: 1px;
}

.btn {
  padding: 8px 12px;
  border: 2px solid #c09c3a;
  background: transparent;
  color: #c09c3a;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  vertical-align: middle;
  line-height: 1.5;
}

.btn:hover {
  background-color: #c09c3a;
  color: #ffffff;
}

.btn-primary {
  background-color: #c09c3a;
  color: #ffffff;
  padding: 12px;
  min-width: 146px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.btn-primary:hover {
  background-color: #a08532;
}

/* Hero Section */
.hero {
  background-image: url('/meethaq_website_custom/static/img/hero-background.png');
  background-size: cover;
  background-position: center;
  height: 684px;
  position: relative;
  width: 100%;
}
.hero-floating-logo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25vw;
  max-width: none;
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.about-actions {
  width: 100%;
  display: flex;
  gap: 19px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
}
.text-center-mb40 { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; gap: 20px }
.text-muted { color: #393d46; text-align: center; }
.text-muted-center-mb40 { color: #393d46; text-align: center; margin-bottom: 40px; }
.section-title-centered { justify-content: center; }
.section-title-center-gold { display: flex; align-items: center; justify-content: center; color: #c09c3a; margin-bottom: 18px; gap: 8px; }
.section-title-center-gold h2 { font-size: 24px; }
.invert-white { filter: brightness(0) invert(1); }
.centered-actions { display: flex; justify-content: center; margin-top: 0; }
.btn-dark { background-color: #393d46; color: #ffffff; border-color: #393d46; }
.text-white { color: #ffffff; }
.font-ge-ss { font-family: 'GE SS Two', Arial, sans-serif; }

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  width: 684px;
  max-width: calc(100% - 160px);
  text-align: start;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.27);
  margin: 0;
}

.hero-description {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  width: 698px;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0;
  align-items: center;

}

.hero-btn-outline {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.hero-btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* About Section */
.about-section {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding: 60px 0;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  padding: 0 60px;
}

.about-images {
  position: relative;
  width: 632px;
  max-width: 30vw;
  display: grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  justify-items: end;
}

.about-image-main {
  width: 462px;
  max-width: 30vw;
  aspect-ratio: 1.15;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1;
  margin-right: 170px;
  margin-top: 74px;
}

.about-image-overlay {
  width: 297px;
  max-width: 20vw;
  aspect-ratio: 1;
  border: 12px solid #ffffff;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
}

.about-stat-overlay {
  grid-column: 1;
  grid-row: 1;
  margin-top: 321px;
  margin-left: 0;
  text-align: center;
}

.about-stat-number {
  font-family: "Cairo", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #c09c3a;
  margin-bottom: 0;
}

.about-stat-label {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-top: 0;
}

.about-text {
  width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: ltr;
  flex: 1;
}

.section-title {
  font-size: 24px;
  font-weight: 500;
  color: #c09c3a;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.section-title-icon {
  width: 26px;
  height: 39px;
}

.section-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #393d46;
  margin-bottom: 24px;
  text-align: start;
}

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

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: flex-start;

}

.feature-icon {
  width: 40px;
  height: 40px;
}

/* Services Section */
.services-section {
  position: relative;
  width: 100%;
  padding-bottom: 100px;
}

.services-section-bg-container {

  background-color: #683c10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 322px;
}

.services-bg-image {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  object-fit: cover;
}

.services-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
  position: relative;
  z-index: 3;
}

.services-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;

}

.services-header p {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  text-align: center;
}

.services-grid {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  padding: 40px;
  box-shadow: 4px 4px 14.2px rgba(0,0,0,0.25);
  z-index: 10;
  position: relative;
}

.services-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 1060px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 324px;
  padding-bottom: 20px;
}

.service-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 12px;
}

.service-title {
  font-size: 20px;
  font-weight: 500;
  color: #393d46;
  margin-bottom: 14px;
}

.service-description {
  font-size: 16px;
  font-weight: 500;
  color: #84878c;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  font-size: 20px;
  font-weight: 500;
  color: #c09c3a;
  text-decoration: underline;
}

/* Stats Section */
.stats-section {
  height: 492px;
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.stats-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: luminosity;
  opacity: 0.8;
  z-index: 1;
}

.stats-content {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  z-index: 2;
  width: 100%;
  position: relative;

}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-circle {
  width: 154px;
  height: 154px;
  background-color: #c09c3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-number {
  font-family: 'Cairo', Arial, sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 24px;
  font-weight: 500;
  color: #393d46;
  margin-top: 16px;
  text-align: center;
}

/* Companies Section */
.companies-section {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.companies-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.05;
}

.companies-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.companies-section-title p {
  text-align: center;
}

.companies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.company-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.company-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 14px;
}

.company-title {
  font-size: 18px;
  font-weight: 500;
  color: #393d46;
  margin-bottom: 8px;
}

.company-description {
  font-size: 14px;
  font-weight: 500;
  color: #84878c;
  line-height: 1.6;
}

/* Projects Section */
.projects-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.projects-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.project-card {
  position: relative;
  max-width: 462px;
  aspect-ratio: 1.18;
}

.project-image {
  width: 100%;
  height: 340px;
  object-fit: fill;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(192, 156, 58, 0.84);
  padding: 22px;
  color: #ffffff;
}

.project-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  padding: 0 20px;
}

/* Partners Section */
.partners-section {
  padding: 80px 56px;
}

.partners-slider {
  position: relative;
  width: 88%;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 90px;
  height: 100%;
  transition: transform 0.5s ease;
  transform: translateX(0);
  width: fit-content;
  will-change: transform;
}

.partner-logo {
  height: auto;
  width: auto;
  max-width: 120px;
}

.partner-logo-zoomed {
  zoom: 1.8;
}

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

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #c09c3a;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #c09c3a;
}

.dot:hover {
  background-color: rgba(192, 156, 58, 0.5);
}

/* Blog Section */
.blog-section {
  padding: 80px 56px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 22px 40px;
  border-left: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
}

.blog-title {
  font-size: 18px;
  font-weight: 500;
  color: #393d46;
  margin-bottom: 12px;
  text-align: start;
}

.blog-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: #838b8e;
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: start;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.blog-date {
  font-size: 14px;
  font-weight: 500;
  color: #838b8e;
}

.read-more {
  font-size: 14px;
  font-weight: 500;
  color: #c09c3a;
  text-decoration: none;
  border: 2px solid #c09c3a;
  padding: 8px 16px;
}

/* CTA Section */
.cta-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-card {
  background-color: #c09c3a;
  width: 80%;
  max-width: 1080px;
  padding: 40px;
  text-align: center;
  margin-bottom: -44px;
  position: relative;
  z-index: 2;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 40px;

}

.cta-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: start;
}

.cta-text p {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-align: start;
}

/* Footer */
.footer {
  background-image: linear-gradient(270deg, #394149 0%, rgba(57, 65, 73, 0.8) 100%), url('/meethaq_website_custom/static/img/footer-bg.png');
  background-size: cover;
  background-position: center;
  padding: 68px 80px 68px 56px;
  color: #ffffff;
  display: flex;
  justify-content: center;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
  gap: 80px;
  width: 100%;
  max-width: 1440px;
}

.footer-section {
  max-width: 324px;
}

.footer-logo {
  width: 300px;
  height: auto;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}

.footer-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 22px;
  text-align: start;
}

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

.footer-links li {
  margin-bottom: 18px;
}

.footer-links a {
  color: #ffffff!important;
  text-decoration: none!important;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: #c09c3a!important;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.contact-item span {
  font-weight: lighter;
  color: #ffffff;
  unicode-bidi: plaintext;
  display: inline-block;
}

/* Phone numbers - always LTR, never change direction */
.phone-number {
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  text-align: left !important;
  font-family: Arial, sans-serif !important;
}

.contant-item-phone {
  font-family: 'Cairo';
  font-weight: 500;
}

.contact-icon {
  width: 16px;
  height: 16px;
}

.social-links {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 16px;

}

.social-link {
  width: 26px;
  height: 26px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.social-icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  background-color: #c09c3a;
  padding: 20px;
  text-align: center;
}

.copyright {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  font-family: 'GE SS Two', Arial, sans-serif;
}

/* Interactive states */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-thin {
  line-height: 1;
}

.about-text {
  max-width: 50%;
}
@media (max-width: 1440px) {
  .about-images {
    width: auto;
    max-width: 50%;
    display: flex;
    flex-wrap: wrap;
  }

  .about-image-main {
    margin: 0;
  }

  .about-image-overlay, .about-image-main {
    width: 50%;
    margin: 0;
    max-width: unset;
    border: 10px solid #ffffff;
  }

  .about-stat-overlay {
    margin-top: 20px;
  }
}

@media (max-width: 1023px) {
  .about-content {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  .about-images {
    max-width: unset;
  }

  .about-text {
    max-width: unset;
  }
}
/* Responsive media queries */
@media (max-width: 639px) {
    .header-buttons {
        gap: 8px;
    }

    .header-buttons .btn {
         min-width: 100px;
         max-width: 130px;
         font-size: 16px; /* Slightly smaller on mobile if needed */
         padding: 10px 8px;
    }

  .feature-icon {
    width: 28px;
    height: 28px;
  }
  .header-content {
    width: 100%;
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .header {
    height: auto;
    min-height: 114px;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .hero-content {
    right: 16px;
    left: 16px;
    top: 100px;
    width: auto;
    max-width: 100%;
    padding: 0;
  }

  /* About actions vertical on mobile */
  .about-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 16px;
  }
  .about-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-description {
    font-size: 16px;
    width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-section {
    height: auto;
    padding: 40px 0;
  }

  .about-images {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
  }

  .about-image-main,
  .about-image-overlay {
    width: 100% !important;
    max-width: 462px;
    height: auto;
    margin-left: 0 !important;
    margin-top: 10px !important;
  }

  .about-stat-overlay {
    margin-top: 8px;
  }

  .about-text {
    width: 100%;
  }

  .services-section {
    height: auto;
    padding-bottom: 200px;
  }

  .services-grid {
    position: relative;
    left: 0;
    right: 0;
    top: 100px;
    margin: 0 16px;
    padding: 20px;
  }

  .services-row {
    flex-direction: column;
    gap: 24px;
  }

  .service-card {
    width: 100%;
  }

  .stats-section {
    height: auto;
    padding: 60px 0;
  }

  .stats-content {
    position: relative;
    transform: none;
    margin-bottom: 40px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
  }

  .stat-circle {
    width: 120px;
    height: 120px;
  }


  .companies-grid,
  .projects-grid,
  .blog-grid {
    padding: 0 16px;
  }

  .cta-section {
    padding: 0 16px;
  }

  .cta-content {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .footer {
    padding: 60px 16px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .partners-section, .blog-section, .companies-section, .projects-section, .services-header {
    padding: 60px 12px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* Mobile nav (<= 1023px): vertical dropdown and move header buttons inside */
@media (max-width: 1023px) {
  .header-buttons a.btn { display: none; }
  .header-buttons .btn {
      flex: 1;
    }
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    padding: 16px;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
  }
  .nav-link { display: block; padding: 8px 4px; }
  .nav-actions-mobile { display: flex; flex-direction: column; gap: 12px; }
  .nav-actions-mobile .btn { width: 100%; justify-content: center;min-width: unset; max-width: unset; }
}

@media (min-width: 640px) {
  .services-row {
    flex-wrap: wrap;
  }

  .service-card {
    width: calc(50% - 20px);
  }

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

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

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

@media (min-width: 768px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-description {
    font-size: 20px;
  }

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

  .section-description {
    font-size: 18px;
  }

  .stat-circle {
    width: 154px;
    height: 154px;
  }

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

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-description {
    font-size: 24px;
  }

  .service-card {
    width: 324px;
  }

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

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

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

  .footer-content {
    flex-direction: row;
  }
}

/* Header and Logo Size Fix */
.header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    max-height: 70px;
}

.header .logo {
    min-block-size: auto;
    object-fit: contain;
    display: block;
    max-height: 65px;
    max-width: 200px;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  margin-left: 15px;
}

.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #8B7355;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #FFFFFF;
    border: 1.5px solid #C9A961;
    font-size: 14px;
    height: 38px;
    min-width: 120px;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(201, 169, 97, 0.1);
}

.language-switcher .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.language-switcher .dropdown-toggle[aria-expanded="true"] {
    background-color: #C9A961;
    color: white;
    box-shadow: 0 4px 8px rgba(201, 169, 97, 0.25);
}

.language-switcher .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.language-switcher .dropdown-toggle[aria-expanded="true"] img {
    filter: brightness(0) invert(1);
}

.language-switcher .dropdown-toggle:hover {
    background-color: #C9A961;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(201, 169, 97, 0.25);
}

.language-switcher .dropdown-toggle img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(52%) sepia(12%) saturate(1015%) hue-rotate(358deg) brightness(93%) contrast(87%);
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover img {
    filter: brightness(0) invert(1);
}

.language-switcher .dropdown-toggle .lang-name {
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    white-space: nowrap;
}

.language-switcher .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 160px;
  background-color: white;
  border: 1.5px solid #C9A961;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.2);
  padding: 6px 0;
  margin: 0 !important;
  z-index: 1000;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.language-switcher.dropdown.show .dropdown-menu,
.language-switcher .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px) !important;
}

.language-switcher .dropdown-menu li {
  margin: 0;
  text-align: center;
}

.language-switcher .dropdown-item {
    padding: 12px 24px !important;
    color: #333 !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    border-bottom: 1px solid #E8E8E8 !important;
}

.language-switcher .dropdown-item:last-child {
    border-bottom: none !important;
}

.language-switcher .dropdown-item .lang-flag {
    margin-right: 6px;
    font-size: 18px;
    vertical-align: middle;
}

.language-switcher .dropdown-item:hover {
    background-color: #F5F0E8 !important;
    color: #8B7355 !important;
}

.language-switcher .dropdown-item.active {
    font-weight: 600;
    color: white !important;
    background: linear-gradient(135deg, #C9A961 0%, #B8955A 100%) !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.language-switcher .dropdown-item.active::after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 14px;
}

.language-switcher .dropdown-item.active:hover {
    background: linear-gradient(135deg, #B8955A 0%, #A7844F 100%) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header-content {
        padding: 10px 20px;
        max-height: 60px;
    }

    .header .logo {
        height: 35px;
    }

    .language-switcher {
        margin-left: 8px;
    }

    .language-switcher .dropdown-toggle {
        padding: 6px 12px;
        font-size: 13px;
        height: 34px;
        min-width: 100px;
        gap: 6px;
    }

    .language-switcher .dropdown-toggle img {
        width: 16px;
        height: 16px;
    }

    .language-switcher .dropdown-toggle .lang-name {
        font-size: 13px;
    }

    .language-switcher .dropdown-menu {
        position: absolute;
        min-width: 150px;
        right: 0;
        left: auto;
    }

    .language-switcher .dropdown-item {
        padding: 10px 16px !important;
        font-size: 13px;
    }
}

/* RTL Support for Arabic */
html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="rtl"] .language-switcher .dropdown-toggle {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-switcher .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 8px;
}

html[lang="ar"] .language-switcher .dropdown-menu,
html[lang="ar_001"] .language-switcher .dropdown-menu,
body[lang="ar"] .language-switcher .dropdown-menu,
body[lang="ar_001"] .language-switcher .dropdown-menu,
body[dir="rtl"] .language-switcher .dropdown-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-switcher .dropdown-item .lang-flag {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .language-switcher .dropdown-item.active::after {
    right: auto;
    left: 12px;
}

@media (max-width: 768px) {
    html[dir="rtl"] .language-switcher {
        margin-right: 8px;
    }

    html[dir="rtl"] .language-switcher .dropdown-item .lang-flag {
        margin-left: 6px;
    }
}

/* User Dropdown - matching language switcher style */
.user-dropdown {
  position: relative;
  margin-left: 15px;
}

.user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #8B7355;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #FFFFFF;
    border: 1.5px solid #C9A961;
    font-size: 14px;
    height: 38px;
    min-width: 120px;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(201, 169, 97, 0.1);
}

.user-dropdown .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.user-dropdown .dropdown-toggle[aria-expanded="true"] {
    background-color: #C9A961;
    color: white;
    box-shadow: 0 4px 8px rgba(201, 169, 97, 0.25);
}

.user-dropdown .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.user-dropdown .dropdown-toggle:hover {
    background-color: #C9A961;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(201, 169, 97, 0.25);
}

.user-dropdown .dropdown-toggle .user-name {
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    white-space: nowrap;
}

.user-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100%) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 160px;
  background-color: white;
  border: 1.5px solid #C9A961;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.2);
  padding: 6px 0;
  margin: 0 !important;
  z-index: 1000;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.user-dropdown.dropdown.show .dropdown-menu,
.user-dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px) !important;
}

.user-dropdown .dropdown-menu li {
  margin: 0;
  text-align: center;
}

.user-dropdown .dropdown-item {
    color: #333 !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    border-bottom: 1px solid #E8E8E8 !important;
}

.user-dropdown .dropdown-item:last-child {
    border-bottom: none !important;
}

.user-dropdown .dropdown-item:hover {
    background-color: #F5F0E8 !important;
    color: #8B7355 !important;
}

/* Mobile responsiveness for user dropdown */
@media (max-width: 768px) {
    .user-dropdown {
        margin-left: 8px;
    }

    .user-dropdown .dropdown-toggle {
        padding: 6px 12px;
        font-size: 13px;
        height: 34px;
        min-width: 100px;
        gap: 6px;
    }

    .user-dropdown .dropdown-toggle .user-name {
        font-size: 13px;
    }

    .user-dropdown .dropdown-menu {
        position: absolute;
        min-width: 150px;
        right: 0;
        left: auto;
    }

    .user-dropdown .dropdown-item {
        font-size: 13px;
    }
}

/* RTL Support for user dropdown */
html[dir="rtl"] .user-dropdown {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="rtl"] .user-dropdown .dropdown-toggle {
    flex-direction: row-reverse;
}

html[dir="rtl"] .user-dropdown .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 8px;
}

html[lang="ar"] .user-dropdown .dropdown-menu,
html[lang="ar_001"] .user-dropdown .dropdown-menu,
body[lang="ar"] .user-dropdown .dropdown-menu,
body[lang="ar_001"] .user-dropdown .dropdown-menu,
body[dir="rtl"] .user-dropdown .dropdown-menu {
  right: auto;
  left: 0;
}

@media (max-width: 768px) {
    html[dir="rtl"] .user-dropdown {
        margin-right: 8px;
    }
}

/* Animation for dropdown */
.language-switcher.dropdown.show .dropdown-menu {
    animation: fadeInDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(0px, 10px);
    text-align: center;
}

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

.lang-list-item {
    color: #c09c3a;
    text-decoration: none;
    font-weight: bold;
}
/* =============================================
                    MOBILE HERO
   ============================================= */
@media (max-width: 767px) {

    /* Make hero responsive instead of fixed 684px */
    .hero {
        height: auto !important;
        min-height: 340px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    /* Make hero content flow normally instead of absolute desktop layout */
    .hero-content {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 20px !important;
        text-align: center !important;
    }

    /* Mobile hero typography */
    .hero-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .hero-description {
        font-size: 15px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 16px !important;
    }

    .hero-buttons {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-floating-logo {
        width: 50vw !important;
        opacity: 0.4 !important;
    }
}
/* =====================================================
                HEADER BUTTON ON MOBILE
   ===================================================== */
@media (max-width: 768px) {

    /* Hide desktop buttons fully */
    .header-buttons > a.btn {
        display: none !important;
    }

    /* Keep ONLY hamburger + language switcher visible */
    .header-buttons {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* Ensure elements don't wrap onto a new line */
    .header-content {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    /* Make logo shrink properly */
    .logo {
        max-width: 140px !important;
        height: auto !important;
        flex-shrink: 1 !important;
    }

    /* Language switcher compact */
    .language-switcher .dropdown-toggle {
        min-width: auto !important;
        width: auto !important;
        padding: 4px 8px !important;
        font-size: 12px !important;
    }

    .language-switcher {
        flex-shrink: 0 !important;
    }

    .hamburger {
        flex-shrink: 0 !important;
    }
}

/* EXTRA: under 768px even tighter layout */
@media (max-width: 768px) {
    .header-content {
        gap: 6px !important;
        padding: 10px 12px !important;
    }

    .logo {
        max-width: 110px !important;
    }
}


/* ================================================
            LANGUAGE DROPDOWN ON MOBILE
   ================================================ */
.language-switcher {
    position: relative !important;
    z-index: 9999 !important; /* highest layer */
}

.language-switcher .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 999999 !important;
    margin-top: 6px !important;

    /* prevent clipping */
    overflow: visible !important;
}

/* ensure parent containers do NOT hide the menu */
.header,
.header-content {
    overflow: visible !important;
}

