*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: 'Noto Sans KR', 'Nanum Gothic', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

h1, h2{
  font-size: 2rem; 
  line-height: 2rem;
  font-weight: bolder;
}

p {
  font-size: 1rem; 
}

#logo {
  height: 4vw;
  margin-left: 10vw;
}

header a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
}  

#section1::before,
#section3::before,
#section4::before,
#section5::before,
#section6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: -1; 
}
  
#section1::before {
  opacity: 0.9; 
  background-image: url('../images/section1.png');
}
  
#section2 {
  background-image: url('../images/sec2.png');
}

#section3::before {
  opacity: 0.7; 
  background-image: url('../images/sec3.png');
}

#section4::before {
  opacity: 0.8; 
  background-image: url('../images/section4.jpg');
}

#section5::before {
  opacity: 0.7; 
  background-image: url('../images/section5.jpg');
}

#section6::before {
  opacity: 0.95; 
  background-image: url('../images/section6.jpg');
}

#section1 .container,
#section2 .container,
#section3 .container,
#section4 .container,
#section6 .container {
  height: 800px;
}

.grid-container {
  width: 100%;
  padding-left: 20vw;
  padding-right: 20vw;
  padding-bottom: 1vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 5px; 
  text-align: center; 
}

.grid-item {
  padding-top: 1rem;
  background-color: rgba(240, 240, 240, 0.5); 
  color: #000;
}

.txtbg {
  background-color: #004aad;
}

.logo_head {
  height: 4vw;
}

/****** Section 1 *****/

.txt1 h1{
  text-shadow: 1px 1px black;
 }


#section1 {
  position: relative;
}

#section1 .container h1, h3{
  font-weight: bolder;
}

.sec1color {
  color: #febd59;
}

.panel-1 {
  justify-content: center;
  align-items: center;
  width: 45vw;
  margin: 0 auto;
}

.txt1 {
  padding: 20px;
  background-color: rgba(240, 240, 240, 0.6); 
  line-height: 0.5rem;
}

/******Section 2******/
#section2 .container,
#section3 .container,
#section4 .container,
#section5 .container,
#section6 .container {
  position: relative;
  display: flex;
  justify-content: center;
}

#section2 .container{
  width: 45vw;
}

#section2 .container .txt2,
#section3 .container .panel-3
{
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(240, 240, 240, 0.6); 
}

.txt2 h1, h3, .sec2txt {
  /* color: #061c67; */
  color: #004aad;
}

.sec2txt {
  font-weight: bold;
}

.panel-2 {
  line-height: 0.5rem;
}

/******Section 3******/

#section3 {
  position: relative;
  /* width: 40vw; */
}

#section3 .panel-3 {
  width: 45vw;
}

.lh1{
  line-height: 0.5rem;
}

.lh2{
  line-height: 6px;
}

/******Section 4******/
#section4 {
  position: relative;
}

#section4 .container .panel-4 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.header4{
  width: 30vw;
  padding: 10px;
  background-color: rgba(240, 240, 240, 0.6); 
  margin: 0 auto;
}

.panel-4 h1 {
  text-shadow: 1px 1px black;
}

.txt4-shadow{
  text-shadow: 1px 1px 2px rgb(0 0 0 / 32%);
}

.block4 {
  justify-content: center;
  align-items: center;
}

.txt4-fs{
  font-size: 1rem;
  padding: 9px;
  font-weight: lighter;
}

.step_img {
  height: 200px;
  object-fit: cover;
}

/******Section 5******/
.panel-5 > .grid-container {
  grid-template-columns: repeat(2, 1fr); 
}

#section5 {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px; 
}

.panel-5 > .grid-container .grid-item {
  padding: 10px;
  background-color: unset; 
}

 .panel-5 {
  padding: 20px;
  width: 60vw;
  background-color: rgba(240, 240, 240, 1); 
}

#section5 .container .panel-5 .grid-container{
  padding-left: 0;
  padding-right: 0;
}

#section5 .container .panel-5 .grid-container .grid-item p{
  color: #808080;
  font-size: 12px;
}
/******Section 6******/
#section6 .container .panel-6 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50vw;
}

#section6{
  position: relative;
}

hr {
  border: 3px solid #fead43;
}

.dollar {
  box-shadow: 8px 8px 2px 2px rgb(0 0 0 / 43%), 0 6px 20px 5px #00000061;
}

.dollar {
  transition: transform 0.3s ease-in-out;
}

.dollar:hover {
  transform: scale(1.2);
}


/**** Footer ****/
footer {
  position: relative;
  height: 9vw;
}

footer p {
  top: 50%;
  position: relative;
}


/**** Button Stack ****/
.button-stack {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
  }

.button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-decoration: none;
}

.chat-button {
  background-color: #FFD700;
}

.call-button {
  background-color: #000000; 
}

.custom-button {
  background-color: #0088cc; 
  padding: 0; 
}

.button-icon {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.chat-button .bi {
  color: black;
  font-size: 30px;
}

@media (max-width: 600px) {
  body {
    font-size: 1rem; /* This will be 16px (relative to the root element) */
  }

  h1 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 0.8rem;
  }
  #section1 .container,
  #section2 .container,
  #section3 .container,
  #section4 .container {
    width: auto;
  }

  #logo {
    height: 10vw;
  }

  .logo_head {
    height: 15vw;
  }

  .grid-container{
    grid-template-columns: unset;
    padding: 0px;
  }

  .panel-1 {
    width: auto;
  }

  .panel-1 .txt1 {
    line-height: 1rem;
  }

  /*section 2*/

    #section2 .container .txt2 {
      top: 10%;
      transform: none;
      
    }

    .panel-2 {
      line-height: 1rem;
    }

    /*section 3*/
    
    #section3 .container .panel-3,
    #section5 .container .panel-5 {
      top: 10%;
      transform: none;
    }

    .lh2 {
      line-height: 1.5rem;
    }

    #section3 .panel-3 {
      width: auto;
    }    
  
    /*section 4*/
    #section4 {
      height: 290vh;
    }

    #section4 .container .panel-4 {
      top: 10%;
      transform: none;
      width: 100%;
    }  

    .header4 {
      width: 72vw;
    }

    .grid-left h5, .position4 p{
      background-color: #ffffff !important;
    }

    .step_img {
      width: 150px;
      height: 150px;
    }

    .block4 {
      width: 100%;
    }

    .grid-body {
      background-color: white;
      display: flex;
      margin-left: 10px;
      margin-right: 10px;
      border-radius: 5px;
    }

    .grid-card {
      padding: 0px;
      margin-left: 1.5rem;
    }

    .grid-left {
      width: 50%;
      padding: 1rem;
    }

    .grid-right {
      width: 50%;
    }

    .position4 {
      margin-top: 7vw;
    }
    
    .position4 a {
      width: 45vw !important;
      margin-top: 17vw;
      text-align: center !important;
    }

    /*section 5*/
    .panel-5 {
      width: auto;
    }

    .panel-5 > .grid-container {
      grid-template-columns: unset;
    }

    /*section 6*/

    #section6 .container {
      height: 500px;
    }

    #section6 .container .panel-6 {
      top: 0;
      transform: none;
      width: auto;

    }

    .shadow-lg{
      width: 77vw;
    }
  }
  