* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5016;
    --secondary-color: #3d6b1f;
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --text-color: #333;
    --white: #fff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: var(--primary-color);
    color: var(--secondary-color);
}



/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("images/Diagonal-Front.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid rgba(0,0,0,0.25);
}

.btn-primary:hover {
    background-color: rgba(142, 255, 142, 0.5);
    color: var(--primary-color);
    border-color: rgba(0,0,0,0.5);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-triangular {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}
.btn-triangular:hover {
    background-color: rgba(142, 255, 142, 0.5);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.button-container-grid {
    margin-top: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Team Section */
.team-section {
    padding: 4rem 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 520px; 
    box-sizing: border-box;
    min-width: 0; 
    width: 100%;
}

.team-card:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.team-card img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: cover; 
    object-position: center;
    display: block;
    flex-shrink: 0;
}

.team-info {
    padding: 1.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255,255,255,0.96);
    color: var(--dark-color);
}

.team-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-info .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.team-info .description {
    color: #333;
    line-height: 1.75;
    font-size: 1rem;
    white-space: pre-wrap;
    overflow: auto;
}


.team-info,
.team-info *,
.contact-item,
.contact-item a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Gallery Preview */
.gallery-preview {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.gallery-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

/* Full Gallery */
.gallery-full {
    padding: 4rem 2rem;
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item-full {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item-full:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.03);
}

.gallery-item-full img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item-full p {
    padding: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--light-color);
}


/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
}
.social-link img {
    height: 40px;
    width: 40px;
    vertical-align: middle;
    margin-right: 3px;

}

/* Team contact formatting */
.team-info .contact-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.contact-item {
    font-size: 0.98rem;
    color: #333;
}
.contact-item .label {
    color: #666;
    font-weight: 600;
    margin-right: 0.5rem;
}
.contact-item a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}
.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: none;
}

.contact-form-wrapper h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.contact-info-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
}

.contact-info-wrapper h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: #666;
    line-height: 1.8;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info-item a:hover {
    color: var(--secondary-color);
}

.text-small {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

.social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    gap: 0.75rem;
}

.social-container h6 {
    margin: 0;
}

.social-links-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}
.h6 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: scale(1.1);
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--white);
    border: 2px dashed #ddd;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .navbar .container {
        min-height: auto;
    }

    .logo-img {
        height: 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .team-grid,
    .gallery-grid,
    .gallery-grid-full,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 350px;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .features h2,
    .gallery-preview h2,
    .map-section h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.3rem;
    }

    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 250px;
    }
    .ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.ig-grid img {
  width: 100%;
  display: block;
}
.footer-logo {
        width: 100px;
        height: auto;
        margin-bottom: 1rem;
      }

}
