/* Import ฟอนต์ที่ดูทันสมัยและเป็นทางการมากขึ้น */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600&family=Montserrat:wght@700;800&display=swap');

:root {
    --primary: #0a2351;
    /* Deep Navy (เข้มขึ้นเพื่อให้ดูหรู) */
    --accent: #d4af37;
    /* Metallic Gold */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
}

/* --- Navigation --- */
header {
    background: var(--primary);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 1px;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

/* --- Slider Section (ตัวแก้ดีไซน์ใหม่) --- */
.slider-container {
    max-width: 1200px;
    height: 500px;
    /* เพิ่มความสูง */
    margin: 40px auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide-overlay h3 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.slide-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
}

/* --- Icon Cards Section (ทำให้ดูแพงขึ้น) --- */
.icons-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.icon-card {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
}

.icon-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.icon-card span {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.icon-card strong {
    color: var(--primary);
    font-size: 1rem;
}