* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2c5f2d;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.logo:hover {
    color: white !important;
    transform: scale(1.05) translateY(-2px);
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.logo:visited,
.logo:active,
.logo:focus {
    color: white !important;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: white;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero with Background Image */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 10rem 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.8) 0%, rgba(74, 140, 74, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background: white;
    color: #2c5f2d;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Quick Info Cards */
.quick-info {
    padding: 5rem 0;
    background: #f9f9f9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a8c4a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
}

/* About Page */
.about-content {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #2c5f2d;
}

.mv-card h3 {
    color: #2c5f2d;
    margin-bottom: 1rem;
}

/* Services Page */
.services-page {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    gap: 3rem;
}

.service-card-large {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-card-large:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.service-card-large:nth-child(even) .service-image {
    order: 2;
}

.service-image {
    height: 100%;
    min-height: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h3 {
    color: #2c5f2d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Contact Page */
.contact-page {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-block h3,
.contact-form-block h3 {
    color: #2c5f2d;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #2c5f2d;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

/* Notifications - Popup Style */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.notification-popup {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    animation: slideDown 0.4s ease;
    position: relative;
}

.notification-popup.hiding {
    animation: fadeOut 0.5s ease forwards;
}

.notification-overlay.hiding {
    animation: fadeOut 0.5s ease forwards;
}

.notification-icon-large {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.notification-popup.success .notification-icon-large {
    color: #28a745;
}

.notification-popup.warning .notification-icon-large {
    color: #ffc107;
}

.notification-popup.error .notification-icon-large {
    color: #dc3545;
}

.notification-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.notification-message {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification-close:hover {
    color: #333;
    background: #f0f0f0;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #ddd;
    width: 100%;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    animation: shrinkProgress 3s linear forwards;
}

.notification-popup.warning .notification-progress-bar {
    background: linear-gradient(90deg, #ffc107, #ffca2c);
}

.notification-popup.error .notification-progress-bar {
    background: linear-gradient(90deg, #dc3545, #e35d6a);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shrinkProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.team-section h2 {
    text-align: center;
    color: #2c5f2d;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #2c5f2d;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-position {
    color: #666;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.team-bio {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: #2c5f2d;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        padding: 6rem 0;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-grid,
    .mission-vision,
    .contact-grid,
    .service-card-large {
        grid-template-columns: 1fr;
    }

    .service-card-large:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-card-large:nth-child(even) .service-image {
        order: 1;
    }

    .info-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}