* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { width: 40px; }

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
nav a:hover {
    color: #da1b1b;
}

.btn-login {
    background: #E25352;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 5px;
    
}
.btn-login:hover {
    background: #f59a9a;
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 40%;
    left: 8%;
    color: white;
}

.hero-text h1 {
    font-size: 3rem;
    max-width: 400px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #E25352;
    color: white;
    border-radius: 5px;
}
.btn:hover {
    background: #f59a9a;
}

/* SERVICES */
.services {
    padding: 50px 5%;
    text-align: center;
    color: #E25352;
}

.service-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

/* CONTACT FORM */
.contact {
    padding: 25px 5%;
    background: #f9f9f9;
    text-align: center;
    gap: 10px;
    color: #E25352;
}

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

input, select, textarea, button {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    background: #E25352;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #f59a9a;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fe9797;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #e3d4d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d98787;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #d98787;
}

/* LOGIN PAGE */
.login-container {
    max-width: 350px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    box-shadow: 0 0 10px rgba(235, 65, 65, 0.1);
    border-radius: 8px;
    text-align: center;
}

.about {
    padding: 50px 5%;
    text-align: center;
    background: #f2f2f2;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #E25352;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}


.btn-back:hover {
    background: #005ecb;
}


.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
}
img {
    max-width: 100%;
    height: auto;
}

/* Mobile devices (max width 768px) */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 50px 10px;
    }

    .services-container {
        flex-direction: column; /* stack services vertically */
        align-items: center;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column; /* stack nav items */
        gap: 10px;
    }
}

.services-container {
    display: flex;
    flex-wrap: wrap; /* allows wrapping */
    gap: 20px;
}

.service-item {
    flex: 1 1 200px; /* grow/shrink, min width 200px */
}

.btn-back {
    background: #E25352;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-back:hover {
    background: #f1afaf;
}

