:root {
    --primary: #16a7e0;
    --secondary: #096b9a;
    --accent: #67e8f9;
    --bg: #f5fafe;
}

/* --------- Body --------- */
body {
    background: linear-gradient(135deg, #e0f7fa 50%, #e0ecff 100%);
    min-height: 100vh;
    font-family: 'Prompt', 'Orbitron', Arial, sans-serif;
    /* ไม่ต้อง padding-top ที่ body! ไปใส่ที่ section แรกแต่ละหน้าแทน */
}

/* --------- Navbar --------- */
.custom-navbar {
    background: linear-gradient(90deg, var(--secondary) 85%, var(--accent) 110%);
    box-shadow: 0 3px 18px 0 rgba(22,167,224,0.16);
    z-index: 1000;
}
.custom-navbar .nav-link {
    color: #ecfeff !important;
    font-size: 1.07rem;
    padding: 7px 18px 7px 10px;
    margin: 0 2px;
    border-radius: 8px;
    transition: color 0.22s, background 0.18s, box-shadow 0.20s;
}
.custom-navbar .nav-link i { margin-right: 5px; }
.custom-navbar .nav-link:hover, 
.custom-navbar .nav-link.active {
    background: linear-gradient(90deg,var(--primary) 90%,var(--accent) 140%);
    color: #fff !important;
    box-shadow: 0 2px 18px 0 #16a7e033;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.custom-navbar .nav-cta {
    border-radius: 25px;
    border: 2px solid #fff;
    font-weight: 600;
    background: var(--accent);
    color: #005;
    box-shadow: 0 2px 16px 0 rgba(22,167,224,0.09);
    transition: background 0.15s, color 0.15s, border 0.2s;
}
.custom-navbar .nav-cta:hover {
    background: #fff;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

/* --------- Hero Section (หน้าแรก) --------- */
.hero-section {
    background: linear-gradient(120deg, #ecfeff 60%, #67e8f9 120%);
    position: relative;
    padding-top: 110px; /* ปรับให้ไม่โดน navbar fixed-top บัง */
    padding-bottom: 0;
    min-height: 75vh;
    overflow: hidden;
}
.hero-logo {
    max-width: 150px;
    filter: drop-shadow(0 2px 12px #67e8f999);
    animation: floatlogo 3.4s infinite alternate ease-in-out;
}
@keyframes floatlogo {
    0% { transform: translateY(0);}
    100% { transform: translateY(-16px);}
}
.hero-title {
    font-family: 'Orbitron', 'Prompt', Arial, sans-serif;
    font-size: 2.8rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 10px #b9f1fc44;
}
.hero-desc {
    font-size: 1.18rem;
    color: #3c3c3c;
    margin-bottom: 15px;
}
.btn-accent {
    background: linear-gradient(90deg, var(--primary) 75%, var(--accent) 180%);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 28px;
    padding: 13px 32px;
    font-size: 1.11rem;
    box-shadow: 0 4px 18px 0 #67e8f988;
    transition: background 0.21s, color 0.15s, box-shadow 0.2s;
}
.btn-accent:hover {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 3px 16px 0 #67e8f9cc;
}
.custom-shape-divider-bottom-hero {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-bottom-hero svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* --------- About Section --------- */
.about-section {
    background: #fff;
    padding: 70px 0 55px 0;
    border-radius: 0 0 48px 48px/0 0 20px 20px;
    box-shadow: 0 10px 28px 0 #67e8f91a;
}
.section-title {
    color: var(--primary);
    font-family: 'Orbitron', 'Prompt', Arial, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 6px #67e8f928;
}
.about-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.about-list li {
    font-size: 1.09rem;
    margin-bottom: 10px;
    color: #067ab4;
    font-weight: 500;
}
.about-list i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* --------- About Glass Effect (about.html เท่านั้น) --------- */
.about-hero-glass {
    background: rgba(255,255,255,0.56);
    box-shadow: 0 8px 40px 0 #67e8f9cc, 0 1.5px 12px 0 #067ab488;
    backdrop-filter: blur(12px) saturate(1.2);
    border-radius: 38px;
    border: 1.5px solid #b7eaff44;
    padding: 64px 36px 48px 36px;
    margin-top: 84px;
    margin-bottom: 42px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero-glass .shine {
    position: absolute;
    top: -40px; left: 10%; width: 120px; height: 90px;
    background: linear-gradient(120deg,rgba(103,232,249,0.5) 10%,rgba(255,255,255,0.2) 60%);
    filter: blur(28px);
    border-radius: 50%;
    pointer-events: none;
    animation: shine-move 4s infinite alternate;
    z-index: 0;
}
@keyframes shine-move {
    0% { left: 5%;}
    100% { left: 70%;}
}
.about-hero-glass h1 {
    font-family: 'Orbitron', 'Prompt', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #16a7e0 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-hero-glass p {
    color: #1976d2;
    font-size: 1.24rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* --------- Services Section --------- */
.services-section {
    background: var(--bg);
    padding: 60px 0 40px 0;
}
.service-card {
    border: none;
    background: linear-gradient(140deg, #fff 90%, #67e8f91a 130%);
    border-radius: 18px;
    box-shadow: 0 2px 22px 0 #67e8f92a;
    padding: 35px 19px 26px 19px;
    transition: 0.22s;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.service-card:hover {
    box-shadow: 0 10px 32px 0 #16a7e044, 0 1.5px 12px 0 #067ab433;
    transform: translateY(-9px) scale(1.04) rotate(-1deg);
    background: linear-gradient(120deg, #e0fbff 85%, #67e8f955 180%);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px #67e8f988);
    animation: floaticon 2.5s infinite alternate;
}
@keyframes floaticon {
    0% { transform: translateY(0);}
    100% { transform: translateY(-8px);}
}
.service-card h5 {
    font-family: 'Prompt', Arial, sans-serif;
    color: #067ab4;
    font-weight: 600;
    margin-bottom: 12px;
}
.service-card p {
    color: #2b3c4d;
    font-size: 1.05rem;
}

/* --------- Contact Section --------- */
.contact-section {
    background: linear-gradient(120deg, #67e8f9 30%, #fff 120%);
    color: #00405e;
    padding: 65px 0 55px 0;
    border-radius: 32px;
    margin: 50px 18px 0 18px;
    box-shadow: 0 7px 30px 0 #67e8f924;
}
.contact-section .btn-accent {
    font-size: 1rem;
    padding: 10px 30px;
}

/* --------- Footer --------- */
.custom-footer {
    background: linear-gradient(120deg, #096b9a 90%, #67e8f9 100%);
    color: #f2f7fc;
    font-size: 1.01rem;
    letter-spacing: 0.1px;
    border-top: 4px solid var(--primary);
    position: relative;
    z-index: 100;
    margin-top: 45px;
}
.custom-footer .footer-main {
    border-bottom: 1px solid #16a7e024;
}
.custom-footer .footer-title {
    color: var(--accent);
    font-size: 1.12rem;
    letter-spacing: 0.5px;
    font-weight: bold;
    margin-bottom: 10px;
}
.custom-footer .footer-link {
    color: #dbeafe;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}
.custom-footer .footer-link:hover {
    color: #fff;
    text-decoration: underline;
}
.custom-footer .footer-list li {
    margin-bottom: 6px;
    font-size: 1.01rem;
}
.custom-footer .footer-social-link {
    display: inline-block;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    width: 36px; height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 1.18rem;
    margin-bottom: 2px;
    transition: background 0.22s, color 0.23s, transform 0.12s;
    box-shadow: 0 2px 10px 0 #67e8f91a;
    border: 2px solid #67e8f9;
}
.custom-footer .footer-social-link:hover {
    background: #fff;
    color: var(--secondary);
    border: 2px solid var(--primary);
    transform: scale(1.12) rotate(-5deg);
}
.custom-footer .footer-bottom {
    background: #096b9a;
    color: #a6bdd7;
    font-size: 0.97rem;
    letter-spacing: 0.7px;
    border-top: 1px solid #16a7e044;
}

/* --------- Service Card Link Hover --------- */
.service-card-link {
    text-decoration: none;
    display: block;
    transition: box-shadow 0.22s, transform 0.22s;
}
.service-card-link:hover .service-card,
.service-card-link:focus .service-card {
    box-shadow: 0 12px 42px 0 #67e8f9bb, 0 1.5px 12px 0 #067ab4aa;
    background: linear-gradient(120deg, #d4fbfe 90%, #67e8f955 180%);
    transform: translateY(-12px) scale(1.06);
}

/* --------- Responsive --------- */
@media (max-width: 992px) {
    .about-section,
    .services-section,
    .contact-section { padding: 32px 0; }
    .hero-title { font-size: 1.7rem; }
    .about-section { border-radius: 0 0 30px 30px/0 0 14px 14px;}
    .about-hero-glass { padding: 38px 10px 32px 10px; border-radius: 16px;}
}
@media (max-width: 767px) {
    .custom-footer .footer-main .row > div {
        text-align: left !important;
    }
    .custom-footer .footer-main {
        padding-left: 7px;
        padding-right: 7px;
    }
    .custom-footer .footer-title {
        margin-top: 16px;
    }
    .hero-section { padding-top: 80px; }
    .contact-section { margin: 30px 6px 0 6px;}
    .about-hero-glass { padding: 34px 8px 28px 8px; border-radius: 18px; }
    .about-values-row { gap: 10px; flex-direction: column; }
    .about-value-card { min-width: 99%; max-width: 99%; padding: 22px 7px;}
    .about-video { border-radius: 11px;}
    .about-timeline { padding-left: 7px;}
}
@media (max-width: 600px) {
    .custom-navbar .navbar-brand span {
        display: none !important;
    }
    .about-section, .services-section, .contact-section { padding-left: 0; padding-right: 0;}
}

:root {
    --primary: #16a7e0;
    --secondary: #096b9a;
    --accent: #67e8f9;
    --bg: #f5fafe;
}

/* Body & Background */
body {
    background: linear-gradient(135deg, #e0f7fa 50%, #e0ecff 100%);
    min-height: 100vh;
    font-family: 'Prompt', 'Orbitron', Arial, sans-serif;
}

/* Navbar */
.custom-navbar {
    background: linear-gradient(90deg, var(--secondary) 85%, var(--accent) 110%);
    box-shadow: 0 3px 18px 0 rgba(22,167,224,0.16);
    z-index: 1000;
}
.custom-navbar .nav-link {
    color: #ecfeff !important;
    font-size: 1.07rem;
    padding: 7px 18px 7px 10px;
    margin: 0 2px;
    border-radius: 8px;
    transition: color 0.22s, background 0.18s, box-shadow 0.20s;
}
.custom-navbar .nav-link i { margin-right: 5px; }
.custom-navbar .nav-link:hover, 
.custom-navbar .nav-link.active {
    background: linear-gradient(90deg,var(--primary) 90%,var(--accent) 140%);
    color: #fff !important;
    box-shadow: 0 2px 18px 0 #16a7e033;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.custom-navbar .nav-cta {
    border-radius: 25px;
    border: 2px solid #fff;
    font-weight: 600;
    background: var(--accent);
    color: #005;
    box-shadow: 0 2px 16px 0 rgba(22,167,224,0.09);
    transition: background 0.15s, color 0.15s, border 0.2s;
}
.custom-navbar .nav-cta:hover {
    background: #fff;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

/* ----------- Glass About Section ----------- */
.about-hero-glass {
    background: rgba(255,255,255,0.56);
    box-shadow: 0 8px 40px 0 #67e8f9cc, 0 1.5px 12px 0 #067ab488;
    backdrop-filter: blur(12px) saturate(1.2);
    border-radius: 38px;
    border: 1.5px solid #b7eaff44;
    padding: 64px 36px 48px 36px;
    margin-top: 90px; /* ป้องกัน navbar บัง */
    margin-bottom: 42px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero-glass .shine {
    position: absolute;
    top: -40px; left: 10%; width: 120px; height: 90px;
    background: linear-gradient(120deg,rgba(103,232,249,0.5) 10%,rgba(255,255,255,0.2) 60%);
    filter: blur(28px);
    border-radius: 50%;
    pointer-events: none;
    animation: shine-move 4s infinite alternate;
    z-index: 0;
}
@keyframes shine-move {
    0% { left: 5%;}
    100% { left: 70%;}
}
.about-hero-glass h1 {
    font-family: 'Orbitron', 'Prompt', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #16a7e0 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-hero-glass p {
    color: #1976d2;
    font-size: 1.24rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}
/* About Video */
.about-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 34px 0 rgba(22,167,224,0.18);
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto 0 auto;
  max-width: 700px;
}
.about-video video, .about-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Value Card */
.about-values-row {
    margin: 44px 0 24px 0;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.about-value-card {
    background: rgba(250,252,255,0.78);
    border: 1.3px solid #b7eaff3c;
    border-radius: 18px;
    box-shadow: 0 2px 18px 0 #16a7e024;
    min-width: 250px;
    max-width: 330px;
    padding: 28px 18px 20px 18px;
    margin-bottom: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.about-value-card:hover {
    transform: translateY(-10px) scale(1.045);
    box-shadow: 0 10px 32px 0 #67e8f9aa, 0 1.5px 12px 0 #067ab4aa;
    background: linear-gradient(120deg, #d4fbfe 80%, #67e8f92a 180%);
}
.about-value-card i {
    font-size: 2rem;
    color: #16a7e0;
    background: #e0f7fa;
    border-radius: 50%;
    padding: 13px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px #67e8f930;
    display: inline-block;
}
.about-value-card h5 {
    font-family: 'Prompt', Arial, sans-serif;
    color: #067ab4;
    font-weight: bold;
    margin-bottom: 8px;
}
.about-value-card p {
    color: #385e7a;
    font-size: 1.06rem;
    margin-bottom: 0;
}

/* Timeline */
.about-timeline {
    margin: 40px auto 0 auto;
    max-width: 770px;
}
.timeline-title {
    font-size: 1.4rem;
    color: #067ab4;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.timeline {
    position: relative;
    padding-left: 22px;
    border-left: 4px solid #16a7e0;
    margin-left: 25%;
    margin-right: 25%;
    min-width: 200px;
}
.timeline-step {
    position: relative;
    margin-bottom: 34px;
    text-align: left;
}
.timeline-dot {
    position: absolute;
    left: -15px;
    top: 3px;
    width: 19px; height: 19px;
    background: linear-gradient(120deg,#16a7e0 60%,#67e8f9 120%);
    border-radius: 50%;
    box-shadow: 0 0 9px #67e8f9cc;
    border: 3px solid #fff;
    z-index: 2;
}
.timeline-step h6 {
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 5px;
}
.timeline-step p {
    margin: 0;
    color: #34505f;
    font-size: 1.06rem;
}

/* Footer */
.custom-footer {
    background: linear-gradient(120deg, #096b9a 90%, #67e8f9 100%);
    color: #f2f7fc;
    font-size: 1.01rem;
    letter-spacing: 0.1px;
    border-top: 4px solid var(--primary);
    position: relative;
    z-index: 100;
    margin-top: 45px;
}
.custom-footer .footer-main {
    border-bottom: 1px solid #16a7e024;
}
.custom-footer .footer-title {
    color: var(--accent);
    font-size: 1.12rem;
    letter-spacing: 0.5px;
    font-weight: bold;
    margin-bottom: 10px;
}
.custom-footer .footer-link {
    color: #dbeafe;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}
.custom-footer .footer-link:hover {
    color: #fff;
    text-decoration: underline;
}
.custom-footer .footer-list li {
    margin-bottom: 6px;
    font-size: 1.01rem;
}
.custom-footer .footer-social-link {
    display: inline-block;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    width: 36px; height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 1.18rem;
    margin-bottom: 2px;
    transition: background 0.22s, color 0.23s, transform 0.12s;
    box-shadow: 0 2px 10px 0 #67e8f91a;
    border: 2px solid #67e8f9;
}
.custom-footer .footer-social-link:hover {
    background: #fff;
    color: var(--secondary);
    border: 2px solid var(--primary);
    transform: scale(1.12) rotate(-5deg);
}
.custom-footer .footer-bottom {
    background: #096b9a;
    color: #a6bdd7;
    font-size: 0.97rem;
    letter-spacing: 0.7px;
    border-top: 1px solid #16a7e044;
}

/* Responsive */
@media (max-width: 992px) {
    .about-hero-glass { padding: 34px 10px 28px 10px; border-radius: 22px; }
    .about-values-row { gap: 18px; }
    .timeline { margin-left: 8%; margin-right: 8%; }
}
@media (max-width: 767px) {
    .about-hero-glass { padding: 14px 3px 18px 3px; border-radius: 11px; }
    .about-values-row { gap: 10px; flex-direction: column; }
    .about-value-card { min-width: 99%; max-width: 99%; padding: 18px 6px;}
    .about-video { border-radius: 11px;}
    .about-timeline { padding-left: 7px; }
    .timeline { margin-left: 0; margin-right: 0;}
}

