/* RESET & BASE */
html, body {
    margin: 0;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

p {
    font-family: 'Syne', serif;
    font-weight: 400;
}

ul, li{
    
    font-family: 'Syne', serif;
    font-weight: 400;
}


li::marker {
  color: #008200;
    
}

a {
    text-decoration: none;
    color: inherit;
}

.profile {
  font-size: 3rem !important;
  margin-bottom: 0px;
    
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #008200;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 40px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #008200;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
}

/* HERO SLIDESHOW */
.hero {
    margin-top: 0px;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slideshow {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    margin-top: 15px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.5rem;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 130, 0, 0.7);
    color: white;
    border: none;
    padding: 20px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slide-arrow:hover {
    background: rgba(0, 130, 0, 0.9);
}

.slide-arrow.prev {
    left: 20px;
}

.slide-arrow.next {
    right: 20px;
}

.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    
section {
    padding: 0px !important;
    }
    
    .accordion-item.active .accordion-content {
    max-height: 800px !important;
}
    
    .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px; !important
}
    
    .team-detail-header h1 {
        font-size: 26px !important; 
    }
    
    .team-photo img{
    width: 100%;
/*    padding-top: 100%;*/
    background: #fff;
}
    
    .slide img {
    width: 100%;
    margin-top: 70px;
    object-fit: cover;
}
}

/* SECTIONS */
section {
    padding: 40px 0;
}

.section-title {
    font-size: 2.0rem;
    color: #008200;
    text-align: center;
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: #008200;
    margin: 0 auto 60px;
}

/* ABOUT */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* SERVICES */
.services {
    background: #f9f9f9;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.accordion-header {
    font-family: "Syne";
    width: 100%;
    padding: 20px;
    background: #008200;
    color: #fff;
    border: none;
    display: inline-flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 400;
    transition: background 0.3s;
}

.left {
    text-align: left;
}


.accordion-header:hover {
    background: #008200;
}

.accordion-icon {
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 400px;
}

.accordion-content p {
    padding: 0 20px 20px;
    line-height: 1.8;
}

/* TEAM */
.team {
    background: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    display: block;
}

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

.team-photo {
    width: 100%;
/*    padding-top: 100%;*/
    background: #fff;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: -15px;
}

.team-role {
    color: #666;
    margin-bottom: 10px;
}

.team-link {
    color: #008200;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTACT */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h3 {
    color: #008200;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    margin-bottom: 5px;
}

.info-item a {
    color: #008200;
    transition: opacity 0.3s;
}

.info-item a:hover {
    opacity: 0.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #008200;
}

.btn-submit {
    padding: 15px 30px;
    background: #008200;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #006600;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 10px;
    font-size: 0.95rem;
}

.form-status--success {
    color: #008200;
}

.form-status--error {
    color: #c0392b;
}

.form-group--hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* TEAM DETAIL PAGE */
.team-detail-header {
    background: #008200;
    color: white;
    padding: 20px 0px;
}

.close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 30px;
    transition: background 0.3s;
}

.close-button:hover {
    background: #f0f0f0;
}

.close-icon {
    width: 24px;
    height: 24px;
    stroke: #008200;
    stroke-width: 2;
}

.team-detail-content {
    padding: 60px 0;
}

.team-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.team-detail-sidebar {
    position: sticky;
    top: 100px;
}

.team-detail-photo {
    width: 100%;
/*    padding-top: 100%;*/
    background: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
}

.team-contact-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.team-contact-box h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    stroke: #008200;
    stroke-width: 2;
}

.team-detail-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.detail-section h1 {
    color: #008200;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 24px;
    height: 24px;
    stroke: #008200;
    stroke-width: 2;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.list-bullet {
    width: 8px;
    height: 8px;
    background: #008200;
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 15px 40px;
    background: #008200;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #006600;
}

.btn-secondary {
    padding: 15px 40px;
    background: white;
    color: #008200;
    border: 2px solid #008200;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #008200;
    color: white;
}

@media (max-width: 968px) {
    .team-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .team-detail-sidebar {
        position: static;
    }
}