:root {
  --navy: #071a2e;
  --navy-dark: #031020;
  --gold: #ff8c32;
  --gold-dark: #e06f0f;
  --white: #ffffff;
  --grey: #f3f5f9;
  --text: #4a5568;
  --heading: #0c2340;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Urbanist", Arial, sans-serif;
  background: var(--grey);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 35, 64, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  transform: translateY(0);
  transition: transform 0.3s ease-in-out, background 0.3s ease, border-color 0.3s ease;
}

header.header-hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

nav a.active {
  color: #ff8c32;
  font-weight: 600;
}

/* Back Arrow - Fixed in top corner */
.back-arrow {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1001;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 26, 46, 0.9);
  color: var(--white);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 300;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-arrow:hover {
  background: linear-gradient(135deg, #2b6cb0, #1e4ca1);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 76, 161, 0.35);
}

@media (max-width: 900px) {
  .back-arrow {
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-right: auto;
}

.logo img {
  width: 122px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.35rem;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(135deg, #ff8c32, #ff6b00);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 999px;
}

nav a:hover {
  color: #ff8c32;
}

nav a:hover::after {
  transform: scaleX(1);
}

nav a.active {
  color: #ff8c32;
  font-weight: 700;
}

nav a.active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.14) 0%,
      #071a2e 18%,
      #0c2340 45%,
      #0f2e55 70%,
      #0a1c33 100%);
  color: var(--white);
  padding: 6rem 1.5rem 5rem;
  margin-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero-content,
.quick-links {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  min-height: 420px;
}

@media (min-width: 900px) {
  .hero-content {
    min-height: 560px;
  }
}

.hero-copy {
  max-width: 760px;
}

.hero-brand {
  font-family: "Urbanist", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  margin: 0 0 0.7rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-weight: 800;
  color: #ff8c32;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-family: "Playfair Display", "Urbanist", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Learn More Section - Painted Sign Design */
.learn-more-content {
  margin-top: 2.5rem;
}

.learn-more-sign {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  position: relative;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Hand-painted sign effect with irregular edges */
  border-radius: 12px 8px 10px 6px / 8px 12px 6px 10px;
  border: 2px solid #ff8c32;
  border-style: solid;
  backdrop-filter: blur(10px);
}

/* Paint brush marks effect */
.learn-more-sign::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 10%;
  width: 30px;
  height: 8px;
  background: var(--gold);
  border-radius: 50% 50% 0 0;
  opacity: 0.4;
  transform: rotate(-15deg);
}

.learn-more-sign::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 15%;
  width: 25px;
  height: 6px;
  background: var(--gold-dark);
  border-radius: 0 0 50% 50%;
  opacity: 0.5;
  transform: rotate(20deg);
}

/* Additional paint drips */
.learn-more-sign {
  background-image:
    radial-gradient(circle at 5% 10%, rgba(199, 159, 59, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 95% 90%, rgba(199, 159, 59, 0.2) 3px, transparent 3px),
    radial-gradient(circle at 20% 80%, rgba(199, 159, 59, 0.1) 2px, transparent 2px);
  background-size: 100% 100%;
}

.sign-text {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  /* Hand-painted text effect */
  text-shadow:
    2px 2px 0 rgba(199, 159, 59, 0.15),
    -1px -1px 0 rgba(199, 159, 59, 0.1),
    1px 0 0 rgba(7, 26, 46, 0.05);
  letter-spacing: 0.02em;
}

.sign-arrow {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ff8c32;
  font-weight: 700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.learn-more-sign:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 25px rgba(7, 26, 46, 0.2);
}

.learn-more-sign:hover .sign-arrow {
  transform: translateX(8px);
}

/* About Us Page */
.about-us-page {
  position: relative;
  background: url("Images/About us back.jpg") center/cover no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 2rem 1.5rem 4rem;
  margin-top: 0;
}

.about-us-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.about-us-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
}

.about-us-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--heading);
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-us-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: var(--heading);
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

.about-us-content h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--heading);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.about-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

.about-us-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.about-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.executives-list {
  margin: 2rem 0;
}

.executive-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(7, 26, 46, 0.1);
}

.executive-item:last-child {
  border-bottom: none;
}

.executive-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.executive-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.executive-info .title {
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.executive-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .executive-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .executive-item img {
    width: 180px;
    height: 200px;
  }

  .about-us-page {
    background-attachment: scroll;
  }

  .learn-more-section {
    background-attachment: scroll;
  }
}

.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 0.95rem 1.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn:not(button) {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2b6cb0, #1e4ca1);
  color: var(--white);
  box-shadow: 0 15px 35px rgba(30, 76, 161, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.metric-card h3 {
  margin: 0;
  color: var(--gold);
}

.quick-links {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.quick-links a {
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(12, 35, 64, 0.1);
  transition: transform 0.3s ease;
  font-weight: 500;
}

.quick-links a:hover {
  transform: translateY(-4px);
}

.section {
  padding: 4.5rem 1.5rem;
  background: var(--grey);
}

.section:nth-of-type(even) {
  background: var(--white);
}

.section.services-section {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 26, 46, 0.92), rgba(3, 16, 32, 0.88)),
    url("Images/construction.png") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.section.services-section:nth-of-type(even) {
  background: linear-gradient(135deg, rgba(7, 26, 46, 0.92), rgba(3, 16, 32, 0.88)),
    url("Images/construction.png") center/cover no-repeat;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(199, 159, 59, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(199, 159, 59, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.services-section>* {
  position: relative;
  z-index: 1;
}

.services-section .section-title {
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.services-section .section-intro {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.services-section .card {
  background: rgba(250, 240, 200, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 159, 59, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(199, 159, 59, 0.25);
}

.services-section .card:hover {
  background: rgba(255, 248, 220, 0.98);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(199, 159, 59, 0.5);
}

/* Services counter - hidden on desktop */
.services-counter {
  display: none;
}

.about-section {
  position: relative;
  padding: 4.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(7, 26, 46, 0.5), rgba(3, 16, 32, 0.45)),
    url("Images/About us back.jpg") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(199, 159, 59, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(199, 159, 59, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-section>* {
  position: relative;
  z-index: 1;
}

.about-section .section-title {
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.about-section .section-intro {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-section .card {
  background: rgba(250, 240, 200, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 159, 59, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(199, 159, 59, 0.25);
}

.about-section .card:hover {
  background: rgba(255, 248, 220, 0.98);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(199, 159, 59, 0.5);
}

#about {
  background: var(--white);
}

#about .section-subheading {
  color: var(--heading);
  text-shadow: none;
}

h2.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.executives-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.about-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.spacing-top {
  margin-top: 2rem;
}

.section-subheading {
  text-align: center;
  margin: 3rem 0 1rem;
  color: var(--heading);
  font-size: 1.6rem;
}

.section-subheading--wide {
  margin-top: 3.5rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.7rem;
  border: 1px solid rgba(12, 35, 64, 0.08);
  box-shadow: 0 18px 40px rgba(7, 26, 46, 0.08);
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  margin-top: 0;
  color: var(--heading);
}

.card ul {
  padding-left: 1.2rem;
}

.executives-grid img,
.projects-gallery img {
  border-radius: 14px;
}

.executives-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.8rem;
}

.executives-grid .title {
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.executives-grid .card {
  padding: 1.2rem;
}

.executives-grid .card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.executives-grid .card p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.3rem 0;
}

.executives-slider {
  position: relative;
}

.executives-scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(7, 26, 46, 0.9);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(7, 26, 46, 0.25);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
  opacity: 0.9;
}

.executives-scroll-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.05);
}

.executives-scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.executives-scroll-btn.exec-prev {
  left: -0.75rem;
}

.executives-scroll-btn.exec-next {
  right: -0.75rem;
}

@media (min-width: 901px) and (max-width: 1400px) {
  .executives-slider {
    padding: 0 2.5rem;
  }

  .executives-scroll-btn {
    display: inline-flex;
  }

  .executives-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.2rem;
    padding-bottom: 1rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .executives-grid::-webkit-scrollbar {
    display: none;
  }

  .executives-grid .card {
    flex: 0 0 280px;
    max-width: 280px;
    scroll-snap-align: start;
  }
}

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

.projects-gallery figure {
  margin: 0;
  position: relative;
}

.projects-gallery figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 46, 0.8));
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-size: 0.95rem;
}

.projects-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.project-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(7, 26, 46, 0.08);
  color: var(--heading);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(7, 26, 46, 0.15);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.project-tag:hover {
  background: rgba(7, 26, 46, 0.12);
  border-color: rgba(7, 26, 46, 0.25);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(7, 26, 46, 0.1);
  transition: all 0.3s ease;
  aspect-ratio: 1;
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(7, 26, 46, 0.12);
  border-color: var(--gold);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.table-responsive {
  margin-top: 2.5rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(7, 26, 46, 0.07);
}

th,
td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(7, 26, 46, 0.08);
}

th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
}

tbody tr:hover {
  background: rgba(199, 159, 59, 0.08);
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card h3 {
  margin: 0;
}

form {
  display: grid;
  gap: 1rem;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status.success {
  color: #0f9d58;
}

.form-status.error {
  color: #d93025;
}

input,
textarea {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(7, 26, 46, 0.2);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

.map-placeholder {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(7, 26, 46, 0.9), rgba(16, 48, 95, 0.85));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  min-height: 260px;
  box-shadow: 0 18px 35px rgba(7, 26, 46, 0.2);
}

.map-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

.map-link {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(7, 26, 46, 0.9);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.map-link:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.map-container {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(7, 26, 46, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.banking-details {
  margin-top: 2rem;
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(7, 26, 46, 0.08);
}

.cert-details {
  margin-top: 2rem;
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(7, 26, 46, 0.08);
}

footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-grid h4 {
  margin-top: 0;
  color: var(--gold);
}

.socials a {
  display: inline-block;
  margin-right: 0.8rem;
  text-decoration: none;
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin: 0.5rem 0;
}

.footer-dev {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
}

.footer-dev a {
  color: rgba(199, 159, 59, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-dev a:hover {
  color: var(--gold);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Projects Gallery Page Styles */
.projects-gallery-page {
  padding-top: 6rem;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-top: 1rem;
}

.back-home-btn {
  position: absolute;
  left: 1.5rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(7, 26, 46, 0.2);
  z-index: 10;
}

.back-home-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(199, 159, 59, 0.3);
}

.back-btn {
  margin-top: 1.5rem;
  display: inline-block;
  text-decoration: none;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.projects-filter-wrap {
  display: flex;
  justify-content: flex-start;
  position: relative;
  margin: 1rem 0 0.5rem;
}

.project-filter-toggle {
  border: 1px solid rgba(7, 26, 46, 0.12);
  background: transparent;
  color: var(--heading);
  padding: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  box-shadow: 0 10px 22px rgba(7, 26, 46, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.project-filter-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(7, 26, 46, 0.14);
}

.filter-by-text {
  background: linear-gradient(135deg, #2b6cb0, #1e4ca1);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.project-filter-label {
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  padding: 0.7rem 0.8rem;
  display: inline-flex;
  align-items: center;
}

.filter-arrow {
  background: var(--white);
  color: var(--navy);
  padding: 0.7rem 1.2rem 0.7rem 0.5rem;
  display: inline-flex;
  align-items: center;
}

.project-filter-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  min-width: 240px;
  background: var(--white);
  border: 1px solid rgba(7, 26, 46, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(7, 26, 46, 0.16);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 5;
}

.project-filter-menu.open {
  display: flex;
}

.project-filter {
  border: 1px solid transparent;
  background: transparent;
  color: var(--heading);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.project-filter:hover {
  background: rgba(7, 26, 46, 0.05);
  border-color: rgba(7, 26, 46, 0.06);
}

.project-filter.active {
  background: rgba(199, 159, 59, 0.15);
  color: var(--navy);
  border-color: rgba(199, 159, 59, 0.35);
}

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

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 18px 40px rgba(7, 26, 46, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(7, 26, 46, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 46, 0.9));
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-caption {
  color: var(--white);
  margin: 0;
  font-weight: 500;
  font-size: 1.1rem;
}

.see-more-btn {
  text-align: center;
  margin: 3rem 0 2rem;
}

.see-more-btn .btn {
  text-decoration: none;
  display: inline-block;
}

.download-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

.download-profile-btn::before {
  content: "📄";
  font-size: 1.2rem;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(2px);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.featured-project-video {
  margin: 2.5rem 0;
}

/* ===== Featured Project Video ===== */

.featured-project-video {
  margin: 2.5rem auto;
  text-align: center;
}

.featured-title {
  text-align: center;
}

.featured-project-intro {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

/* Controls video size and padding */
.video-wrapper {
  max-width: 1040px;
  /* slightly bigger than before */
  margin: 0 auto;
  padding: 0 1.25rem;
  /* more breathing room on desktop */
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

/* Gallery separation */
.project-gallery-heading {
  margin-top: 3.5rem;
  text-align: center;
}





@media (max-width: 900px) {
  nav {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    max-width: 300px;
    background: rgba(7, 26, 46, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    margin: 0;
    height: 100vh;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    display: flex;
  }

  nav ul.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  nav ul.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  nav ul li {
    margin-bottom: 0;
    width: 100%;
  }

  nav ul a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
    position: relative;
    margin-left: auto;
    order: 3;
  }

  .projects-tags {
    gap: 0.75rem;
  }

  .project-tag {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
  }

  .client-logo {
    padding: 1rem;
  }

  .client-logo img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
  }

  .services-section {
    background-attachment: scroll;
  }

  .services-section .card {
    background: rgba(250, 240, 200, 0.96);
  }

  .about-section {
    background-attachment: scroll;
    background-size: 120% auto;
    background-position: center center;
  }

  .about-section .card {
    background: rgba(250, 240, 200, 0.96);
  }

  /* Services counter - only visible on mobile */
  .services-counter {
    display: block;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(7, 26, 46, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  /* Horizontal scrolling for services on mobile */
  .services-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.5rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 26, 46, 0.3) transparent;
  }

  .services-grid::-webkit-scrollbar {
    height: 6px;
  }

  .services-grid::-webkit-scrollbar-track {
    background: rgba(7, 26, 46, 0.05);
    border-radius: 10px;
  }

  .services-grid::-webkit-scrollbar-thumb {
    background: rgba(7, 26, 46, 0.3);
    border-radius: 10px;
  }

  .services-grid .card {
    flex: 0 0 85%;
    max-width: 85%;
    min-width: 280px;
    scroll-snap-align: start;
  }

  /* Combined horizontal scrolling for all about section cards */
  .about-section .about-cards-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.5rem;
    padding-bottom: 1rem;
    margin-top: 2rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 26, 46, 0.3) transparent;
  }

  .about-section .about-cards-container::-webkit-scrollbar {
    height: 6px;
  }

  .about-section .about-cards-container::-webkit-scrollbar-track {
    background: rgba(7, 26, 46, 0.05);
    border-radius: 10px;
  }

  .about-section .about-cards-container::-webkit-scrollbar-thumb {
    background: rgba(7, 26, 46, 0.3);
    border-radius: 10px;
  }

  .about-section .about-cards-container .card {
    flex: 0 0 85%;
    max-width: 85%;
    min-width: 280px;
    scroll-snap-align: start;
  }

  /* Horizontal scrolling for executives grid on mobile */
  .executives-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-top: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 26, 46, 0.3) transparent;
  }

  .executives-grid::-webkit-scrollbar {
    height: 6px;
  }

  .executives-grid::-webkit-scrollbar-track {
    background: rgba(7, 26, 46, 0.05);
    border-radius: 10px;
  }

  .executives-grid::-webkit-scrollbar-thumb {
    background: rgba(7, 26, 46, 0.3);
    border-radius: 10px;
  }

  .executives-grid .card {
    flex: 0 0 75%;
    max-width: 75%;
    min-width: 260px;
    scroll-snap-align: start;
    padding: 1rem;
  }

  .executives-grid img {
    height: 240px;
    margin-bottom: 0.6rem;
  }

  .executives-grid .card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .executives-grid .title {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .executives-grid .card p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0.2rem 0;
  }

  /* Horizontal scrolling for projects gallery on mobile */
  .projects-gallery {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-top: 2rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 26, 46, 0.3) transparent;
  }

  .projects-gallery::-webkit-scrollbar {
    height: 6px;
  }

  .projects-gallery::-webkit-scrollbar-track {
    background: rgba(7, 26, 46, 0.05);
    border-radius: 10px;
  }

  .projects-gallery::-webkit-scrollbar-thumb {
    background: rgba(7, 26, 46, 0.3);
    border-radius: 10px;
  }

  .projects-gallery figure {
    flex: 0 0 85%;
    max-width: 85%;
    min-width: 280px;
    scroll-snap-align: start;
    aspect-ratio: 4/3;
    overflow: hidden;
  }

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

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

  .gallery-item {
    aspect-ratio: 3/2;
  }

  .back-home-btn {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  /* Project gallery: horizontal scroll on mobile/tablet to save space */
  .project-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.25rem;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 26, 46, 0.25) transparent;
  }

  .project-grid::-webkit-scrollbar {
    height: 6px;
  }

  .project-grid::-webkit-scrollbar-track {
    background: rgba(7, 26, 46, 0.05);
    border-radius: 10px;
  }

  .project-grid::-webkit-scrollbar-thumb {
    background: rgba(7, 26, 46, 0.25);
    border-radius: 10px;
  }

  .project-grid > .gallery-item {
    flex: 0 0 75%;
    max-width: 75%;
    min-width: 260px;
    scroll-snap-align: start;
  }
}

/* --- Projects Page Redesign (Refined) --- */

.projects-landing {
  max-width: 1280px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease-out;
}

.project-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  /* Landscape rectangular */
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.category-card:focus-visible {
  outline: 3px solid var(--gold);
  transform: translateY(-5px);
}

.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.category-card:hover .category-bg {
  transform: scale(1.08);
  /* Gentle zoom */
}

/* Gradient Overlay - Bottom fade only */
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 16, 32, 0.95) 0%, rgba(3, 16, 32, 0.6) 25%, transparent 60%);
  transition: opacity 0.3s ease;
}

.category-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
}

.category-title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.3s ease, color 0.3s ease;
}

.category-card:hover .category-title {
  color: var(--gold);
}

/* Gallery View - Vertical Sections */
.gallery-view {
  animation: fadeIn 0.5s ease-out;
}

.gallery-header-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  margin: 0;
  color: var(--heading);
}

.back-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateX(-5px);
}

.projects-gallery-page .gallery-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* New Section-Based Layout */
.project-section {
  margin-bottom: 4rem;
}

.project-section-header {
  margin-bottom: 1.25rem;
}

.project-section-title {
  font-size: 1.5rem;
  color: var(--heading);
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(199, 159, 59, 0.2);
  display: inline-block;
  padding-right: 2rem;
}

.project-client-note {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: rgba(74, 85, 104, 0.9);
  font-style: italic;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.project-grid>.gallery-item {
  flex: 0 0 auto;
  width: 300px;
  /* Fixed width for consistent row alignment */
  max-width: 100%;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-content-wrapper {
  position: relative;
  height: 100%;
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: 220px;
  /* Fixed height for consistent thumbnails in grid */
  object-fit: cover;
  transition: filter 0.3s ease;
}

.gallery-caption {
  padding: 1rem;
  margin: 0;
  background: var(--white);
  font-size: 0.95rem;
  color: var(--text);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.gallery-overlay {
  display: block;
  background: var(--white);
  padding: 0;
  position: static;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 16, 32, 0.98);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image,
.lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
  text-align: center;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* Utilities */
.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 600px) {
  .project-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-section-title {
    font-size: 1.25rem;
  }

  .project-client-note {
    font-size: 0.8rem;
  }

  .project-grid > .gallery-item {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

/* ===== Gallery Page Styles ===== */
.gallery-page {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  padding-top: 6rem;
  min-height: 100vh;
}

.gallery-page .section-title {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-page .section-intro {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.events-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.event-section {
  margin-bottom: 4rem;
}

.event-cover {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-cover:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.event-cover-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.event-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.event-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 1;
  line-height: 1.2;
}

.event-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.event-photo {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.event-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Mobile Styles for Gallery */
@media (max-width: 900px) {
  .event-cover-image {
    height: 400px;
  }

  .event-title {
    font-size: 1.6rem;
    padding: 1.5rem 1.75rem;
  }

  .event-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
  }

  .event-photo img {
    height: 240px;
  }
}

@media (max-width: 600px) {
  .gallery-page {
    padding-top: 5rem;
  }

  .events-container {
    padding-left: 0;
    padding-right: 0;
  }

  .event-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .event-cover {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    max-width: none;
    margin-bottom: 1.5rem;
    border-radius: 0;
  }

  .event-cover-image {
    height: 350px;
    width: 100%;
  }

  .event-title {
    font-size: 1.3rem;
    padding: 1.25rem 1.5rem;
    line-height: 1.3;
  }

  .event-photos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-photo {
    border-radius: 10px;
  }

  .event-photo img {
    height: 300px;
  }
}