/* Inner page styles */

.site-page main {
    padding-top: 72px;
}

.page-hero .breadcrumb-nav span:last-child {
    color: rgba(255, 255, 255, 0.9);
}

/* Form input icons */
.form-input-icon {
    position: relative;
}

.form-input-icon > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.form-input-icon .form-control,
.form-input-icon .form-select {
    padding-left: 2.5rem;
}

.form-input-icon textarea.form-control {
    padding-left: 2.5rem;
    padding-top: 0.75rem;
}

.form-input-icon.icon-textarea > i {
    top: 1rem;
    transform: none;
}

/* Service detail */
.service-detail-section {
    padding: 4rem 0;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    background: rgba(232, 148, 26, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-detail-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-detail-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin: 1.5rem 0;
}

.service-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.service-benefit-list li i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.sticky-enquiry-form {
    position: sticky;
    top: 92px;
}

/* Contact page */
.contact-page-section {
    padding: 4rem 0;
}

.contact-info-card-page {
    background: var(--gradient-hero);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
}

.contact-info-card-page h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-card-page .contact-info-item {
    margin-bottom: 1.25rem;
}

.contact-info-card-page .contact-info-icon {
    background: rgba(255, 255, 255, 0.15);
}

.contact-info-card-page .contact-info-icon i {
    color: var(--primary);
}

.contact-info-card-page .contact-info-item h6 {
    color: var(--white);
}

.contact-info-card-page .contact-info-item p,
.contact-info-card-page .contact-info-item a {
    color: rgba(255, 255, 255, 0.85);
}

.contact-social-wrap {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-social-wrap h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

/* Thank you */
.thank-you-section {
    padding: 6rem 0;
    text-align: center;
}

.thank-you-icon {
    width: 90px;
    height: 90px;
    background: rgba(27, 94, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.thank-you-icon i {
    font-size: 2.5rem;
    color: var(--secondary);
}

/* About page */
.about-page-section {
    padding: 4rem 0;
}

.about-page-images {
    position: relative;
    min-height: 400px;
}

.about-page-images .about-img-primary {
    width: 80%;
    height: 440px;
    object-fit: cover;
    object-position: center 18%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-page-images .about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-cert-badge {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    margin-top: 1.5rem;
}

.about-cert-badge i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-vision-mission-section {
    padding: 4rem 0;
    background: var(--light-bg, #f8f9fa);
}

.about-vm-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}

.about-vm-icon {
    width: 56px;
    height: 56px;
    background: rgba(27, 94, 32, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.about-vm-icon-alt {
    background: rgba(232, 148, 26, 0.12);
}

.about-vm-icon i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.about-vm-icon-alt i {
    color: var(--primary);
}

.about-vm-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-vm-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.about-team-section {
    padding: 4rem 0 5rem;
}

.about-team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-team-avatar {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.12), rgba(232, 148, 26, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.about-team-avatar i {
    font-size: 2rem;
    color: var(--secondary);
}

.about-team-card h5 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.about-team-role {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.about-founder-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-founder-visual {
    position: relative;
}

.about-founder-photo,
.about-founder-photo-placeholder {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-founder-photo {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
}

.about-founder-photo-placeholder {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, rgba(27, 94, 32, 0.12), rgba(232, 148, 26, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-founder-photo-placeholder i {
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.85;
}

.about-founder-quote {
    position: relative;
    margin: 1.5rem 0;
    padding: 0;
    border: none;
}

.about-founder-quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.35;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.about-founder-quote p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0;
}

.about-founder-signature {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(232, 148, 26, 0.25);
}

.about-founder-signature strong {
    display: block;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.about-founder-signature span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-team-members-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.about-member-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.25rem;
}

.about-member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-member-photo {
    padding: 1.25rem 1rem 0.75rem;
    text-align: center;
    background: transparent;
}

.about-member-photo img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    border: 3px solid rgba(27, 94, 32, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.about-member-body {
    padding: 0 1.25rem 1.35rem;
    text-align: center;
}

.about-member-body h5 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .sticky-enquiry-form {
        position: static;
        margin-top: 2rem;
    }
}

/* Service pages */
.service-hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.service-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.service-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 560px;
    margin-bottom: 1.75rem;
}

.service-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.service-hero-ctas .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.75rem 1.65rem;
    line-height: 1.2;
    border-width: 2px;
    white-space: nowrap;
    vertical-align: middle;
}

.service-hero-image-wrap {
    text-align: center;
}

.service-hero-image {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.breadcrumb-nav .breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
}

.service-intro-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.service-benefit-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-benefit-card .benefit-icon {
    width: 52px;
    height: 52px;
    background: rgba(232, 148, 26, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-benefit-card .benefit-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.service-benefit-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--dark);
}

.service-benefit-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.service-scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.service-scope-list li i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-process-step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow);
    text-align: center;
}

.service-process-step .step-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.service-process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-process-step p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

.service-why-card {
    text-align: center;
    padding: 1.5rem 1rem;
    height: 100%;
}

.service-why-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.service-why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-why-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

.scheme-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(27, 94, 32, 0.06);
    border-left: 3px solid var(--secondary);
    padding: 0.85rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.25rem;
}

.service-layer-card {
    border-top: 3px solid var(--primary);
}

.off-grid-bess-panel {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.06) 0%, rgba(232, 148, 26, 0.08) 100%);
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
}

.off-grid-bess-stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.off-grid-bess-stat i {
    font-size: 2.5rem;
    color: var(--secondary-light);
    display: block;
    margin-bottom: 0.75rem;
}

.off-grid-bess-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.off-grid-bess-stat span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.service-faq-accordion .accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.98rem;
    padding: 1rem 1.25rem;
    color: var(--dark);
}

.service-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(232, 148, 26, 0.08);
    color: var(--dark);
    box-shadow: none;
}

.service-faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.service-faq-accordion .accordion-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.service-enquiry-section {
    background: var(--light-bg);
}

.service-enquiry-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-enquiry-form-card h4 {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.service-enquiry-form-card h4 span {
    color: var(--primary);
}

.service-cta-band {
    padding: 3.5rem 0;
}

@media (max-width: 767.98px) {
    .service-hero {
        text-align: center;
    }

    .service-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-ctas {
        justify-content: center;
    }

    .breadcrumb-nav {
        text-align: center !important;
    }

    .service-hero-image-wrap {
        margin-top: 0.5rem;
    }
}

.legal-page-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.legal-page-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow);
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.legal-page-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 1.75rem 0 0.75rem;
}

.legal-page-card h2:first-of-type {
    margin-top: 0;
}

.legal-page-card p,
.legal-page-card li {
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-page-card a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.legal-page-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.legal-table {
    font-size: 0.92rem;
    margin-bottom: 0;
}

.legal-table th {
    background: var(--light-bg);
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
}

.legal-table td {
    vertical-align: top;
}

@media (max-width: 575.98px) {
    .legal-page-card {
        padding: 1.5rem 1.15rem;
    }
}
