
/* Custom CSS Styles */
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6,  {
    font-family: 'prompt', sans-serif;
}

body {
    font-family: 'Prompt', sans-serif;
}
.hero-card {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}
.hero-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-card:hover {
    transform: scale(1.02);
}
.hero-card > * {
    position: relative;
    z-index: 2;
}
.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
.btn-outline-white:hover {
    background-color: white;
    color: #9c9c9c;
}

.btn-outline-white:focus-visible {
    outline: 3px solid #9c9c9c; 
    outline-offset: 2px; 
}
a:focus-visible, button:focus-visible { 
    outline: 3px solid #9c9c9c; 
    outline-offset: 2px; 
}

.gemini-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #48819f; /* Updated color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.active-nav-link {
    font-weight: 700; /* ตัวหนา */
    color: #ffffff !important; /* สีขาว (สำคัญกว่าสีเทา) */
    text-decoration: underline; /* ขีดเส้นใต้ */
    text-underline-offset: 4px; /* ระยะห่างเส้นใต้ */
}

.bg-maxxma-orange {
    background-color: #d99435; /* Updated color from image */
}
.bg-maxxma-yellow {
        background-color: #e9c34c; /* Updated color from image */
}
.bg-maxxma-dark-yellow {
    background-color: #f4bb1e; /* Updated color from image */
}

.bg-maxxma-light-gray {
    background-color: #e3e3e3; /* Updated color from image */
}
.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem; /* space-y-3 */
}
.text-maxxma {color: #89802f; }

