/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .hero-content a.btn {
        margin-top: 30px;
    }

    .process-steps,
    .clients-grid {
    flex-direction: column;
}

.process-step,
.client-card {
    width: 100%;
}
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #007f3e;
    z-index: 999;
    padding: 20px 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}
.nav-links {
    order: 1;
    list-style: none;
    display: flex;
    gap: 25px;
    transition: all 0.3s ease-in-out;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.logo {
    order: 2;
    font-size: 1.9em;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.logo:visited {
    color: white;
    text-decoration: none;
}

/* GLOBAL BUTTON STYLE */
.btn {
    background: #006a2f;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}
.btn:hover {
    background: #004d24;
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('management.jpg');
    background-size: cover;
    background-position: center;
}
.hero-content {
    max-width: 800px;
    margin: auto;
}
.hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* ADVANTAGES */
.advantages-section {
    margin-top: 50px;
    text-align: center;
    padding: 50px 20px;
}
.advantages-section h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
}
.advantages-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.advantage-card {
    background: #f2f2f2;
    padding: 30px;
    border-radius: 12px;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.advantage-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* SERVICES */
.services-section {
    margin-top: 50px;
    text-align: center;
    background: #e6f7ea;
    padding: 80px 20px 60px;
}
.services-section h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
}
.services-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.service-card {
    background: #fff;
    padding: 80px 20px 60px;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    width: 32%;
    min-width: 280px;
}
.service-card h3 {
    font-size: 1.6em;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 1.1em;
    line-height: 1.5;
}

.service-btn {
    margin-top: 25px;
    display: inline-block;
    font-size: 16px;
    padding: 14px 28px;
}

.testimonials-carousel {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.testimonial-card {
    display: block;
    padding: 40px 30px;
    width: 32%;
    min-width: 280px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.testimonial-photo {
    flex: 0 0 auto;
    margin-right: 20px;
}

.testimonial-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text {
    flex: 1;
}

.carousel-nav {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    transform: none;
}

.carousel-prev, .carousel-next {
    font-size: 2.5em;
    color: #007f3e;
    cursor: pointer;
    user-select: none;
}

.carousel-prev:hover, .carousel-next:hover {
    color: #005a2c;
}

/* ABOUT SECTION */
.about-section {
    text-align: center;
    position: relative;
    padding: 80px 20px 60px;
}
.about-section h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
}
.testimonials-title {
    font-size: 2.6em;
    margin: 60px 0 30px;
    text-align: center;
}
.about-info p {
    font-size: 1.2em;
    max-width: 900px;
    margin: auto;
    padding-bottom: 30px;
}
.testimonials-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card p {
    font-size: 1.1em;
}

/* CONTACT SECTION */
.contact-section {
    background: #e6f7ea;
    padding: 80px 50px 60px;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}
.contact-form-container {
    flex-basis: 50%;
    width: auto;
}
.contact-form-container h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
}
.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form-container input:focus,
.contact-form-container textarea:focus {
    border-color: #007f3e;
    box-shadow: 0 0 6px rgba(0,127,62,0.3);
}
.contact-form-container button {
    margin: 30px auto 0;
    display: block;
    width: 80%;
    max-width: 300px;
}

.contact-photo {
    flex-basis: 50%;
    background: url('call.jpg') center center no-repeat;
    background-size: cover;
    min-height: 400px;
    border-radius: 12px;
    width: auto;
}

.site-footer {
    text-align: center;
    padding: 20px;
    background: #004d24;
    color: white;
}

.hamburger {
    order: 3;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 22px;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        height: 3px;
        background: white;
        border-radius: 2px;
    }

    .hero-content h1 {
        font-size: 2.3em;
        padding: 0 20px;
        margin-bottom: 15px;
    }
    .hero-content p {
        font-size: 1.15em;
        padding: 0 20px;
        margin-bottom: 18px;
    }

    .hero-content a.btn {
        margin-top: 20px;
        padding: 14px 30px;
        font-size: 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        z-index: 998;
    }
    
    .nav-links li {
        margin: 12px 0;
        text-align: center;
    }

    .nav-links a {
        color: #333;
    }

    .nav-links.active {
        display: flex; 
    }

    .advantages-grid,
    .services-grid,
    .testimonials-grid,
    .contact-wrapper {
        flex-direction: column;
    }
    .service-card,
    .advantage-card,
    .testimonial-card,
    .contact-photo {
        width: 100%;
    }

    .testimonials-carousel {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .testimonial-content {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-photo {
        margin-right: 0;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .testimonial-card.active {
        max-width: 90%;
        margin: 0 auto;
    }

    .testimonial-text {
        text-align: center;
    }

    .contact-section {
       padding: 80px 30px 60px;
   }
   .contact-wrapper {
       flex-direction: column;
   }
 
   .contact-photo {
       width: 100%;
       flex-basis: auto;
   }

   .advantages-custom {
        flex-direction: column;
    }   

    .advantages-text {
        text-align: center;
    }

    .advantages-image {
        width: 100%;
    }

    .process-steps,
    .clients-grid {
        align-items: center;
    }

    .process-step,
    .client-card {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1400px) {
    .contact-section {
        padding: 80px 320px 60px; 
    }
}

@media (min-width: 1200px) {
    .contact-section {
        padding: 80px 220px 60px; 
    }
}

@media (min-width: 900px) {
    .contact-section {
        padding: 80px 100px 60px; 
    }
}

.advantages-custom {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-image {
    flex: 0 0 45%;
}

.advantages-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.advantages-text {
    flex: 0 0 55%;
    text-align: left;
}

.advantages-text p {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 18px;
}

.contact-details {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-details h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #007f3e;
}

.contact-details p {
    font-size: 1.05em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

@media (min-width: 900px) {
    .contact-details {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-link {
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.95em;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    max-width: 700px;
    width: 100%;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #007f3e;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 1.8em;
    cursor: pointer;
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
    }
}

.testimonial-content {
    justify-content: center;
}

.testimonial-text {
    text-align: center;
}

/* HOW WE WORK */
.process-section {
    padding: 80px 20px 60px;
    text-align: center;
}

.process-section h2 {
    font-size: 2.8em;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.process-step {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    width: 23%;
    min-width: 260px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.step-number {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: #007f3e;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 1.05em;
    line-height: 1.6;
}

/* WHO WE HELP */
.clients-section {
    position: relative;
    padding: 80px 20px 60px;
    text-align: center;
    background-image: 
        linear-gradient(rgba(46, 125, 90, 0.65), rgba(46, 125, 90, 0.75)),
        url('meeting.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.clients-section h2 {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: white;
}

.clients-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.client-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 40px 30px;
    border-radius: 12px;
    width: 23%;
    min-width: 260px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    color: #333;
}

.client-card h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
    color: #1f1f1f;
}

.client-card p {
    font-size: 1.05em;
    line-height: 1.6;
}

.clients-cta {
    margin-top: 40px;
    display: inline-block;
}

.clients-section .btn {
    background: #ffffff;
    color: #2e7d5a;
}

.clients-section .btn:hover {
    background: #f4f4f4;
}

/* Testimonials Grid */

.testimonials-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    width: 30%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 16px;
    color: #222;
}

.stars {
    font-size: 14px;
    color: #2e7d5a;
    margin-top: 4px;
}

/* Responsive */

@media (max-width: 992px) {
    .testimonial-card {
        width: 100%;
    }
}