/* QarzMitra Services Page Styles */
:root {
    --primary-color: #4DEEDC; /* Mint green / Teal color from the app */
    --primary-dark: #33B3A5;
    --primary-light: #A1F4EB;
    --secondary-color: #0A2342; /* Dark blue for text and accents */
    --accent-color: #FFD700; /* Gold accent for highlights */
    --text-color: #333333;
    --text-light: #666666;
    --light-text: #FFFFFF;
    --background-light: #F8F9FA;
    --background-gray: #F0F2F5;
    --border-color: #E1E4E8;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --card-radius: 16px;
    --button-radius: 50px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Header Styles */
.QarzMitra-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-text);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 10px 0;
}

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

.QarzMitra-logo {
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.QarzMitra-logo img {
    max-width: 100%;
    height: auto;
    margin-right: 10px;
}

.QarzMitra-menu ul {
    display: flex;
}

.QarzMitra-menu li {
    margin: 0 15px;
}

.QarzMitra-menu a {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 0;
    position: relative;
}

.QarzMitra-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.QarzMitra-menu a:hover::after,
.QarzMitra-menu .active a::after {
    width: 100%;
}

.QarzMitra-language-toggle {
    display: flex;
}

.QarzMitra-lang-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.QarzMitra-lang-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Services Hero Section */
.QarzMitra-services-hero {
    padding: 120px 0 60px;
    background-color: var(--background-light);
    overflow: hidden;
}

.QarzMitra-services-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.QarzMitra-services-hero-image {
    flex: 1;
    text-align: center;
}

.QarzMitra-services-hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.QarzMitra-services-hero-text {
    flex: 1;
    padding: 20px;
}

.QarzMitra-services-hero-text h1 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.QarzMitra-services-hero-text h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.QarzMitra-loan-details {
    margin-bottom: 40px;
}

.QarzMitra-loan-details p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-color);
}

.QarzMitra-highlight {
    font-weight: 700;
    color: var(--secondary-color);
}

.QarzMitra-download-button {
    margin-top: 30px;
}

.QarzMitra-store-link img {
    width: 200px;
    height: auto;
    transition: all var(--transition-speed) ease;
}

.QarzMitra-store-link:hover img {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Section Header */
.QarzMitra-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.QarzMitra-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}


.QarzMitra-section-header h2::after {
    display: none;
}


.QarzMitra-section-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.QarzMitra-section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Loan Calculator Section */
.QarzMitra-calculator {
    padding: 80px 0;
    background-color: var(--background-light);
}

/* Button Styles */
.QarzMitra-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--button-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.QarzMitra-btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.QarzMitra-btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.QarzMitra-btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 30px;
}

.QarzMitra-btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.QarzMitra-calculator-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.QarzMitra-calculator-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-text);
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.QarzMitra-form-group {
    margin-bottom: 25px;
}

.QarzMitra-form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.QarzMitra-form-group input[type="number"],
.QarzMitra-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.QarzMitra-slider-container {
    margin-top: 15px;
    padding: 0 10px;
}

.QarzMitra-slider-container input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: var(--background-gray);
    outline: none;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.QarzMitra-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.QarzMitra-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.QarzMitra-calculator-results {
    flex: 1;
    min-width: 300px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.QarzMitra-result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.QarzMitra-result-item:last-child {
    border-bottom: none;
}

.QarzMitra-result-label {
    font-weight: 400;
}

.QarzMitra-result-value {
    font-weight: 700;
}

.QarzMitra-repayment-schedule {
    margin-top: 30px;
}

.QarzMitra-repayment-schedule h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--light-text);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.QarzMitra-schedule-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 15px;
}

.QarzMitra-schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Footer Styles */
.QarzMitra-footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.QarzMitra-footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.QarzMitra-footer-logo {
    flex: 1;
    min-width: 300px;
}

.QarzMitra-footer-logo .QarzMitra-logo {
    width: 180px;
    height: 60px;
    margin-bottom: 20px;
}

.QarzMitra-footer-logo .QarzMitra-logo img {
    max-width: 100%;
    height: auto;
}

.QarzMitra-footer-logo p {
    margin-bottom: 20px;
}

.QarzMitra-footer-contact {
    margin-top: 20px;
}

.QarzMitra-footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.QarzMitra-footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.QarzMitra-footer-menu {
    flex: 1;
    min-width: 150px;
}

.QarzMitra-footer-menu h4 {
    color: var(--primary-light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.QarzMitra-footer-menu h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.QarzMitra-footer-menu ul li {
    margin-bottom: 10px;
}

.QarzMitra-footer-menu ul li a {
    color: var(--light-text);
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

.QarzMitra-footer-menu ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.QarzMitra-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.QarzMitra-footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.QarzMitra-footer-bottom p:last-child {
    margin-bottom: 0;
}

/* Mobile Menu Toggle */
.QarzMitra-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.QarzMitra-mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media screen and (max-width: 1100px) {
    .QarzMitra-services-hero-content {
        flex-direction: column;
    }
    
    .QarzMitra-services-hero-image {
        order: 2;
    }
    
    .QarzMitra-services-hero-text {
        order: 1;
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .QarzMitra-menu {
        display: none;
    }
    
    .QarzMitra-menu.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light-text);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .QarzMitra-menu.active ul {
        flex-direction: column;
    }
    
    .QarzMitra-menu.active li {
        margin: 10px 0;
    }
    
    .QarzMitra-mobile-menu-toggle {
        display: flex;
    }
    
    .QarzMitra-mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .QarzMitra-mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .QarzMitra-mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .QarzMitra-services-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .QarzMitra-services-hero-text h2 {
        font-size: 1.5rem;
    }
    
    .QarzMitra-loan-details p {
        font-size: 1rem;
    }
    
    .QarzMitra-footer-top {
        flex-direction: column;
    }
    
    .QarzMitra-footer-links {
        flex-direction: column;
    }
} 