:root {
    --primary: #0f4c81;
    --secondary: #00a86b;
    --light: #f5f7fa;
    --dark: #1f2937;
    --text: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: white;
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
}

.main-banner {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.service-banner {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: .3s;
}

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

main {
    flex: 1;
}

.hero {
    background: linear-gradient(
        135deg,
        var(--primary),
        #1565c0
    );

    color: white;

    padding: 100px 10%;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero button {
    margin-top: 30px;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    background: var(--secondary);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s;
}

.hero button:hover {
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,.35);

    color: white;
    text-align: center;
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-overlay p {
    max-width: 800px;
    font-size: 1.2rem;
}

.section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s;

    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.card p {
    line-height: 1.7;
}

.info-box {
    background: white;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.contact-list {
    list-style: none;
    width: 100%;
}

.contact-list li {
    margin-bottom: 15px;
    line-height: 1.6;

    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.contact-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.contact-list a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

footer {
    background: var(--primary);
    color: white;
    padding: 30px;
    text-align: center;
}

footer h3 {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 15px;
    opacity: .8;
}

@media (max-width: 1024px) {

    .section {
        padding: 60px 6%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-banner {
        max-height: 350px;
    }

    .main-banner {
        max-height: 450px;
    }

}

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
        padding: 1rem;
    }

    .logo img {
        width: 80px;
        height: 80px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .section {
        padding: 40px 5%;
    }

    .hero {
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card {
        padding: 20px;
    }

    .service-banner {
        max-height: 250px;
    }

    .main-banner {
        max-height: 450px;
    }

     .info-box {
        padding: 25px;
    }

    .contact-list li {
        font-size: 0.95rem;
    }

}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .main-banner {
        max-height: 300px;
    }

    .service-banner {
        max-height: 180px;
    }

    .info-box {
        padding: 20px;
    }

    .contact-list li {
        font-size: 0.9rem;
    }
}

