/* =========================================================
   AWS Envirotech – frontend theme
   Change the brand colours here; everything else follows.
   ========================================================= */
:root {
    --primary: #128a43;        /* main green */
    --primary-dark: #0b6631;
    --accent: #8dc63f;         /* leaf / lime accent */
    --dark: #0d2a1c;           /* footer / headings */
    --text: #4f5d55;
    --muted: #7b8a82;
    --soft: #f2f8f3;           /* light tint for icons / small boxes */
    --section-alt: #ffffff;    /* alternate section background (client asked for white everywhere) */
    --footer-1: #17a052;       /* footer gradient – brighter brand green */
    --footer-2: #0f7d3d;
    --border: #e1ece4;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 35px rgba(13, 42, 28, .08);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--text); font-size: 16px; line-height: 1.75; background: var(--white); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--dark); font-weight: 700; line-height: 1.3; }
a { color: var(--primary); text-decoration: none; transition: .25s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

.section { padding: 90px 0; }
.bg-soft { background: var(--section-alt); }
.rounded-4 { border-radius: var(--radius) !important; }

/* ---------- Buttons ---------- */
.btn-theme {
    background: var(--primary); color: #fff; border: 2px solid var(--primary);
    border-radius: 50px; padding: 11px 28px; font-weight: 600; font-family: var(--font-head);
}
.btn-theme:hover, .btn-theme:focus { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline-theme {
    background: transparent; color: var(--primary); border: 2px solid var(--primary);
    border-radius: 50px; padding: 11px 28px; font-weight: 600; font-family: var(--font-head);
}
.btn-outline-theme:hover { background: var(--primary); color: #fff; }
.btn-lg.btn-theme { padding: 14px 34px; }

/* ---------- Social icons ---------- */
.social-links a {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; margin-left: 6px; font-size: 14px;
}
.social-links a:hover { background: var(--primary); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.06); transition: .3s; }
.site-header .navbar { padding: 14px 0; }
.site-header.scrolled .navbar { padding: 8px 0; }
.navbar-brand img { height: 52px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 800; color: var(--primary); font-size: 1.5rem; }
.navbar-toggler { border: 0; font-size: 1.5rem; color: var(--dark); box-shadow: none !important; }
.site-header .nav-link {
    font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--dark); padding: 8px 12px !important; position: relative; white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    .site-header .nav-link { font-size: 14px; padding: 8px 9px !important; }
    .site-header .offcanvas-body > .btn-theme { display: none; }  /* menu needs the room; "Contact Us" is in the menu */
    .navbar-brand img { height: 70px; width: auto;}
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--primary); }
.site-header .nav-link.active::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--primary); border-radius: 2px;
}
.offcanvas-logo { height: 40px; }
@media (min-width: 992px) {
    .site-header .offcanvas { position: static; visibility: visible !important; transform: none !important; background: transparent; border: 0; flex-grow: 1; }
    .site-header .offcanvas-header { display: none; }
    .site-header .offcanvas-body { display: flex; padding: 0; overflow: visible; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas-body .btn-theme { margin-top: 16px; }
    .navbar-brand img { height: 42px; }
}

/* ---------- Hero ---------- */
.hero-slide {
    min-height: 640px; display: flex; align-items: center; background-size: cover; background-position: center; position: relative;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,35,21,.85) 0%, rgba(8,35,21,.55) 55%, rgba(8,35,21,.15) 100%); }
.hero-content { max-width: 680px; color: #fff; padding: 80px 0; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; color: #e3efe7; margin-bottom: 32px; }
.hero .swiper-slide-active .hero-content > * { animation: heroUp .8s ease both; }
.hero .swiper-slide-active .hero-content p { animation-delay: .15s; }
.hero .swiper-slide-active .hero-content .btn { animation-delay: .3s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .swiper-button-prev, .hero .swiper-button-next {
    color: #fff; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.15);
}
.hero .swiper-button-prev::after, .hero .swiper-button-next::after { font-size: 18px; }
.hero .swiper-button-prev:hover, .hero .swiper-button-next:hover { background: var(--primary); }
.swiper-pagination-bullet-active { background: var(--accent) !important; }
@media (max-width: 767px) { .hero-slide { min-height: 520px; } .hero .swiper-button-prev, .hero .swiper-button-next { display: none; } }

/* ---------- Section heading ---------- */
.section-heading { margin-bottom: 50px; max-width: 780px; }
.section-heading:not(.text-center) { max-width: none; margin-bottom: 0; }
.section-label {
    display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--primary); margin-bottom: 12px; padding-left: 34px; position: relative;
}
.section-label::before { content: ''; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--accent); }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 18px; letter-spacing: -.3px; }
.section-intro p:last-child { margin-bottom: 0; }
.section-heading.light h2 { color: #fff; }
.section-heading.light .section-label { color: var(--accent); }

/* ---------- About ---------- */
.about-img img { border-radius: var(--radius); }
.about-section .section-intro strong { color: var(--dark); }
.section-intro mark { white-space: nowrap; }

/* ---------- Service cards (home) ---------- */
.service-card {
    background: #fff; border-radius: var(--radius); padding: 34px 26px 28px; height: 100%; position: relative;
    border: 1px solid var(--border); transition: .3s; display: flex; flex-direction: column; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--primary); transition: .35s; }
.service-card:hover::before { width: 100%; }
.service-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--soft); line-height: 1; }
.service-card:hover .service-num { color: #e2f0e5; }
.service-icon {
    width: 60px; height: 60px; border-radius: 14px; background: var(--soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; transition: .3s;
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card p { font-size: 15px; flex-grow: 1; }
.service-link { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.service-link i { font-size: 12px; margin-left: 4px; transition: .25s; }
.service-link:hover i { margin-left: 8px; }

/* ---------- Testimonials ---------- */
.testimonial-swiper { padding-bottom: 50px !important; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); height: 100%; position: relative; }
.testimonial-swiper .swiper-slide { height: auto; padding: 10px 4px; }
.testimonial-card .avatar {
    width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.testimonial-card h5 { margin: 0; font-size: 1rem; }
.testimonial-card .source { color: var(--muted); font-size: 12px; }
.testimonial-card .source i { color: #4285f4; }
.testimonial-card .stars { color: #f6b100; font-size: 14px; }
.testimonial-card p { margin: 0; font-size: 15px; }
.testimonial-card .quote { position: absolute; right: 24px; top: 24px; font-size: 30px; color: var(--soft); }

/* ---------- Work process ---------- */
.process-card { text-align: center; padding: 10px 16px; position: relative; }
.process-icon {
    width: 110px; height: 110px; margin: 0 auto 22px; border-radius: 50%; background: var(--soft); border: 2px dashed var(--accent);
    display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--primary); position: relative; transition: .3s;
}
.process-card:hover .process-icon { background: var(--primary); color: #fff; border-style: solid; }
.process-num {
    position: absolute; top: -4px; right: -4px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
    color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.process-card h3 { font-size: 1.15rem; }
@media (min-width: 992px) {
    .process-row > div:not(:last-child) .process-card::after {
        content: ''; position: absolute; top: 55px; right: -18%; width: 36%; border-top: 2px dashed var(--border);
    }
}

/* ---------- Clients ---------- */
.client-logo { background: #fff; border-radius: 12px; height: 130px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; border: 1px solid var(--border); overflow: hidden; transition: .3s; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.08); transition: transform .3s; image-rendering: -webkit-optimize-contrast; }
.client-logo:hover { box-shadow: var(--shadow); border-color: transparent; }
.client-logo:hover img { transform: scale(1.14); }
.clientele-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.client-logo-lg { height: 160px; padding: 14px 16px; box-shadow: 0 4px 18px rgba(13,42,28,.05); }
@media (max-width: 575px) { .clientele-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .client-logo-lg { height: 120px; } }

/* ---------- Counters ---------- */
.counters-section { background: linear-gradient(135deg, var(--footer-1), var(--footer-2)); color: #fff; }
.counters-section .section-heading.light .section-label { color: #fff; }
.counters-section .section-label::before { background: #fff; }
.counter-box { text-align: center; padding: 30px 10px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.counter-box i { font-size: 30px; color: #fff; margin-bottom: 10px; }
.counter-value { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; }
.counter-label { color: #eaf7ee; font-weight: 600; }
.counter-box { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.22) !important; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.form-card .section-heading { margin-bottom: 30px; }
.form-label { font-weight: 600; color: var(--dark); font-size: 14px; margin-bottom: 6px; }
.form-label .req { color: #d63939; }
.form-control, .form-select { border-radius: 10px; border: 1px solid #d5e3d9; padding: 12px 16px; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(18,138,67,.15); }
.has-error .form-control, .has-error .form-select { border-color: #d63939; }
@media (max-width: 575px) { .form-card { padding: 28px 20px; } }

/* ---------- Page banner ---------- */
.page-banner {
    padding: 90px 0 80px; text-align: center; color: #fff; position: relative;
    background-color: var(--dark); background-size: cover; background-position: center;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.page-banner .breadcrumb { margin: 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: #cfe3d6; }
.page-banner .breadcrumb-item.active { color: var(--accent); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #cfe3d6; }

/* ---------- About page ---------- */
.vision-item { display: flex; gap: 20px; padding: 22px; border-radius: var(--radius); background: #fff; margin-top: 18px; box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.vision-icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.vision-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.vision-item p { margin: 0; font-size: 15px; }
.director-card { background: #fff; border-radius: 24px; padding: 56px; border: 1px solid var(--border); border-left: 6px solid var(--primary); box-shadow: var(--shadow); }
.director-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.director-text p { font-size: 1.02rem; }
.director-sign { font-family: var(--font-head); font-weight: 600; color: var(--dark); margin-top: 20px; }
.director-img { border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 767px) { .director-card { padding: 30px 22px; } }

/* ---------- Services page ---------- */
.service-detail h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.service-detail + .service-detail { border-top: 1px solid var(--border); }
.service-detail .service-text { font-size: 1.02rem; }

/* ---------- Career ---------- */
.vacancy-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.vacancy-item {
    display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--border); color: var(--dark); font-family: var(--font-head); font-weight: 600; transition: .3s;
}
.vacancy-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.vacancy-icon { font-size: 1.4rem; color: var(--accent); width: 28px; text-align: center; }
.vacancy-title { flex-grow: 1; }

/* ---------- Projects ---------- */
.project-list-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.project-list-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 20px; }
.project-list { list-style: none; padding: 0; margin: 0; }
.project-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.project-list li:last-child { border-bottom: 0; }
.project-list i { color: var(--primary); margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-info-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-list small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.contact-list a, .contact-list span { color: var(--dark); font-weight: 500; }
.ci-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.urgent-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius); padding: 30px 36px; }
.urgent-card h4 { color: #fff; }
.urgent-card p { color: #e3efe7; margin-bottom: 8px; }
.urgent-card .btn-light { border-radius: 50px; font-weight: 600; color: var(--primary-dark); padding: 10px 24px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; transition: .3s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 46px; color: var(--accent); }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-body h3 { font-size: 1.2rem; }
.blog-body h3 a { color: var(--dark); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { flex-grow: 1; font-size: 15px; }
.blog-date { font-size: 13px; color: var(--muted); }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.sidebar-card li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-card li a { display: block; color: var(--dark); font-weight: 600; }
.sidebar-card small { color: var(--muted); }
.pagination .page-link { color: var(--primary); border-radius: 8px !important; margin: 0 3px; }
.pagination .active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(135deg, var(--footer-1) 0%, var(--footer-2) 100%); color: rgba(255,255,255,.9); padding-top: 80px; font-size: 15px; }
.site-footer p { color: rgba(255,255,255,.9); }
.footer-logo img { height: 54px; width: auto; background: #fff; padding: 8px 14px; border-radius: 10px; }
.footer-title { color: #fff; font-size: 1.2rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: #fff; border-radius: 3px; opacity: .85; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.9); }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 8px; color: #d9f2c0; font-size: 12px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: #d9f2c0; margin-top: 6px; width: 16px; }
.footer-contact a, .footer-contact span { color: rgba(255,255,255,.92); }
.footer-contact a:hover { color: #fff; }
.site-footer .social-links a { margin: 0 8px 0 0; background: rgba(255,255,255,.16); }
.site-footer .social-links a:hover { background: #fff; color: var(--primary-dark); }
.btn-footer { background: #fff; color: var(--primary-dark); border-radius: 50px; font-weight: 600; padding: 9px 22px; font-family: var(--font-head); }
.btn-footer:hover { background: #eaf7ee; color: var(--primary-dark); }
.footer-bottom { background: rgba(0,0,0,.12); margin-top: 60px; padding: 20px 0; font-size: 14px; color: rgba(255,255,255,.88); }
.footer-bottom a { color: #fff; font-weight: 600; }

/* ---------- Floating buttons ---------- */
/* Chat widget – calm, brand-coloured, no pulsing */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 1045; font-family: var(--font-body); }
.chat-launcher {
    width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(13,42,28,.25); transition: .25s; margin-left: auto;
}
.chat-launcher:hover { background: var(--primary-dark); transform: translateY(-2px); }
.chat-launcher .icon-close, .chat-widget.open .chat-launcher .icon-open { display: none; }
.chat-widget.open .chat-launcher .icon-close { display: inline-block; }
.chat-panel {
    position: absolute; right: 0; bottom: 74px; width: 330px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px;
    box-shadow: 0 18px 50px rgba(13,42,28,.22); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s;
    border: 1px solid var(--border);
}
.chat-widget.open .chat-panel { opacity: 1; visibility: visible; transform: none; }
.chat-head { background: var(--dark); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 15px; }
.chat-head small { color: #cfe3d6; font-size: 12px; }
.chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 4px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-close { margin-left: auto; background: transparent; border: 0; color: #cfe3d6; font-size: 18px; }
.chat-close:hover { color: #fff; }
.chat-body { padding: 18px; background: #f7faf8; }
.chat-bubble { background: #fff; border: 1px solid var(--border); border-radius: 4px 14px 14px 14px; padding: 12px 14px; font-size: 14px; color: var(--dark); line-height: 1.55; }
.chat-options { display: grid; gap: 8px; margin-top: 14px; }
.chat-options a {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--border);
    color: var(--dark); font-weight: 600; font-size: 14px;
}
.chat-options a > i:first-child { width: 18px; text-align: center; color: var(--primary); font-size: 16px; }
.chat-options a span { flex-grow: 1; }
.chat-options a > i:last-child { font-size: 11px; color: var(--muted); }
.chat-options a:hover { border-color: var(--primary); color: var(--primary); }
.back-to-top {
    position: fixed; right: 30px; bottom: 96px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; z-index: 1040; opacity: 0; visibility: hidden; transition: .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); color: #fff; }

.error-code { font-family: var(--font-head); font-size: 6rem; font-weight: 800; color: var(--primary); line-height: 1; }

/* ---------- Paragraph alignment (justified body text) ---------- */
.section-intro p, .service-text, .director-text p, .post-content p, .vision-item p,
.profile-text p, .contact-info-card p, .about-section p {
    text-align: justify; text-justify: inter-word;
}
/* short / narrow texts read better left-aligned or centred */
.text-center .section-intro p, .section-heading.text-center p, .team-body p { text-align: center; }
.service-card p, .testimonial-card p { text-align: left; }

/* ---------- Highlights (ISO etc.) ---------- */
.section-intro mark, mark.hl {
    background: #e3f3e8; color: var(--primary-dark); font-weight: 700; padding: 1px 7px; border-radius: 5px;
    border: 1px solid #bfe0c9; white-space: nowrap;
}
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cert-badges span {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 50px; border: 1px solid #bfe0c9;
    background: #fff; color: var(--primary-dark); font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.cert-badges i { color: var(--primary); }

/* ---------- Services page extras ---------- */
.service-nav { padding: 34px 0 6px; }
.service-nav-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.service-nav a {
    padding: 8px 16px; border-radius: 50px; border: 1px solid var(--border); color: var(--dark); font-size: 14px; font-weight: 600;
    font-family: var(--font-head); background: #fff;
}
.service-nav a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.service-tagline { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--primary); margin-bottom: 18px; line-height: 1.5; }
.service-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.service-points li { display: flex; gap: 10px; color: var(--dark); font-weight: 500; }
.service-points i { color: var(--primary); margin-top: 6px; }
.service-visual {
    aspect-ratio: 1 / 1; max-height: 520px; width: 100%; border-radius: var(--radius); display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px;
    background: radial-gradient(circle at 30% 20%, #e8f5ec 0%, #f6fbf7 45%, #ffffff 100%); border: 1px solid var(--border);
}
.sv-ring {
    width: 150px; height: 150px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 60px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 14px rgba(18,138,67,.12), 0 0 0 30px rgba(18,138,67,.06);
    margin-bottom: 26px;
}
.service-visual strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--dark); }
.service-visual small { color: var(--muted); letter-spacing: 2px; text-transform: uppercase; font-size: 12px; font-weight: 600; }

/* ---------- Management team ---------- */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; text-align: center; transition: .3s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #e8f5ec, #f7fbf8); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-initials { width: 120px; height: 120px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; display: flex; align-items: center; justify-content: center; }
.team-body { padding: 22px 20px 24px; }
.team-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-role { display: block; color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.team-body p { font-size: 14px; margin: 0; }
.team-links { margin-top: 12px; display: flex; justify-content: center; gap: 8px; }
.team-links a { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.team-links a:hover { background: var(--primary); color: #fff; }

/* ---------- Company profile box ---------- */
.profile-card {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding: 30px 34px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--footer-1), var(--footer-2)); color: #fff;
}
.profile-icon { width: 64px; height: 64px; border-radius: 14px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.profile-text { flex: 1 1 260px; }
.profile-text h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.profile-text p { color: rgba(255,255,255,.92); margin: 0; }
.profile-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 700; color: #d9f2c0; }
.profile-card .btn-light { border-radius: 50px; font-weight: 600; color: var(--primary-dark); padding: 11px 26px; }

@media (max-width: 767px) { .section { padding: 64px 0; } .chat-widget { right: 16px; bottom: 16px; } .back-to-top { right: 22px; bottom: 86px; } }

/* Mobile: justified text leaves wide gaps on narrow screens – use left alignment there */
@media (max-width: 767.98px) {
    .section-intro p, .service-text, .director-text p, .post-content p, .vision-item p,
    .profile-text p, .contact-info-card p, .about-section p { text-align: left; }
    .text-center .section-intro p, .section-heading.text-center p { text-align: center; }
    .service-nav-inner { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
    .service-nav a { white-space: nowrap; flex-shrink: 0; }
}
