@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

nav {
  padding: 5px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 1;
}
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 25px;
  width: auto;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #f5f5f5;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #1f1f1f;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
  width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}

.menubar {
  position: fixed;
  top: 0;
  left: -60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100%;
  min-height: 100%;
  padding: 20% 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 1002;
}
.active {
  left: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
  padding: 0;
  list-style: none;
}
.menubar ul li {
  margin-bottom: 32px;
}

.menubar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
}

.menubar ul li a:hover {
  background-color: #f5f5f5;
}
@media screen and (max-width: 790px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
}

/* Style for .hero.image-as-background section with 30% viewport height */
#cusp-small {
    margin-bottom: 0;
}

#tag-line-large {
    margin-top: 0;
}

.hero.image-as-background {
    width: 100%;
    height: 100vh;
    min-height: 200px;
    max-height: 600px;
    /*margin: 32px auto 0 auto;*/
    background: linear-gradient(to bottom, rgba(60,60,60,0.45) 0%, rgba(60,60,60,0.75) 100%), url('images/photo-1443890923422-7819ed4101c0.jpeg') center center/cover no-repeat;
    /*border-radius: 18px;*/
    /*box-shadow: 0 4px 24px rgba(10,35,66,0.10);*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Responsive: adjust height on small screens */
@media (max-width: 900px) {
    .hero.image-as-background {
        height: 50vh;
        min-height: 200px;
        /*margin-top: 16px;*/
    }
}

#welcome-line {
    font-size: 1.25rem;
    color: #fff;
    text-align: center;
    margin-top: 12px;
}
/*fade*/
.hero.image-as-background {
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
}

.hero.image-as-background.faded {
    opacity: 0.65;
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

#cusp-small {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 0;
    line-height: 1;
    text-transform: uppercase;
}

#tag-line-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.9rem;
    font-weight: 700;
    color: #dddcd4;
    margin-top: 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 0.02em;
}

#welcome-line {
    font-family: 'Inter', 'Poppins', 'Segoe UI', Arial, sans-serif;
    font-size: 1.15rem;
    color: #f5f5f5;
    text-align: center;
    margin-top: 12px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-button {
    display: inline-block;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #3c4043;
    background: #dbd8d8ee;
    border: 1px solid #dadce0;
    border-radius: 0;
    padding: 10px 24px;
    box-shadow: 0 1px 2px rgba(60,64,67,0.08), 0 1.5px 6px rgba(60,64,67,0.08);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    /*letter-spacing: 0.01em;*/
}@media (max-width: 700px) {
  #hero-button {
    display: block;
    margin: 24px auto 0 auto;
    text-align: center;
    width: fit-content;
    min-width: 0;
    max-width: none;
    font-size: 1rem;
    padding: 10px 24px;
  }
}

#services-page-section {
    background: #f7f9fb;
    padding: 48px 0 40px 0;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 2px 16px rgba(10,35,66,0.06);
}

#services-page-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #0a2342;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#services-list {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.07);
    padding: 32px 36px;
}

#services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#services-list ul li {
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
    font-size: 1.13rem;
    color: #222;
    padding: 14px 0;
    border-bottom: 1px solid #e6e9ef;
    position: relative;
    padding-left: 32px;
    transition: background 0.18s;
}

#services-list ul li:last-child {
    border-bottom: none;
}

#services-list ul li img {
    width: 1.5em;
    height: 1.5em;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
}

#services-list ul li:hover {
    background: #f0f4fa;
}

@media (max-width: 700px) {
    #services-page-section {
        padding: 28px 0 24px 0;
    }
    #services-page-section h2 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }
    #services-list {
        padding: 16px 8px;
        max-width: 98vw;
    }
    #services-list ul li {
        font-size: 1rem;
        padding: 10px 0 10px 28px;
    }
}

/*v2*/

#contactus-page-section {
  padding-left: 5vw;
  padding-bottom: 5vw;
}

#cusp-phone-contact,
#cusp-email-contact {
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    color: #0a2342;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 8px 0;
    text-decoration: none;
    box-shadow: none;
    letter-spacing: 0.01em;
    cursor: pointer;
    outline: none;
    appearance: none;
    transition: color 0.18s;
}

#contactus-title {
    color: #293d55;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#cusp-phone-contact::before {
    content: "📞";
    font-size: 1.1em;
    margin-right: 8px;
}

#cusp-email-contact::before {
    content: "✉️";
    font-size: 1.1em;
    margin-right: 8px;
}

#cusp-phone-contact:hover,
#cusp-phone-contact:focus,
#cusp-email-contact:hover,
#cusp-email-contact:focus {
    font-weight:bolder;
    text-decoration: none;
}

/*v3*/
.about.image-as-background {
    width: 100vw;
    min-height: 100vh;
    background:  linear-gradient(to bottom, rgba(60,60,60,0.35) 0%, rgba(60,60,60,0.65) 100%),
        url('images/za_ads_133244796_250404_67f0089eb159f4000a4af23b.webp') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    opacity: 0.65;
    pointer-events: none;
}

#about-page-container{
  opacity: 1;
}

@media (max-width: 900px) {
    .about.image-as-background {
        min-height: 80vh;
        padding-top: 24px;
        padding-left: 3px;
        padding-right: 3px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/*v4*/
.about-page-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    margin: 32px auto;
    max-width: 900px;
    width: 90%;
}

.title-section {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.about-page-header {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #e5db8d;
    margin: 0;
}

.aboutpage-info-container,
.aboutpage-info-line {
    flex: 1 1 0;
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 1.08rem;
    color: #fff;
    text-align: left;
    margin: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    /*background-color: #393838;*/
}

/* Responsive: stack columns on small screens */
@media (max-width: 700px) {
    .about-page-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin: 18px 10px;
        width: 98%;
    }
    .title-section {
        justify-content: flex-start;
        margin-bottom: 0%;
    }
    .about-page-header {
        font-size: 1.3rem;
        text-align: left;
    }
    .aboutpage-info-container,
    .aboutpage-info-line {
        font-size: 1rem;
        text-align: left;
        margin: 0 0 0 0;
    }
}

#services-page h2{
  font-family: "Poppins", sans-serif;;
  font-size: 2.9rem;
  color: #1d1e18;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: block;
}

/*v5*/
#services-thumbnail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 40px;
    margin: 32px auto 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.service-item {
    background: #eeeeef;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 18px 24px 18px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 18px;
}

.service-item .hero-button {
    margin-top: 18px;
}

.service-item .hero-button:hover {
    background: #91b8a8;
}

.service-item:hover {
    box-shadow: 0 6px 24px rgba(10,35,66,0.14);
    transform: translateY(-4px) scale(1.03);
}

/* Tablet: 2 columns */
@media (max-width: 1000px) {
    #services-thumbnail {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 18px;
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    #services-thumbnail {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 6vw;
    }
    .service-item {
        padding: 22px 8px 16px 8px;
    }

    @keyframes pulsate-border {
      0% {
        box-shadow: 0 0 0 0 #76aa94;
        border-color: #76aa94;
      }
      50% {
        box-shadow: 0 0 8px 4px #76aa9480;
        border-color: #4e7e6a;
      }
      100% {
        box-shadow: 0 0 0 0 #76aa94;
        border-color: #76aa94;
      }
    }

    .service-item .hero-button {
      border: 2px solid #76aa94;
      animation: pulsate-border 1.4s infinite;
    }
}