/* EAHK Website - Main Stylesheet */
:root {
  --color-bg: #000;
  --color-text: #fff;
  --color-muted: #ccc;
  --color-accent: #e52b2b;
  --nav-bg: rgba(5, 7, 15, 0.7);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-muted: #9fb1c9;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Hide scrollbars on all pages (but keep scrolling functionality) */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
  background: transparent;
}

body.loading {
  overflow: hidden;
}

/* Language Support */
[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] .nav-shell {
  flex-direction: row-reverse;
}

/* Language Switcher - Dropdown */
.lang-switch {
  margin-left: 16px;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  z-index: 1001;
  visibility: visible !important;
  opacity: 1 !important;
}

[dir="rtl"] .lang-switch {
  margin-left: 0;
  margin-right: 16px;
}
[dir="rtl"] .nav-menu {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.lang-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(11, 11, 15, 0.9) !important;
  color: #f5f7fb !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  visibility: visible !important;
  opacity: 1 !important;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: #d62828;
  background: #111;
  outline: none;
}

.lang-toggle:active {
  transform: scale(0.98);
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-label {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}

.lang-caret {
  font-size: 12px;
  opacity: 0.8;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1500;
}

.lang-menu.open {
  display: flex;
}

.lang-option {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: #e8edf7;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.lang-option.active {
  background: rgba(214, 40, 40, 0.1);
  border: 1px solid rgba(214, 40, 40, 0.4);
  color: #fff;
}

@media (max-width: 960px) {
  .lang-switch {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Navbar */
.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: var(--nav-bg) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--nav-border) !important;
}

.nav-shell {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 14px 0 !important;
  width: min(1200px, 92vw) !important;
  margin: 0 auto !important;
  position: relative !important;
}

.navbar .logo img {
  height: 46px !important;
  display: block !important;
}

.nav-menu {
  list-style: none !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-left: auto !important;
}

.nav-menu li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.nav-menu li a:hover,
.nav-menu li a:focus-visible {
  color: #ffffff !important;
  border-color: var(--nav-border) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  text-decoration: none !important;
}

.nav-menu li a.is-active {
  color: #ffffff !important;
  border-color: var(--nav-border) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.services-dropdown {
  position: relative;
  list-style: none;
}

.services-label-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 10px 10px 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  background: transparent !important;
}

.services-label-wrap:hover,
.services-label-wrap:focus-within,
.services-dropdown.is-active-section .services-label-wrap {
  border-color: var(--nav-border) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.services-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background: transparent !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.services-link:hover,
.services-link:focus-visible {
  color: #ffffff !important;
  text-decoration: none !important;
}

.services-link:focus-visible {
  outline: 2px solid var(--color-accent) !important;
  outline-offset: 2px !important;
}

.services-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  border: none !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

.services-trigger:hover,
.services-trigger:focus-visible {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.services-trigger:focus-visible {
  outline: 2px solid var(--color-accent) !important;
  outline-offset: 2px !important;
}

.services-trigger i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.services-dropdown.open .services-trigger i,
.services-dropdown:focus-within .services-trigger i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 320px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid var(--nav-border);
  background: rgba(8, 10, 18, 0.88);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.services-dropdown:hover .dropdown-menu,
.services-dropdown:focus-within .dropdown-menu,
.services-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

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

.dropdown-menu a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #e9edf8;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.is-active {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.menu-toggle {
  display: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid var(--nav-border) !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  cursor: pointer !important;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-accent) !important;
  border-radius: 8px !important;
}

/* Hero Section with Overlay */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 30px;
  pointer-events: auto;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  margin: 0 0 40px;
  opacity: 0.95;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

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

/* Professional Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(229, 43, 43, 0.4);
}

.btn-primary:hover {
  background: #c41e1e;
  border-color: #c41e1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(229, 43, 43, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Section Improvements */
.section {
  padding: 100px 20px;
  position: relative;
}

.section-dark {
  background: #000;
}

.section-heading-wrapper {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 43, 43, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(229, 43, 43, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background: rgba(229, 43, 43, 0.2);
  transform: scale(1.1);
}

.service-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.service-card:hover .service-icon-img {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(340deg);
}

.service-content {
  flex: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.3;
}

.service-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    padding: 12px 24px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex !important;
  }

  .nav-menu {
    position: absolute !important;
    top: 72px !important;
    right: 0 !important;
    left: 0 !important;
    background: rgba(5, 7, 15, 0.95) !important;
    border-bottom: 1px solid var(--nav-border) !important;
    padding: 18px 24px 24px !important;
    display: grid !important;
    gap: 10px !important;
    transform: translateY(-10px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.25s ease !important;
  }
  
  .nav-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-menu li a {
    width: 100% !important;
  }

  .services-dropdown {
    width: 100%;
  }

  .services-label-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--nav-border);
    border-radius: 12px;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    pointer-events: none;
    padding: 8px;
  }

  .services-dropdown:hover .dropdown-menu {
    display: none;
    pointer-events: none;
  }

  .services-dropdown.open .dropdown-menu,
  .services-dropdown:focus-within .dropdown-menu {
    display: grid;
    pointer-events: auto;
  }
}

/* Swiper Styles */
.swiper {
  height: 90vh;
  width: 100vw;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.swiper-slide:nth-child(1) { background-color: #111; }
.swiper-slide:nth-child(2) { background-color: #222; }
.swiper-slide:nth-child(3) { background-color: #333; }
.swiper-slide:nth-child(4) { background-color: #111; }
.swiper-slide:nth-child(5) { background-color: #222; }
.swiper-slide:nth-child(6) { background-color: #222; }

.slide-overlay img {
  width: 320px;
  max-width: 80%;
  opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
  color: white;
}

.swiper-pagination-bullet {
  background-color: white;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background-color: white;
  opacity: 1;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Cards */
.service-card {
  background: #1a1a1a;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: white;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: #222;
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.service-icon {
  font-size: 36px;
  font-weight: normal;
  color: #e52b2b;
  margin-bottom: 15px;
}

.service-icon-img {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 18px;
  font-weight: normal;
  margin: 0;
}

.section-heading-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 60px;
}

.section-heading {
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #e52b2b;
  padding-bottom: 10px;
  transition: color 0.3s ease;
}

.section-heading:hover {
  color: #e52b2b;
}

.section {
  padding: 100px 20px;
}

.section-dark {
  background: #111;
}

.section-divider {
  border: none;
  border-top: 2px solid #444;
  width: 100%;
  margin: 0 auto;
}

/* Footer Styles */
.footer {
  background-color: #111;
  color: #ccc;
  padding: 50px 20px 20px;
}

.footer-container.two-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  align-items: flex-start;
}

.footer-contact {
  flex: 1 1 350px;
  font-size: 18px;
  line-height: 1.8;
}

.footer-contact h4 {
  color: #e52b2b;
  font-size: 24px;
  margin-bottom: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.footer-contact h4:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-contact a {
  color: #e52b2b;
  font-size: 18px;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact a.white-link {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-contact a.white-link:hover {
  color: #e52b2b;
}

.footer-links-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 8px 20px;
}

.footer-links-grid a {
  font-size: 15px;
  line-height: 1.6;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-social.centered {
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.social-icon.linkedin,
.social-icon.twitter,
.social-icon.facebook,
.social-icon.instagram {
  border: 1px solid #000;
  color: #fff;
}

.social-icon:hover {
  background: #000;
  color: #e52b2b;
  text-decoration: none !important;
}

.social-icon.instagram:hover {
  color: #e52b2b;
}

.footer-logo.centered-logo {
  text-align: center;
  margin-top: 30px;
}

.footer-logo.centered-logo img {
  width: 220px;
  max-width: 100%;
  margin-bottom: 15px;
}

/* Partners Section */
.footer-partners-wrapper {
  flex: 1 1 420px;
  text-align: center;
  margin: 0 auto;
  padding-top: 0;
}

.footer-partners-wrapper .partners-title {
  color: #e52b2b;
  font-size: 28px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-partners-wrapper .partners-title:hover {
  color: white;
}

.footer-partners-wrapper .partner-logos {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.footer-partners-wrapper .partner-logos img {
  height: 120px;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(1.15) contrast(1.05);
  background: transparent;
  mix-blend-mode: normal;
  display: block;
}

.footer-partners-wrapper .partner-logos img:hover {
  transform: scale(1.12);
  filter: brightness(1.3) contrast(1.1);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: 2px;
  height: 100px;
  width: 100px;
}

.bar {
  width: 80px;
  height: 15px;
  background-color: #e82929;
  border-radius: 8px;
  animation: bounce 1.5s infinite ease-in-out;
}

.bar:nth-child(2) {
  animation-delay: 0.2s;
}

.bar:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 100% {
    transform: scaleX(1) scaleY(1);
  }
  50% {
    transform: scaleX(1.2) scaleY(0.8) translateY(-10px);
  }
}

.fade-out {
  animation: fadeOut 1.2s ease-out forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Animation Classes */
.partner-logo-hidden {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.partner-logo-visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-logo-motion {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.5s ease;
  filter: brightness(1.05) contrast(1.05);
}

.partner-logo-motion.visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-logo-motion:hover {
  filter: brightness(1.1) contrast(1.1);
}

.footer-column-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.footer-column-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Page Specific Styles */
.about-section {
  display: flex;
  padding: 20px 0 50px 0;
  background-color: #000;
  color: #ccc;
  min-height: 100vh;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.about-text {
  flex: 1;
  padding: 150px 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background-color: #e52b2b;
}

.about-text p {
  font-size: 15px;
  color: #bbb;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 40px;
}

.about-image img {
  max-height: 90%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  border: 4px solid #333;
  border-radius: 12px;
  padding: 10px;
  background-color: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(229, 43, 43, 0.4);
  border-color: #e52b2b;
}

.about-image-motion {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.about-image-motion.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mission & Vision Section */
.mission-vision-section {
  display: flex;
  padding: 80px 30px;
  background-color: #000;
  color: #ccc;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.mission-box,
.vision-box {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background-color: #111;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(50px);
}

.mission-box h2,
.vision-box h2 {
  color: #e52b2b;
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
}

.mission-box h2::after,
.vision-box h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background-color: #e52b2b;
}

.mission-box.visible,
.vision-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.mission-box p,
.vision-box p {
  text-align: left;
}

/* Contact Page Specific Styles */
.contact-section {
  padding: 140px 20px 80px;
  background-color: #000;
  color: #ccc;
}

.contact-section h2 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.contact-section h2:hover {
  color: #e52b2b;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(229, 43, 43, 0.5);
}

.contact-section p.contact-subtext {
  max-width: 600px;
  margin: 0 auto 60px;
  color: #999;
  text-align: center;
}

.contact-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.get-in-touch {
  flex: 0 0 220px;
  font-size: 32px;
  font-weight: 600;
  color: #e52b2b;
  padding: 20px 10px;
  text-shadow: 2px 2px 8px rgba(229, 43, 43, 0.5);
  transform: perspective(500px) rotateX(5deg);
  transition: all 0.3s ease;
  cursor: default;
}

.get-in-touch:hover {
  color: #fff;
  transform: perspective(500px) rotateX(0deg) scale(1.05);
  text-shadow: 0 0 10px rgba(229, 43, 43, 0.6);
}

.contact-cards {
  flex: 1 1 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: flex-end;
}

.contact-card {
  background: #1a1a1a;
  padding: 20px 15px;
  border-radius: 10px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: perspective(800px) translateZ(0);
  will-change: transform;
  font-size: 14px;
  min-width: 0;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(229, 43, 43, 0.4);
  background: #1e1e1e;
}

.contact-card i {
  font-size: 28px;
  color: #e52b2b;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.contact-card:hover i {
  transform: scale(1.2);
}

.contact-card h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-card a {
  display: inline-block;
  margin-top: 10px;
  color: #e52b2b;
  font-size: 14px;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-form-box {
  display: flex;
  flex-wrap: wrap;
  background: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) translateZ(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-box:hover {
  transform: perspective(1000px) translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(229, 43, 43, 0.3);
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  background: #000;
  border: 2px solid #444;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
  transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e52b2b;
  box-shadow: 0 0 8px rgba(229, 43, 43, 0.4);
  outline: none;
}

.contact-form button {
  padding: 12px 20px;
  background: #e52b2b;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #c12222;
}

.contact-text-side {
  flex: 1 1 300px;
  text-align: left;
  color: #ccc;
}

.contact-text-side span {
  color: #e52b2b;
  font-size: 14px;
  text-transform: uppercase;
}

.contact-text-side h3 {
  color: #fff;
  font-size: 32px;
  margin: 10px 0;
}

.contact-text-side p {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
}

/* Projects Page Specific Styles */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  top: 0;
  padding: 40px;
  background: center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-left: 40px;
  padding-right: 40px;
  transition: background-image 0.4s ease;
}

#hero {
  background-image: url('Assets/1.jpg');
}

.hero-content {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 8px;
  max-width: 100%;
}

.hero h1 {
  font-size: 60px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.subproject-button {
  margin-top: 20px;
  display: inline-block;
  background-color: #e52b2b;
  color: #fff;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.subproject-button:hover {
  background-color: #c42222;
}

.details {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  gap: 100px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 75px 20px;
}

.title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #222;
  letter-spacing: 2px;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cards {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  background-color: #ffffff;
  padding: 20px 16px;
  border-radius: 10px;
  max-width: 100vw;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.card {
  position: relative;
  width: 125px;
  height: 260px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  background-color: #f8f8f5;
  border-radius: 8px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border: none;
  display: block;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: scale(1.08);
  z-index: 1;
}

.card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

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

.label {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30px;
  background-color: rgba(0,0,0,1);
  color: white;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  font-weight: bold;
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 1px;
  padding: 5px 0;
  font-family: 'Roboto Black';
}

.number {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 70px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Agency FB', sans-serif;
}

.card:hover .number {
  opacity: 1;
}

.scroll-indicator {
  display: none;
  color: #aaa;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  font-style: italic;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Subproject Slider */
.slider {
  display: flex;
  overflow: hidden;
  height: 100vh;
  position: relative;
  padding-top: 60px;
}

.slide {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 100%;
  transition: left 1s ease;
  z-index: 1;
}

.slide.active {
  left: 0;
}

.slide-text {
  flex: 1;
  padding: 30px;
  margin: 80px 40px 40px 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transition: all 0.5s ease;
  flex-basis: 25%;
  max-width: 25%;
}

.slide-text h2 {
  position: relative;
  color: var(--color-accent);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  padding-bottom: 12px;
  transition: color 0.3s ease;
}

.slide-text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: #fff;
  transition: width 0.3s ease, background 0.3s ease;
}

.slide-text h2:hover {
  color: #fff;
}

.slide-text h2:hover::after {
  width: 90px;
  background: var(--color-accent);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 10px;
  transition: 0.3s;
}

.meta-item:hover {
  background: rgba(255, 0, 0, 0.1);
  transform: translateX(8px);
}

.slide-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: flex 0.5s ease;
  flex-basis: 75%;
  max-width: 75%;
}

.slide-image img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.slide-image:hover img {
  transform: scale(1.03) perspective(800px) rotateY(1.5deg);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.slide-image-double {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.slide-image-double__item {
  width: 48%;
  border-radius: 10px;
}

[data-popup-gallery] img {
  cursor: zoom-in;
}

@media (hover: hover) {
  .slide:hover .slide-image {
    flex: 1.1;
  }

  .slide-text:hover {
    transform: perspective(600px) translateZ(10px) scale(1.01);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  z-index: 900;
  transition: 0.3s;
  color: #fff;
}

.arrow:hover,
.arrow:focus-visible {
  background: var(--color-accent);
  outline: none;
}

.arrow.prev {
  left: 1px;
}

.arrow.next {
  right: 18px;
}

.arrow i {
  font-size: 18px;
}

.dots {
  display: none;
}

#cardsSection {
  opacity: 1;
  transform: none;
  transition: none;
  filter: blur(0);
}

body.loading #cardsSection {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(30px);
}

.projects-hero {
  min-height: 85vh;
  padding: 60px 40px;
  align-items: flex-end;
  isolation: isolate;
}

.projects-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 0;
}

.projects-hero .hero-inner {
  position: relative;
  z-index: 1;
}

.projects-hero.project-slide-up {
  animation: projectHeroSlide 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-hero.project-slide-up .hero-inner {
  animation: projectHeroContent 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes projectHeroSlide {
  0% {
    opacity: 0.85;
    transform: translateY(32px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes projectHeroContent {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-hero.project-slide-up,
  .projects-hero.project-slide-up .hero-inner {
    animation: none;
  }
}

.hero-content {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.projects-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cards-wrapper {
  width: 100%;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(35, 35, 35, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  background: #0f0f0f;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  padding: 0;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  z-index: 1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.label {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.number {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.card:hover .number {
  opacity: 1;
  transform: translateY(-4px);
}

.scroll-indicator {
  display: none;
}

.projects-grid {
  padding: 60px 20px 90px;
}

.projects-grid .section-heading {
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 3px;
}

.projects-grid .section-heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--color-accent);
  margin: 10px auto 0;
}

.projects-grid .cards-wrapper {
  width: 100%;
}

.projects-grid .card .label {
  font-size: clamp(16px, 3.4vw, 20px);
  line-height: 1.2;
  max-width: calc(100% - 24px);
  white-space: normal;
  word-break: break-word;
  text-align: left;
}

.projects-grid .card .number {
  opacity: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.projects-grid .card:hover .number {
  opacity: 1;
  transform: translateY(-4px);
}

html[dir="rtl"] .projects-grid .card .number {
  right: auto;
  left: 12px;
}

/* Case Study & Slider Refresh */
.slider {
  background: radial-gradient(circle at 30% 20%, rgba(229, 43, 43, 0.12), rgba(0,0,0,0)) 0 0/60% 60% no-repeat,
              radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), rgba(0,0,0,0)) 0 0/40% 40% no-repeat,
              #050505;
  padding: 80px 30px 40px;
}

.slide {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20,20,20,0.9), rgba(15,15,15,0.92));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

.slide-text {
  margin: 60px 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  max-width: 30%;
}

.slide-image {
  padding: 30px;
}

.slide-image img {
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  object-fit: cover;
}

.meta-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 14px;
}

.arrow {
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.15);
}

.arrow:hover,
.arrow:focus-visible {
  background: var(--color-accent);
  box-shadow: 0 10px 25px rgba(229,43,43,0.35);
}

/* ===== Landscape Detail Page ===== */
.sub-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 90px 24px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.landscape-hero {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35)), url('Assets/sub project/landscape/1.jpg') center/cover no-repeat;
}

.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0)),
              linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.75) 95%);
  z-index: 0;
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.sub-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: #f7b733;
  font-weight: 700;
}

.sub-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
}

.sub-hero .lede {
  max-width: 640px;
  color: #e8e8e8;
  font-size: 16px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: #dcdcdc;
  font-size: 14px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ===== Service Detail Pages ===== */
.service-hero {
  min-height: 64vh;
  padding-top: 130px;
  padding-bottom: 92px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-hero.project-management-hero {
  background-image: linear-gradient(160deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)), url('Assets/thumbnails/KIGALI.jpg');
}

.service-hero.construction-supervision-hero {
  background-image: linear-gradient(160deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)), url('Assets/thumbnails/BNR.jpg');
}

.service-hero.owner-representative-hero {
  background-image: linear-gradient(160deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)), url('Assets/thumbnails/MMN.jpg');
}

.service-hero.feasibility-study-hero {
  background-image: linear-gradient(160deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)), url('Assets/thumbnails/OASIS.jpg');
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 14px;
  color: #d8dbe3;
}

.service-breadcrumb a {
  color: #f2f4f9;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.service-breadcrumb a:hover,
.service-breadcrumb a:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
}

.service-content-section {
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.service-content-shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.service-section-heading {
  margin-bottom: 28px;
}

.service-section-heading .section-heading {
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 42px);
}

.service-overview p {
  max-width: 950px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.service-overview p:last-child {
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.service-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: #f1f1f1;
  line-height: 1.65;
}

.service-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--color-accent);
  font-size: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.process-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 24px 22px;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(229, 43, 43, 0.2);
  border: 1px solid rgba(229, 43, 43, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #ececec;
  line-height: 1.65;
}

.deliverable-item i {
  margin-top: 3px;
  color: var(--color-accent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.why-card {
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(24, 24, 24, 0.92), rgba(13, 13, 13, 0.96));
  min-height: 190px;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}

.why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.service-cta {
  padding: 90px 20px 100px;
  background: radial-gradient(circle at 20% 10%, rgba(229, 43, 43, 0.22), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, #050505, #000);
}

.service-cta .service-content-shell {
  text-align: center;
}

.service-cta p {
  margin: 0 auto 26px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.75);
}

.service-cta .btn {
  min-width: 260px;
}

.project-gallery {
  padding: 70px 20px 90px;
  background: #050505;
}

.landscape-gallery .gallery-grid {
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(17,17,17,0.9), rgba(10,10,10,0.95));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  min-height: 230px;
  cursor: pointer;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.75) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 14px 12px 14px;
  z-index: 1;
  color: #f9f9f9;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .sub-hero {
    min-height: 60vh;
    padding: 70px 18px;
    align-items: flex-end;
  }

  .service-hero {
    min-height: 56vh;
    padding-top: 110px;
    padding-bottom: 74px;
  }

  .service-breadcrumb {
    font-size: 13px;
  }

  .service-content-section {
    padding: 66px 16px;
  }

  .service-cta {
    padding: 72px 16px 86px;
  }

  .service-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }
}
.scroll-top-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.scroll-top-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.image-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  z-index: 10000;
  cursor: default;
  --popup-zoom: 1;
}

.image-popup.active {
  display: block;
}

body.image-popup-open {
  overflow: hidden;
}

.image-popup-source {
  cursor: zoom-in;
}

.image-popup-stage {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 5.5rem clamp(3.2rem, 7vw, 5.6rem) 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-out;
}

.image-popup img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(var(--popup-zoom));
  transform-origin: center;
  transition: transform 0.18s ease;
  user-select: none;
  cursor: zoom-in;
}

.image-popup-toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.image-popup-button,
.image-popup-nav {
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-popup-symbol {
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-size: 1.35rem;
  font-weight: 800;
}

.image-popup-symbol-reset {
  font-size: 0.76rem;
  letter-spacing: 0;
}

.image-popup-button:hover,
.image-popup-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.image-popup-button:focus-visible,
.image-popup-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.image-popup-zoom-label {
  min-width: 3rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.image-popup-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: rgba(12, 16, 24, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.image-popup-nav:hover {
  transform: translateY(-50%) translateY(-1px);
}

.image-popup-nav-prev {
  left: 1.2rem;
}

.image-popup-nav-next {
  right: 1.2rem;
}

.image-popup-nav[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .image-popup-stage {
    padding: 5.2rem 1rem 1rem;
  }

  .image-popup-toolbar {
    right: 0.5rem;
    left: 0.5rem;
    justify-content: center;
  }

  .image-popup-nav-prev {
    left: 0.45rem;
  }

  .image-popup-nav-next {
    right: 0.45rem;
  }
}

@media (max-width: 1024px) {
  .slide-text {
    margin: 40px 40px;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .footer-container.two-column {
    flex-direction: column;
    align-items: stretch;
  }
  
  .about-section {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
  }
  
  .about-text {
    padding: 40px 20px;
    text-align: left;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-text p {
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
    color: #ddd;
  }
  
  .about-image {
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .about-image img {
    margin: 0 auto;
    max-width: 90%;
    height: auto;
  }
  
  .mission-box,
  .vision-box {
    text-align: left;
  }
  
  .contact-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .get-in-touch {
    font-size: 28px;
    padding: 10px 0;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  
  .contact-form-box {
    flex-direction: column;
    align-items: center;
    padding: 30px;
  }
  
  .contact-form, .contact-text-side {
    width: 100%;
  }
  
  .footer-contact {
    text-align: center;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-section p,
  .contact-card p,
  .contact-text-side p {
    text-align: justify;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-content {
    padding: 6px 14px;
    text-align: center;
    max-width: 100%;
  }
  
  .hero-inner {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  
  .subproject-button {
    font-size: 14px;
    padding: 8px 18px;
    display: block;
    width: auto;
    margin: 0 auto;
  }
  
  .details {
    flex-direction: column;
    gap: 20px;
  }

  .slider {
    display: block;
    height: auto;
    padding-bottom: 40px;
    position: relative;
    min-height: 900px;
    margin-bottom: 70px;
    overflow: hidden;
  }

  .slide {
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    transition: left 1s ease, opacity 0.6s ease;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
  }

  .slide.active {
    left: 0;
    opacity: 1;
    z-index: 2;
  }

  .slide-text {
    width: 90%;
    margin: 20px auto 10px;
    padding: 16px;
    box-sizing: border-box;
    flex-basis: auto;
    max-width: 100%;
    font-size: 14px;
    padding-top: 80px;
    margin-top: 60px;
  }

  .meta-item {
    flex-wrap: wrap;
    word-break: break-word;
  }

  .slide-image {
    width: 100%;
    padding: 0 20px 20px;
    text-align: center;
  }

  .slide-image img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
  }

  .arrow {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  
  .scroll-indicator {
    display: block;
  }
}

@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .slide-text {
    padding: 30px 20px;
  }

  .meta-item {
    font-size: 0.9rem;
  }
}

/* Logo Responsive */
.logo img {
  height: auto;
  max-width: 120px;
}
