﻿/* การตั้งค่าพื้นฐาน */
:root {
    --primary-blue: #003366; /* น้ำเงินเข้ม */
    --light-blue: #00AEEF;    /* ฟ้าสว่าง */
    --ice-blue: #F0F8FF;     /* ฟ้าอ่อนมาก */
    --white: #ffffff;
    --text-dark: #333333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Prompt', sans-serif; line-height: 1.6; color: var(--text-dark); background-color: var(--ice-blue); }

/* Navigation */
nav { background: var(--primary-blue); color: white; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; sticky: top; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.logo { font-size: 1.5rem; font-weight: bold; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 20px; }
nav ul li a { color: white; text-decoration: none; transition: 0.3s; font-weight: 300; }
nav ul li a:hover { color: var(--light-blue); }

/* Hero Section */
.hero { background: linear-gradient(rgba(0,51,102,0.7), rgba(0,51,102,0.7)), url('bg03.jpg'); background-size: cover; background-position: center; color: white; padding: 100px 5%; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.btn-call { background: var(--light-blue); color: white; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-size: 1.2rem; display: inline-block; margin-top: 20px; font-weight: bold; animation: pulse 2s infinite; }

/* Content Section */
.container { padding: 50px 5%; max-width: 1200px; margin: auto; background: white; }
h2 { color: var(--primary-blue); margin-bottom: 20px; border-left: 5px solid var(--light-blue); padding-left: 15px; }

/* Grid System */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.card { padding: 25px; border: 1px solid #eee; border-radius: 10px; transition: 0.3s; background: var(--white); text-align: center; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--light-blue); }

/* Table for Pricing */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th { background: var(--primary-blue); color: white; padding: 15px; text-align: left; }
td { padding: 15px; border-bottom: 1px solid #ddd; }

/* Footer */
footer { background: var(--primary-blue); color: white; text-align: center; padding: 40px 5%; margin-top: 50px; }

/* Responsive */
@media (max-width: 768px) {
    nav { flex-direction: column; }
    nav ul { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 5px 10px; }
    .hero h1 { font-size: 1.8rem; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}