/* Import Kanit Font */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;500;600&display=swap');

/********** Template CSS **********/
:root {
    --primary: #00a4d6;
    --secondary: #777777;
    --light: #cffcff;
    --dark: #252525;
}

/* Apply Kanit font to body */
body {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}

/* Adjust heading weights */
h1, h2, h3, h4, h5, h6,
.navbar .navbar-nav .nav-link,
.btn,
.section-title {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
}

/* Lighter weight for some elements */
.footer .btn.btn-link,
.footer .copyright,
.text-secondary {
    font-weight: 200;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar {
    background-color: #2cb4dd !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #00101b !important;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-brand {
    color: #00101b !important;
}

.navbar-toggler {
    border-color: #00101b !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-item.dropdown.active > .nav-link {
    font-weight: bold;
}

.dropdown-item.active {
    background-color: #003249;
    color: white;
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #b8d1db;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #33beff !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.5s;
}

.position-relative:hover .overlay {
    opacity: 1;
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.navbar-nav .nav-link.border {
    opacity: 0.9;
}

.navbar-nav .nav-link.border:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    opacity: 1;
}

.form-control:focus {
    border-color: #35addc;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* เพิ่ม CSS สำหรับ hover effect ของปุ่ม */
.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2) !important;
}

.dropdown-menu {
    background-color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.text-danger:hover {
    background-color: #dc3545;
    color: white !important;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
}

.dropdown-menu {
    margin-top: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.text-danger:hover {
    background-color: #dc3545;
    color: white !important;
}

.service-item {
    background: #FFFFFF;
    transition: .5s;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .12);
}

.service-item .btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.service-item:hover .btn-square {
    background: var(--primary);
}

.service-item:hover .btn-square i {
    color: #FFFFFF;
}

.btn-primary {
    transition: .5s;
}

.btn-primary:hover {
    transform: translateX(5px);
}

.service-item {
    background: #FFFFFF;
    transition: .5s;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .12);
}

.btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.service-item:hover .btn-primary {
    background: var(--primary);
    transform: translateX(5px);
}

.service-item .btn-primary {
    transition: .5s;
}

.service-item {
    background: #FFFFFF;
    transition: .5s;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    min-height: 320px; /* กำหนดความสูงขั้นต่ำ */
    overflow: hidden; /* ป้องกันเนื้อหาล้น */
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .12);
}

.service-text {
    height: 100%;
    position: relative;
}

.btn-wrapper {
    bottom: 0;
    width: 100%;
    padding-bottom: 1rem;
}

.btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .btn-primary {
    transition: .3s;
}

.service-item:hover .btn-primary {
    transform: translateX(5px);
}

.service-item {
    background: #FFFFFF;
    transition: .5s;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    min-height: 320px;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .12);
}

.service-text {
    height: 100%;
    position: relative;
}

.btn-wrapper {
    bottom: 0;
    width: 100%;
    padding-bottom: 1rem;
}

.btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .btn-primary {
    transition: .3s;
}

.service-item:hover .btn-primary {
    transform: translateX(5px);
}

.hover-shadow {
    transition: all 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-square:hover {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-overlay .btn {
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.service-item:hover .service-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}


/* Activity Card Styles */
.activity-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    background: white;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

/* Image Container */
.activity-card img {
    transition: all 0.3s ease;
}

.activity-card:hover img {
    transform: scale(1.05);
}

/* Text Styles */
.activity-card h6 {
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card p {
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

/* Button Hover Effect */
.hover-shadow:hover {
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
    transform: translateX(5px);
}

/* Vision Card */
.vision-card {
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
}

.vision-card .vision-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 10px;
}

/* Other Cards */
.mission-card, .objectives-card, .strategy-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.mission-card:hover, .objectives-card:hover, .strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* List Items */
.mission-item, .objective-item, .strategy-item {
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mission-item:hover, .objective-item:hover, .strategy-item:hover {
    background: rgba(220, 53, 69, 0.05);
}

/* Icons */
.fa-check-circle, .fa-dot-circle, .fa-star {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .vision-card .vision-text {
        font-size: 1.2rem;
    }
    
    .mission-item p, .objective-item p, .strategy-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .col-lg-4 {
        margin-bottom: 1rem;
    }
}

/* Information Card Styles */
.info-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.info-card .card-header {
    border-bottom: none;
}

.info-card .icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Link List Styles */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.info-link:hover {
    background: #fff;
    border-color: #dc3545;
    color: #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.1);
}

.link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
}

.link-content span {
    font-size: 1rem;
}

.link-content small {
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .info-card .card-header {
        padding: 15px;
    }
    
    .info-card .card-body {
        padding: 15px;
    }
    
    .info-link {
        padding: 12px;
    }
    
    .link-content span {
        font-size: 0.9rem;
    }
    
    .link-content small {
        font-size: 0.75rem;
    }
}

/* Card Header Styles */
.info-card .card-header .icon-wrapper {
    width: 45px;
    height: 45px;
    min-width: 45px; /* เพิ่มเพื่อป้องกันการบีบ */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Link Styles */
.info-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.link-icon {
    width: 40px;
    height: 40px;
    min-width: 40px; /* เพิ่มเพื่อป้องกันการบีบ */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    margin-right: 16px; /* ปรับระยะห่างให้เท่ากัน */
}

.link-content {
    flex-grow: 1;
    padding-right: 16px; /* เพิ่มระยะห่างจากลูกศร */
}

.info-link i.fa-arrow-right {
    width: 20px; /* กำหนดความกว้างคงที่ */
    text-align: center;
}

/* ปรับขนาดตัวอักษร */
.link-content span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.link-content small {
    font-size: 0.8rem;
    display: block;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .info-link {
        padding: 10px 12px;
    }
    
    .link-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
}

/* ITA Card Styles */
.ita-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
}

.ita-card:hover {
    transform: translateY(-5px);
    color: inherit;
}

.ita-card .card-body {
    background: #fff;
    border: 1px solid rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ita-card:hover .card-body {
    border-color: #dc3545;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.1);
}

.ita-card .icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ita-card:hover .icon-wrapper {
    background: #dc3545;
}

.ita-card:hover .icon-wrapper i {
    color: white !important;
}

.ita-card .content-wrapper {
    flex-grow: 1;
}

.ita-card .arrow-wrapper {
    width: 24px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ita-card:hover .arrow-wrapper {
    opacity: 1;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .ita-card .card-body {
        padding: 20px;
    }
    
    .ita-card .icon-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .ita-card .icon-wrapper i {
        font-size: 1.5em;
    }
}

/* ITA Card Styles */
.ita-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all 0.3s ease;
}

.ita-card .card-body {
    min-height: 320px;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.ita-card:hover {
    color: inherit;
}

.ita-card:hover .card-body {
    border-color: #dc3545;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.1);
    transform: translateY(-5px);
}

.ita-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.ita-card:hover .icon-wrapper {
    background: #dc3545;
}

.ita-card:hover .icon-wrapper i {
    color: white !important;
}

.ita-card .content-wrapper {
    max-width: 280px;
    width: 100%;
}

.ita-card .btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.ita-card:hover .btn {
    background: #dc3545;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .ita-card .card-body {
        min-height: 280px;
        padding: 20px;
    }
    
    .ita-card .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .ita-card .content-wrapper {
        max-width: 240px;
    }
}
.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .description-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.icon-hover {
    transition: transform 0.3s ease;
}
a:hover .icon-hover {
    transform: scale(1.1);
}
.icon-color-change {
    transition: color 0.3s ease;
}
a:hover .icon-color-change {
    color: #002a47 !important; /* สีน้ำตาล */
}
