/* =========================================================
   MAIN.CSS
   Table of Contents
   1) Header & Navigation
   2) Hero Section
   3) Shared Components (Buttons, Section Headers, Cards)
   4) Home Sections (About, Vision, Services, Projects, Stats, Contact)
   5) Footer
   6) Inner Pages (Page Hero, News, Contact Info, Forms)
   7) Modals & Other Components
   ========================================================= */

/* NOTE: Base styles, variables, and resets are in tokens.css */
/* NOTE: Media queries are in media-queries.css */

/* 1) Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
  height: 6rem; /* h-24 base */
}
body:not(.home) .header,
.header.scrolled {
  background-color: var(--color-primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem; /* h-24 */
}

.header__logo-img {
  height: 4rem; /* h-16 */
  width: auto;
}

/* Navigation */
.header__nav {
  align-items: center;
  gap: 2rem;
}

.nav__link {
  position: relative;
  color: var(--color-white);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
}

.nav__link-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: all 0.3s ease;
}

.nav__link:hover .nav__link-indicator,
.nav__link.active .nav__link-indicator {
  width: 100%;
}

/* Mobile Toggle */
.header__toggle {
  color: var(--color-white);
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.mobile-menu__link {
  color: var(--color-white);
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: var(--color-gold);
}

/* 2) Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), rgba(32, 40, 53, 0.6), rgba(32, 40, 53, 0.7))
}

.hero__content {
  position: relative;
  z-index: 10;
  padding-top: 4rem;
}

.hero__logo-wrapper {
  margin-bottom: 2rem;
}

.hero__logo-icon {
  height: 8rem; /* h-32 */
  width: auto;
  margin: 0 auto;
}

.hero__title {
  font-size: 3rem; /* text-5xl */
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__divider {
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: 1.25rem; /* text-xl */
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem; /* max-w-3xl */
  margin: 0 auto 3rem;
  line-height: 1.625;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero__btn {
  padding: 1rem 2.5rem; /* px-10 py-4 */
  display: flex;
  gap: 0.75rem;
  font-size: 1rem;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 1s infinite;
}

.hero__scroll-icon {
  width: 1.5rem; /* w-6 */
  height: 2.5rem; /* h-10 */
  border: 2px solid var(--color-gold);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}

.hero__scroll-dot {
  width: 0.25rem; /* w-1 */
  height: 0.5rem; /* h-2 */
  background-color: var(--color-gold);
  border-radius: 9999px;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateX(-50%) translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* 3) Shared Components */
.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn--primary:hover {
  background-color: var(--color-gold-dark);
  transform: scale(1.05);
}

.btn--outline {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}

.btn--outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* 4) Home Sections */
.section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* About Section */
.about {
  background-color: var(--color-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* gap-12 */
  align-items: center;
}

.about__content {
  order: 2;
}

.about__divider {
  margin: 0 0 1.5rem 0; /* mb-6 */
}

.about__title {
  margin-bottom: 1rem;
}

.about__subtitle {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.about__text {
  font-size: 1.125rem; /* text-lg */
  color: rgba(32, 40, 53, 0.8);
  line-height: 1.625;
}

.about__text p {
  margin-bottom: 1.5rem;
}

.about__image-wrapper {
  order: 1;
}

.about__image-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem; /* rounded-2xl */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}

.about__img-overlay {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to top, rgba(32, 40, 53, 0.2), transparent);
}

/* Vision Section */
.vision {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--color-primary),
    var(--color-primary-dark)
  );
  overflow: hidden;
}

.vision__bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.text-white {
  color: var(--color-white);
}

.vision__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.vision__card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 1rem;
  padding: 2.5rem;
  color: var(--color-white);
}

.vision__icon-wrapper {
  width: 4rem;
  height: 4rem;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vision__icon {
  font-size: 1.875rem; /* text-3xl */
  color: var(--color-gold);
}

.vision__card-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.vision__card-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.625;
}

.vision__card-text p {
  margin-bottom: 1rem;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.values__card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem; /* rounded-xl */
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.values__card:hover {
  border-color: var(--color-gold);
}

.values__icon-wrapper {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.values__icon {
  font-size: 2.25rem; /* text-4xl */
  color: var(--color-gold);
}

.values__card-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.values__card-text {
  color: var(--color-white);
}

/* Services Section */
.services {
  background-color: var(--color-bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* gap-8 */
}

.service-card {
  background-color: var(--color-white);
  border-radius: 0.75rem; /* rounded-xl */
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 40, 53, 0.5), transparent);
}

.service-card__content {
  padding: 2rem; /* p-8 */
}

.service-card__icon-wrapper {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 0.5rem; /* rounded-lg */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card__icon {
  font-size: 1.5rem; /* text-2xl */
  color: var(--color-gold);
}

.service-card__title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-card__text {
  color: rgba(32, 40, 53, 0.7);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

/* Projects Section */
.projects {
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.projects__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem; /* text-xl */
  max-width: 42rem; /* max-w-2xl */
  margin: 0 auto;
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  cursor: pointer;
  position: relative;
}

.project-card i {
  color: var(--color-gold-light);
}

.project-card__image-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 0.75rem; /* rounded-xl */
  overflow: hidden;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__img {
  transform: scale(1.1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--color-primary),
    rgba(32, 40, 53, 0.5),
    transparent
  );
}

.project-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem; /* p-6 */
}

.project-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 0.875rem; /* text-sm */
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.project-card__desc,
.project-card__title {
  color: var(--color-white);
}

.project-card__title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-card__location {
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Stats Section */
.stats {
  position: relative;
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
  color: var(--color-white);
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stats__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stats__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 40, 53, 0.9); /* Darker overlay for contrast */
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

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

.stat-item__icon-wrapper {
  width: 5rem; /* w-20 */
  height: 5rem; /* h-20 */
  background-color: rgba(212, 175, 55, 0.15); /* bg-gold/15 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-item__icon-wrapper {
  transform: scale(1.1);
  background-color: rgba(212, 175, 55, 0.25);
}

.stat-item__icon {
  font-size: 2.5rem; /* text-4xl */
  color: var(--color-gold);
}

.stat-item__number {
  font-size: 3.5rem; /* text-5xl+ */
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: inherit;
}

.stat-item__plus,
.stat-item__percent {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-top: 0.5rem;
}

.stat-item__label {
  font-size: 1.25rem; /* text-xl */
  font-weight: 500;
  color: var(--color-white);
}

/* Contact Section */
.contact {
  position: relative;
  overflow: hidden;
  padding-top: 6rem; /* py-24 */
  padding-bottom: 6rem;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.contact__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(32, 40, 53, 0.95),
    rgba(32, 40, 53, 0.9),
    rgba(32, 40, 53, 0.95)
  );
}

.contact__header-icon {
  display: inline-block;
  margin-bottom: 1rem;
}

.contact__icon-circle {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  background-color: var(--color-gold);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.contact__subtitle {
  font-size: 1.25rem; /* text-xl */
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* gap-6 */
  max-width: 64rem; /* max-w-5xl */
  margin: 0 auto;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 1rem; /* rounded-2xl */
  padding: 2rem; /* p-8 */
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--color-gold);
}

.contact-card__icon-wrapper {
  width: 3.5rem; /* w-14 */
  height: 3.5rem; /* h-14 */
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.contact-card:hover .contact-card__icon-wrapper {
  background-color: var(--color-gold);
}

.contact-card__icon {
  font-size: 1.5rem; /* text-2xl */
  color: var(--color-gold);
  transition: color 0.3s ease;
}

.contact-card:hover .contact-card__icon {
  color: var(--color-white);
}

.contact-card__title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.contact-card__text {
  color: var(--color-white);
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 0.5rem;
}

.contact-card__subtext {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem; /* text-sm */
}

/* 5) Footer */
.footer {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
}

.footer__grid {
  padding-top: 4rem; /* py-16 */
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* gap-12 */
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer__logo {
  height: 4rem; /* h-16 */
  width: auto;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--color-white);
}

.footer__social-link:hover {
  background-color: var(--color-gold);
}

/* Title */
.footer__title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer__link-icon {
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

.footer__link:hover .footer__link-icon {
  transform: translateX(-0.25rem); /* rtl: translate-x-1 */
}
html[dir="rtl"] .footer__link:hover .footer__link-icon {
  transform: translateX(0.25rem); /* rtl specific */
}

.footer__item {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__item-icon {
  color: var(--color-gold);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__contact-icon {
  color: var(--color-gold);
  font-size: 1.25rem; /* text-xl */
  margin-top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem; /* py-6 */
  padding-bottom: 1.5rem;
  text-align: center;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* 6) Internal Page Styles */
.header--solid {
  background-color: var(--color-primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-hero {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
  margin-top: 4rem; /* mt-20 approx, to clear fixed header if needed, or adjust based on layout */
}

.page-hero .container {
  height: 100%;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 40, 53, 0.8); /* bg-primary/80 */
}

.page-hero__content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

.page-hero__title {
  color: var(--color-white);
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem; /* text-lg */
}

.page-hero__breadcrumb-link {
  color: var(--color-white);
  transition: color 0.3s ease;
}

.page-hero__breadcrumb-link:hover {
  color: var(--color-gold);
}

.page-hero__breadcrumb-current {
  color: var(--color-gold);
}

/* News Card */
.news-card {
  background-color: var(--color-white);
  border-radius: 0.75rem; /* rounded-xl */
  overflow: hidden;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.news-card__image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.1);
}

.news-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem; /* text-sm */
  font-weight: 600;
  border-radius: 9999px;
  z-index: 10;
}

.news-card__content {
  padding: 1.5rem; /* p-6 */
}

.news-card__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(32, 40, 53, 0.6); /* text-gray/60 */
  font-size: 0.875rem; /* text-sm */
  margin-bottom: 0.75rem;
}

.news-card__title {
  color: var(--color-primary);
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  color: rgba(32, 40, 53, 0.7);
  line-height: 1.625;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.news-card__link i {
  color: var(--color-gold);
}

.news-card:hover .news-card__link {
  gap: 0.75rem;
}

/* Modals */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal__content {
  background-color: var(--color-white);
  border-radius: 1rem;
  width: 100%;
  max-width: 56rem; /* max-w-4xl */
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  z-index: 10;
}

.modal__close:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.modal__tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.modal__body {
  padding: 2rem;
}

.modal__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(32, 40, 53, 0.6);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.modal__title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.modal__text {
  font-size: 1.125rem; /* text-lg */
  color: rgba(32, 40, 53, 0.8);
  line-height: 1.75;
}

/* Contact Page Forms & Info */
.contact-info-section {
  padding-top: 8rem; /* py-32 */
  padding-bottom: 8rem;
  background-color: var(--color-white);
}

.contact-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem; /* gap-16 */
}

.contact-info__title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.contact-info__text {
  font-size: 1.125rem; /* text-lg */
  color: rgba(32, 40, 53, 0.8);
  line-height: 1.625;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* space-y-8 */
}

.contact-detail__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-detail__icon-wrapper {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  background-color: rgba(212, 175, 55, 0.2); /* bg-gold/20 */
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon {
  font-size: 1.875rem; /* text-3xl */
  color: var(--color-gold);
}

.contact-detail__content-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-detail__content-text {
  font-size: 1.125rem; /* text-lg */
  color: rgba(32, 40, 53, 0.8);
}

/* Form */
.contact-form__wrapper {
  background-color: var(--color-bg-light);
  border-radius: 1rem;
  padding: 2.5rem; /* p-10 */
}

.contact-form__title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* space-y-6 */
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group br {
  display: none;
}

.form__label {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-white);
  border: 1px solid rgba(32, 40, 53, 0.2);
  border-radius: 0.5rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}

:dir(rtl) .form__group .form__input[type="email"],
:dir(rtl) .form__group .form__input[type="tel"] {
  direction: ltr;
  text-align: end;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form__textarea {
  resize: none;
}

.form__char-count {
  font-size: 0.875rem; /* text-sm */
  color: rgba(32, 40, 53, 0.6);
  margin-top: 0.5rem;
}

.form__submit {
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form__submit:hover {
  background-color: #c19b2e; /* darker gold */
  transform: scale(1.05);
}

/* Single Features */

.section.single-service .container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.section.single-service .content {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section.single-service .content .btn {
  align-self: flex-start;
}

.service-features {
  grid-column: span 2;
  border-radius: 1rem;
  padding: 2.5rem;
  background-color: var(--color-bg-light);
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  font-size: 1.125rem;
  color: rgba(32, 40, 53, 0.8);
  line-height: 1.625;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-features li::before {
  content: "\eb7b";
  font-family: "remixicon" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  width: 24px;
  height: 24px;
  background-color: var(--color-gold);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.project-specifications-section {
  background-color: var(--color-bg-light);
}

.project-specifications-section .project-specifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-specifications-section
  .project-specifications
  .project-specifications__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.project-specifications-section
  .project-specifications
  .project-specifications__item
  i {
  font-size: 1.5rem;
  color: var(--color-gold);
  width: 4rem;
  height: 4rem;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.project-specifications-section
  .project-specifications
  .project-specifications__item
  h3 {
  font-size: 0.875rem;
  color: rgba(32, 40, 53, 0.6);
}

.project-specifications-section
  .project-specifications
  .project-specifications__item
  p {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.single-project .content.users-content {
  max-width: 56rem;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

#gallery-main-image img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.gallery-grid .gallery-thumb {
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
  opacity: 0.8;
}

.gallery-grid .gallery-thumb:hover {
  opacity: 1;
}
