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

:root {
    --primary-color: #367C2B;
    --primary-dark: #2a5f21;
    --secondary-color: #9ED293;
    --accent-color: #FFFFFF;
    --text-primary: #022F0E;
    --text-secondary: #7F8C8D;
    --text-light: #9ED293;
    --text-dark: #0A0A0A;
    --bg-primary: #FFFFFF;
    --bg-secondary: #ECF0F1;
    --bg-dark: #022F0E;
    --border-color: #9ED293;
    --shadow: 0 4px 6px -1px rgba(54, 124, 43, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(54, 124, 43, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    padding: 120px 0 0;
    min-height: auto;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 0 20px 40px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.services-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.service-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.cta-button {
    background: var(--secondary-color);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Hero Calculators */
.hero-calculators {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px 0 80px;
}

.hero-calculators h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(54, 124, 43, 0.1);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-button.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(54, 124, 43, 0.3);
}

.tab-button:hover:not(.active) {
    background: rgba(158, 210, 147, 0.1);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Calculators Section (now in hero) */
.hero-calculators .calculator-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(54, 124, 43, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(158, 210, 147, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.controls-grid {
    margin-bottom: 15px;
}

.control-group {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(158, 210, 147, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.control-group:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(54, 124, 43, 0.1);
    border-color: var(--secondary-color);
}

.control-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.control-label i {
    font-size: 1rem;
    color: var(--primary-color);
}

.form-range {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    margin: 8px 0;
    cursor: pointer;
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(54, 124, 43, 0.3);
    transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(54, 124, 43, 0.4);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 8px rgba(54, 124, 43, 0.3);
}

.control-value {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 2px solid var(--secondary-color);
    min-height: 35px;
    margin-top: auto;
}

.summary-section {
    background: var(--gradient);
    border-radius: 16px;
    padding: 15px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.summary-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(158, 210, 147, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(25px, -25px);
}

.summary-header {
    text-align: center;
    margin-bottom: 15px;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.summary-grid {
    margin-bottom: 15px;
}

.summary-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(158, 210, 147, 0.2);
    margin-bottom: 10px;
}

.summary-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.apply-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #7bc96f 100%);
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(158, 210, 147, 0.3);
    margin-top: 15px;
}

.apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(158, 210, 147, 0.4);
    color: var(--primary-color);
    text-decoration: none;
}

/* Transaction Calculator Specific Styles */
.fee-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(158, 210, 147, 0.2);
}

.fee-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 2px solid rgba(158, 210, 147, 0.3);
}

.fee-label {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.fee-value {
    color: white;
    font-weight: 600;
}

/* Form Select Styling */
.form-select {
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
    margin-top: 8px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.calculator-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
}

.calculator-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

/* Reduce vertical space between form groups */
.contact-form-container .form-group {
    margin-bottom: 10px; /* adjust to desired spacing */
}

/* Optional: reduce padding inside inputs/textareas */
.contact-form-container input,
.contact-form-container textarea {
    padding: 8px 12px; /* adjust as needed */
}

/* Optional: if using a flex layout in .form-row */
.contact-form-container .form-row {
    gap: 10px; /* spacing between first and last name inputs */
    margin-bottom: 10px; /* reduce space below the row */
}


.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Floating Labels Styles */
.form-group.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.floating-label input,
.form-group.floating-label textarea {
    padding: 1rem 0.75rem 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-group.floating-label label {
    position: absolute;
    top: 1rem;
    left: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.25rem;
    margin: 0;
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label textarea:focus + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    background: white;
    padding: 0 0.25rem;
}

.form-group.floating-label input:focus,
.form-group.floating-label textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(54, 124, 43, 0.1);
}

.form-group.floating-label textarea {
    min-height: 120px;
    padding-top: 1.5rem;
}

.form-group.floating-label textarea + label {
    top: 1.25rem;
}

.form-group.floating-label textarea:focus + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
}

.value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.loan-summary, .transaction-summary {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.loan-summary h4, .transaction-summary h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.summary-item.total {
    border-top: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--primary-color);
}

.amount {
    font-weight: 600;
    color: var(--secondary-color);
}

.apply-btn {
    width: 100%;
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background: #059669;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-dark);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 0;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card > *:not(.service-img) {
    padding: 0 2rem;
}

.service-card > h3,
.service-card > p,
.service-card > a {
    padding-left: 2rem;
    padding-right: 2rem;
}

.service-card > h3 {
    padding-top: 1.5rem;
}

.service-card > a {
    padding-bottom: 2rem;
    display: inline-block;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* Payday Loans Section */
.payday-loans {
    padding: 60px 0;
    background: var(--gradient);
    text-align: center;
}

.payday-loans h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.payday-loans p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 300px;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
}

.faq-answer li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.faq-answer li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* E-Wallet Section */
.ewallet {
    position: relative;
    padding: 60px 0;
    background: white;
    text-align: center;
    overflow: hidden;
}

.ewallet-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ewallet-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.ewallet-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.ewallet-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.ewallet-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.partner-carousel-section {
    margin-bottom: 4rem;
}

.partner-carousel-section:last-child {
    margin-bottom: 0;
}

.carousel-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.carousel-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1.5rem;
}

.partner-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.partner-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #f8f9fa;
    padding: 10px;
    box-sizing: border-box;
}

.partner-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-btn:disabled {
    background: var(--gray-color);
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.carousel-btn:disabled:hover {
    background: var(--gray-color);
    transform: translateY(-50%) scale(1);
}

/* Contact Us Section */
.contact-us {
    padding: 80px 0;
    background: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-header h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h4 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-info i {
    color: white;
    width: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-img {
        height: 250px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        gap: 6px;
    }

    .calculator-card {
        padding: 15px;
    }

    .control-group {
        padding: 12px;
    }

    .summary-section {
        padding: 12px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img {
        height: 250px;
    }

    .carousel-container {
        padding: 0 40px;
    }

    .partner-card {
        flex: 0 0 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .service-img {
        height: 150px;
    }

    .services-highlight {
        justify-content: center;
    }

    .service-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .ewallet-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .calculators h2,
    .services h2,
    .faq h2 {
        font-size: 2rem;
    }

    .calculator-card,
    .service-card {
        padding: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 1rem;
}

.hidden {
    display: none;
} 