/*-- Use For Custom Styling --*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

p {
    font-weight: 500;
}

h1,
.h1 {
    font-size: 3.5rem;
}

@media screen and (max-width: 991px) {
    #home {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }
}

.font-weight-700 {
    font-weight: 700 !important;
}

.font-weight-800 {
    font-weight: 800 !important;
}

.font-weight-900 {
    font-weight: 900 !important;
}

.text-blue {
    color: #0d6efd !important;
}

.img-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

/* Enhanced Navbar */
.navbar-top-default {
    background: rgba(13, 110, 253, 0.05) !important;
    /* Subtle brand blue tint */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
    transition: all 0.3s ease !important;
}

/* Maintain style on scroll */
.header-appear .navbar-top-default {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(13, 110, 253, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Refined Nav Links */
.navbar-top-default .navbar-nav .nav-link {
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    position: relative;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: #28a745 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    text-decoration: none !important;
    border: none;
    outline: none;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #218838 !important;
}

.scroll-top-btn i {
    font-size: 24px;
}

@media screen and (max-width: 767px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .scroll-top-btn i {
        font-size: 20px;
    }
}

/* Contact Section Custom Design */
.contact-section-custom {
    background: linear-gradient(135deg, #0b0f19 0%, #111827 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
}

.contact-section-custom::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.contact-section-custom::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 123, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.contact-info-icon {
    background: rgba(13, 110, 253, 0.1) !important;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: rgba(13, 110, 253, 0.2) !important;
    transform: scale(1.1);
}

.contact-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    height: auto !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.contact-input:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.25) !important;
    outline: none !important;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}