/* Custom Properties */
:root {
    --primary-color: #2E5A1C; /* Dark green */
    --primary-light: #4A8C2D;
    --secondary-color: #8B5A2B; /* Earthy brown */
    --accent-color: #F4A460;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Outline buttons on light cards (e.g. company boxes) */
.product-card .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-card .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Typography Enhancements */
.subtitle {
    display: block;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled,
.inner-page .navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 80px;
    width: 150px;
    object-fit: cover;
    border-radius: 20%;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo img,
.inner-page .logo img {
    border-color: var(--primary-color);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.navbar.scrolled .logo-text,
.inner-page .logo-text {
    color: var(--primary-color);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.navbar.scrolled .nav-link,
.inner-page .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.btn-contact:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-contact::after {
    display: none;
}

.btn-login {
    background-color: transparent;
    color: var(--white) !important;
    border: 1px solid var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-left: 10px;
}

.btn-login:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar.scrolled .btn-login,
.inner-page .btn-login {
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.navbar.scrolled .btn-login:hover,
.inner-page .btn-login:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.btn-login::after {
    display: none;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-icon,
.inner-page .mobile-menu-icon {
    color: var(--text-dark);
}

.inner-page main {
    padding-top: 100px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    display: block;
    padding-bottom: 7.5rem;
}

.hero-slider-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
}

.hero-slide {
    flex: 0 0 auto;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding-top: 5rem;
}

.hero-tagline {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.hero-slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.hero-slider-prev {
    left: 1.5rem;
}

.hero-slider-next {
    right: 1.5rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 9.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    gap: 0.5rem;
}

.hero-slider-dots .slider-dot {
    background: rgba(255, 255, 255, 0.35);
}

.hero-slider-dots .slider-dot[aria-current="true"] {
    background: var(--white);
}

.hero-follow {
    padding-top: 7rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.stats-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 30;
    width: min(1000px, calc(100% - 2.5rem));
    border: 1px solid var(--glass-border);
}

.stat-box {
    text-align: center;
    padding: 0.5rem 1.25rem;
    border-right: 1px solid rgba(46, 90, 28, 0.12);
    min-width: 0;
}

.stat-box:last-child {
    border-right: none;
}

.stat-value {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    line-height: 1;
    white-space: nowrap;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin: 0;
    word-wrap: break-word;
    hyphens: auto;
}

/* About Section */
.about {
    padding-top: 10rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: rgba(74, 140, 45, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-image {
    position: relative;
}

.rounded-image {
    border-radius: 1rem;
    width: 100%;
}

.award-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.award-badge i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.award-badge strong {
    display: block;
    color: var(--text-dark);
}

.award-badge span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Products Section */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-info ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.product-info ul li {
    margin-bottom: 8px;
}

.partnership ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.partnership ul li {
    margin-bottom: 8px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: inherit;
}

.price-amount {
    font-size: inherit;
    font-weight: 600;
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
    transform: scale(1.1);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    width: 50%;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 90, 28, 0.1);
}

.form-control[readonly] {
    background-color: var(--bg-light);
    cursor: not-allowed;
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.currency {
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #333;
}

.input-group .form-control {
    border: none;
    border-radius: 0;
    flex: 1;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-display span {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 40px;
}

.price-display .form-control {
    flex: 1;
    padding: 0.75rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.payment-modal-content,
.eganow-payment-modal-content {
    max-width: 520px;
}

.eganow-payment-modal-content {
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
}

.eganow-payment-modal-content h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eganow-payment-modal-content h2 i {
    color: var(--primary-color);
}

.eganow-payment-form .form-group {
    margin-bottom: 1rem;
}

.eganow-payment-form .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.eganow-modal-notice {
    margin-bottom: 1.25rem;
}

.eganow-payment-actions {
    margin-top: 0.5rem;
}

.eganow-payment-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.eganow-sandbox-scenario {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #f0fdfa;
    border: 1px solid rgba(15, 76, 92, 0.15);
}

.eganow-sandbox-scenario label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.eganow-sandbox-hint {
    margin-top: 0.5rem;
    font-size: 0.88rem;
}

.eganow-charge-preview {
    margin-top: 0.65rem;
    margin-bottom: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.payment-modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.payment-summary {
    background: var(--bg-light);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.payment-summary-row:last-child {
    border-bottom: none;
}

.payment-summary-row span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.payment-summary-row strong {
    color: var(--text-dark);
    text-align: right;
    word-break: break-word;
}

.payment-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-options-single {
    grid-template-columns: 1fr;
}

.payment-option-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    padding: 1.25rem;
    border: 2px solid rgba(46, 90, 28, 0.15);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.payment-option-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.payment-option-btn:hover {
    border-color: var(--primary-color);
    background: rgba(46, 90, 28, 0.04);
    transform: translateY(-2px);
}

.payment-option-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.payment-option-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.payment-option-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.payment-portal-modal .modal-content {
    max-width: min(960px, 96vw);
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
}

.payment-portal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.payment-portal-modal-header h2 {
    margin-bottom: 0;
}

.payment-portal-new-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
}

.payment-portal-frame {
    width: 100%;
    min-height: 70vh;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    background: #fff;
}

.portal-embed-page {
    background: #fff;
    margin: 0;
}

.portal-embed-main {
    padding: 1rem 0 1.5rem;
}

.portal-embed-layout {
    display: grid;
    gap: 1.25rem;
}

.portal-embed-layout .portal-card {
    padding: 1.25rem;
}

.omnibsic-portal-actions {
    margin-bottom: 1rem;
}

.omnibsic-pay-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.omnibsic-pay-detail span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.omnibsic-pay-detail-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.omnibsic-pay-detail-value strong {
    word-break: break-word;
}

.omnibsic-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.omnibsic-iframe-fallback {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.indemnity-modal-content {
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.indemnity-modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.indemnity-scroll {
    flex: 1;
    overflow-y: auto;
    max-height: 50vh;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
}

.indemnity-document h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.indemnity-document p {
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.65;
}

.indemnity-section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.indemnity-signature {
    margin-top: 1.25rem;
    font-weight: 600;
}

.indemnity-download {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.indemnity-download a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.indemnity-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.indemnity-acceptance input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.portal-page {
    background: var(--bg-light);
}

.portal-hero {
    padding: 110px 0 60px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.eganow-hero {
    background: linear-gradient(135deg, #0f4c5c, #1b7f8f);
}

.bank-hero {
    background: linear-gradient(135deg, #1f3a5f, #3b5f8a);
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.portal-brand i {
    font-size: 2.5rem;
}

.portal-brand-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.portal-hero h1 {
    margin-bottom: 0;
    color: #fff;
}

.portal-hero p {
    max-width: 720px;
    opacity: 0.92;
}

.portal-main {
    padding-top: 2rem;
}

.portal-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
}

.portal-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
}

.portal-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portal-summary {
    margin-bottom: 0;
}

.portal-note {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.portal-form-group {
    flex-direction: column;
    align-items: stretch;
}

.portal-form-group label {
    width: 100%;
    margin-bottom: 0.35rem;
}

.portal-payload-preview {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #0f172a;
    border-radius: 0.75rem;
}

.portal-payload-preview h3 {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.portal-payload-preview pre {
    color: #e2e8f0;
    font-size: 0.82rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Consolas, Monaco, monospace;
}

.portal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.portal-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portal-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 1rem;
}

.portal-sandbox-notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    background: #ecfeff;
    color: #0f4c5c;
    font-size: 0.92rem;
}

.portal-sandbox-notice i {
    margin-top: 0.15rem;
}

.portal-sandbox-notice-warning {
    background: #fff7ed;
    color: #9a3412;
}

.portal-card-error {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .portal-card-row {
        grid-template-columns: 1fr;
    }
}

.bank-details-grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border-radius: 0.65rem;
}

.bank-detail-item span {
    color: var(--text-muted);
}

.bank-detail-item strong {
    text-align: right;
}

.portal-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.portal-choice-card {
    display: block;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.portal-choice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 90, 28, 0.2);
}

.portal-choice-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portal-choice-card h2 {
    margin-bottom: 0.75rem;
}

.portal-choice-card p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.portal-choice-link {
    color: var(--primary-color);
    font-weight: 600;
}

.portal-choice-card-static {
    display: block;
    cursor: default;
}

.portal-choice-card-static:hover {
    transform: none;
    border-color: transparent;
}

.portal-pay-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.portal-choice-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.portal-local-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(46, 90, 28, 0.08);
    border: 1px solid rgba(46, 90, 28, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.portal-local-notice i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.portal-local-notice h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.15rem;
}

.portal-local-notice p {
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.65;
}

.portal-local-notice a {
    color: var(--primary-color);
    font-weight: 600;
}

.portal-info-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portal-info-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
}

.portal-info-card ol {
    margin: 1rem 0 1.5rem 1.25rem;
    color: var(--text-muted);
}

.portal-info-card li {
    margin-bottom: 0.5rem;
}

.portal-empty {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
}

.portal-empty i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.portal-empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .portal-layout,
    .portal-choice-grid {
        grid-template-columns: 1fr;
    }

    .portal-actions {
        justify-content: stretch;
    }

    .portal-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* Sustainability Section */
.sustainability-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.sustainability-clean-fuel-banner {
    max-width: 960px;
    margin: 0 auto 3rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sustainability-clean-fuel-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.sustainability-clean-fuel-content {
    max-width: 820px;
    margin: 0 auto;
}

.sustainability-clean-fuel-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1.25rem;
}

.sustainability-clean-fuel-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sustainability-clean-fuel-list i {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.feature-list {
    margin-top: 3rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.feature-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.services-feature-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.services-fee-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    text-align: center;
}

.services-fee-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.services-fee-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.services-fee-header h2 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.75rem;
}

.services-fee-range {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.services-fee-card p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.services-fee-card .btn {
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
    width: 24px;
}

.contact-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

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

.contact-form-panel {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 90, 28, 0.1);
}

/* Footer */
footer {
    background-color: #111827;
    color: #9CA3AF;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 80px;
    width: 150px;
    object-fit: cover;
    border-radius: 20%;
    display: block;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 3rem 4rem;
    width: 100%;
    align-items: start;
    margin-bottom: 2.5rem;
}

.footer-brand {
    text-align: left;
}

.footer-brand p {
    max-width: 420px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    text-align: left;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-list i {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1.25rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    width: 100%;
    text-align: left;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-slider {
        padding-bottom: 10rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 0.75rem;
        padding: 1.5rem 1.25rem;
        bottom: 1rem;
        width: calc(100% - 2rem);
    }

    .stat-box {
        border-right: none;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(46, 90, 28, 0.1);
    }

    .stat-box:nth-child(3),
    .stat-box:nth-child(4) {
        border-bottom: none;
    }

    .hero-slider-dots {
        bottom: 11rem;
    }
    
    .about {
        padding-top: 12rem;
    }

    .hero-follow {
        padding-top: 8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-link {
        color: var(--text-dark);
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-slider-prev {
        left: 0.75rem;
    }

    .hero-slider-next {
        right: 0.75rem;
    }

    .hero-slider-btn {
        width: 40px;
        height: 40px;
    }

    .hero-slider {
        padding-bottom: 12rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.5rem;
        padding: 1.25rem 1rem;
    }

    .stat-box {
        padding: 0.5rem 0.25rem;
    }

    .stat-value {
        font-size: 1.65rem;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.04em;
    }

    .hero-slider-dots {
        bottom: 12.5rem;
    }

    .hero-follow {
        padding-top: 9rem;
    }
}

@media (max-width: 400px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-box {
        border-bottom: 1px solid rgba(46, 90, 28, 0.1);
    }

    .stat-box:last-child {
        border-bottom: none;
    }
}

/* Partnership Button */
.nav-menu .btn-partnership {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.nav-menu .btn-partnership:hover {
    background: transparent;
    color: var(--secondary-color) !important;
}

/* Hero slider dots */
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot[aria-current="true"] {
    width: 22px;
}

/* Subsidiary pages */
.subsidiary-intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.inner-page .subsidiary-btn-back {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.inner-page .subsidiary-btn-back:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.inner-page .about.subsidiary-about {
    padding-top: 6rem;
}

.inner-page .about.subsidiary-about .section-title {
    margin-bottom: 0;
}

.inner-page .about.subsidiary-about .section-title h2 {
    margin-bottom: 0.5rem;
}

.portfolio-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.portfolio-list li i {
    color: var(--primary-light);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.portfolio-list-compact {
    display: block;
    max-width: none;
    margin: 1.5rem 0;
    padding-left: 1.25rem;
}

.portfolio-list-compact li {
    display: list-item;
    list-style: disc;
    margin-bottom: 0.5rem;
}
