/* ---------- Root variables ---------- */
:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-soft: #d8f3dc;
    --accent: #52b788;
    --text-dark: #1a2e35;
    --text-muted: #5b6c7a;
    --bg-light: #f7faf9;
    --bg-card: #ffffff;
    --border: #e6ece9;
    --shadow-sm: 0 4px 18px rgba(27, 67, 50, 0.06);
    --shadow-md: 0 14px 40px rgba(27, 67, 50, 0.1);
    --shadow-lg: 0 25px 60px rgba(27, 67, 50, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    transition: color 0.25s ease;
}

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--primary-soft);
    border-radius: 30px;
}

.section-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 22px;
}

.section-subtitle {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.accent-text {
    color: var(--primary);
    font-style: italic;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    padding: 13px 30px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(45, 106, 79, 0.22);
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(45, 106, 79, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    padding: 13px 30px;
    border-radius: 40px;
    font-weight: 600;
    border: 1.5px solid var(--primary);
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- Navbar ---------- */
.custom-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.brand-primary {
    color: var(--primary);
}
.brand-secondary {
    color: var(--text-dark);
}

.custom-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 18px !important;
    position: relative;
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--primary);
}
.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 22px;
}

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, #f2f9f5 0%, #f7faf9 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shape {
    position: absolute;
    top: -120px;
    right: -180px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.18), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 40px;
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 26px;
}
.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.08;
    margin-bottom: 26px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 530px;
    margin-bottom: 36px;
}

.hero-buttons {
    margin-bottom: 46px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}
.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
    background: var(--primary-soft);
    padding: 8px;
    border-radius: 50%;
}

/* ---------- Hero card stack ---------- */
.hero-card-stack {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.hero-card:hover {
    transform: translateY(-4px);
}

.hero-card .card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 14px;
    font-size: 0.92rem;
}
.hero-card .card-head i {
    color: var(--primary);
    font-size: 1.2rem;
}
.hero-card p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.card-1 {
    top: 30px;
    right: 60px;
    width: 280px;
    z-index: 3;
}
.card-1 .card-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.card-1 .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.tag-green {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
}

.card-2 {
    top: 210px;
    right: 0px;
    width: 260px;
    z-index: 2;
    background: var(--primary-dark);
    color: #fff;
}
.card-2 .card-head,
.card-2 p {
    color: rgba(255, 255, 255, 0.85);
}
.card-2 .card-head i {
    color: var(--accent);
}

.card-3 {
    top: 370px;
    right: 120px;
    width: 260px;
    z-index: 1;
}

/* ---------- About ---------- */
.about-section {
    background: #fff;
}

.about-values {
    margin-top: 36px;
}

.value-item {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.value-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.value-item h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.value-item p {
    font-size: 0.93rem;
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-card {
    background: var(--bg-light);
    padding: 32px 26px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.about-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}
.about-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.about-card p {
    font-size: 0.93rem;
    margin-bottom: 0;
}

.highlight-card {
    background: var(--primary-dark);
    color: #fff;
    border: none;
}
.highlight-card i,
.highlight-card h4 {
    color: #fff;
}
.highlight-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- Services ---------- */
.services-section {
    background: var(--bg-light);
}

.service-card {
    background: #fff;
    padding: 36px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.service-card h4 {
    font-size: 1.22rem;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Industries */
.industries-block {
    padding-top: 40px;
}
.industries-block h3 {
    font-size: 1.7rem;
}
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}
.industry-tag {
    background: #fff;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid var(--border);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.industry-tag i {
    color: var(--primary);
}
.industry-tag:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ---------- FAQ ---------- */
.faq-section {
    background: #fff;
}

.custom-accordion .accordion-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    padding: 22px 26px;
    font-size: 1.02rem;
    box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--primary-dark);
}
.custom-accordion .accordion-button::after {
    background-image: none;
    content: "\F282";
    font-family: "bootstrap-icons";
    font-weight: 600;
    color: var(--primary);
    transition: transform 0.3s ease;
    width: auto;
    height: auto;
}
.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.custom-accordion .accordion-body {
    background: #fff;
    padding: 0 26px 24px;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
}

/* ---------- Contacts ---------- */
.contacts-section {
    background: var(--bg-light);
}

.contact-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 70px 60px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-info {
    margin-top: 34px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-info-item a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.02rem;
}
.contact-info-item a:hover {
    color: var(--primary);
}
.contact-info-item p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact form */
.contact-form-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 42px 34px;
    border: 1px solid var(--border);
}
.contact-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 26px;
    font-size: 0.95rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control, .form-select {
    border: 1px solid var(--border);
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
}

.form-status {
    text-align: center;
    font-weight: 500;
    font-size: 0.92rem;
    min-height: 20px;
}
.form-status.success {
    color: var(--primary);
}
.form-status.error {
    color: #c0392b;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0f201b;
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .brand-primary {
    color: var(--accent);
}
.site-footer .brand-secondary {
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-copy {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .contact-wrapper {
        padding: 40px 28px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-features {
        gap: 14px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    .contact-form-card {
        padding: 28px 22px;
    }
}
