/* INDEX.HTML AND THANKYOU.HTML CSS (DESKTOP VIEW) */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Nunito', sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
}

body {
  margin-top: 215px;
}

.navigation {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgb(0, 104, 71);
  color: white;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transition: height 0.3s ease;
}

.navParent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 165px;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}

/* NAV LEFT AND RIGHT SECTIONS */
.topLeft, .topRight {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.1vw, 20px);
}

.topLeft p { 
  margin: 0; 
  font-size: larger;
}
.topRight p { 
  margin: 0; 
  text-align: right;
  font-size: larger;
}

/* CENTER LOGO */
.topMid {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topMid img {
  max-width: 45%;
  height: auto;
  display: block;
}

/* NAV LINKS */
.topLinks {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 85, 58);
}

.topLinks ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topLinks ul li {
  display: inline-block;
  margin: 0 40px;
}

.topLinks ul li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s;
}

.topLinks ul li a:hover {
  color: gold;
  font-weight: bold;
}


/* INTRO CONTAINER */
.introContainer{
  height: 500px;
  width: 100%; 
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* black shadow overlay */
  url(./images/image.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
}
.introContainer h1{
    font-size: 40px;
    padding-top: 60px;
    text-align: center;
    color: #f2f2f2;
}
.introContainer p{
  font-size: 20px;
  padding-top: 20px;
  color: #f2f2f2;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
    
}

/* ABOUT US */
.aboutContainer{
  width: 100%;
  color: black;
  padding-top: 60px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 0px; 
}

.aboutContainer img{
  padding-top: 50px;
}

.aboutInfo{
  width: 50%; 
  word-wrap: break-word;
  text-align: center;
  align-content: center;  
}
 


.about-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px;
  max-width: 92vw;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-top: 0;
}

.about-lang {
  margin-bottom: 14px;
}

.lang-label {
  display: inline-block;
  font-size: 3.2vw;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgb(0, 104, 71);
  letter-spacing: 0.5px;
}

.about-lang p {
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.55;
  margin: 0;
  color: #222;
}

.about-divider {
  height: 1px;
  background: #ddd;
  margin: 16px 0;
}

/* VISIT US */
.visitUs{
  height: 600px;
  width: auto;
  padding: 0 20vw; 
  text-align: center;
  scroll-margin-top: 220px;
  margin-top: 150px;
}

.visitUs iframe {
  width: 100%;
  max-width: 100%;
  height: 500px;
  border-radius: 10px;
}


/* FOOTER */
.footer{
    display: flex;
    justify-content: space-around;
    background-color: rgb(0, 104, 71);
    color: white;
    padding: 20px 0; /*vertical padding and horizontal padding*/
    width: 100%;
    align-content: center;
    align-items: center;;
    margin-top: 50px;
    font-size: 20px;

}




/* THANK YOU PAGE */
.thankyouWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 220px); /* accounts for nav height */
    padding: 20px;
}

.thankyouCard {
    background: #ffffff;
    border-radius: 14px;
    border-top: 6px solid rgb(0, 164, 112);
    
    padding: 40px 35px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,1.1);
}

.thankyouCard h1 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.thankyouCard p {
    font-size: 18px;
    color: #444;
    margin-bottom: 30px;
}

.checkIcon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgb(0, 164, 112);
    color: white;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyouActions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btnPrimary,
.btnSecondary {
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.btnPrimary {
    background: rgb(0, 164, 112);
    color: white;
}

.btnPrimary:hover {
    background: rgb(0, 129, 88);
}

.btnSecondary {
    background: #eee;
    color: #333;
}

.btnSecondary:hover {
    background: #ddd;
}




/* DESKTOP VIEW DEFAULT */

.desktop-only{
  display: block;
}

.mobile-only{
  display: none;
}




/* MOBILE VIEW */

@media (max-width: 785px) {

  /* MOBILE VIEW DEFAULT */
  .desktop-only { 
    display: none;
  }
  .mobile-only {
    display: block;
  }

  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Nunito', sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
  }

  body{
    margin-top: 20vh;
  }

  /* NAV CONTAINER */
  .navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .navParent {
    height: 20vh;
  }

  .topMid img {
    max-width: 70%;
    height: auto;
  }

  .topLinks {
    height: auto;
    padding: 10px 0;
  }

  .topLinks ul {
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;
    gap: 10vw;                 
  }
  
  .topLinks ul li {
    margin: 0;                 
  }

  .topLinks ul li a {
    font-size: 2.3vw;
    white-space: nowrap;       
  }

  .introContainer {
    overflow: hidden; 
    width: 100%;
  }

  .introContainer h1 {
    font-size: 7vw;
  }

  .introContainer p{
    font-size: 3vw;
  }

  /* ABOUT US */
  .aboutContainer{
    height: auto; 
    width: 100%;
    color: black;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-top: 0px; 
  }

  .about-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 18px;
    max-width: 92vw;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  .about-lang {
    margin-bottom: 14px;
  }

  .lang-label {
    display: inline-block;
    font-size: 3.2vw;
    font-weight: 700;
    margin-bottom: 6px;
    color: rgb(0, 104, 71);
    letter-spacing: 0.5px;
  }

  .about-lang p {
    font-size: 3.9vw;
    line-height: 1.55;
    margin: 0;
    color: #222;
  }

  .about-divider {
    height: 1px;
    background: #ddd;
    margin: 16px 0;
  }

  .visitUs{
    height: auto;
    width: auto;
    padding: 0 5vw; 
    text-align: center;
    scroll-margin-top: 220px;
    margin-top: 150px;
  }

  .visitUs iframe {
    width: 100%;
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
  }

  .footer {
    display: flex;
    align-items: center;
    gap: 40px;

    background-color: rgb(0, 104, 71);
    color: white;

    padding: 30px 6%;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-left {
    flex: 1;               
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .footer-left p{
    font-size: 3.5vw;
  }

  .footer-left img {
    max-width: 300px;
    width: 100%;
    height: auto;
  }

  .footer-right {
    flex: 1vw;             
    font-size: 3vw;
    line-height: 1.6;
  }


}
