* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ===== GLOBAL ===== */
body {
    background: #f8fafc;
    color: #0f172a;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 5px 0px;
    background: #0d617e;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    align-items: center;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar li {
    /* FIX: readable on dark background */
    color: #e0f2fe;
    cursor: pointer;
    transition: 0.25s;
}

.navbar li:hover {
    /* FIX: cleaner hover (not clashing orange) */
    color: #ffffff;
}

/* AUTH BUTTONS */
.auth-buttons button {
    margin-left: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* LOGIN */

button {
    background: #f97316;
    font-weight: 600;
    border: none;
    color: white;
    transition: 0.3s;
    margin-left: 5px;
    padding: 4px 4px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #ea580c;
    color: yellow; 
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    background-image: url(../images/worker-banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 90px 20px;
    margin-top: 2px;
}

.index-h4 {
    margin-bottom: 14px;
    color: #fff;
    background-color: rgba(17, 93, 192, 0.4);
    border-radius: 10px;
}


/* ===== SERVICES ===== */
.services {
    text-align: center;
    background: url("../images/painting-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 90px 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.card {
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    font-size: 13px;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #f97316;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== HOW ===== */

.how {
    background: url("../images/work-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.how h3 {
    padding: 20px;
}
.steps {
    display: flex;
    justify-content: center;
    gap: 0px;
    padding: 20px;
}

.step {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
}


/* demo images1 */

.demo-image1 {
    background: url("../images/mason.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}
.demo-image2 {
    background: url("../images/work-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}

.demo-image3 {
    background: url("../images/electrician.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}

.demo-image4 {
    background: url("../images/all-image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}


/* ===== TRUST ===== */
.trust {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background: #f1f5f9;
}

/* ===== TESTIMONIAL ===== */
.testimonials {
    padding: 50px;
    text-align: center;
}

.testimonial p {
    color: #334155;
}

.testimonial span {
    color: #64748b;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    padding: 50px;
    background: #0f172a;
    color: white;
}

.cta button {
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    color: #94a3b8;
}



/* my code */

.how {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h3 {
    padding: 20px;
}



/* Profile */

#profile-logo {
    width: 50px;
    border-radius: 50%;
    margin: 10px;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app {
    position: relative;
}

.profile-bar {
    position: fixed;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: #fff;
    width: 320px;
    overflow: auto;
    height: 100%;
    display: none;
    padding: 20px;
    border-radius: 10px;
    z-index: 10;
}

.profile-bar ul h2,p,h4 {
    padding: 5px;
    cursor: pointer;
}

.profile-bar h4 {
    color: #494747;
    margin-top: 15px;
}

.profile-bar a {
    text-decoration: none;
}

.profile-bar h4:hover {
    color: #ea580c;
}

.sidebar {
    display: none;
}

.active {
    display: block;
}


#closeBtn {
    position: fixed;
    top: 10px;
    right: 20px;
    padding: 5px;
    border-radius: 3px;
    font-size: 30px;
    z-index: 15;
}