:root {
  --accent: #606060;
  --accent-light: #e5f0fa;
  --text: #333;
  --muted: #666;
  --bg: #fff;
  --max-width: 1200px;
  --radius: 8px;
  --transition: 0.3s ease;
  font-family: "Roboto", sans-serif;
}

/* GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  /* padding: 0 1rem; */
}
a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  border-radius: var(--radius);
  height: 100px;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 0.75rem 0; */
}
.logo {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.3rem;
}
.logo span {
  color: #6ea5d7;
}
.nav-links {
  display: flex;
  gap: 1.2rem;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-light);
  color: var(--accent);
}

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Navbar Dropdown ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

/* Hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  z-index: 99;
  flex-direction: column;
}

.dropdown-content a {
  color: var(--text);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

/* Hover highlight */
.dropdown-content a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* Desktop hover ONLY */
@media (min-width: 901px) {
  .dropdown:hover .dropdown-content {
    display: flex;
  }
}

/* Disable hover dropdown on mobile */
@media (max-width: 900px) {
  /* Dropdown */
  .dropdown-content.show {
    display: flex !important;
    flex-direction: column;
    position: static;
    box-shadow: none;
    min-width: 100%;
  }
}

/* Active sub-menu style */
.dropdown-content a.active {
  background: var(--accent);
  color: #fff;
}

/* ===== FOOTER ===== */
.footer {
  background: #606060;
  color: #fff;
  margin-top: 2rem;
  padding-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.footer h3,
.footer h4 {
  margin-bottom: 1rem;
  color: #fff;
}
.footer p,
.footer ul li {
  color: #e1e1e1;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-links ul {
  list-style: none;
}
.footer-links ul li a {
  color: #e1e1e1;
  transition: var(--transition);
}
.footer-links ul li a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.social-links a {
  color: #fff;
  margin-left: 0.8rem;
  transition: var(--transition);
}
.social-links a:hover {
  color: var(--accent-light);
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(120deg, var(--accent-light), #fff);
  padding: 4rem 1rem;
  text-align: center;
  border-radius: var(--radius);
}
.hero h1 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.hero p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.btn {
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  display: inline-block;
  transition: var(--transition);
}
.btn:hover {
  background: #080808;
}

/* ===== ABOUT PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  text-align: left;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
}
.avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: left;
  justify-content: left;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.3rem;
}

/* ===== CAREERS PAGE ===== */
#careerForm {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#careerForm input,
#careerForm textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

#careerForm textarea {
  height: 120px;
  resize: vertical;
}

.resume-btn {
  display: inline-block;
  background: #444;
  color: white;
  padding: 10px 15px;
  text-align: center;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
}

.btn {
  background: #606060;
  color: white;
  padding: 14px;
  font-size: 17px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn:hover {
  background: #080808;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-box {
  background: #fff;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  width: 350px;
}

.popup-icon {
  color: #28a745;
  font-size: 50px;
  margin-bottom: 10px;
}

.popup-close {
  background: #606060;
  color: white;
  padding: 10px 20px;
  border: none;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Contact Form Styling */
#contactForm {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #606060;
  box-shadow: 0 0 5px rgba(123, 63, 243, 0.3);
  outline: none;
}

#contactForm button {
  background: #606060;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

#contactForm button:hover {
  background: #606060;
}

/* Success Popup */
#successPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  padding: 25px 35px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

#successPopup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.success-icon {
  font-size: 60px;
  color: #4caf50;
  margin-bottom: 10px;
}

#successPopup button {
  margin-top: 15px;
  background: #606060;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.show {
  display: flex;
}

/* Popup Box */
.popup-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 350px;
  animation: popupFade 0.3s ease;
}

.popup-icon {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 1rem;
}

.popup-close {
  margin-top: 1rem;
  background: #606060;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes popupFade {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Contact Section Wrapper */
.contact-section {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Heading */
.contact-section h2 {
  font-size: 32px;
  color: #222;
  font-weight: 700;
}

.contact-section p {
  margin-bottom: 2rem;
  color: #666;
  font-size: 15px;
}

/* Form Styling */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Inputs + Textarea */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s ease;
  font-family: inherit;
  background: #f8f9fa;
}

#contactForm textarea {
  height: 120px;
  resize: vertical;
}

/* Focus Effect */
#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #606060;
  box-shadow: 0 0 6px rgba(15, 76, 129, 0.25);
  background: #fff;
  outline: none;
}

/* Button */
#contactForm button.btn {
  width: 100%;
  padding: 15px;
  background: #606060;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

#contactForm button.btn:hover {
  background: #08385b;
}

/* Responsive */
@media (max-width: 480px) {
  .contact-section h2 {
    font-size: 26px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 65px;
    right: 10px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    color: var(--accent);
  }
}

/* ====== HERO BANNER (Homepage) ====== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
}
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}
.overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
}
.hero-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  width: 350px;
  max-width: 90%;
  color: #222;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.hero-form h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #111;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.hero-form input,
.hero-form select {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.btn-enquire {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn-enquire:hover {
  background: #080808;
}

/* ===== Scroll-Down Button  ===== */
.scroll-down {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: #606060;
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-link:hover {
  background: #606060;
  transform: translateY(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.scroll-link i {
  color: #fff;
}

/* Bounce animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===== Responsive Padding Fix for Small Devices ===== */
@media (max-width: 982.1px) {
  .container {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  .projects-grid,
  .team-grid,
  .contact-grid,
  .openings,
  .apply-form {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* Fix footer bottom padding */
.footer-bottom {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 981.5px) {
  .footer-bottom {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

.page-content {
  padding-top: 2rem;
}

.info-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.info-block h2,
.info-block h1 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.info-block p,
.info-block ul li {
  color: var(--text);
  line-height: 1.65;
}

.info-block ul {
  padding-left: 1.2rem;
}

/* Block layout for project pages */
.project-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.project-block h2 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.project-block p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.project-list {
  display: grid;
  gap: 1.2rem;
}

.project-item {
  background: #f7faff;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.project-item h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.project-item p {
  margin-bottom: 0.2rem;
}

.project-item a {
  color: var(--accent);
  font-weight: 600;
}

/* =====  Style Project Card ===== */
.project-card-full {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.project-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.project-image-wrapper {
  position: relative;
}

.project-image-wrapper img {
  width: 100%;
  height: 220px;

  display: block;
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #c89d00;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.running-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #35ca35;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.project-content {
  padding: 1.2rem 1.4rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
}

.project-location {
  margin-top: 4px;
  color: #555;
}

.project-price {
  margin-top: 4px;
  font-weight: 600;
  color: #444;
}

.project-details {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  text-align: center;
}

.project-details div {
  width: 48%;
}

.project-details label {
  color: #777;
  display: block;
  font-size: 0.75rem;
}

.project-details span {
  font-weight: 600;
  color: #333;
}

/* Grid layout */
.project-grid-upcoming {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* ===== Leadership Section ===== */
.leadership-section {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.leader-card {
  max-width: 600px;
  margin: auto;
}

.leader-photo-box {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 3 / 4; /* Keeps proper face proportion */
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #eaeaea;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.2rem;
}

.leader-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.leader-title {
  color: #606060 !important;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.leader-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.stat-box h4 {
  font-size: 1.4rem;
  margin: 0;
  color: var(--accent);
}

.stat-box p {
  margin: 0;
  font-size: 0.85rem;
  color: #444;
}

.leader-bio {
  line-height: 1.7;
  color: #fff;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.leader-block {
  background: #fff;
  max-width: 800px;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.leader-block h2,
.leader-block h1 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.leader-block p,
.leader-block ul li {
  color: #444;
  line-height: 1.65;
}

.leader-block ul {
  padding-left: 1.2rem;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .leader-photo-box {
    aspect-ratio: 3 / 4.2; /* Slightly shorter portrait */
  }

  .leader-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ============================
   TIMELINE SECTION
============================ */
.timeline-section {
  padding: 3rem 1rem;
}

.timeline-section .section-title {
  text-align: left;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  margin-left: 20px;
  border-left: 3px solid var(--accent);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -40px;
  top: 4px;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
}

.timeline-content p {
  margin: 0.5rem 0 0 0;
  line-height: 1.7;
  color: #444;
}

/* Mobile */
@media (max-width: 600px) {
  .timeline {
    margin-left: 15px;
    padding-left: 20px;
  }

  .timeline-dot {
    left: -33px;
  }
}

.office-info p {
  font-size: 1rem;
  margin: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-icon {
  color: var(--accent);
  font-size: 1.2rem;
}

/* POPUP OVERLAY */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* POPUP BOX */
.popup-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: popupShow 0.3s ease-out;
}

@keyframes popupShow {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-icon {
  font-size: 55px;
  color: #606060;
  margin-bottom: 10px;
}

.popup-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #606060;
}

.popup-box p {
  margin-bottom: 20px;
  font-size: 15px;
}

.popup-close {
  background: #606060;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.popup-close:hover {
  background: #08385b;
}

/* GRID: */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* CARD */
.team-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: #fff;
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* IMAGE WRAPPER: fixed box  */
.team-photo {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #f2f2f2; /* fallback color while image loads */
}

/* CONTENT:  */
.team-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
}

/* Text styles */
.team-name {
  color: #606060;
  font-weight: 700;
  margin: 0.4rem 0;
}

.team-role {
  color: #444;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.team-bio {
  color: #444;
  line-height: 1.6;
  margin-top: 0.6rem;
}

/* Small screens */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-photo {
    width: 100%;
    aspect-ratio: 3 / 4; /* portrait ratio */
    max-height: 420px;
    overflow: hidden;
  }

  .team-photo img {
    width: 40%;
    height: 100%;
    object-fit: cover;
  }
}

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

  .team-photo {
    width: 100%;
    aspect-ratio: 3 / 4; /* portrait ratio */
    max-height: 420px;
    overflow: hidden;
  }

  .team-photo img {
    width: 40%;
    height: 100%;
    object-fit: cover;
  }
}

/* CONTACT MAP Section */

/* Wrapping both columns */
.office-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Left column */
.office-details {
  flex: 1;
  max-width: 45%;
  font-size: 16px;
  line-height: 1.6;
}

/* Right column - Map */
.office-map {
  flex: 1;
  max-width: 50%;
}

.office-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* Icons */
.office-icon {
  color: #606060;
  margin-right: 5px;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
  .office-wrapper {
    flex-direction: column;
  }

  .office-details,
  .office-map {
    max-width: 100%;
  }

  .office-map iframe {
    height: 280px;
  }
}

/* Main container */
.upcoming-project-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Card styling */
.upcoming-project-card {
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/* Image wrapper */
.upcoming-project-image-box {
  position: relative;
  width: 100%;
  height: 380px;
}

/* Image styling */
.upcoming-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge */
.upcoming-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #0f4c81;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Text area */
.upcoming-project-info {
  padding: 20px 25px;
}

.upcoming-project-title {
  margin: 0;
  color: #606060;
  font-size: 1.4rem;
}

.upcoming-project-location,
.upcoming-project-status {
  margin: 5px 0;
  color: #333;
}

.msr-footer-logo-box {
  text-align: center;
  margin-bottom: 15px;
}

.msr-footer-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 70px; /* adjust based on your header height */
  width: 50px;
  display: block;
  border-radius: 6px;
}

body {
  background:
    url("../images/projects/webp/concrete-bg.webp") repeat,
    #f2f2f2;
  min-height: 100vh;
}

.map-wrapper {
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center; /* vertically center grid items */
}

