/* ============================================================
   BASE & VARIABLES
   ============================================================ */
:root {
  --primary-color: #4e5e7c;
  --secondary-color: #fff;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --accent-color: #dedee6;
  --text-color: #555555;

  /* Slider variables */
  --clr-teal: #1a5f6e;
  --clr-teal-dark: #0d3d4a;
  --clr-navy: #2d3561;
  --clr-muted: #9ba3af;
  --card-radius: 16px;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  color: var(--secondary-color);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.scrolled {
  background-color: var(--primary-color) !important;
  padding: 10px 0;
}

.nav-logo {
  height: 60px;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo {
  height: 35px;
}

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 8px;
}

.nav-link {
  color: white !important;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 8px 15px !important;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 1.5rem;
  color: white;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar {
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    max-width: 100vw;
  }

  .nav-logo {
    height: 35px;
  }

  .navbar-collapse {
    padding: 20px 0;
    position: fixed;
    top: 0;
    right: -100vw;
    left: auto;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    opacity: 0.95;
    z-index: 1050;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-in-out;
  }

  .navbar-collapse.show {
    right: 0;
  }
  .navbar-collapse.collapse:not(.show) {
    display: flex !important;
    right: -100vw;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    width: 100vw;
  }

  .nav-item {
    margin: 12px 0;
    width: 100vw;
    text-align: center;
  }

  .nav-link {
    padding: 16px 0 !important;
    font-size: 1.2rem;
    width: 100vw;
    display: block;
  }
}

/* ============================================================
   GLOBAL SECTION TITLE
   ============================================================ */
.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  padding: 12px 30px;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline-light {
  border-width: 2px;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.preloader-inner {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader img#preloaderGif {
  max-width: 30vw;
  width: auto;
  height: auto;
  display: block;
}

@media (max-width: 767.98px) {
  .preloader img#preloaderGif {
    max-width: 70vw;
  }
}

.split-left,
.split-right {
  width: 50%;
  height: 100%;
  background-color: var(--light-color);
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 9998;
}

/* ============================================================
   HERO
   ============================================================ */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 300;
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

.carousel-item > .container {
  position: relative;
  z-index: 2;
}



.text-shadow {
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.7),
    0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
    text-align: center;
  }
  .hero p {
    font-size: 1rem;
    text-align: center;
  }
  .section-title {
    font-size: 2rem;
  }
}

/* ── Hero Dots ── */
.hero-dots {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}

.hero-dot:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1199.98px) {
  .hero-dots {
    right: 1.5rem;
    gap: 11px;
  }
}

@media (max-width: 991.98px) {
  .hero-dots {
    right: 1.25rem;
    gap: 10px;
  }

  .hero-dot {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 767.98px) {
  .hero-dots {
    right: 1rem;
    gap: 9px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 575.98px) {
  .hero-dots {
    right: 0.75rem;
    gap: 8px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

.about-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-section .section-title {
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem) !important;
  text-align: center;
}

.about-section .section-title:after {
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.about-section .lead {
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  margin-bottom: clamp(0.4rem, 1vh, 1rem);
  font-weight: 300;
  line-height: 1.6;
}

.about-section .row {
  flex: 1;
  min-height: 0;
}

.about-icon-circle {
  width: clamp(1.5rem, 5vw, 3rem);
  height: clamp(1.5rem, 5vw, 3rem);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 60%,
    var(--accent-color) 100%
  );
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.about-icon-box {
  background: #fff;
  border-radius: 0 1.5rem 1.5rem 0;
  padding: clamp(0rem, 2vh, 1rem) clamp(0.0rem, 3vw, 1.5rem);
  margin-left: -20px;
  min-width: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
  flex: 1;
}

.about-icon-box h5 {
  color: var(--primary-color);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  margin-bottom: 0.2rem !important;
}

.about-icon-box p.small {
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  line-height: 1.5;
}

.about-icons {
  gap: clamp(0.6rem, 2vh, 1rem) !important;
}

@media (max-width: 991.98px) {
  .about-section {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px;
    overflow: visible;
  }
  .about-section .container {
    height: auto;
  }
  .about-section .col-lg-6.mb-5 {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .about-section {
    padding: 90px 0 50px;
  }
  .about-section .lead {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  .about-icon-box h5 {
    font-size: 0.85rem;
  }
  .about-icon-box p.small {
    font-size: 0.72rem;
  }
  .about-icons {
    gap: 0.75rem !important;
  }
}

@media (max-width: 575.98px) {
  .about-section {
    padding: 80px 0 40px;
  }
  .about-section .lead {
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .about-icon-circle {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.95rem;
  }
  .about-icon-box {
    padding: 0.4rem 0.75rem;
    margin-left: -14px;
  }
  .about-icon-box h5 {
    font-size: 0.78rem;
  }
  .about-icon-box p.small {
    font-size: 0.68rem;
  }
  .about-icons {
    gap: 0.6rem !important;
  }
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section {
  position: relative;
  padding: 80px 0 60px;
  height: 90vh;
}

/* Centre the "Projects" title and its underline */
.projects-title {
  color: var(--primary-color);
  text-align: center;
  font-weight: 300;
  letter-spacing: 1.5px;
}

.projects-title:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Slider viewport */
.slider-viewport {
  overflow: hidden;
  position: relative;
  padding: 10px 0 20px;
}

.slider-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  align-items: center;
  /* transition set by JS */
}

/* Cards */
.project-card {
  flex: 0 0 calc(33.333% - 16px);
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
  filter: brightness(0.88) saturate(0.7);
  transform: scale(0.93);
}

.project-card.active {
  filter: brightness(1) saturate(1);
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.project-card:hover:not(.active) {
  filter: brightness(0.95) saturate(0.85);
  transform: scale(0.96);
}



.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    var(--clr-teal) 0%,
    var(--clr-teal-dark) 100%
  );
}

.card-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}



/* Make sure card-content sits above the overlay */
.card-content {
  position: absolute;
  inset: 0;
  z-index: 2;  /* ADD z-index: 2 here */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
}

/* card-bg already in your CSS, just confirm it's there */
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.card-logo-svg {
  width: 90px;
  margin-bottom: 0.4rem;
}

.card-label {
  margin-top: auto;
}

.card-label h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 2px;
  color: #fff;
  letter-spacing: 0.02em;
}

.card-label span {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}

.muted-label h3 {
  color: #5a6a70;
}
.muted-label span {
  color: rgba(90, 106, 112, 0.7);
}

/* Nav arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  color: var(--clr-navy);
}

.slider-btn:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn-prev {
  left: -10px;
}
.slider-btn-next {
  right: -10px;
}
.slider-btn svg {
  pointer-events: none;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.2rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-muted);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.dot.active {
  background: var(--clr-navy);
  transform: scale(1.4);
}

@media (max-width: 768px) {
  .project-card {
    flex: 0 0 80%;
  }
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  background:
    linear-gradient(
      120deg,
      rgba(78, 94, 124, 0.95) 0%,
      rgba(222, 223, 230, 0.85) 100%
    ),
    url("../img/team.jpg") top center / cover no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 34, 44, 0.65);
  z-index: 0;
}

.team-section > .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: clamp(0.75rem, 2.5vh, 2.5rem) !important;
  padding-bottom: clamp(2.5rem, 5vh, 4rem) !important;
}

.team-section > .container > .row:first-child {
  flex-shrink: 0;
  margin-bottom: clamp(0.4rem, 1.5vh, 1rem) !important;
}

.team-section .section-title {
  font-size: clamp(1.1rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--secondary-color);
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem !important;
}

.team-section .section-title:after {
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 60px;
  height: 2px;
  background: var(--secondary-color);
}

.team-section p.lead {
  color: var(--secondary-color);
  font-size: clamp(0.62rem, 1.2vw, 1rem);
  font-weight: 300;
  margin-bottom: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-section p {
  color: var(--secondary-color);
  font-size: clamp(0.7rem, 1.1vw, 1.08rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.team-section .row.justify-content-center {
  flex: 1;
  min-height: 0;
  flex-wrap: nowrap !important;
  margin-top: clamp(0.4rem, 1.5vh, 1rem);
}

.team-section .row.justify-content-center > [class*="col-"] {
  flex: 1 !important;
  max-width: 50% !important;
  height: 100% !important;
  margin-bottom: 0 !important;
  padding-left: 8px;
  padding-right: 8px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.3s;
  height: 100% !important;
}

.team-card .team-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

.team-card .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card .team-info {
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 40, 0.88);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 2rem);
  text-align: center;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.team-card:hover .team-info,
.team-card:focus-within .team-info,
.team-card.active .team-info {
  opacity: 1;
  pointer-events: auto;
}

.team-card:hover .team-image img,
.team-card:focus-within .team-image img,
.team-card.active .team-image img {
  filter: grayscale(100%) brightness(0.7);
  transform: scale(1.05);
}

.team-info h3 {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.team-info .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
  font-style: italic;
  font-size: clamp(0.7rem, 1vw, 0.95rem);
  margin-bottom: 0.4rem;
}

.team-info p {
  font-size: clamp(0.6rem, 0.9vw, 0.88rem);
  font-weight: 300;
  margin-bottom: 0.4rem;
  color: #fff;
}

@media (max-width: 575.98px) {
  .team-section > .container {
    padding-top: 0.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .team-section > .container > .row:first-child {
    margin-bottom: 0.25rem !important;
  }
  .team-section p.lead {
    -webkit-line-clamp: 2;
    font-size: 0.62rem !important;
  }
  .team-section .row.justify-content-center > [class*="col-"] {
    padding-left: 4px;
    padding-right: 4px;
  }
  .team-info {
    padding: 0.5rem !important;
  }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section .section-title {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  text-align: center;
}

.contact-section .section-title:after {
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.contact-section .lead {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}
.contact-item p {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0;
  font-weight: 300;
}
.contact-item i {
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-form .form-control {
  padding: 15px;
  border-radius: 0;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.contact-form textarea.form-control {
  height: 150px;
}
.contact-form input,
.contact-form textarea {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 300;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
}

.footer-logo {
  max-width: 100px;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 1.75rem;
}

/* Social links */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  transition: background 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}

/* ── Tablet ── */
@media (max-width: 991.98px) {
  .footer {
    padding: 2.5rem 0 1.75rem;
  }

  .footer .row {
    text-align: center;
  }

  .footer-logo {
    max-width: 110px;
  }

  .social-links {
    justify-content: center;
  }
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }

  .footer .col-lg-4 {
    margin-bottom: 1.25rem;
  }

  .footer .col-lg-4:last-child {
    margin-bottom: 0;
  }

  .footer-logo {
    max-width: 100px;
  }

  .footer p {
    font-size: 0.8rem;
  }

  .social-links a {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }
}

/* ── Small mobile ── */
@media (max-width: 575.98px) {
  .footer {
    padding: 1.75rem 0 1.25rem;
  }

  .social-links {
    gap: 8px;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   GALLERY MODALS
   ============================================================ */
.modal-content.bg-dark {
  background: rgba(20, 24, 31, 0.6) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border-radius: 1.2rem;
  border: none;
  backdrop-filter: blur(6px);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
}
.modal-body {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

#galleryCarousel .carousel-inner,
#galleryCarousel2 .carousel-inner,
#galleryCarousel3 .carousel-inner {
  border-radius: 1rem;
  overflow: hidden;
}

#galleryCarousel .carousel-item img,
#galleryCarousel2 .carousel-item img,
#galleryCarousel3 .carousel-item img {
  object-fit: cover;
  max-height: 80vh;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

#galleryCarousel .carousel-item p {
  margin: 0 10em;
}

@media (max-width: 1199.98px) {
  #galleryCarousel .carousel-item p {
    margin: 0 6em;
  }
}

@media (max-width: 991.98px) {
  #galleryCarousel .carousel-item p {
    margin: 0 3em;
  }
}

@media (max-width: 767.98px) {
  #galleryCarousel .carousel-item p {
    margin: 0 1.5em;
  }
}

@media (max-width: 575.98px) {
  #galleryCarousel .carousel-item p {
    margin: 0 1em;
  }
}

.carousel:has(.carousel-item:only-child) .carousel-control-prev,
.carousel:has(.carousel-item:only-child) .carousel-control-next {
  display: none;
}
/* ============================================================
   SCROLL DOWN ARROW
   ============================================================ */
.scroll-down-arrow {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  width: 36px;
  height: 48px;
}

.arrow-bounce-wrapper {
  display: block;
  animation: arrow-bounce 1.2s infinite;
}

.arrow-svg {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
  display: block;
}

.team-section .arrow-svg {
  color: var(--secondary-color);
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 767.98px) {
  .scroll-down-arrow {
    width: 28px;
    height: 36px;
    bottom: 12px;
  }
  .arrow-svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================
   POSITIONING HELPERS
   ============================================================ */
#projects,
#about,
#team {
  position: relative;
}

/* ============================================================
   RESPONSIVE — CONTAINERS
   ============================================================ */
@media (max-width: 1199.98px) {
  .container {
    max-width: 970px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 991.98px) {
  .container {
    max-width: 750px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .about-section,
  .projects-section,
  .contact-section {
    padding: 60px 0 40px;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .about-section,
  .projects-section,
  .contact-section {
    padding: 40px 0 20px;
  }
  .section-title {
    font-size: 1.5rem;
    padding-bottom: 10px;
    margin-bottom: 18px;
  }
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .contact-item i {
    margin-bottom: 6px;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .about-section,
  .projects-section,
  .contact-section {
    padding: 24px 0 10px;
  }
  .section-title {
    font-size: 1.1rem;
    padding-bottom: 6px;
    margin-bottom: 10px;
  }
  .contact-item p {
    font-size: 0.95rem;
  }
  .contact-item i {
    font-size: 16px;
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ── Brochure Download Button ── */
.brochure-download-btn {
  background: transparent;
  border: 1px solid #f6f6f6;
  color: #f6f6f6;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 0.65rem 2rem;
  transition: background 0.25s, color 0.25s;
}
.brochure-download-btn:hover {
  background: #f6f6f6;
  color: #111;
}

/* ── Brochure Lead Modal ── */
.brochure-lead-modal {
  background: #035a65;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.975);
  border-radius: 0;
}
.brochure-lead-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.975);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #fff;
}
.brochure-lead-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.brochure-lead-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.953);
  letter-spacing: 0.04em;
}
.brochure-lead-input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.793) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  transition: border-color 0.2s;
}
.brochure-lead-input::placeholder { color: rgba(255, 255, 255, 0.621); }
.brochure-lead-input:focus {
  border-color: rgb(255, 255, 255)4!important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.27) !important;
}
.brochure-submit-btn {
  background: #035a65;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.793) !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem;
  transition: background 0.2s, opacity 0.2s;
}
.brochure-submit-btn:hover { background: #058090; color: #111; }
.brochure-submit-btn:disabled { opacity: 0.65; }
.brochure-lead-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}