/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f7fa;
    color: #1f2937;
    line-height: 1.7;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;
    height: 75vh;
    background:
        linear-gradient(rgba(7, 20, 40, 0.75),
            rgba(7, 20, 40, 0.75)),
        url('../images/placeholder2.jpg') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero-content p {
    color: #dbe4f0;
    font-size: 1.15rem;
    line-height: 1.9;
}

/* =========================
   INTRO SECTION
========================= */

.intro {
    max-width: 1100px;
    margin: 90px auto;
    padding: 0 40px;
    text-align: center;
}

.intro p {
    font-size: 1.08rem;
    color: #4b5563;
    margin-bottom: 25px;
}

/* =========================
   SECTION TITLES
========================= */

.services h2,
.why h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: #0f172a;
    position: relative;
}

.services h2::after,
.why h2::after {
    content: "";
    width: 90px;
    height: 4px;
    background: #2563eb;
    display: block;
    margin: 18px auto 0;
    border-radius: 20px;
}

/* =========================
   SERVICES / CARDS
========================= */

.services {
    padding: 100px 40px;
    background: white;
}

.card-container {
    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.35s ease;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* Blue accent bar at top of each card */
.card::before {
    content: "";
    display: block;
    height: 5px;
    background: #2563eb;
    border-radius: 24px 24px 0 0;
}

.card h4 {
    font-size: 1.25rem;
    color: #0f172a;
    padding: 30px 28px 12px;
    font-weight: 600;
}

.card p {
    padding: 0 28px 32px;
    color: #4b5563;
    font-size: 0.98rem;
    flex-grow: 1;
}

/* =========================
   WHY CHOOSE US
========================= */

.why {
    padding: 100px 40px;
    background: #eef3f9;
}

.why ul {
    max-width: 850px;
    margin: auto;
    list-style: none;
}

.why li {
    background: white;
    margin-bottom: 22px;
    padding: 22px 28px;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);

    font-size: 1.05rem;
    color: #374151;

    position: relative;
    padding-left: 70px;

    transition: 0.3s ease;
}

.why li:hover {
    transform: translateX(8px);
}

.why li::before {
    content: "✓";
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    border-radius: 50%;
    background: #2563eb;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0.9rem;
    font-weight: bold;
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 65vh;
    }

    .hero-content h1 {
        font-size: 2.3rem;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .intro,
    .services,
    .why {
        padding-left: 20px;
        padding-right: 20px;
    }

    .intro {
        margin: 60px auto;
    }

    .services h2,
    .why h2 {
        font-size: 2rem;
    }

    .why li {
        padding-left: 60px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .card h4 {
        font-size: 1.1rem;
    }
}