
/* Custom Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'sarabun', sans-serif;
    background-color: #f8f9fa;
    font-size: 1rem;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'srinakharinwirot', sans-serif;
    font-size: 1.2rem;
}
.badge{
    font-family: 'sarabun', sans-serif;
    font-size: 12px;
}

.navbar {
    transition: background-color 0.3s ease-in-out;
    background-color: #073856;
}
.navbar-brand{
    font-family: 'srinakharinwirot', sans-serif;
    font-size: 2rem;
}
.nav-link{
    font-family: 'srinakharinwirot', sans-serif;
	font-size: 1.2rem;
}

.banner-top {
    margin: 0;
    background: url('../../images/banner-top.jpg') center/cover no-repeat;
    height: 95vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
	margin-top:70px;
}

section {
    padding: 40px 0;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Make cards in a row equal height */
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-form {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.footer {
    background: linear-gradient(rgba(99, 100, 102, 1), rgba(99, 100, 102, 1)), url('') center/cover no-repeat;
    color: #ffffff;
    padding: 30px 0;
    position: relative;
}
.footer a{
    color: #fff;
    padding-right: 5px;

}

/* Floating Icon Styles */
#floatingIcon1 {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 210px;
    height: 366px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}
#floatingIcon2 {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 256px;
    height: 240px;
    z-index: 1000;
    animation: float 6s ease-in-out infinite;
}
#floatingIcon3 {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 210px;
    height: 350px;
    z-index: 1000;
    animation: float 6s ease-in-out infinite;
}
#floatingIcon4 {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 170px;
    height: 270px;
    z-index: 1000;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.logo {
    width: 180px;
}

@media (max-width: 1200px) {
    #floatingIcon1 {
        width: 64px;
        height: 105.5px;
        left: 20px;
        bottom: 20px;
    }
    #floatingIcon2 {
        width: 64px;
        height: 60px;
        right: 20px;
        top: 140px;
    }
    .banner-top{
        height: 25vh;
		margin-top: 72px; 
    }
	#floatingIcon3 {
        width: 64px;
        height: 101px;
        right: 20px;
        bottom: 100px;
    }
    #floatingIcon4 {
        width: 64px;
        height: 101px;
        right: 20px;
        bottom: 100px;
    }
    .logo {
        width: 120px;
    }
}

/* Back to Top Button Styles */
#toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border: none;
    outline: none;
    background-color: #DA2128;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
}

#toTopBtn:hover {
    background-color: #DA2128;
}
.carousel-indicators img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
}

.carousel-indicators .active img {
    opacity: 1;
    border: 2px solid #0d6efd;
}

.bg-teal {
    background-color: #6fa7c0 !important;
    color: white;
}
.spacegap4{
    margin-top: 4rem;
}
.spacegap2{
    margin-top: 2rem;
}
.spacegap1{
    margin-top: 1rem;
}
.indent-left{
    margin-left: 20px;
}
.text-swu-red{
    color: #DA2128;
}
.text-swu-grey{
    color: #636466;
}
.text-theme1{
    color: #e01f27;
}
.text-theme2{
    color: #bd2026;
}
.text-theme3{
    color: #8c191c;
}
.text-theme4{
    color: #70a7c0;
}
.text-teal{
    color: #083857;
}
.workshop-form {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.bg-swured{
    background-color: #DA2128;
}
.bg-swugrey{
    background-color: #636466;
}
.bg-theme1{
    background-color: #e01f27;
}
.bg-theme2{
    background-color: #bd2026;
}
.bg-theme3{
    background-color: #8c191c;
}
.bg-theme4{
    background-color: #70a7c0;
}
.bg-teal{
    background-color: #083857;
}
