/* Nanda Fincap - Additional Pages Stylesheet */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.content-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

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

.content-section h2 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.content-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Values Section */
.values-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

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

.value-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Impact Section */
.impact-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 1rem;
    color: white;
    box-shadow: 0 8px 16px rgba(45, 138, 90, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(99, 205, 139, 0.3);
}

.stat-card:hover::before {
    transform: rotate(45deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Services Page Styles */
.how-it-works {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.step-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Loan Products */
.loan-products {
    padding: 4rem 0;
}

.product-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.product-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

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

.product-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

/* Benefits Section */
.benefits-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

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

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

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

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

/* Contact Form */
.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Contact Info */
.contact-info-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.info-content a {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Loans Hero Section */
.loans-hero-section {
    padding: 0 0 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.loans-hero-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Banner Styles */
.loans-hero-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: none;
    animation: fadeInUp 0.8s ease-out;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(135deg, #2d8a5a 0%, #1f6844 100%);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 138, 90, 0.75), rgba(31, 104, 68, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.banner-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.banner-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    position: relative;
    z-index: 1;
}

.banner-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    position: relative;
    z-index: 1;
}

/* Quick Navigation Icons */
.quick-nav-wrapper {
    margin: 1.5rem 0 0rem;
    position: relative;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.quick-nav-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.quick-nav-scroll::-webkit-scrollbar {
    display: none;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 80px;
    transition: all 0.3s ease;
}

.quick-nav-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(45, 138, 90, 0.1), rgba(45, 138, 90, 0.05));
    border: 2px solid rgba(45, 138, 90, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.quick-nav-icon i {
    font-size: 1.375rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.quick-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
    transition: color 0.3s ease;
}

.quick-nav-item:hover .quick-nav-icon,
.quick-nav-item.active .quick-nav-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.25);
}

.quick-nav-item:hover .quick-nav-icon i,
.quick-nav-item.active .quick-nav-icon i {
    color: white;
    transform: scale(1.1);
}

.quick-nav-item:hover span,
.quick-nav-item.active span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-card {
    position: relative;
    background: rgba(248, 250, 252, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 2.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out backwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }

.category-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.category-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 auto 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .category-title {
    color: var(--primary-hover);
}

.category-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(120px, 20vw, 180px);
    height: clamp(120px, 20vw, 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
    transition: all 0.5s ease;
}

.category-icon-wrapper i {
    font-size: clamp(80px, 15vw, 140px);
    color: var(--primary-color);
}

.category-card:hover .category-icon-wrapper {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.1);
}

.category-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 2rem 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-arrow i {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    background: var(--primary-color);
    transform: scale(1.1);
}

.category-card:hover .category-arrow i {
    color: white;
    transform: rotate(45deg);
}

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

/* Services Section (Snappy Style) */
.services-section {
    padding: 0rem 0 5rem;
    background-color: var(--bg-color);
}

.services-header {
    text-align: center;
    margin-bottom: 1rem;
}

.services-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.25);
}

/* All Loans Page Styles */
.all-loans-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.loan-category {
    margin-bottom: 5rem;
}

.loan-category:last-child {
    margin-bottom: 0;
}

.category-title {
    color: var(--text-color);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.loans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.loan-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.loan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.loan-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.loan-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
}

.loan-card:hover .loan-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 16px rgba(99, 205, 139, 0.3);
}

.loan-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
    line-height: 1;
}

.loan-card:hover .loan-icon {
    transform: scale(1.1) rotate(5deg);
}

.loan-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.loan-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.loan-card .learn-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.loan-card .learn-more i {
    transition: transform 0.3s ease;
}

.loan-card:hover .learn-more {
    gap: 0.75rem;
}

.loan-card:hover .learn-more i {
    transform: translateX(4px);
}

/* Hide cards based on filter */
.loan-card.hidden {
    display: none;
}

/* Individual Loan Page Styles */
.loan-detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 3rem;
}

.loan-detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.loan-detail-hero .loan-tagline {
    font-size: 1.25rem;
    opacity: 0.95;
}

.loan-details-section {
    padding: 4rem 0;
}

.loan-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.loan-description {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.loan-highlights {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.loan-highlights h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.highlight-content p {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.features-benefits-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

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

.feature-benefit-box {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.feature-benefit-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-benefit-box ul {
    list-style: none;
    padding: 0;
}

.feature-benefit-box li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.feature-benefit-box li:last-child {
    border-bottom: none;
}

.feature-benefit-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.125rem;
}

.eligibility-documents-section {
    padding: 4rem 0;
}

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

.info-box {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

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

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.info-box li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1.5rem;
}

.application-process-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.125rem;
    }

    .about-content,
    .values-section,
    .impact-section {
        padding: 3rem 0;
    }

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

    .content-section h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.125rem;
    }

    .loans-hero-section {
        padding: 0 0 3rem;
    }

    .loans-hero-banner {
        height: 280px;
        margin-bottom: 3rem;
        border-radius: 0;
    }

    .banner-overlay {
        padding: 1.5rem;
    }

    .loans-hero-container {
        padding: 0;
    }

    .quick-nav-wrapper {
        margin: 1rem 0 0rem;
        padding: 0 1rem;
    }

    .quick-nav-scroll {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .quick-nav-item {
        min-width: 70px;
    }

    .quick-nav-icon {
        width: 52px;
        height: 52px;
    }

    .quick-nav-icon i {
        font-size: 1.25rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .category-card {
        min-height: 220px;
        padding: 2rem;
    }

    .category-arrow {
        width: 64px;
        height: 64px;
    }

    .category-arrow i {
        font-size: 1.25rem;
    }

    .services-section {
        padding: 0rem 0 3rem;
    }
    
    .services-header {
        padding: 0 1rem;
    }

    .services-title {
        font-size: 2rem;
    }

    .category-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        flex-shrink: 0;
    }

    .all-loans-section {
        padding: 3rem 0;
    }

    .loan-category {
        margin-bottom: 3rem;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .loans-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .loan-card {
        padding: 1.75rem;
    }
    
    .loan-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .loan-icon-wrapper i {
        font-size: 1.375rem;
    }
    
    .loan-card h3 {
        font-size: 1.125rem;
    }
    
    .loan-card p {
        font-size: 0.875rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .loan-overview {
        grid-template-columns: 1fr;
    }
    
    .features-benefits-grid,
    .eligibility-documents-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
    }

    .product-icon {
        margin: 0 auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .values-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .services-title {
        font-size: 1.75rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .loans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    .loan-card {
        padding: 1.5rem;
    }
    
    .loan-icon-wrapper {
        width: 52px;
        height: 52px;
    }
    
    .loan-icon-wrapper i {
        font-size: 1.25rem;
    }
    
    .loan-card h3 {
        font-size: 1.0625rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   About Page - Modern Redesign (Bullish Style)
   ============================================ */

/* Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0 3rem;
    color: white;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.about-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-breadcrumb a:hover {
    color: white;
}

.about-breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.about-breadcrumb span {
    color: white;
    font-weight: 500;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Mission Section */
.about-mission-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.mission-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 400;
}

.mission-text p {
    margin: 0;
    display: inline;
}

.mission-inline-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0.5rem;
    vertical-align: middle;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-inline-img:hover {
    transform: scale(1.05);
}

/* Stats Section */
.about-stats-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon-modern {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-modern i {
    font-size: 1.75rem;
    color: white;
}

.stat-content-modern {
    flex: 1;
}

.stat-value-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-modern {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Features Section */
.about-features-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.features-section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-image-box {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.feature-card-modern:hover .feature-image-box img {
    transform: scale(1.1);
}

.feature-card-modern h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 1.5rem 1rem;
}

.feature-card-modern p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 1.5rem 1.5rem;
}

.feature-discover-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 1.5rem 1.5rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.feature-discover-link:hover {
    gap: 0.75rem;
}

.feature-discover-link i {
    transition: transform 0.3s ease;
}

.feature-discover-link:hover i {
    transform: translateX(4px);
}

/* Company Section */
.about-company-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.company-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.company-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.company-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.company-text p:last-of-type {
    margin-bottom: 2rem;
}

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.3);
}

.company-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.company-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.about-faq-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.faq-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.faq-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-header-modern h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.faq-header-modern p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-grid-modern {
    max-width: 900px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-modern {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item-modern summary {
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-item-modern summary::-webkit-details-marker {
    display: none;
}

.faq-item-modern summary i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item-modern[open] summary i {
    transform: rotate(180deg);
}

.faq-item-modern[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.faq-content-modern {
    padding: 0 2rem 1.5rem;
}

.faq-content-modern p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-cta-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    color: white;
}

.faq-cta-modern h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-cta-modern p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-primary-modern:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Testimonials Section */
.about-testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.testimonials-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonials-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.testimonials-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.testimonial-card-modern {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
}

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

.testimonial-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonials-footer {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-footer p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonials-footer p strong {
    color: var(--text-color);
    font-weight: 600;
}

.testimonials-footer .btn-primary-modern {
    margin-top: 1.5rem;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.testimonials-footer .btn-primary-modern:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Responsive Design for About Page */
@media (max-width: 1200px) {
    .stats-grid-modern,
    .features-grid-modern,
    .testimonials-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-content-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .mission-text {
        font-size: 1.25rem;
    }
    
    .mission-inline-img {
        width: 80px;
        height: 80px;
        margin: 0 0.25rem;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item-modern {
        padding: 1.5rem;
    }
    
    .features-section-title,
    .faq-header-modern h2,
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-text h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-cta-modern {
        padding: 2rem 1.5rem;
    }
    
    .faq-cta-modern h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        padding: 3rem 0 2rem;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1.125rem;
    }
    
    .mission-inline-img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 200px;
        margin: 1rem auto;
    }
    
    .stat-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .stat-icon-modern i {
        font-size: 1.5rem;
    }
    
    .stat-value-modern {
        font-size: 2rem;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0 3rem;
    color: white;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-breadcrumb a:hover {
    color: white;
}

.contact-breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-breadcrumb span {
    color: white;
    font-weight: 500;
}

.contact-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Contact Query Section */
.contact-query-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.query-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.query-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.query-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.query-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-query-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-modern {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.query-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

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

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

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

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item-modern {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-item-modern h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.info-item-modern p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-item-modern p:last-child {
    margin-bottom: 0;
}

.info-item-modern a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item-modern a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.consultation-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.consultation-box h4 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.consultation-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.service-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: white;
}

.service-checkbox span {
    color: white;
    user-select: none;
}

/* Offices Section */
.contact-offices-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.offices-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.offices-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.offices-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.office-tab {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.office-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.offices-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
}

.office-card {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.office-card.active {
    display: block;
}

.office-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.office-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.office-card ul li {
    font-size: 1.125rem;
}

.office-card ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.office-card ul li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Partner Section */
.contact-partner-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.partner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.partner-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.partner-logo {
    margin: 2rem 0;
}

.partner-logo img {
    max-width: 200px;
    height: auto;
}

.partner-content > p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.partner-cta {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.partner-cta h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-cta h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.partner-subscribe-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.partner-subscribe-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.partner-subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.partner-subscribe-form .btn-primary-modern {
    white-space: nowrap;
    padding: 0.875rem 2rem;
}

.partner-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
}

.partner-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
    .contact-query-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .contact-query-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .query-header h2 {
        font-size: 2rem;
    }
    
    .query-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-modern {
        padding: 2rem;
    }
    
    .offices-section-title {
        font-size: 2rem;
    }
    
    .offices-subtitle {
        font-size: 1.25rem;
    }
    
    .offices-tabs {
        gap: 0.5rem;
    }
    
    .office-tab {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .office-card {
        padding: 2rem;
    }
    
    .partner-content h2 {
        font-size: 2rem;
    }
    
    .partner-cta {
        padding: 2rem;
    }
    
    .partner-subscribe-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        padding: 3rem 0 2rem;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-query-section {
        padding: 4rem 0;
    }
    
    .query-header {
        margin-bottom: 3rem;
    }
    
    .contact-form-modern {
        padding: 1.5rem;
    }
    
    .info-item-modern {
        padding: 1.5rem;
    }
    
    .contact-offices-section {
        padding: 4rem 0;
    }
    
    .office-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .contact-partner-section {
        padding: 4rem 0;
    }
    
    .partner-cta {
        padding: 1.5rem;
    }
}

