﻿/* =====================
GLOBAL
===================== */

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f4f6f9;
    color: #333;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    margin: auto;
}

/* =====================
HEADER
===================== */
.logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 70px;
    height: 50px;
    border-radius:5px;
    margin-right:10px;
}

.logo-text h2 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.logo-text span {
    font-size: 18px;
    color: white;
}
.main-header {
    background: linear-gradient(116deg, #35943a, #1a1a1a);
    color: white;
    padding: 5px 0;
}

/* =====================
NAVBAR
===================== */

.navbar {
    background: #1b5e20;
}

    .navbar .nav-link {
        color: white !important;
        font-weight: 500;
        margin-left: 15px;
    }

        .navbar .nav-link:hover {
            color: #ffd54f !important;
        }

/* =====================
HERO SECTION
===================== */

.hero {
    background: linear-gradient(45deg,#2e7d32,#66bb6a);
    color: white;
    padding: 45px 20px;
    text-align: center;
}

    .hero h1 {
        font-size: 40px;
        font-weight: bold;
    }

    .hero p {
        font-size: 18px;
        margin-top: 10px;
    }

/* =====================
SERVICE CARDS
===================== */
/* SERVICE CARD */

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: .3s;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

/* ICON */

.icon {
    width: 60px;
    height: 60px;
    background: #2e7d32;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* TITLE */

.service-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* BUTTON */

.btn-service {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #2e7d32;
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

    .btn-service:hover {
        background: #1b5e20;
        color: white;
    }

/* MOBILE */

@media(max-width:768px) {

    .service-card {
        padding: 25px;
    }
}

/* =====================
GRID TABLE
===================== */

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
}

    .table th {
        background: #2e7d32;
        color: white;
        padding: 10px;
    }

    .table td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .table tr:hover {
        background: #f1f1f1;
    }

/* =====================
SEARCH BOX
===================== */

.search-box {
    text-align: center;
    margin: 25px 0;
}

    .search-box input {
        padding: 10px;
        width: 250px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .search-box button {
        padding: 10px 18px;
        background: #2e7d32;
        border: none;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

/* =====================
FOOTER
===================== */

.footer {
    background: linear-gradient(135deg, #3c3b3f, #4a4a4d);
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 5px 5px;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1030;   
}
.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* =====================
MOBILE RESPONSIVE
===================== */

@media(max-width:992px) {

    .hero h1 {
        font-size: 32px;
    }

    .services {
        gap: 15px;
    }
}

@media(max-width:768px) {

    .logo h2 {
        font-size: 22px;
    }

    .hero {
        padding: 40px 15px;
    }

        .hero h1 {
            font-size: 26px;
        }

        .hero p {
            font-size: 16px;
        }

    .card {
        width: 100%;
    }

    .search-box input {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media(max-width:480px) {

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .footer {
        font-size: 12px;
    }
}
