* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background: #fff; }

.container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

header { background: #155932; color: white; text-align: center; padding: 1rem; }
header img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

nav {
    background-color: #000;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
nav a:hover { background: #333; border-radius: 5px; }

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a:hover { background-color: #f1f1f1; }

.layout-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    min-height: 80vh;
    margin-top: 2rem;
}

.left-column { width: 30%; }
.center-column { width: 45%; }
.right-column { width: 25%; }

.services {
    background: #e5e5e5;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}
.services h2 { margin-bottom: 1rem; }
.services table {
    width: 100%;
    border-collapse: collapse;
}
.services td {
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
}
.services a {
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}

.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #155932;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.controls {
    text-align: center;
    margin-top: 10px;
}
.controls button {
    font-size: 24px;
    padding: 8px 16px;
    margin: 0 5px;
    border: none;
    background: #155932;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}
.controls button:hover {
    background: #155932;
}

.feedback {
    background: #f5f5f5;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.feedback-header {
    background-color: #155932;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.7rem;
    border-radius: 6px 6px 0 0;
    margin-bottom: 1rem;
}

.feedback img {
    width: 200px;
    height: auto;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}
.feedback img:hover {
    transform: scale(1.05);
}

.profile {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-card {
    background: #000;
    color: white;
    padding: 1rem;
    border-radius: 8px;
}

footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
/* Add this at the bottom of your <style> */
@media (max-width: 992px) {
    .layout-section {
        flex-direction: column;
        align-items: center;
    }
    .left-column,
    .center-column,
    .right-column {
        width: 100%;
    }
    .services table td {
        font-size: 14px;
        padding: 8px;
    }
    .caption {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    nav {
        flex-direction: column;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .services h2 {
        font-size: 16px;
    }
    .feedback img {
        width: 150px;
    }
    .profile-card {
        padding: 0.5rem;
        font-size: 14px;
    }
}