/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.7;
    padding-top: 90px;
}

/* ================= STICKY NAVBAR ================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.shrink {
    height: 70px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1250px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

nav img {
    height: 55px;
    transition: 0.3s;
}

nav.shrink img {
    height: 45px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.3s;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: #007BFF;
    transition: 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(rgba(10,20,40,0.75), rgba(10,20,40,0.75)),
                url('image/bg.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 160px 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.cta-button {
    background: #007BFF;
    color: white;
    padding: 16px 34px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* ================= SECTIONS ================= */
.section {
    padding: 110px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.center {
    text-align: center;
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section p {
    font-size: 1rem;
    color: #555;
}

/* ================= GRID ================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

/* ================= CARDS ================= */
.card {
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3, .card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* ================= SERVICES ================= */
.services {
    padding: 110px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card img {
    height: 65px;
    margin-bottom: 20px;
}

/* ================= FOOTER ================= */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    nav ul {
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section {
        padding: 80px 20px;
    }

}