*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-weight: bold;
}
        nav{
            background-color: #101856;
            z-index: 1;
            position: relative;
            position: fixed;
            top: 0;
            width: 100%;
            display: flex;
            height: 80px;
            justify-content:space-around;
            align-items: center;
            border-bottom: #ffffff 5px ridge ;
             
            
        }
        .logo img{
            width: 100px;
            height: 100px;
        }
        .menu{
            list-style: none;
            display: flex;
            margin-right: 20px;
            gap: 20px;
            margin-top: 20px;
            li{
                font-weight: bold;
                
            }
            a{
                text-decoration: none;
                color: rgb(255, 255, 255);
                font-family: 'Phetsarath OT';
                font-size: 15px;

            }

        }
        .menu a:hover{
         color: #0300c5;
         border-bottom: 2px solid #0300c5;

        }
        .icons{
            display: flex;
            gap: 20px;
            margin-right: 20px;
        }
        .icons a img{
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: rgba(136, 136, 136, 0.493);
            padding: 5px;
        }
        .icons a img:hover{
            background-color:#6690ff;
        }
        .aie{
            background-image: url(img/a1.jpg);
            background-position: center;
            background-size: contain;
            background-size:cover ;
            width: 100%;
            height: 450px;
            font-family: 'Phetsarath OT';
             margin-top: 80px;
        }
        .aie h1{
            font-size: 40px;
            font-weight: bold;
            color:#ffffff;
           
            
        }
        .box-p{
            background-color: #101856;
            text-align: center;
            align-items: center;
        }
        .box-p h1{
            padding: 15px;
        }
        .aie-1{
            margin-top: 180px;
            font-family: 'Phetsarath OT';
            display: flex;
            justify-content: space-around;

        }
        .aie-1 h1{
           color: #0c0e81; 
           font-weight: bold;
        }
        .aie-1 p{
            width: 450px;
            color: #0c0e81; 
            font-weight: bold;       

        }

         .content-1{
            display: grid;
            grid-template-columns: repeat(3,1fr);
            width: 100%;
            height: 600px;
            background-color: rgb(30, 9, 150);
            padding: 60px;
            padding-left: 70px;
            font-family: 'Phetsarath OT';
            border-radius: 500px 900px 800px 0px ;
            border-top: 30px ridge blue;
            
        
        }
        .box-2{
            width: 390px;
            height: 220px;
            background-color:rgb(154, 215, 255) ;
            border-radius: 10px;
            grid-template-rows: auto;
            justify-content: center;
            font-weight: bold;
            
            
        }
        .box-3{
            width: 85%;
            height: 220px;
            border-radius: 10px;
            background-color: rgb(154, 215, 255);
            border-radius: 0px 200px 0px 0px;
            padding: 10px;

        }
        .content-1 .box-3 h1{
            font-size: 50px;
            padding-top: 20px;
            font-weight: bold;

        }
        .content-1 .box-3 p{
            width: 290px;
            text-align: left;
            margin-top: 40px;

        }
        .box-3 img{
            width: 70px;
            height: 70px;
        }

        .content-3{
            width: 100%;
            height: 870px;
            margin-top: -50px;
            display: flex;
            align-items: center;;
            font-family: 'Phetsarath OT';
            font-weight: bold;
            border-radius: 0px 900px 0px 0px ;
            border-top: 60px ridge blue;
            border-bottom: 50px ridge blue;
        

        }
        .box-2:hover{
         transform: scale(1.1);
         transition: all 0.5s ease-in-out;
         
    
        }

          .content-3{
            width: 100%;
            height: 870px;
            margin-top: -50px;
            display: flex;
            align-items: center;;
        }
        .box-2:hover{
         transform: scale(1.1);
         transition: all 0.5s ease-in-out;
         
    
        }

        .box-4{
            background-color: rgba(61, 61, 50, 0);
            width: 60%; 
            height: 600px;
            
            
        }
        .box-4 h1{
            font-size: 40px;
            margin-top: -20px;
            font-weight: bold;
            margin-left: 50px;
        }
        .box-4 h2{
            font-family:'Phetsarath OT' ;
            margin-left: 30px;
            font-weight: bold;
        }
        .box-5{
            background-color: rgba(245, 245, 220, 0);
            width: 40%; 
            height: 600px;
            margin-left: 110px;
            
        }
        .box-5 img{
            width: 400px;
            height: 200px;
            margin: 10px;
            box-shadow: #08068a 10px 10px 0px ;

        }
        .box-5 img:hover{
         transform: scale(1.1);
         transition: all 0.5s ease-in-out;
         
    
        }

         .content-4{
            height: 600px;
            width: 100%;
            background-color: #ffffff;
            margin-top: -1px;
            border-bottom: 50px ridge blue;
            border-radius: 0px 900px 555px 0px ;

            
        }
        .box-6{
            
            width:100% ;
            height: 200px;
            padding-left: 25px;
            background-color: rgba(210, 105, 30, 0);
            display: flex;
            justify-content: space-around;

            
        }
        .box-7{
            width: 350px;
            height: 400px;
            background-color:  #101856;
            border-radius: 20px;
            text-align: center;
            color: #ffffff;
            border-bottom: #0c0e81 10px ridge;
            box-shadow: #929292 10px 10px 10px;
            font-family:'Phetsarath OT' ;
        }
        .box-7 h3{
            margin: 5px;
        }
        .box-7 p{
            margin: 5px;
            width: 330px;
            text-align: center;
        }
        .box-7 img{
            width: 350px ;
            height: 230px;
            box-shadow: inset;
            border-radius:20px 20px 0px 0px ;
        }
 

        .box-7 img:hover{
         transform: scale(1.3);
         transition: all 0.5s ease-in-out;
        }

        .ctt{
           font-family:'Phetsarath OT' ;
            height: 300px;
            border-radius: 0px 900px 555px 0px ;
            border-bottom: #0c0e81 10px ridge;
        }
        
        .ctt h2{
            text-align: center;
            font-weight: bold;
            margin-top: 70px;
            color: #101856;
            
        }

        .ctt1{
            display: flex;
            justify-content: center;
            text-align: center;
            margin-top: 100px;

            
        }
        
        .ctt2{
            width: 300px;
            height: 100px;
            background-color: #5d5d6400;
        }
        .ctt2 h1{
            font-weight: bold;
            font-size: 70px;
            color: #08068a;
        }
        .ctt2 p{
            font-weight: bold;
            color: #666;
        }
        .kll{
            display: flex;
            padding-top: 100px;
            justify-content: space-around;
            font-family:'Phetsarath OT' ;
            font-weight: bold;

        }
        .kll1 img {
            width: 350px ;
            height: 500px;
            border-radius: 20px;
            box-shadow: #ffffff 10px 10px 10px ;
            border-right: #0c0e81 ridge 20px;

        }

        footer{
            width: 100%;
            height: 400px;
            background-color: #101856;
            position: relative;

        }
        .box-9{
            display: flex;
            background-color: #4ddbdb00;
            width: 100%;
            height: 400px;
            justify-content: space-between;
            padding-right: 100px;

        }
        .box-10{
            width: 300px;
            height: 300px;
            
        }
        .box-10 img{
            width: 150px;
            height: 150px;
            margin-left: 105px;
        }
        .box-10 p{
            width: 300px;
            margin-left: 50px;
            color: #fff;
            margin-top: -20px;
            font-family:'Phetsarath OT' ;

        }
        .box-11{
            font-family:'Phetsarath OT' ;
            margin-top: 50px;
            color: #fff;
            font-size: 18px;
            margin-right: 50px;
            
        }
        .box-12{
            font-family:'Phetsarath OT' ;
            margin-top: 50px;
            margin-right: 10px;
            color: #fff;
            font-size: 18px;
        }
        .box-13{
            display: flex;
            justify-content: space-between;
        }
        .box-14{
            font-size: 20px;
            color: rgb(255, 255, 255);
            margin-left: 40px;
            margin-top: -130px;
            font-family:'Phetsarath OT' ;

        }
        .box-15{
            margin-right: 100px;
            margin-top: -90px;
        }
        .box-15 img{
            width: 45px;
            height: 45px;
            background-color: #57575794;border-radius: 50%;
            padding: 5px;
        }
        .footer-1{
            width: 100%;
            height: 50px;
            background-color: #101856;
            position: relative;
            align-items: center;
            display: flex;
            justify-content: space-between;
            padding-right: 100px;
            font-family:'Phetsarath OT' ;
            padding-left: 40px;
            color: #ffffff;
        }
        .footer-1 a{
                color: #ffffff;
            }




@media screen and (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    nav {
        height: auto;
        min-height: 70px;
        padding: 10px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
    }
    
    .menu {
        gap: 12px;
        margin: 5px 0;
    }
    
    .menu a {
        font-size: 13px;
    }
    
    .icons {
        gap: 15px;
        margin: 5px 0;
    }
    
    .aie {
        height: 350px;
        margin-top: 100px;
    }
    
    .aie h1 {
        font-size: 32px;
    }
    
    .aie-1 {
        flex-direction: column;
        align-items: center;
        margin-top: 80px;
        padding: 20px;
        text-align: center;
    }
    
    .aie-1 p {
        width: 90%;
        max-width: 600px;
    }
    
    .content-1 {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        padding: 40px 25px;
        gap: 20px;
        border-radius: 250px 400px 350px 0px;
    }
    
    .box-2 {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .box-3 {
        width: 100%;
    }
    
    .content-3 {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        border-radius: 0px 600px 0px 0px;
    }
    
    .box-4 {
        width: 100%;
        height: auto;
        padding: 20px;
        text-align: center;
    }
    
    .box-4 h1 {
        font-size: 32px;
        margin-left: 0;
    }
    
    .box-4 h2 {
        margin-left: 0;
    }
    
    .box-5 {
        width: 100%;
        height: auto;
        margin-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .box-5 img {
        width: 45%;
        min-width: 280px;
        height: auto;
    }
    
    .content-4 {
        height: auto;
        padding-bottom: 40px;
        border-radius: 0px 600px 400px 0px;
    }
    
    .box-6 {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        gap: 25px;
        padding: 30px 15px;
    }
    
    .box-7 {
        width: 45%;
        min-width: 300px;
        max-width: 350px;
        margin: 10px;
    }
    
    .box-7 p {
        width: 90%;
        margin: 5px auto;
    }
    
    .box-7 img {
        width: 100%;
    }
    
    .ctt {
        height: auto;
        padding: 30px 15px;
        border-radius: 0px 600px 400px 0px;
    }
    
    .ctt h2 {
        margin-top: 40px;
    }
    
    .ctt1 {
        flex-wrap: wrap;
        margin-top: 50px;
        gap: 30px;
    }
    
    .ctt2 {
        width: 45%;
        min-width: 250px;
    }
    
    .ctt2 h1 {
        font-size: 60px;
    }
    
    .kll {
        flex-wrap: wrap;
        padding: 60px 20px;
        justify-content: center;
        gap: 30px;
    }
    
    .kll1 img {
        width: 45%;
        min-width: 280px;
        max-width: 350px;
        height: auto;
    }
    
    footer {
        height: auto;
    }
    
    .box-9 {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }
    
    .box-10 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .box-10 img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .box-10 p {
        width: 100%;
        margin-left: 0;
        padding: 0 20px;
    }
    
    .box-11, .box-12 {
        margin: 15px 0;
        width: 100%;
    }
    
    .box-14 {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }
    
    .box-15 {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }
    
    .footer-1 {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
        gap: 12px;
    }
}

@media screen and (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        -webkit-text-size-adjust: 100%;
    }
    
    nav {
        height: auto;
        min-height: 60px;
        flex-direction: column;
        padding: 8px 5px;
        gap: 6px;
        width: 100%;
    }
    
    .logo {
        width: 100%;
        text-align: center;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .menu {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px 10px;
        margin: 5px 0;
    }
    
    .menu li {
        margin: 0;
    }
    
    .menu a {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .icons {
        width: 100%;
        justify-content: center;
        gap: 10px;
        margin: 5px 0;
    }
    
    .icons a img {
        width: 24px;
        height: 24px;
    }
    
    .aie {
        width: 100%;
        height: 250px;
        margin-top: 120px;
        background-position: center center;
        background-size: cover;
    }
    
    .aie h1 {
        font-size: 22px;
        padding: 8px;
    }
    
    .box-p {
        width: 100%;
    }
    
    .box-p h1 {
        padding: 10px;
        font-size: 20px;
    }
    
    .aie-1 {
        width: 100%;
        margin-top: 40px;
        padding: 15px;
        gap: 15px;
    }
    
    .aie-1 h1 {
        font-size: 20px;
        width: 100%;
    }
    
    .aie-1 p {
        width: 100%;
        font-size: 14px;
        padding: 0 10px;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .content-1 {
        width: 100%;
        grid-template-columns: 1fr;
        height: auto;
        padding: 25px 12px;
        gap: 15px;
        border-radius: 100px 150px 120px 0px;
        border-top: 15px ridge blue;
    }
    
    .box-2 {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
        margin: 8px 0;
    }
    
    .box-3 {
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 12px;
        border-radius: 0px 80px 0px 0px;
    }
    
    .content-1 .box-3 h1 {
        font-size: 32px;
        padding-top: 12px;
    }
    
    .content-1 .box-3 p {
        width: 100%;
        font-size: 13px;
        margin-top: 20px;
        padding: 0 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .box-3 img {
        width: 45px;
        height: 45px;
    }
    
    .content-3 {
        width: 100%;
        height: auto;
        margin-top: -30px;
        padding: 25px 12px;
        border-radius: 0px 300px 0px 0px;
        border-top: 25px ridge blue;
        border-bottom: 25px ridge blue;
    }
    
    .box-4 {
        width: 100%;
        height: auto;
        padding: 15px 10px;
    }
    
    .box-4 h1 {
        font-size: 22px;
        margin: 10px 0;
    }
    
    .box-4 h2 {
        font-size: 15px;
        margin: 8px 0;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .box-5 {
        width: 100%;
        height: auto;
        margin-left: 0;
        padding: 15px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .box-5 img {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 8px 0;
        box-shadow: #08068a 5px 5px 0px;
    }
    
    .content-4 {
        width: 100%;
        height: auto;
        padding: 20px 10px 30px;
        border-radius: 0px 300px 200px 0px;
        border-bottom: 25px ridge blue;
    }
    
    .box-6 {
        width: 100%;
        height: auto;
        padding: 20px 10px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .box-7 {
        width: 100%;
        max-width: 340px;
        height: auto;
        margin: 12px 0;
    }
    
    .box-7 h3 {
        font-size: 16px;
        margin: 8px;
    }
    
    .box-7 p {
        width: 95%;
        font-size: 13px;
        margin: 8px auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .box-7 img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
    
    .ctt {
        width: 100%;
        height: auto;
        padding: 25px 12px;
        border-radius: 0px 300px 200px 0px;
        border-bottom: 8px ridge #0c0e81;
    }
    
    .ctt h2 {
        margin-top: 25px;
        font-size: 18px;
        padding: 0 10px;
    }
    
    .ctt1 {
        width: 100%;
        flex-direction: column;
        margin-top: 35px;
        gap: 25px;
        padding: 0 10px;
    }
    
    .ctt2 {
        width: 100%;
        height: auto;
        padding: 15px;
    }
    
    .ctt2 h1 {
        font-size: 45px;
    }
    
    .ctt2 p {
        font-size: 14px;
        margin-top: 8px;
    }
    
    .kll {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 40px 12px;
        gap: 25px;
    }
    
    .kll1 {
        width: 100%;
        text-align: center;
    }
    
    .kll1 img {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 12px 0;
        border-right: #0c0e81 ridge 12px;
    }
    
    footer {
        width: 100%;
        height: auto;
    }
    
    .box-9 {
        width: 100%;
        flex-direction: column;
        height: auto;
        padding: 25px 15px;
        align-items: center;
    }
    
    .box-10 {
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .box-10 img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .box-10 p {
        width: 100%;
        max-width: 320px;
        margin: 10px auto 0;
        font-size: 14px;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .box-11 {
        width: 100%;
        margin: 15px 0;
        font-size: 15px;
        text-align: center;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    .box-12 {
        width: 100%;
        margin: 15px 0;
        font-size: 15px;
        text-align: center;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    .box-13 {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .box-14 {
        width: 100%;
        font-size: 15px;
        margin: 20px 0;
        text-align: center;
        padding: 0 10px;
    }
    
    .box-15 {
        width: 100%;
        margin: 15px 0;
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .box-15 img {
        width: 38px;
        height: 38px;
    }
    
    .footer-1 {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 15px 10px;
        gap: 10px;
        font-size: 13px;
        line-height: 1.5;
    }
}

/* สำหรับ Mobile ขนาดเล็กมาก (สูงสุด 480px) */
@media screen and (max-width: 480px) {
    .aie {
        height: 220px;
        margin-top: 100px;
    }
    
    .aie h1 {
        font-size: 18px;
    }
    
    .box-p h1 {
        font-size: 18px;
        padding: 8px;
    }
    
    .aie-1 h1 {
        font-size: 18px;
    }
    
    .aie-1 p {
        font-size: 13px;
    }
    
    .content-1 {
        padding: 20px 10px;
        border-radius: 80px 120px 100px 0px;
        border-top: 12px ridge blue;
    }
    
    .content-1 .box-3 h1 {
        font-size: 28px;
    }
    
    .content-1 .box-3 p {
        font-size: 12px;
    }
    
    .box-4 h1 {
        font-size: 20px;
    }
    
    .box-4 h2 {
        font-size: 14px;
    }
    
    .box-5 img {
        max-width: 280px;
    }
    
    .box-7 {
        max-width: 300px;
    }
    
    .box-7 h3 {
        font-size: 15px;
    }
    
    .box-7 p {
        font-size: 12px;
    }
}