.navbar {
    /*background-color: aquamarine;*/
    display: flex;
    align-items: center;
    padding: 10px 30px;
    justify-content: space-around;
    border-bottom: 2px solid black;
}

.logo-link {
    display: flex;
    align-items: center;
    margin-left: -240px;
}

.logo {
    max-height: 86px;
    width: auto;
    max-width: 100%;
    height:auto;
    display: block;

}

.nav-links {
    list-style: none;
    display: flex;
    gap: 52px;
    margin: 4px;
    padding-left: 681px;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 24px;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: #00796b;
}

@media (max-width: 768px) {
  .logo-link {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
 
}
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    /*margin-top: 150px;*/
    gap: 60px;
    background-color:deepskyblue;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.4s ease-out forwards;
  animation-delay: 0.2s;
}

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

.hero-text h1 {
  font-size: 3rem;
    font-weight: 900;
    color: #00796b;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.hero-full {
  position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #e0f7fa 60%, #b2dfdb 100%);
    text-align: center;
    overflow: hidden;
}

.hero-text p {
    font-size: 1.5rem;
    color: #222;
    font-weight: 500;
    background: none;
    padding: 0;
    border-radius: 0;
}
.hero-full::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: url('../img/microtech_logo-remove.png') center center no-repeat;
    background-size: contain;
    opacity: 0.07; /* Faintness */
    z-index: 0;
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-image img {
    height: 280px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}



.products-section {
     padding: 60px 30px 80px 30px;
    background: #f8fcfc;
}

.products-layout {
    display: flex;
    align-items: flex-start; /* Aligns sidebar and product cards at the top */
    gap: 40px; /* Space between sidebar and products */
    width: 100%;
    box-sizing: border-box;
}

.products-sidebar {
    width: 20%;
    background: #f5f5f5;
    padding: 30px 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    height: fit-content;
    /* Remove margin-bottom or margin-top if present */
}


.products-sidebar ul {
    list-style: none;
    padding: 0 24px;
    margin: 0;
}

.products-sidebar li {
    margin-bottom: 20px;
}

.products-sidebar a {
    color: #00796b;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
    display: block;
    padding: 8px 0;
    border-radius: 6px;
}

.products-sidebar a:hover {
    color: #004d40;
    background: #e0f7fa;
}

.products-section {
  width: 100%;
  overflow: hidden;
}

.products-main {
    flex: 1;
    padding: 0 10px;
    display: block;
}
.products-main h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.8rem;
    color: #00796b;
    letter-spacing: 2px;
    font-weight: 900;
    text-transform: uppercase;
    
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
  .products-layout {
    flex-direction: column;
  }

  .products-sidebar {
    width: 100%;
    order: 2;
  }

  .products-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
  }

  .product-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 10px;
  }

  .products-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
  }

  #prevPage,
  #nextPage {
    padding: 6px 12px;
    font-size: 18px;
    cursor: pointer;
  }

  .products-main {
    overflow: hidden; /* prevent overflow pag scroll */
  }
}

/* MOBILE VIEW: 1 CARD ONLY, SLIDEABLE */
@media (max-width: 768px) {
  .products-grid {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
  }

  .product-card {
    flex: 0 0 100%; /* One card per screen */
    max-width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 10px;
  }

  .products-main {
    overflow: hidden;
  }

  .products-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
  }

  #prevPage,
  #nextPage {
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
  }
}


.product-card {
  position: relative; /* Important para gumana ang ::before at ::after */
  background: #07182e; /* Inner background */
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 20px;
  text-align: center;
  overflow: hidden; /* Para hindi lumampas ang animation */
  z-index: 0;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(180deg, rgb(0, 183, 255), rgb(255, 48, 255));
  top: -25%;
  left: -25%;
  animation: rotBGING 5s linear infinite;
  z-index: 1;
  filter: blur(20px);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: #e6e6e6;
  border-radius: 12px;
  z-index: 2;
}

.product-card * {
  position: relative;
  z-index: 3;
}

@keyframes rotBGING {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.product-card h3 {
  font-size: 1.4em;
  margin-top: 10px;
}

.product-card img {
  max-width: 100%;
  height: auto;
  z-index: 3;
}


.product-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.product-card img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 1.2rem;
    color: #00796b;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 1rem;
    color: #333;
}
.products-sidebar ul .sub-nav {
    list-style: none;
    padding-left: 18px;
    margin-top: 8px;
}

.products-sidebar ul .sub-nav li {
    margin-bottom: 10px;
}

.products-sidebar ul .sub-nav a {
    font-size:20px;
    color: #009688;
    font-weight: 500;
    padding: 4px 0;
    border-radius: 4px;
    display: block;
    transition: background 0.2s, color 0.2s;
}

.products-sidebar ul .sub-nav a:hover {
    background: #e0f7fa;
    color: #004d40;
}
.category-link.active {
    background: #b2dfdb;
    color: #004d40 !important;
}

/* --- Mobile (cellphone) adjustments --- */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 8px;
  }
  .logo-link {
    margin-left: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
    font-size: 16px;
  }
  .nav-links li a {
    font-size: 18px;
  }
  .products-section,
  .map-section {
    padding: 24px 4vw;
    min-height: unset;
    height: unset;
  }
  .products-layout {
    flex-direction: column;
    gap: 16px;
  }
  .products-sidebar {
    width: 100%;
    padding: 16px 0;
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: none;
  }
  .products-main {
    padding: 0;
  }
  .products-main h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-card {
    padding: 12px;
    font-size: 0.95rem;
  }
  .product-card img {
    height: 80px;
    margin-bottom: 8px;
  }
  .products-pagination {
    gap: 8px;
    margin-top: 12px;
  }
  .sidebar {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
  #map {
    min-height: 300px;
    height: 300px;
    border-radius: 8px;
  }
  .contact-section,
  .contact-container {
    padding: 16px 2vw;
  }
  .contact-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .contact-info,
  .contact-form {
    width: 100%;
    padding: 0;
  }
  .about-hero-title {
    font-size: 1.5rem;
  }
  .about-hero-lead {
    font-size: 1rem;
  }
  .about-row,
  .about-cards-row-wide {
    flex-direction: column;
    gap: 10px;
    padding: 12px 4vw;
  }
  .about-profile-card-wide,
  .about-mv-card-wide,
  .about-card-wide,
  .about-info-card {
    padding: 12px 8px;
    font-size: 1rem;
    min-width: 0;
    max-width: 100%;
  }
}

 .loader-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #565b9e; /* aesthetic background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.wave-loader span {
  display: inline-block;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  animation: wave 1.5s infinite;
}

.wave-loader span:nth-child(2) { animation-delay: 0.1s; }
.wave-loader span:nth-child(3) { animation-delay: 0.2s; }
.wave-loader span:nth-child(4) { animation-delay: 0.3s; }
.wave-loader span:nth-child(5) { animation-delay: 0.4s; }
.wave-loader span:nth-child(6) { animation-delay: 0.5s; }
.wave-loader span:nth-child(7) { animation-delay: 0.6s; }
.wave-loader span:nth-child(8) { animation-delay: 0.7s; }
.wave-loader span:nth-child(9) { animation-delay: 0.8s; }
/* Continue with delays for each letter */

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}


/* Make each main section fill the viewport */
.hero-full,
.products-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.products-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 24px 0 0 0;
    width: 100%;
}
.products-pagination button {
    padding: 6px 16px;
    font-size: 1.2rem;
    border: none;
    background: #b2dfdb;
    color: #004d40;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.products-pagination button:disabled {
    background: #e0e0e0;
    color: #aaa;
    cursor: not-allowed;
}
/* --- About Section Wide Redesign --- */
.about-main-wide {
  width: 100vw;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.about-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 48px auto;
  padding: 48px 5vw 0 5vw;
}

.about-profile-card-wide {
  flex: 2;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 48px 40px;
  font-size: 1.5rem;
  color: #222;
  min-width: 340px;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-mission-vision-wide {
  flex: 3;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
  min-width: 400px;
}

.about-mv-card-wide {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 48px 36px;
  font-size: 1.4rem;
  color: #222;
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-mv-card-wide h3 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: #00796b;
  letter-spacing: 1px;
}

.about-section-title-wide {
  font-size: 2.5rem;
  font-weight: 900;
  color: #00796b;
  margin: 48px 0 24px 0;
  text-align: center;
  letter-spacing: 2px;
  width: 100%;
}

.about-cards-row-wide {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.about-card-wide {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 36px 32px;
  font-size: 1.3rem;
  color: #00796b;
  font-weight: 800;
  min-width: 220px;
  text-align: center;
  margin-bottom: 12px;
  flex: 1 1 220px;
  max-width: 320px;
  letter-spacing: 1px;
}



/* --- About Hero Section --- */
.about-hero {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #222;
  color: #fff;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/panini.png') center center/cover no-repeat;
  opacity: 0.45;
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 40px 20px;
}

.about-hero-content-wide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 5vw 40px 5vw;
  text-align: left;
  gap: 40px;
}

.about-hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  margin-bottom: 0;
  object-fit: cover;
  flex-shrink: 0;
}

.about-hero-texts {
  flex: 1;
}

.about-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -1px;
  color: #fff;
  text-align: left;
}


.about-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -1px;
  color: #fff;
}

.about-hero-lead {
  font-size: 1.7rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.5;

  margin: 0 auto;
}

/* --- About Info Cards Row --- */
/* Existing .about-row is good, no change needed */

/* Flip card container row */
.about-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 5vw 0 5vw;
}

/* Row for flip cards */
.about-row-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px; /* halos walang pagitan */
  margin: 0;
  padding: 0;
}

/* Flip card base style */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
  font-family: sans-serif;
  height: 280px;
  position: relative;
  transition: transform 0.3s;
  flex: 1 1 280px;
  max-width: 100%;
  min-width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px; /* halos walang space sa pagitan */
  border-radius: 1rem;
}

/* Full-width variant */
.flip-card.full-width {
  width: 100%;
  max-width: 100%;
}

/* Flip card inner logic */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

/* Hover effect */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front and back shared styles */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 90%;
  height: 90%;
  backface-visibility: hidden;
  border-radius: 1rem;
  border: 1px solid coral;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 5%;
  left: 5%;
}

/* Front design */
.flip-card-front {
  background: linear-gradient(
    120deg,
    bisque 60%,
    #ffe7de 88%,
    #ffd3c3 40%,
    rgba(255, 127, 80, 0.6) 48%
  );
  color: coral;
}

/* Back design */
.flip-card-back {
  background: linear-gradient(
    120deg,
    #ffae91 30%,
    coral 88%,
    bisque 40%,
    #ffb9a0 78%
  );
  color: white;
  transform: rotateY(180deg);
  font-size: 1.3rem;
}

/* Title text inside cards */
.flip-card .title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-row-flex {
    flex-direction: column;
    align-items: center;
  }

  .flip-card {
    width: 100%;
    max-width: 100%;
  }

  .flip-card-front,
  .flip-card-back {
    width: 95%;
    height: 200px;
    top: 0;
    left: 0;
    padding: 12px;
  }

  .flip-card-inner {
    height: auto;
  }
}

@media (max-width: 1200px) {
  .about-row {
    flex-direction: column;
    gap: 24px;
    padding: 32px 2vw 0 2vw;
  }

  .about-mission-vision-wide {
    flex-direction: column;
    gap: 18px;
    min-width: 0;
  }

  .about-section-title-wide {
    font-size: 2rem;
  }

  .about-profile-card-wide,
  .about-mv-card-wide {
    font-size: 1.1rem;
    padding: 24px 12px;
  }

  .about-mv-card-wide h3 {
    font-size: 1.3rem;
  }

  .about-cards-row-wide {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .about-card-wide {
    max-width: 50%;
    min-width: 0;
    width: 80vw;
  }
}

@media (max-width: 900px) {
  .about-hero-content-wide {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 4vw 24px 4vw;
    gap: 18px;
    text-align: left;
  }
  .about-hero-title,
  .about-hero-lead {
    text-align: left;
  }
}
.about-row {
  background: #e0f7fa; /* Light teal, change as needed */
  border-radius: 24px;
  padding: 40px 32px;
  margin-bottom: 32px;
}

.about-cards-row.about-cards-row-wide {
  background: #f1f8e9; /* Light green, change as needed */
  border-radius: 24px;
  padding: 32px 24px;
  margin-bottom: 32px;
}
@media (max-width: 700px){
    .logo{
        max-height: 50px;
    }
    .site-title {
        font-size: 18px;
    }
    .nav-links{
        gap: 18px;
    }
}

 @media (max-width: 768px) {
        .navbar {
          flex-direction: column;
          align-items: flex-start;
        }

        .nav-links {
          flex-direction: column;
          gap: 10px;
          padding-left: 0;
        }

        .products-layout {
          flex-direction: column;
        }

        .container {
          flex-direction: column;
        }

        .sidebar {
          width: 100%;
          order: 2;
        }

        
    }

  .map-section {
      padding: 60px 30px;
      background-color: #f0f9ff;
    }

    .map-section h2 {
      text-align: center;
      margin-bottom: 40px;
      font-size: 2.8rem;
      color: #00796b;
      font-weight: 900;
      text-transform: uppercase;
    }

    .container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }

    .sidebar {
      width: 260px;
      background-color: #e6f7ff;
      padding: 20px;
      border-radius: 10px;
      height: fit-content;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .sidebar h3 {
      font-size: 20px;
      margin-bottom: 15px;
      color: #00796b;
      text-align: center;
    }

    .location-btn {
      display: block;
      width: 100%;
      margin-bottom: 12px;
      padding: 10px 15px;
      background-color: #00796b;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      text-align: left;
      transition: background-color 0.3s;
    }

    .location-btn:hover {
      background-color: #004d40;
    }

    #map {
      flex: 1;
      min-height: 600px;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .popup-link {
      display: inline-block;
      margin-top: 4px;
      padding: 4px 10px;
      background-color: #0d6efd;
      color: #fff !important;
      border-radius: 15px;
      font-size: 13px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .popup-link:hover {
      background-color: #084298;
    }

    @media (max-width: 900px) {
      .container {
        flex-direction: column;
      }

      .sidebar {
        width: 100%;
      }

      #map {
        width: 100%;
        height: 500px;
      }
    }

.popup-link {
    display: inline-block;
    margin-top: 4px;
    margin-right: 5px;
    padding: 4px 10px;
    background-color: #0d6efd;
    color: #fff !important;
    border-radius: 15px;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .popup-link:hover {
    background-color: #084298;
  }
.rotate-container img {
  transition: transform 1s linear;
  transform-style: preserve-3d;
}

.product-card:hover .rotate-container img {
  animation: rotateY 3s linear;
}

@keyframes rotateY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
.contact-section {
  background: #f0f9ff;
  padding: 60px 30px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-heading {
  text-align: center;
  font-size: 2.8rem;
  color: #00796b;
  font-weight: 900;
  margin-bottom: 40px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 300px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #00796b;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
  color: #444;
}

.contact-form {
  flex: 1 1 500px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background: #00796b;
  color: #fff;
  padding: 12px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.microtech-footer {
  background-color: #004d40;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  margin-top: 80px;
}

.wave {
  background: #004d40;
  height: 6px;
  width: 100%;
  border-top-left-radius: 80% 40px;
  border-top-right-radius: 80% 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-social a {
  color: #4267B2; /* Facebook blue */
  font-size: 28px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
  color: #4673d4;
}

.footer-bottom {
  background-color: #004d40; /* dark green */
  color: #ffffff; /* white font for contrast */
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffffff; /* white links */
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #cfd8dc; /* light gray on hover */
}

/* Modal Styles */
.custom-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  color: #333;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}
