/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #6AC860;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #0E3E2A;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a2e1f;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #0E3E2A #6AC860;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0E3E2A;
    color: #ffffff;
    line-height: 1.6;
}

/* Loader Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0E3E2A;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
}

.loader-circle {
    animation: rotate 2s linear infinite;
}

.loader-path {
    stroke: #5BB852;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

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

ul {
    list-style: none;
}

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #6AC860;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #5bb852;
    transform: translateY(-2px);
}

.btn .arrow {
    font-size: 14px;
}

/* Header / Navbar */
.header {
    padding: 20px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #09291c;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid #3f584e;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #6AC860;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #385F4F;
    border-radius: 50px;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 25px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-text p {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Hero Images Grid */
.hero-images {
    flex: 1;
}

.image-grid {
    display: flex;
    gap: 20px;
}

.image-placeholder {
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
}

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

.image-placeholder.large {
    width: 280px;
    height: 380px;
}

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

.image-placeholder.small {
    width: 200px;
    height: 180px;
}

/* About Section */
.about {
    background-color: #ffffff;
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-images {
    flex: 1;
}

.about-grid {
    display: flex;
    gap: 20px;
}

.about-placeholder {
    width: 220px;
    height: 320px;
    background-color: #6AC860;
    border-radius: 30px;
    overflow: hidden;
}

.about-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-card {
    display: inline-flex;
    flex-direction: column;
    background-color: #23342e;
    padding: 20px 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.experience-number {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.experience-text {
    font-size: 14px;
    color: #ffffff;
}

.about-text {
    flex: 1;
}

.badge-dark {
    background-color: #0E3E2A;
    color: #ffffff;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0E3E2A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text > p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-icon img {
    width: 28px;
    height: 28px;
    transition: filter 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #6AC860;
}

.feature-item:hover .feature-icon img {
    filter: brightness(0) invert(1);
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0E3E2A;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Services Section */
.services {
    background-color: #e8f5e9;
    padding: 80px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0E3E2A;
    margin-bottom: 15px;
}

.services-header p {
    font-size: 16px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 32px;
    height: 32px;
    transition: filter 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #6AC860;
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0E3E2A;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

/* Case Studies Section */
.case-studies {
    background-color: #ffffff;
    padding: 80px 0;
}

.case-studies-header {
    text-align: center;
    margin-bottom: 50px;
}

.case-studies-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0E3E2A;
    margin-bottom: 15px;
}

.case-studies-header p {
    font-size: 16px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.case-item {
    background-color: #6AC860;
    border-radius: 20px;
    overflow: hidden;
    min-height: 200px;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-1 {
    grid-column: 1;
    grid-row: 1;
}

.case-2 {
    grid-column: 2;
    grid-row: 1;
}

.case-3 {
    grid-column: 3;
    grid-row: 1 / 3;
    min-height: 420px;
}

.case-4 {
    grid-column: 1;
    grid-row: 2;
}

.case-5 {
    grid-column: 2;
    grid-row: 2;
}

/* Portfolio Section */
.portfolio {
    background-color: #0E3E2A;
    padding: 80px 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.portfolio-left {
    flex: 1;
}

.portfolio-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.portfolio-right {
    flex: 1;
}

.portfolio-right p {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.7;
}

.portfolio-steps {
    display: flex;
    gap: 30px;
}

.step-item {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.step-item:nth-child(1) { transition-delay: 0.2s; }
.step-item:nth-child(2) { transition-delay: 0.5s; }
.step-item:nth-child(3) { transition-delay: 0.8s; }

.step-number {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step-number span {
    width: 36px;
    height: 36px;
    background-color: #6AC860;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.step-arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #6AC860;
    margin-left: -2px;
}

.step-line {
    position: absolute;
    top: 18px;
    left: 60px;
    right: -30px;
    height: 2px;
    background: linear-gradient(90deg, #6AC860 0%, #3d5a4a 100%);
}

.step-item:last-child .step-line {
    display: none;
}

.step-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background-color: #E8F5E9;
    padding: 80px 0;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0E3E2A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info > p {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
}

.contact-form {
    flex: 1;
    background-color: #0E3E2A;
    padding: 40px;
    border-radius: 20px;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-form > p {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #09291c;
    border: 1px solid #3f584e;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8a9a94;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6AC860;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-end;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #0E3E2A;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #3f584e;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #09291c;
    border: 1px solid #3f584e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #6AC860;
    border-color: #6AC860;
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6AC860;
}

.footer-contact {
    flex: 1;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    font-size: 14px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: #b0b0b0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .image-grid {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-grid {
        justify-content: center;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .services-header h2 {
        font-size: 32px;
    }

    .case-studies-header h2 {
        font-size: 32px;
    }

    .portfolio-header {
        flex-direction: column;
        gap: 30px;
    }

    .portfolio-left h2 {
        font-size: 28px;
    }

    .portfolio-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-line {
        display: none;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        border-radius: 20px;
        padding: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .image-grid {
        flex-direction: column;
        align-items: center;
    }

    .image-column {
        flex-direction: row;
    }

    .image-placeholder.large {
        width: 100%;
        max-width: 280px;
        height: 300px;
    }

    .image-placeholder.small {
        width: 140px;
        height: 140px;
    }

    .about-grid {
        flex-direction: column;
        align-items: center;
    }

    .about-placeholder {
        width: 100%;
        max-width: 220px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header h2 {
        font-size: 28px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-1, .case-2, .case-3, .case-4, .case-5 {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
    }

    .case-studies-header h2 {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info h2 {
        font-size: 24px;
    }
}
