/* ---------- Global ---------- */
body {
    font-family: "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: #333;
    background: #fefefe;
}

h1,
h2,
h3 {
    margin: 10px 0;
    font-weight: 600;
}

section {
    padding: 60px 20px;
    text-align: center;
}

a {
    text-decoration: none;
}

/* ---------- Header ---------- */
header {
    padding: 60px 20px;
    text-align: center;
    background: #264653;
    /* classy teal/navy mix */
    color: #fff;
}

header .btn {
    margin: 10px;
    padding: 12px 24px;
    background: #2a9d8f;
    /* primary SME-friendly color */
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

header .btn:hover {
    background: #21867a;
}

/* ---------- Service Cards ---------- */
.service-container,
.service-detail-container,
.benefits-container,
.case-container,
.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    flex: 1 1 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    max-width: 80px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #264653;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

/* ---------- Card Buttons / More Details ---------- */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-primary,
.btn-secondary {
    text-align: center;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #2a9d8f;
    color: #fff;
}

.btn-primary:hover {
    background: #21867a;
}

.btn-secondary {
    background: #ffffff;
    border: 2px solid #2a9d8f;
    color: #2a9d8f;
}

.btn-secondary:hover {
    background: #e6f2f0;
}

/* "More Details" clickable text */
.more-details {
    font-weight: 600;
    color: #264653;
    cursor: pointer;
    text-align: left;
    display: inline-block;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.more-details:hover {
    color: #2a9d8f;
}

/* ---------- Accordion Inside Cards ---------- */
.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

.card-details.open {
    max-height: 1000px;
    /* enough to show full content */
    padding-top: 10px;
}

/* ---------- Why / Benefits ---------- */
.benefit {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    max-width: 60px;
    margin-bottom: 15px;
}

/* ---------- Process Steps ---------- */
.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.process-step {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    flex: 1 1 200px;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- About ---------- */
#about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
    text-align: left;
}

#about img {
    max-width: 150px;
    /* smaller, classy mic picture */
    border-radius: 12px;
}

#about .about-text {
    max-width: 500px;
}

/* ---------- Blog ---------- */
.blog-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    flex: 1 1 250px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-card h3 a {
    color: #264653;
    font-weight: 600;
}

.blog-card h3 a:hover {
    color: #2a9d8f;
}

/* ---------- Contact ---------- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

#contactForm button {
    width: 100%;
    background: #2a9d8f;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contactForm button:hover {
    background: #21867a;
}

/* Center the form content */
.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Checkbox inline with label */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

/* Make selector more specific to override width: 100% */
#contactForm .checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Captcha inline with input */
.captcha-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.captcha-wrapper label {
    margin: 0;
}

/* Make selector more specific to override width: 100% */
#contactForm .captcha-wrapper input[type="text"] {
    width: 80px;
    /* adjust as needed */
}


/* ---------- CTA / Footer ---------- */
#cta .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

footer {
    padding: 40px 20px;
    background: #222;
    color: #fff;
    text-align: center;
}

footer a {
    color: #2a9d8f;
}

footer a:hover {
    color: #2a9d8f;
    text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {

    .service-container,
    .benefits-container,
    .case-container,
    .blog-container,
    .process-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    #about {
        flex-direction: column;
        text-align: center;
    }

    #about .about-text {
        text-align: center;
    }
}


/* Make the Subscribe text wrap nicely on small screens */
@media (max-width: 480px) {
    .checkbox-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}



#languageSwitcher {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 100;
}

#languageSwitcher button {
    background: #2a9d8f;
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 0 4px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

#languageSwitcher button:hover {
    background: #21867a;
}