nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

.nav-links {
    list-style: none;
    text-align: right;
    padding: 30px 50px;
}

.nav-links li {
    display: inline-block;
}

.nav-links li a {
    text-decoration: none;
    color: #2c2b2b;
    font-size: 1.03rem;
    margin-left: 15px;
}

.hero {
    position: relative;
    max-width: 70%;
    margin: 0 auto;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Pacifico', cursive;
    color: aliceblue;
    font-size: 2.8rem;
    text-align: center;
}

.hero h2 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Roboto', sans-serif;
    color: aliceblue;
    font-size: 1rem;
    text-align: center;
}

.vision {
    text-align: center;
    padding: 80px 20px;
}

.vision h1 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.vision h4 {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    font-weight: normal;
    line-height: 1.9;
    color: #333;
}


.message {
    width: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background: rgb(247, 247, 247);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.msg-box {
    width: 50%;
    float: left;
    box-sizing: border-box;

}

.msg-box.image {
    background: #ffffff;
    padding-bottom: 100px;
}

.msg-box.image img {
    width: 100%;
    height: auto;
    display: block;
}

.msg-box.text {
    text-align: center;
    padding: 80px;
    min-height: 100%;

    margin: 0 auto;
    text-align: left;
    font-weight: normal;
    line-height: 1.9;
    color: #333;


}

.msg-box.text h3 {
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.msg-box.text p {
    line-height: 1.8;
    font-size: 0.9rem;
    color: #333;
}





.services{
  width: 100%;
  padding: 70px 40px;
  font-family: 'Roboto', sans-serif;

  display: flex;
  justify-content: center;
  gap: 20px;             /* spacing between 3 items */
  flex-wrap: wrap;       /* if screen is smaller, it wraps nicely */
}

.service-item{
  width: 260px;          /* fixed => same on all PCs */
  text-align: center;
}

.service-item img{
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

.service-item p{
  font-size: 0.71rem;
  line-height: 1.9;
  color: #333;
  text-align: left;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}




/* MOBILE */
@media (max-width: 768px) {
    .service-item {
        width: 100%;
        margin-bottom: 60px;
    }
}





.reason-section {
    width: 1100px;
    margin: 100px auto;
    border: 2px solid #1aa0d8;
    background: #fff;
    font-family: 'Roboto', sans-serif;
}

/* TOP BAR */
.reason-bar {
    position: relative;
    height: 25px;
    background: #1aa0d8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-title {
    color: #fff;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* BADGE */
.badge {
    position: absolute;
    left: 26px;
    top: -8px;
    width: 60px;
    height: 60px;
    background: #1aa0d8;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 20%,
        100% 100%,
        50% 85%,
        0 100%
    );
}

/* CONTENT */
.reason-content {
    display: flex;
    gap: 40px;
    padding: 40px;
    padding-top: 10px;
}

/* IMAGE */
.reason-image {
    width: 320px;
}

.reason-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* TEXT */
.reason-text {
    flex: 1;
}

.reason-text h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.reason-section h2{

    text-align: center; 
    padding-top: 15px;
}
.reason-text p {
    font-size: 1.08em;
    line-height: 1.9;
    margin-bottom: 15px;
}


.bg-section {
    width: 100%;
    height: 420px;
    background: url("/assets/images/bgSec04.jpg") center / cover no-repeat;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

/* soft overlay for readability */
.bg-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
}

/* content wrapper */
.bg-content {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

/* each text block */
.bg-box {
    width: 45%;
    text-align: center;
}

.bg-box h3 {
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.bg-box p {
    font-size: 0.85rem;
    line-height: 1.9;
}

/* MOBILE */
@media (max-width: 768px) {
    .bg-section {
        height: auto;
    }

    .bg-content {
        flex-direction: column;
        padding: 60px 20px;
    }

    .bg-box {
        width: 100%;
        margin-bottom: 40px;
    }
}


.footer {
    background: #fff;
    padding: 120px 0 60px;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* MAIN AREA */
.footer-wrap {
    width: 780px;              /* KEY: fixed narrow width */
    margin: 0 auto 120px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* LEFT TABLE */
.footer-info table {
    border-collapse: collapse;
    font-size: 0.85rem;
}

.footer-info th {
    padding: 6px 30px 6px 0;
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
}

.footer-info td {
    padding: 6px 0;
    line-height: 1.8;
}

.footer-info .links {
    color: #1a73e8;
}

/* MAP */
.footer-map iframe {
    width: 320px;
    height: 240px;
    border: none;
}

/* COPYRIGHT */
.footer-copy {
    text-align: center;
    font-size: 0.75rem;
    color: #777;
}

.footer-copy a {
    color: #1a73e8;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 900px) {
    .footer-wrap {
        width: 90%;
        flex-direction: column;
        gap: 50px;
    }

    .footer-map iframe {
        width: 100%;
    }
}





















@media (max-width: 768px) {
    .msg-box {
        width: 100%;
    }

    .msg-box.text {
        padding: 40px 30px;
    }
}
















@media (max-width: 768px) {

    .nav-links {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        top: 42%;
    }

    .hero h2 {
        font-size: 0.9rem;
        top: 52%;
    }
}