* {
  box-sizing: border-box;
}
body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* Nav Bar */
.header {
    position: fixed;
    top: 0;
    right: 0;
    height: 13vh;
    width: 100%;
    background: linear-gradient(90deg, rgb(228, 222, 228), #6a1b9a, #8e24aa);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* When page is scrolled add blur */
.header.scrolled {
    /* preserve original gradient but make it translucent */
    background: linear-gradient(90deg,
        rgba(228, 222, 228, 0.55),
        rgba(106, 27, 154, 0.55),
        rgba(142, 36, 170, 0.55)
    );
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
/* Change nav link colors when header is scrolled */
.header.scrolled .nav-links a {
    color: #f3e5f5;
}
.header.scrolled .nav-links a:hover {
    color: #ffffff;
}
.header.scrolled .nav-links a.active {
    color: #fff7ff;
}
.container.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    height: 68%;
    width: 11%; /* Adjust as needed */
    /* border: 1px solid white; */
    background-image: url(../PICTURES/hplogoo-removebg-preview.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 15px;
}
.nav-links {
    display: flex;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 35px;
      transition: transform 0.3s ease;
}
.nav-links a:hover {
    /* background-color: #4a148c; */
    transform: scale(1.1);
    color: #e1bee7;
}
/* Burger toggle styles */
.nav-toggle{
    display:none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 12px;
}
.nav-toggle .hamburger{
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after{
    content: '';
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: #fff;
}
.nav-toggle .hamburger::before{ top: -8px; }
.nav-toggle .hamburger::after{ top: 8px; }

@media (max-width: 900px){
    .nav-toggle{ display: inline-flex; align-items: center; }
    .nav-links{ display: none; }
    .nav-links.open{ display: flex; position: absolute; top: 13vh; left: 0; right: 0; background: linear-gradient(90deg, rgba(74,20,140,0.95), rgba(142,36,170,0.95)); flex-direction: column; align-items: center; padding: 12px 0; z-index: 999; }
    .nav-links.open a{ padding: 12px 8px; color: #fff; }
}
/* end of nav bar */
/* ================= HERO SECTION ================= */
.about {
    margin-top: 13vh;
    height: 60vh;
    background:
        linear-gradient(rgba(14,2,29,0.7), rgba(72,25,128,0.7)),
        url("../PICTURES/cdc-jjrXvzbqC5E-unsplash.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.about h3 {
    font-size: 3rem;
}
.about p {
    font-size: 1.2rem;
}
.about a {
    color: white;
    text-decoration: none;
}

/* ================= SERVICES INTRO ================= */
.services-intro {
    text-align: center;
    padding: 60px 20px;
}
.services-intro h2 {
    font-size: 2.2rem;
    color: #6a1b9a;
}
.services-intro p {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

/* ================= SERVICES GRID ================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 60px 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
}

/* service images */
.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.img1 { background-image: url("../PICTURES/vitaly-gariev-BUNNEclz-yQ-unsplash.jpg"); }
.img2 { background-image: url("../PICTURES/vitaly-gariev-Y3vDCL7_das-unsplash.jpg"); }
.img3 { background-image: url("../PICTURES/disinfectant.jpg"); }
.img4 { background-image: url("../PICTURES/husniati-salma-NfQVe57WoyU-unsplash.jpg"); }

.service-content {
    padding: 20px;
}
.service-content h3 {
    color: #6a1b9a;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #4a148c, #6a1b9a);
    color: white;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Left block (copyright) */
.lf{
    flex: 1 1 250px;
    text-align: left;
    padding: 6px 0;
}

/* Right block (icons) */
.rf{
    display: flex;
    gap: 12px;
    align-items: center;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

/* Footer icon buttons */
footer .rf a{
    display: inline-flex;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #6a1b9a;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
footer .rf a .fa{
    font-size: 1.1rem;
}
footer .rf a:hover{
    transform: translateY(-4px) scale(1.03);
    background: #6a1b9a;
    color: #fff;
    box-shadow: 0 10px 28px rgba(106,27,154,0.22);
}


@media (max-width: 600px){
    footer{
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .rf{ justify-content: center; }
}

/* Floating WhatsApp button */
#whatsapp-link{
    position: fixed;
    right: 20px;
    /* place above the footer so it doesn't overlap footer icons */
    bottom: calc(18px + 56px + 12px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.18);
    z-index: 2000;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
#whatsapp-link .fa{
    font-size: 1.25rem;
}
#whatsapp-link:hover{
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(37,211,102,0.28);
}

@media (max-width: 600px){
    /* on narrow screens give a slightly larger gap from footer */
    #whatsapp-link{ right: 14px; bottom: calc(18px + 56px + 10px); width: 50px; height: 50px; }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: linear-gradient(90deg, #6a1b9a, #8e24aa);
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 15px;
        font-size: 14px;
    }

    .nav-toggle {
        display: block;
    }
}

/* Footer */