* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f8faf7;
    color: #2d2d2d;
    line-height: 1.6;
}

.container {
    width: 1180px;
    margin: 0 auto;
}

/* TOP HEADER */
.top-header {
    background: #4f6f52;
    color: white;
    font-size: 14px;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.top-links a:hover {
    color: #dce7d3;
}

/* HEADER */
.header {
    background: white;
    padding: 25px 0;
}

.header-inner {
    display: flex;
    gap: 25px;
    align-items: center;
}

.logo {
    width: 30%;
    display: flex;
    gap: 15px;
    align-items: center;
}

.logo i {
    font-size: 45px;
    color: #4f6f52;
    background: #edf4ea;
    width: 85px;
    height: 85px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo h1 {
    color: #3a5a40;
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    color: #666;
    font-size: 15px;
}

/* SLIDER */
.slider {
    width: 70%;
    height: 290px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

.slide-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

/* NAV */
.nav {
    background: #3a5a40;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex;
}

.menu li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 16px 18px;
    font-weight: bold;
    transition: 0.3s;
}

.menu li a:hover {
    background: #588157;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    width: 250px;
    margin-right: 10px;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 14px;
}

.search-box button {
    border: none;
    background: #a3b18a;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
}

/* MAIN */
.main {
    padding: 35px 0;
}

.layout {
    display: flex;
    gap: 25px;
}

/* SIDEBAR */
.sidebar {
    width: 27%;
}

.side-box {
    background: white;
    border-radius: 16px;
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    overflow: hidden;
}

.side-box h3 {
    background: #4f6f52;
    color: white;
    padding: 15px 18px;
}

.side-box ul {
    list-style: none;
    padding: 15px 18px;
}

.side-box ul li {
    border-bottom: 1px dashed #ddd;
}

.side-box ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 12px 0;
    transition: 0.3s;
}

.side-box ul li a:hover {
    color: #588157;
    padding-left: 8px;
}

.side-box p {
    padding: 10px 18px;
    color: #555;
}

/* CONTENT */
.content {
    width: 73%;
}

.section-title {
    background: white;
    padding: 22px 25px;
    border-left: 6px solid #a3b18a;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.06);
}

.section-title h2 {
    color: #3a5a40;
    margin-bottom: 5px;
}

.section-title p {
    color: #666;
}

.card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 35px;
}

.card {
    width: calc(33.333% - 15px);
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.07);
    transition: 0.35s;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.card-body span {
    display: inline-block;
    background: #edf4ea;
    color: #588157;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-body h3 {
    color: #3a5a40;
    margin-bottom: 10px;
    font-size: 20px;
}

.card-body p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-body a {
    display: inline-block;
    background: #4f6f52;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
}

/* SERVICES */
.service-section {
    background: white;
    padding: 28px;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
}

.service-section h2 {
    color: #3a5a40;
    margin-bottom: 20px;
}

.service-grid {
    display: flex;
    gap: 20px;
}

.service-item {
    flex: 1;
    background: #f3f8f1;
    padding: 22px;
    border-radius: 16px;
    text-align: center;
}

.service-item i {
    font-size: 32px;
    color: #588157;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    color: #3a5a40;
}

/* CONTACT */
.contact-section {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
}

.contact-section h2 {
    color: #3a5a40;
    margin-bottom: 18px;
}

.row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
}

.contact-form textarea {
    height: 150px;
    resize: none;
    margin-bottom: 20px;
}

.contact-form button {
    background: #4f6f52;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* FOOTER */
.footer {
    background: #2f3e2f;
    color: white;
    text-align: center;
    padding: 28px 0;
    margin-top: 30px;
}

.footer p {
    margin: 7px 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .header-inner,
    .layout,
    .nav-inner,
    .top-header-inner,
    .row,
    .service-grid {
        flex-direction: column;
    }

    .logo,
    .slider,
    .sidebar,
    .content,
    .search-box {
        width: 100%;
    }

    .card {
        width: calc(50% - 11px);
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }

    .menu {
        flex-direction: column;
        width: 100%;
    }

    .menu li {
        text-align: center;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}