body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7f7f7;
  color: #232323;
  overflow-x: hidden;
}

.ma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2em 3vw 1.2em 3vw;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(42,127,157,0.03);
}

.ma-logo img {
  height: 54px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(42,127,157,0.08);
}

.ma-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 2.5em;
}

.ma-nav li {
  position: relative;
}

.ma-nav a {
  text-decoration: none;
  color: #232323;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 0.7em 0.5em;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.ma-nav a:hover, .ma-nav a.active {
  color: #2A7F9D;
  background: #eaf6fa;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(42,127,157,0.08);
  border-radius: 0 0 8px 8px;
  border: 1px solid #e5e5e5;
  z-index: 10;
  padding: 0.5em 0;
}
.dropdown:hover > .dropdown-content, .dropdown:focus-within > .dropdown-content {
  display: block;
}
.dropdown-content li {
  width: 100%;
}
.dropdown-content a {
  display: block;
  padding: 0.7em 1.2em;
  color: #232323;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 0;
  border-bottom: 1px solid #f3f3f3;
}
.dropdown-content a:hover {
  background: #f2fbfd;
  color: #2A7F9D;
}

/* Hero Section */
.ma-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(0,0,0,0.32) 100%, rgba(0,0,0,0.18) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4em 1em 3em 1em;
  box-shadow: 0 2px 24px rgba(42,127,157,0.04);
}
.ma-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 34, 34, 0.25);
  z-index: 1;
  pointer-events: none;
}
.ma-hero-bg, .ma-hero-bg-next {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.32) 100%, rgba(0,0,0,0.18) 100%), url('assets/Architecture/Residental/Dr.Vinayagam Residence @ Palavakkam.jpg') center center/cover no-repeat;
}
.ma-hero-bg { opacity: 1; }
.ma-hero-bg-next { opacity: 0; }
.ma-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.ma-hero-content h1, .ma-hero-content p {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.18);
}
.ma-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.5em;
  letter-spacing: 0.04em;
}
.ma-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5em;
  font-weight: 500;
}
.ma-cta {
  display: inline-block;
  background: #2A7F9D;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.9em 2.2em;
  border-radius: 6px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(42,127,157,0.10);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ma-cta:hover {
  background: #1b5c6e;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(42,127,157,0.13);
}

/* About Section */
.ma-about {
  background: #fff;
  padding: 4em 1em 3em 1em;
  box-shadow: 0 2px 24px rgba(42,127,157,0.03);
}
.ma-about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.ma-about-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #2A7F9D;
  margin-bottom: 0.7em;
}
.ma-about-content p {
  font-size: 1.15rem;
  color: #232323;
  margin-bottom: 1.2em;
}
.ma-values {
  display: flex;
  justify-content: center;
  gap: 2em;
  list-style: none;
  padding: 0;
  margin: 2em 0 0 0;
}
.ma-values li {
  background: #eaf6fa;
  color: #2A7F9D;
  font-weight: 700;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(42,127,157,0.06);
}

/* Projects Section */
.ma-projects {
  background: #f7f7f7;
  padding: 4em 1em 3em 1em;
}
.ma-projects-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2em;
}
.ma-projects-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #2A7F9D;
  margin-bottom: 1em;
}
.ma-project-filters {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5em;
}
.ma-project-filters button {
  background: #fff;
  color: #2A7F9D;
  border: 2px solid #2A7F9D;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7em 2em;
  font-size: 1.08rem;
  cursor: pointer;
  margin-bottom: 0.5em;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(42,127,157,0.06);
}
.ma-project-filters button.active, .ma-project-filters button:hover {
  background: #2A7F9D;
  color: #fff;
  border: 2px solid #2A7F9D;
  box-shadow: 0 4px 16px rgba(42,127,157,0.13);
  transform: translateY(-2px) scale(1.04);
}
.ma-gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 2.5em;
}
.ma-gallery-row-portrait {
  margin-bottom: 0;
}
.ma-gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(42,127,157,0.10);
  padding: 1.5em 1.5em 2em 1.5em;
  width: 320px;
  max-width: 320px;
  min-width: 220px;
  margin-bottom: 1.5em;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.ma-gallery-item:hover {
  box-shadow: 0 8px 32px rgba(42,127,157,0.18);
  transform: translateY(-6px) scale(1.03);
  border: 2px solid #2A7F9D;
}
.ma-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2em;
  background: #eaf6fa;
  box-shadow: 0 2px 8px rgba(42,127,157,0.08);
}
.ma-project-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #19708a;
  text-align: center;
  word-break: break-word;
  min-height: 1.8em;
  margin-top: 0.7em;
  letter-spacing: 0.01em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials */
.ma-testimonials {
  background: #fff;
  padding: 4em 1em 3em 1em;
  box-shadow: 0 2px 24px rgba(42,127,157,0.03);
}
.ma-testimonials h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #2A7F9D;
  margin-bottom: 2em;
}
.ma-testimonials-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
}
.ma-testimonial {
  background: #eaf6fa;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(42,127,157,0.04);
  padding: 2em 1.5em 1.5em 1.5em;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 1.08rem;
}
.ma-testimonial p {
  font-style: italic;
  color: #232323;
  margin-bottom: 1em;
}
.ma-testimonial cite {
  display: block;
  color: #2A7F9D;
  font-weight: 700;
  font-size: 1rem;
}

/* Contact */
.ma-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2em 0;
  background: #f7fafd;
}

.ma-section-title {
  text-align: center;
  margin-bottom: 1.5em;
}

.ma-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.ma-contact-info,
.ma-contact-details {
  background: #eaf6fa;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(42,127,157,0.10);
  padding: 2.2em 2em 1.2em 2em;
  min-width: 320px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ma-contact-info {
  margin-bottom: 0;
}

.ma-contact-details {
  margin-bottom: 0;
}

.ma-contact h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #2A7F9D;
  margin-bottom: 2em;
}

.ma-contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.ma-contact-form input,
.ma-contact-form textarea {
  padding: 0.8em;
  border: 1px solid #b2d6e6;
  border-radius: 5px;
  font-size: 1rem;
  background: #fff;
}

.ma-contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.ma-contact-form button {
  padding: 0.8em;
  background: #2A7F9D;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.ma-contact-form button:hover {
  background: #1b5c6e;
}

.ma-social-links {
  margin-top: 1.5em;
  display: flex;
  gap: 2em;
  justify-content: center;
}

.ma-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(42,127,157,0.10);
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  text-decoration: none;
}

.ma-social-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ma-social-icon:hover {
  background: #eaf6fa;
  box-shadow: 0 4px 16px rgba(42,127,157,0.18);
  transform: translateY(-2px) scale(1.08);
}

.ma-footer {
  background: #fff;
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 2em 0 1em 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 2em;
}

@media (max-width: 900px) {
  .ma-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 1em 0.5em 1em;
  }
  .ma-nav ul {
    gap: 1em;
  }
  .ma-values {
    flex-direction: column;
    gap: 1em;
  }
  .ma-projects-header, .ma-about-content {
    padding-left: 0;
    padding-right: 0;
  }
  .ma-gallery-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
  .ma-project-filters {
    gap: 0.5em;
  }
}

/* Carousel styles */
.ma-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 1.5em auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: #eee;
}
.ma-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.ma-carousel-img {
  min-width: 100%;
  height: 340px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  background: #ddd;
}
.ma-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 2rem;
  color: #0072b1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.ma-carousel-prev { left: 12px; }
.ma-carousel-next { right: 12px; }
.ma-carousel-arrow:hover { background: #0072b1; color: #fff; }
.ma-carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 0.5em;
  z-index: 2;
}
.ma-carousel-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: #bbb;
  opacity: 0.7;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.ma-carousel-dots button.active {
  background: #0072b1;
  opacity: 1;
}
@media (max-width: 700px) {
  .ma-carousel-img { height: 180px; }
  .ma-carousel { max-width: 100%; }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced button and card hover */
.ma-cta, .ma-service-card, .ma-why-card, .ma-testimonial, .ma-contact-info, .ma-contact-form, .ma-contact-details {
  transition: box-shadow 0.2s, transform 0.2s;
}
.ma-cta:hover, .ma-service-card:hover, .ma-why-card:hover, .ma-testimonial:hover, .ma-contact-info:hover, .ma-contact-form:hover, .ma-contact-details:hover {
  box-shadow: 0 6px 24px rgba(0,114,177,0.10);
  transform: translateY(-4px) scale(1.02);
}

/* Multi-level dropdown styles */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-content {
  left: 100%;
  top: 0;
  margin-left: 0.2em;
  min-width: 180px;
  border-radius: 0 6px 6px 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: 1px solid #eee;
  display: none;
}
.dropdown-submenu:hover > .dropdown-content,
.dropdown-submenu:focus-within > .dropdown-content {
  display: block;
}

/* Project gallery grid */
.ma-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: flex-start;
  min-height: 200px;
  margin-top: 2em;
}
.ma-gallery-placeholder {
  color: #888;
  font-size: 1.2rem;
  text-align: center;
  width: 100%;
}
.ma-gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1em 1em 1.5em 1em;
  max-width: 320px;
  min-width: 220px;
  margin-bottom: 1.5em;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ma-gallery-item img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 7px;
  margin-bottom: 1em;
  background: #ddd;
}
.ma-gallery-item .ma-project-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0072b1;
  text-align: center;
  word-break: break-word;
}
@media (max-width: 900px) {
  .ma-gallery-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
}

/* Lightbox styles */
.ma-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  align-items: center;
  justify-content: center;
}
.ma-lightbox.active {
  display: flex;
}
.ma-lightbox-overlay {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,34,34,0.85);
  z-index: 1;
}
.ma-lightbox-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 48px rgba(42,127,157,0.18);
  padding: 2em 2em 1.5em 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.ma-lightbox-img {
  max-width: 98vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(42,127,157,0.10);
  margin-bottom: 1em;
  background: #eaf6fa;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  cursor: zoom-in;
}
.ma-lightbox-img.zoomed {
  cursor: zoom-out;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
}
.ma-lightbox-close {
  position: absolute;
  top: 0.7em;
  right: 1.2em;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #232323;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.ma-lightbox-close:hover {
  color: #2A7F9D;
}
.ma-lightbox-arrow {
  position: absolute;
  top: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 2rem;
  color: #2A7F9D;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(42,127,157,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ma-lightbox-prev { left: -60px; transform: translateY(-50%); }
.ma-lightbox-next { right: -60px; transform: translateY(-50%); }
.ma-lightbox-arrow:hover { background: #2A7F9D; color: #fff; }
@media (max-width: 700px) {
  .ma-lightbox-content { padding: 1em 0.5em; }
  .ma-lightbox-img { max-width: 90vw; max-height: 40vh; }
  .ma-lightbox-prev { left: 0; }
  .ma-lightbox-next { right: 0; }
}

/* Services Section */
.ma-services {
  background: #fff;
  padding: 4em 1em 3em 1em;
  box-shadow: 0 2px 24px rgba(42,127,157,0.03);
}
.ma-section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: #2A7F9D;
  margin-bottom: 2em;
  letter-spacing: 0.02em;
}
.ma-services-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3em;
}
.ma-service-card {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(42,127,157,0.07);
  padding: 2em 1.5em 1.5em 1.5em;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  margin-bottom: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ma-service-card:hover {
  box-shadow: 0 6px 24px rgba(42,127,157,0.13);
  transform: translateY(-4px) scale(1.03);
}
.ma-service-card img {
  width: 100%;
  max-width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.2em;
  box-shadow: 0 2px 8px rgba(42,127,157,0.08);
  background: #eaf6fa;
}
.ma-service-card h3 {
  color: #2A7F9D;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1em;
  letter-spacing: 0.01em;
}
.ma-service-card p {
  color: #7a7a7a;
  font-size: 1.05rem;
  font-weight: 500;
}

/* Why Choose Section */
.ma-why-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2em;
}
.ma-why-card {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(42,127,157,0.07);
  padding: 2em 1.5em 1.5em 1.5em;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  margin-bottom: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ma-why-card:hover {
  box-shadow: 0 6px 24px rgba(42,127,157,0.13);
  transform: translateY(-4px) scale(1.03);
}
.ma-why-icon {
  font-size: 2.5rem;
  color: #bfa76f;
  margin-bottom: 1em;
}
.ma-why-card h3 {
  color: #2A7F9D;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1em;
  letter-spacing: 0.01em;
}
.ma-why-card p {
  color: #7a7a7a;
  font-size: 1.05rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .ma-services-grid, .ma-why-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
}

/* Project Tabs */
.ma-project-tabs {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 2em;
}
.project-tab {
  background: #fff;
  color: #2A7F9D;
  border: 2px solid #2A7F9D;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7em 2.5em;
  font-size: 1.12rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(42,127,157,0.06);
  outline: none;
}
.project-tab.active, .project-tab:focus {
  background: #2A7F9D;
  color: #fff;
  border: 2px solid #2A7F9D;
  box-shadow: 0 4px 16px rgba(42,127,157,0.13);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
  .ma-project-tabs {
    gap: 0.5em;
  }
  .project-tab {
    padding: 0.7em 1.2em;
    font-size: 1rem;
  }
}

/* Team Section - Enhanced */
.ma-team-section {
  margin-top: 3em;
  margin-bottom: 3em;
}
.ma-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3.5em 3.5em;
  justify-items: center;
  align-items: flex-start;
  justify-content: center;
}
.ma-team-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(42,127,157,0.12);
  padding: 3em 2.5em 2.5em 2.5em;
  max-width: 470px;
  min-width: 320px;
  min-height: 600px;
  text-align: center;
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: box-shadow 0.22s, transform 0.22s, border 0.22s;
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(.77,0,.18,1) forwards;
}
.ma-team-card.fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(.77,0,.18,1) forwards;
}

.ma-team-center {
  grid-column: 1 / 3;
  grid-row: 2;
  justify-self: center;
  max-width: 400px;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.ma-team-card:hover {
  box-shadow: 0 4px 24px rgba(42,127,157,0.12);
  transform: none;
  border: none;
}
.ma-team-card img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  margin-bottom: 1.2em;
  box-shadow: 0 2px 12px rgba(42,127,157,0.10);
  background: #eaf6fa;
  border: 3px solid #eaf6fa;
  transition: border 0.2s, box-shadow 0.2s, transform 0.22s;
}
.ma-team-card:hover img {
  border: 3px solid #eaf6fa;
  box-shadow: 0 2px 12px rgba(42,127,157,0.10);
  transform: none;
}
.ma-team-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #2A7F9D;
  margin-bottom: 0.3em;
}
.ma-team-role {
  color: #232323;
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 0.4em;
}
.ma-team-bio {
  color: #555;
  font-size: 1.01rem;
  font-style: normal;
  margin-bottom: 0.7em;
  min-height: 2.2em;
  opacity: 1;
  max-height: none;
  pointer-events: auto;
  overflow: visible;
  transition: none;
}
.ma-team-card:hover .ma-team-bio {
  opacity: 1;
  max-height: none;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .ma-team-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  .ma-team-card {
    max-width: 95vw;
  }
  .ma-team-center {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }
}

.ma-lightbox-reset {
  display: inline-block;
  background: #2A7F9D;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.7em;
  margin-top: 0.2em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(42,127,157,0.10);
  transition: background 0.2s, transform 0.2s;
}
.ma-lightbox-reset:hover {
  background: #1b5c6e;
  transform: scale(1.04);
}

.scroll-to-top {
  position: fixed;
  right: 2.2em;
  bottom: 2.2em;
  z-index: 1000;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(42,127,157,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  opacity: 0.92;
  outline: none;
}
.scroll-to-top:hover {
  background: #eaf6fa;
  box-shadow: 0 8px 32px rgba(42,127,157,0.18);
  transform: scale(1.08);
  opacity: 1;
}
.scroll-to-top svg {
  display: block;
}
@media (max-width: 700px) {
  .scroll-to-top {
    right: 1em;
    bottom: 1em;
    width: 44px;
    height: 44px;
  }
}

.ma-projects-completed {
  font-size: 1.45rem;
  font-weight: 800;
  color: #2A7F9D;
  margin: 0.5em 0 1.2em 0;
  letter-spacing: 0.03em;
}
.ma-projects-count {
  font-size: 1.6em;
  color: #19708a;
  font-weight: 900;
}

.ma-map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1em;
  color: #2A7F9D;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  transition: color 0.18s;
}
.ma-map-link:hover {
  color: #19708a;
  text-decoration: underline;
}

.ma-map-embed {
  margin-top: 1.2em;
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(42,127,157,0.10);
}

.ma-contact-info {
  padding: 1.5em 1.2em 1.5em 1.2em;
  max-width: 350px;
  margin: 2em auto;
  min-height: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ma-contact-info h3 {
  margin-bottom: 0.7em;
}

.ma-contact-info p {
  margin-bottom: 0.7em;
  text-align: center;
}

/* Office Locations Row */
.ma-office-locations-row {
  width: 100%;
  margin-bottom: 2em;
}

.ma-office-locations-row h3 {
  text-align: center;
  color: #2A7F9D;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5em;
  letter-spacing: 0.01em;
}

.ma-office-locations {
  display: flex;
  flex-direction: row;
  gap: 2em;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
}

.ma-office-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 2px 8px rgba(42,127,157,0.08);
  border: 1px solid #e8f4f8;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ma-office-card:hover {
  box-shadow: 0 4px 16px rgba(42,127,157,0.12);
  transform: translateY(-2px);
}

.ma-office-card h4 {
  color: #2A7F9D;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8em;
  text-align: center;
  letter-spacing: 0.01em;
}

.ma-office-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 1.2em 0;
}

.ma-office-map {
  margin-top: 1.2em;
  width: 100%;
}

.ma-office-map iframe {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(42,127,157,0.1);
}

.ma-office-map .ma-map-link {
  display: block;
  margin-top: 0.8em;
  color: #2A7F9D;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
  text-align: center;
}

.ma-office-map .ma-map-link:hover {
  color: #1e5a73;
  text-decoration: underline;
}

.ma-social-links {
  margin-top: 0.5em;
  gap: 1.2em;
}

.ma-social-icon {
  width: 48px;
  height: 48px;
}

.ma-social-icon svg {
  width: 24px;
  height: 24px;
}

.ma-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.2em;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(42,127,157,0.10);
  transition: background 0.18s, transform 0.18s;
}
.ma-whatsapp-btn:hover {
  background: #1ebe57;
  transform: translateY(-2px) scale(1.04);
}
.ma-whatsapp-btn img {
  width: 28px;
  height: 28px;
  margin-right: 0.5em;
}

.ma-whatsapp-float {
  position: fixed;
  right: 2.2em;
  bottom: 2.2em;
  z-index: 1200;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(42,127,157,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
  overflow: hidden;
}
.ma-whatsapp-float img {
  width: 38px;
  height: 38px;
  display: block;
}
.ma-whatsapp-float:hover {
  background: #1ebe57;
  transform: scale(1.08);
}
@media (max-width: 700px) {
  .ma-whatsapp-float {
    right: 1em;
    bottom: 1em;
    width: 52px;
    height: 52px;
  }
  .ma-whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 1100px) {
  .ma-contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 2em;
    max-width: 95vw;
  }
  .ma-contact-info,
  .ma-contact-details {
    max-width: 95vw;
    min-width: 0;
    width: 100%;
  }
  
  .ma-office-locations {
    flex-direction: column;
    gap: 1.2em;
  }
  
  .ma-office-card {
    padding: 1.2em;
  }
  
  .ma-office-map iframe {
    height: 160px;
  }
}

.ma-social-row {
  display: flex;
  gap: 1.2em;
  justify-content: center;
  margin-top: 1.2em;
}

.ma-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(42,127,157,0.10);
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
}

.ma-social-btn img {
  width: 28px;
  height: 28px;
  display: block;
}

.ma-social-btn:hover {
  background: #eaf6fa;
  box-shadow: 0 4px 16px rgba(42,127,157,0.18);
  transform: scale(1.08);
}

/* Hide Home nav link on mobile */
@media (max-width: 768px) {
  .ma-nav ul li:first-child { display: none; }
}

/* Ensure WhatsApp floating button is always visible on mobile */
@media (max-width: 768px) {
  .ma-whatsapp-float {
    right: 16px !important;
    left: auto !important;
    bottom: 16px !important;
    position: fixed !important;
    z-index: 9999;
    transform: none !important;
    max-width: 90vw;
  }
}

.ma-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.38);
  z-index: 1;
  pointer-events: none;
} 