/* ===== CSS Variables ===== */
:root {
    --green-dark: #1a5632;
    --green-mid: #2d7a4f;
    --green-light: #4caf50;
    --green-pale: #e8f5e9;
    --green-bg: #f1f8e9;
    --leaf: #81c784;
    --earth: #5d4037;
    --sky: #e3f2fd;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #c8e6c9;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}
a { color: var(--green-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== Container ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== Navbar ===== */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 64px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-dark);
}
.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    padding: 8px 16px;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    background: var(--green-pale);
    color: var(--green-dark);
}
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links .dropdown-btn::after {
    content: '';
    border: solid var(--text-light);
    border-width: 0 2px 2px 0;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: var(--transition);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 260px;
    padding: 8px 0;
    z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: 0;
}
.dropdown-menu a:hover {
    background: var(--green-pale);
    color: var(--green-dark);
}
.dropdown-menu .dm-label {
    padding: 6px 16px 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-mid);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dropdown-menu .dm-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}
.nav-cta {
    background: var(--green-mid) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: var(--green-dark) !important;
}
/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--leaf) 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 600px; margin-bottom: 28px; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 700; }
.hero-stat .label { font-size: 0.85rem; opacity: 0.85; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--white); color: var(--green-dark); }
.btn-primary:hover { background: var(--green-pale); color: var(--green-dark); transform: translateY(-1px); }
.btn-green { background: var(--green-mid); color: white; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--green-mid); color: var(--green-mid); background: transparent; }
.btn-outline:hover { background: var(--green-mid); color: white; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== Section Styles ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--green-bg); }
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--green-light);
}
.card-icon {
    width: 48px;
    height: 48px;
    background: var(--green-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green-mid);
    font-size: 1.3rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--green-dark); }
.card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 14px; }
.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-mid);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-link:hover { gap: 8px; }
.card-link::after { content: '\2192'; }

/* ===== Process Steps ===== */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 700px; margin: 0 auto; }
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 28px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--green-mid);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}
.step:not(:last-child) .step-num::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 28px - 40px);
    background: var(--border);
}
.step-content h4 { font-size: 1rem; color: var(--green-dark); margin-bottom: 4px; }
.step-content p { font-size: 0.9rem; color: var(--text-light); }

/* ===== Tabs ===== */
.tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}
.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
    color: var(--green-dark);
    border-bottom-color: var(--green-mid);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== Accordion / FAQ ===== */
.accordion { max-width: 750px; }
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}
.accordion-btn {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.accordion-btn:hover { background: var(--green-pale); }
.accordion-btn::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--green-mid);
    transition: var(--transition);
}
.accordion-item.open .accordion-btn::after { content: '\2212'; }
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-body-inner {
    padding: 0 18px 16px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Certification Detail Page ===== */
.cert-hero {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    color: white;
    padding: 48px 0 36px;
}
.cert-hero .breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 12px;
    opacity: 0.8;
}
.cert-hero .breadcrumb a { color: white; opacity: 0.8; }
.cert-hero .breadcrumb a:hover { opacity: 1; }
.cert-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.cert-hero p { opacity: 0.9; max-width: 600px; }

/* Page navigation anchors */
.page-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 64px;
    z-index: 99;
}
.page-nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.page-nav-inner::-webkit-scrollbar { display: none; }
.page-nav-inner a {
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.page-nav-inner a:hover, .page-nav-inner a.active {
    color: var(--green-dark);
    border-bottom-color: var(--green-mid);
}

/* Content sections within detail */
.detail-section { padding: 48px 0; }
.detail-section:nth-child(even) { background: var(--green-bg); }
.detail-section h2 {
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.suitable-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.suitable-list li {
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.suitable-list li::before {
    content: '\2713';
    color: var(--green-mid);
    font-weight: 700;
}
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.criteria-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.criteria-card h4 {
    color: var(--green-dark);
    font-size: 1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.criteria-card ul { padding-left: 0; }
.criteria-card li {
    padding: 4px 0;
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.criteria-card li::before {
    content: '\25CF';
    color: var(--leaf);
    font-size: 0.6rem;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Levels */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.level-card {
    border-radius: var(--radius);
    padding: 20px;
    border: 2px solid;
    text-align: center;
}
.level-card.bronze { border-color: #cd7f32; background: #fdf5ed; }
.level-card.silver { border-color: #a0a0a0; background: #f8f8f8; }
.level-card.gold { border-color: #d4a017; background: #fffde7; }
.level-card.platinum { border-color: #7b68ee; background: #f3f0ff; }
.level-card h4 { font-size: 1rem; margin-bottom: 6px; }
.level-card .level-score { font-size: 0.8rem; font-weight: 700; color: var(--text-light); margin-bottom: 6px; }
.level-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 6px; }
.level-card .level-focus { font-size: 0.8rem; color: var(--green-mid); font-weight: 600; }

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    border-top: 3px solid var(--green-mid);
}
.benefit-card h4 { font-size: 0.95rem; color: var(--green-dark); margin-bottom: 10px; }
.benefit-card li {
    padding: 3px 0;
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.benefit-card li::before {
    content: '\2713';
    color: var(--green-mid);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Industries Grid ===== */
.industry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}
.industry-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.industry-icon {
    width: 56px;
    height: 56px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    color: var(--green-mid);
}
.industry-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; }
.industry-card p { font-size: 0.88rem; color: var(--text-light); }

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text);
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: var(--transition);
    font-family: inherit;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-info-box {
    background: var(--green-pale);
    border-radius: var(--radius);
    padding: 28px;
}
.contact-info-box h3 { color: var(--green-dark); margin-bottom: 16px; }
.contact-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-info-item .ci-icon {
    width: 36px;
    height: 36px;
    background: var(--green-mid);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.contact-info-item .ci-text h4 { font-size: 0.9rem; color: var(--green-dark); margin-bottom: 2px; }
.contact-info-item .ci-text p { font-size: 0.85rem; color: var(--text-light); }

/* ===== Footer ===== */
.footer {
    background: var(--green-dark);
    color: white;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer h4 { font-size: 1rem; margin-bottom: 14px; opacity: 0.95; }
.footer p { font-size: 0.88rem; opacity: 0.75; line-height: 1.6; }
.footer ul li { margin-bottom: 6px; }
.footer ul li a { color: white; opacity: 0.75; font-size: 0.88rem; }
.footer ul li a:hover { opacity: 1; color: var(--leaf); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    opacity: 0.65;
}

/* ===== Hero Split Layout ===== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 480px;
}
.hero-text {
    padding: 60px 40px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-image {
    position: relative;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
}

/* ===== People Banner / Social Proof ===== */
.people-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.people-avatars {
    display: flex;
}
.people-avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--white);
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.people-avatars img:first-child { margin-left: 0; }
.people-banner-text { line-height: 1.5; }

/* ===== Split Section (text + image side-by-side) ===== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: var(--shadow-hover);
}

/* ===== Why List ===== */
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Photo Grid (team section) ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}
.photo-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.photo-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.photo-label {
    padding: 12px 16px;
    background: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-dark);
}

/* ===== CTA with background image ===== */
.cta-image-section {
    position: relative;
    padding: 70px 0;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&h=500&fit=crop') center/cover no-repeat;
}
.cta-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,86,50,0.88), rgba(45,122,79,0.85));
    z-index: 1;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.note-box {
    background: var(--green-pale);
    border-left: 4px solid var(--green-mid);
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 2px solid var(--border); padding: 12px; box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .hero { padding: 0; }
    .hero h1 { font-size: 1.7rem; }
    .hero-split { grid-template-columns: 1fr; }
    .hero-text { padding: 40px 0; }
    .hero-image { max-height: 260px; }
    .hero-image img { mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0)); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0)); }
    .hero-stats { gap: 20px; }
    .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 24px; }
    .split-section.reverse { direction: ltr; }
    .photo-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .levels-grid { grid-template-columns: 1fr 1fr; }
    .page-nav-inner a { padding: 10px 12px; font-size: 0.8rem; }
    .section { padding: 40px 0; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .levels-grid { grid-template-columns: 1fr; }
    .suitable-list { grid-template-columns: 1fr; }
    .criteria-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
}
