 .hero-slider{
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.hero-slider img{
    width:100%;
    height:650px;
    object-fit:cover;
}

/* จุด pagination */
.swiper-pagination-bullet{
    width:12px;
    height:12px;
    background:#fff;
    opacity:.7;
}

.swiper-pagination-bullet-active{
    opacity:1;
}
/* =========================================================
   GLOBAL TYPOGRAPHY SYSTEM
========================================================= */

:root{

  --font-th: 'IBM Plex Sans Thai', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;

  --font-main: var(--font-en), var(--font-th);

  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #64748b;

  --primary: #2563eb;
  --primary-dark: #1d4ed8;

  --section-space: 110px;
}

/* =========================================================
   BODY
========================================================= */

body{
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
    color: var(--text-gray);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
     text-rendering: optimizeLegibility;

    overflow-x: hidden;
}

/* =========================================================
   HEADINGS
========================================================= */

h1,h2,h3,h4,h5,h6{
    font-family: var(--font-main);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 18px;
}

/* HERO TITLE */

.hero-content h1{
    font-size: 68px;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -3px;
    margin-bottom: 24px;
    color:#0f172a;
}

/* HERO SUBTITLE */

.hero-content h2{
    font-size: 28px;
    font-weight: 400;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

/* PARAGRAPH */

p{
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
}

/* HERO DESCRIPTION */

.hero-description{
    font-size: 17px;
    line-height: 1.95;
    color: #64748b;
    max-width: 95%;
}

/* =========================================================
   NAVBAR
========================================================= */

.navmenu ul li a{
    color:#334155 !important;
    font-family:'Kanit',sans-serif;
    font-size:15px;
    font-weight:500;
    padding:10px 10px; /* ลดจาก 18px เหลือ 10px */
    border-radius:8px;
    transition:all .25s ease;
}

.navmenu ul li a:hover{
    background: #ecfdfb;
    color:#000099 !important;
}

.navmenu .active{
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
/* ระยะห่างระหว่างเมนู */
.navmenu ul{
    display: flex;
    align-items: center;
    gap: 0px !important;
    margin: 0;
    padding: 0;
}

/* li */
.navmenu ul li{
    margin: 0 !important;
    padding: 0 !important;
}






/* =========================================================
   BUTTONS
========================================================= */

.btn{
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    padding: 14px 28px;
    transition: .3s;
    letter-spacing: .2px;
}

.btn-primary{
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    border:none;
    box-shadow: 0 12px 35px rgba(37,99,235,.28);
    font-weight:700;
}

.btn-primary:hover{
    transform: translateY(-4px);
}
/* =========================================================
   HERO STATS
========================================================= */

.hero-stats{
    gap: 30px;
}

.stat-item h3{
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p{
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* =========================================================
   HIGHLIGHT TEXT
========================================================= */

.highlight{
    background: linear-gradient(90deg,#2563eb,#60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   SECTION SPACING
========================================================= */

section{
    padding: var(--section-space) 0;
}

/* =========================================================
   FOOTER
========================================================= */


.footer{
    background: #f8fafc;
    color: #475569;
    border-top: 1px solid #e2e8f0;
}

.footer h6{
    color: #0f172a;
    font-size: 17px;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer p,
.footer a,
.footer span{
    color: #64748b;
    font-size: 15px;
    text-decoration: none;
    transition: .3s;
}

.footer a:hover{
    color: #2563eb;
}

/* bottom footer */

.footer-bottom{
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-top: 40px;
}

/* =========================================================
   CONTACT ITEMS
========================================================= */

.contact-item{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-bottom:18px;
}

.contact-item i{
    color:#60a5fa;
    font-size:18px;
    margin-top:4px;
}

/* =========================================================
   SLIDER
========================================================= */

.hero-slider{
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,.15);
}

.hero-slider img{
    width:100%;
    height:650px;
    object-fit:cover;
}

/* =========================================================
   PAGINATION
========================================================= */

.swiper-pagination-bullet{
    width:12px;
    height:12px;
    background:#fff;
    opacity:.5;
    transition:.3s;
}

.swiper-pagination-bullet-active{
    opacity:1;
    width:35px;
    border-radius:20px;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:991px){

    .hero-content h1{
        font-size:42px;
        line-height:1.15;
    }

    .hero-content h2{
        font-size:22px;
    }

    .hero-slider img{
        height:420px;
    }

    section{
        padding:80px 0;
    }
}

@media(max-width:576px){

    .hero-content h1{
        font-size:34px;
    }

    .hero-content h2{
        font-size:19px;
    }

    p{
        font-size:15px;
    }

    .btn{
        width:100%;
        justify-content:center;
    }

    .hero-actions{
        display:flex;
        flex-direction:column;
        gap:15px;
    }
}
/* =========================================================
   CONTACT BLOCK
========================================================= */

.contact-block{
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    padding: 60px;
    border-radius: 30px;
    margin-top: 80px;
    color: #fff;
    box-shadow: 0 25px 50px rgba(37,99,235,.25);
}

/* title */
.contact-block h2{
    color:#fff;
    margin-bottom:15px;
    font-size:38px;
}

/* text */
.contact-block p{
    color:rgba(255,255,255,.85);
}

/* phone button */
.emergency-call{
    display:inline-flex;
    align-items:center;
    gap:12px;
    background:#fff;
    color:#2563eb;
    padding:16px 28px;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.emergency-call:hover{
    transform:translateY(-3px);
}

/* location button */
.contact-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 28px;
    border:1px solid rgba(255,255,255,.3);
    border-radius:16px;
    color:#fff;
    text-decoration:none;
    margin-left:12px;
    transition:.3s;
}

.contact-link:hover{
    background:rgba(255,255,255,.1);
    color:#fff;
}
/* =========================================================
   GOAL SECTION
========================================================= */

.goal-wrapper{
    display:flex;
    flex-direction:column;
    gap:24px;
    margin-top:35px;
}

/* CARD */

.goal-card{
    display:flex;
    align-items:flex-start;
    gap:22px;

    background:#fff;
    border-radius:24px;

    padding:28px;

    border:1px solid #e2e8f0;

    transition:.35s ease;

    box-shadow:0 10px 30px rgba(15,23,42,.05);
}

/* hover */

.goal-card:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 50px rgba(37,99,235,.12);
    border-color:#bfdbfe;
}

/* ICON */

.goal-icon{
    min-width:72px;
    height:72px;

    border-radius:22px;

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

    background:linear-gradient(135deg,#2563eb,#60a5fa);

    color:#fff;
    font-size:30px;

    box-shadow:0 15px 30px rgba(37,99,235,.25);
}

/* TITLE */

.goal-content h4{
    font-size:22px;
    font-weight:700;
    margin-bottom:10px;
    color:#0f172a;
}

/* TEXT */

.goal-content p{
    margin:0;
    color:#64748b;
    line-height:1.9;
    font-size:15px;
}

/* MOBILE */

@media(max-width:768px){

    .goal-card{
        flex-direction:column;
        padding:24px;
    }

    .goal-icon{
        width:65px;
        height:65px;
        font-size:26px;
    }

    .goal-content h4{
        font-size:20px;
    }
}

/* =========================================================
   HOME ABOUT MODERN
========================================================= */

.home-about{
    position:relative;
    overflow:hidden;
}

/* badge */

.section-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:12px 22px;

    border-radius:50px;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    color:#fff;

    font-size:13px;
    font-weight:700;
    letter-spacing:1px;

    text-transform:uppercase;

    box-shadow:
      0 10px 25px rgba(37,99,235,.25);

    margin-bottom:18px;

    transition:.35s ease;
}

/* hover effect */
.section-badge:hover{
    transform:translateY(-3px);

    box-shadow:
      0 18px 35px rgba(37,99,235,.35);
}

/* title */

.about-title{
    font-size:56px;
    line-height:1.1;
    font-weight:800;

    margin-bottom:25px;

    letter-spacing:-2px;
}

/* description */

.about-description{
    font-size:17px;
    line-height:2;
    color:#64748b;

    margin-bottom:40px;
}

/* =========================================================
   GOAL CARD
========================================================= */

.goal-wrapper{
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* card */


.goal-card{
    display:flex;
    align-items:center;

    gap:16px;

    padding:20px 22px;

    min-height:auto;

    border-radius:22px;

    background:#fff;

    border:1px solid #e2e8f0;

    transition:.35s ease;

    box-shadow:
    0 10px 30px rgba(15,23,42,.04);
}


/* hover */

.goal-card:hover{
    transform:translateY(-6px);

    border-color:#bfdbfe;

    box-shadow:
    0 25px 50px rgba(37,99,235,.10);
}

/* icon */

.goal-icon{
    width:58px;
    height:58px;

    min-width:58px;

    border-radius:18px;

    font-size:24px;
}

/* title */

.goal-content h4{
    font-size:17px;
    margin-bottom:6px;
    line-height:1.3;
}

.goal-content p{
    margin:0;
    line-height:1.7;
    font-size:14px;
}

/* button */

.about-actions{
    margin-top:40px;
}

/* =========================================================
   IMAGE SIDE
========================================================= */

.about-image-wrapper{
    position:relative;
    padding-left:40px;
}

/* image */

.about-main-image{
    width:100%;
    height:750px;

    object-fit:contain;
    object-position:center;

    border-radius:35px;

    position:relative;
    z-index:2;

    box-shadow:
    0 30px 70px rgba(15,23,42,.18);

    background:#fff;
}
/* =========================================================
   IMAGE HOVER EFFECT
========================================================= */

.about-image-wrapper{
    position: relative;
    overflow: hidden;
    border-radius: 35px;
}

/* image */

.about-main-image{
    width:100%;
    height:750px;

    object-fit:contain;
    object-position:center;

    border-radius:35px;

    position:relative;
    z-index:2;

    background:#fff;

    transition:
      transform .6s ease,
      filter .6s ease,
      box-shadow .6s ease;
}

/* overlay glow */

.about-image-wrapper::before{
    content:"";

    position:absolute;
    inset:0;

    background:
      linear-gradient(
        135deg,
        rgba(37,99,235,.15),
        rgba(96,165,250,.08)
      );

    opacity:0;

    z-index:3;

    transition:.5s ease;

    border-radius:35px;
}

/* hover effect */

.about-image-wrapper:hover .about-main-image{

    transform: scale(1.05) rotate(-1deg);

    filter:
      brightness(1.05)
      contrast(1.05);

    box-shadow:
      0 40px 80px rgba(37,99,235,.25);
}

/* show overlay */

.about-image-wrapper:hover::before{
    opacity:1;
}
.about-image-wrapper:hover .about-main-image{
    transform:
      perspective(1200px)
      rotateY(-6deg)
      rotateX(2deg)
      scale(1.04);
}
/* glow animate */

.about-image-wrapper:hover .about-glow{
    opacity:.35;
    transform:translateY(-50%) scale(1.1);
}
.about-image-wrapper::after{
    content:"";

    position:absolute;
    top:0;
    left:-120%;

    width:60%;
    height:100%;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
      );

    transform:skewX(-25deg);

    z-index:4;
}

.about-image-wrapper:hover::after{
    left:140%;
    transition:1s ease;
}
/* floating card */

.floating-card{
    position:absolute;

    background:#fff;

    padding:22px 28px;

    border-radius:22px;

    box-shadow:
    0 25px 50px rgba(15,23,42,.12);

    z-index:5;
}



/* positions */

.card-1{
    top:40px;
    left:0;
}

.card-2{
    bottom:40px;
    right:-20px;
}

/* glow */

.about-glow{
    position:absolute;

    width:350px;
    height:350px;

    background:#60a5fa;

    filter:blur(140px);

    opacity:.20;

    right:0;
    top:50%;

    transform:translateY(-50%);
}

/* =========================================================
   MOBILE
========================================================= */
@media(max-width:991px){

    .about-main-image{
        height:500px;
    }

}
@media(max-width:991px){

    .about-title{
        font-size:40px;
    }

    .about-image-wrapper{
        padding-left:0;
        margin-top:50px;
    }

    .card-1,
    .card-2{
        position:relative;
        left:auto;
        right:auto;
        top:auto;
        bottom:auto;

        margin-top:20px;
    }
}

@media(max-width:576px){

    .about-title{
        font-size:34px;
    }

    .goal-card{
        flex-direction:column;
    }

    .goal-icon{
        width:65px;
        height:65px;
        min-width:65px;
    }
}
/* =========================================
   FIX ABOUT SECTION SPACING
========================================= */

#home-about{
    padding-top: 20px !important;
    margin-top: -10px;
}

/* desktop */
@media(min-width:992px){

    #home-about{
        padding-top: 10px !important;
        margin-top: -10px;
    }

}

/* mobile */
@media(max-width:768px){

    #home-about{
        margin-top: 0;
        padding-top: 40px !important;
    }

}