:root {
    /* colors */
    --primary-color: #0077b6;
    --primary-dark: #023e8a;
    --secondary: #90e0ef;
    --accent: #2a9d8f;
    --bg-light: #f8fbff;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --white: #ffffff;


    /*spacing & effects*/
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/*1. basic reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*this make padding not mess up with width*/

}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

nav {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);

}

nav ul li a:hover {
    color: var(--primary-color);

}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

.whatsapp-button a {
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-button img {
    width: 24px;
    height: 24px;
}

.whatsapp-button a:hover {
    transform: translateY(-5px);
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 119, 182, 0.31)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;

}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin: 10px;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 33px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: inline-block;
    margin: 10px;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);

}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);

}

.container {
    padding: 80px 10%;

}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto;
    border-radius: 2px;
}

.service-list {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

/* Force the first card to span both columns and center it */
.service-card:first-child {
    grid-column: span 2;
    justify-self: center;
    width: 100%;
    max-width: 600px;
}

/* Force the fourth card to span both columns and center it */
.service-card:nth-child(4) {
    grid-column: span 2;
    justify-self: center;
    width: 100%;
    max-width: 600px;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card:first-child,
    .service-card:nth-child(4) {
        grid-column: span 1;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);

}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;

}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}