/* 🔥 Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* 🎨 Body */
body {
    background-color: #ffffff;
    color: rgb(255, 255, 255);
}

/* 🔝 Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #111;
    border-bottom: 2px solid #ffffff;
}
.logo {
    font-size: 22px;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

/* 🔥 Hover เป็นสีแดง */
nav a:hover {
    color: #ff0000;
}

/* ✨ เส้นใต้เท่ๆ */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #ff0000;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

/* 🔴 ตอน hover เส้นวิ่ง */
nav a:hover::after {
    width: 100%;
}

/* 🔥 Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(90deg,#001f3f,#8b0000);
}

.gradient-text {
    background: linear-gradient(90deg, #ff0000, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ⚙️ Services */
.services-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px;
    gap: 25px;
}

.service-card {
    background: #1a1a1a;
    padding: 25px;
    width: 280px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    border: 1px solid red;
}

.service-card h2 {
    margin-bottom: 10px;
}

.service-card p {
    color: #aaa;
    margin-bottom: 10px;
}

.service-card ul {
    padding-left: 20px;
}

/* ⭐ Why */
.why {
    text-align: center;
    padding: 50px;
}

.why-box p {
    margin: 10px;
}

/* 📞 CTA */
.cta {
    text-align: center;
    padding: 50px;
    
}

.btn {
    padding: 12px 25px;
    background: linear-gradient(90deg,#001f3f,#ff0000);
    border-radius: 25px;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

/* 🔻 Footer */
footer {
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    border-top: 2px solid #000000;
}