/* Global Styles and Variables - Same as index.css */
:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #4d94ff;
    --secondary-color: #00cc88;
    --secondary-dark: #00a36f;
    --secondary-light: #4ddbac;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --shadow-small: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 12px 48px rgba(0, 0, 0, 0.12);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 80px;
    --container-width: 1120px;
    --content-padding: 40px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.yescom-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yescom-section-container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

/* Button Styles - Same as index.css */
.yescom-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.yescom-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-small);
}

.yescom-btn-primary:hover {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    color: white;
}

.yescom-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.yescom-btn-secondary:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

/* Header Styles - Same as index.css */
.yescom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-small);
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.yescom-header > div {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--content-padding);
}

.yescom-logo {
    background-image: url('img/company-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 180px;
    height: 60px;
}

.yescom-nav ul {
    display: flex;
    gap: var(--spacing-xl);
}

.yescom-nav a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

.yescom-nav a:hover, .yescom-nav a.active {
    color: var(--primary-color);
}

.yescom-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.yescom-nav a:hover::after, .yescom-nav a.active::after {
    width: 100%;
}

/* Hero Section - Modified for loan services page */
.yescom-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 0 60px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 204, 136, 0.08));
    position: relative;
    overflow: hidden;
    text-align: center;
}

.yescom-hero-container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

.yescom-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 70%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03), rgba(0, 204, 136, 0.03));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    transform: rotate(15deg);
}

.yescom-hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.yescom-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yescom-hero p {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Header - Same as index.css */
.yescom-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.yescom-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.yescom-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.yescom-section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

/* Loan Intro Section - New styles */
.yescom-loan-intro {
    padding: var(--spacing-section) 0;
    background-color: var(--background-white);
}

.yescom-loan-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.yescom-loan-info-card {
    background-color: var(--background-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yescom-loan-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.yescom-loan-info-icon {
    margin-bottom: var(--spacing-lg);
}

.yescom-loan-info-icon img {
    width: 80px;
    height: 80px;
}

.yescom-loan-info-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.yescom-loan-info-card p {
    color: var(--text-medium);
    font-size: 16px;
    margin-bottom: var(--spacing-md);
}

.yescom-loan-highlight {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

/* Loan Features Section - New styles */
.yescom-loan-features {
    padding: var(--spacing-section) 0;
    background-color: var(--background-light);
}

.yescom-two-column-content {
    display: flex;
    gap: var(--spacing-xxl);
    align-items: center;
}

.yescom-content-column {
    flex: 1;
}

.yescom-content-column h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.yescom-content-column p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.yescom-content-column .yescom-btn {
    margin-top: var(--spacing-xl);
}

.yescom-feature-list {
    margin-bottom: var(--spacing-xl);
}

.yescom-feature-list li {
    margin-bottom: var(--spacing-lg);
    padding-left: 30px;
    position: relative;
}

.yescom-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.8;
}

.yescom-feature-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.yescom-feature-list li p {
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
}

.yescom-image-column {
    flex: 1;
}

.yescom-image-column img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    max-width: 100%;
    height: auto;
}

/* Loan Example Section - New styles */
.yescom-loan-example {
    padding: var(--spacing-section) 0;
    background-color: var(--background-white);
}

.yescom-example-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.yescom-example-card {
    width: 100%;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--spacing-xl);
}

.yescom-example-header {
    background: var(--gradient-primary);
    padding: var(--spacing-lg);
    color: white;
    text-align: center;
}

.yescom-example-header h3 {
    font-size: 22px;
    font-weight: 600;
}

.yescom-example-details {
    padding: var(--spacing-xl);
}

.yescom-example-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.yescom-example-row:last-child {
    border-bottom: none;
}

.yescom-example-label {
    font-weight: 500;
    color: var(--text-medium);
}

.yescom-example-value {
    font-weight: 600;
    color: var(--text-dark);
}

.yescom-example-total {
    margin-top: var(--spacing-md);
    font-size: 20px;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    padding-top: var(--spacing-lg);
}

.yescom-example-note {
    text-align: center;
    color: var(--text-medium);
    max-width: 600px;
}

.yescom-example-note p {
    margin-bottom: var(--spacing-xl);
}

/* Benefits Section - New styles */
.yescom-benefits {
    padding: var(--spacing-section) 0;
    background-color: var(--background-light);
}

.yescom-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.yescom-benefit-card {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yescom-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.yescom-benefit-card img {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-lg);
}

.yescom-benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.yescom-benefit-card p {
    color: var(--text-medium);
    font-size: 16px;
}

/* CTA Section - New styles */
.yescom-cta {
    padding: var(--spacing-section) 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 204, 136, 0.1));
    text-align: center;
}

.yescom-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.yescom-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.yescom-cta-content p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.yescom-download-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.yescom-download-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.yescom-download-badge:hover {
    transform: translateY(-5px);
}

.yescom-download-btn {
    font-size: 18px;
    padding: 14px 32px;
    min-width: 200px;
    text-align: center;
    margin: 10px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer - Same as index.css */
.yescom-footer {
    background-color: #f0f4f8;
    padding-top: var(--spacing-xxl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yescom-footer-main {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding) var(--spacing-xxl);
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.yescom-footer-company {
    max-width: 350px;
    flex: 1;
    min-width: 250px;
}

.yescom-footer-company p {
    color: var(--text-medium);
    margin-top: var(--spacing-lg);
}

.yescom-footer-links {
    display: flex;
    gap: var(--spacing-xxl);
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.yescom-footer-col {
    min-width: 200px;
}

.yescom-footer-col h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.yescom-footer-col ul li {
    margin-bottom: var(--spacing-md);
}

.yescom-footer-col ul li a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.yescom-footer-col ul li a:hover {
    color: var(--primary-color);
}

.yescom-footer-bottom {
    background-color: #e5eaf0;
    width: 100%;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.yescom-footer-bottom div {
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
    margin: 0 auto;
}

.yescom-footer-bottom p {
    color: var(--text-medium);
    font-size: 14px;
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yescom-hero-content,
.yescom-section-header,
.yescom-loan-info-card,
.yescom-content-column,
.yescom-image-column,
.yescom-example-card,
.yescom-benefit-card,
.yescom-cta-content {
    animation: fadeInUp 0.8s ease forwards;
}

.yescom-loan-info-card:nth-child(2) {
    animation-delay: 0.1s;
}

.yescom-loan-info-card:nth-child(3) {
    animation-delay: 0.2s;
}

.yescom-benefit-card:nth-child(2) {
    animation-delay: 0.1s;
}

.yescom-benefit-card:nth-child(3) {
    animation-delay: 0.2s;
}

.yescom-benefit-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --header-height: 70px;
        --spacing-section: 60px;
        --container-width: 960px;
        --content-padding: 30px;
    }

    .yescom-hero h1 {
        font-size: 36px;
    }

    .yescom-content-column h2,
    .yescom-section-header h2,
    .yescom-cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
        --content-padding: 20px;
    }

    .yescom-two-column-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .yescom-content-column,
    .yescom-image-column {
        width: 100%;
    }

    .yescom-content-column {
        order: 2;
    }

    .yescom-image-column {
        order: 1;
    }

    .yescom-image-column img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }

    .yescom-example-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --spacing-section: 50px;
        --container-width: 540px;
    }

    .yescom-header > div {
        padding: 0 var(--content-padding);
    }

    .yescom-logo {
        width: 140px;
    }

    .yescom-nav {
        display: none;
    }

    .yescom-hero h1 {
        font-size: 32px;
    }

    .yescom-hero p {
        font-size: 18px;
    }

    .yescom-content-column h2,
    .yescom-section-header h2,
    .yescom-cta-content h2 {
        font-size: 28px;
    }

    .yescom-loan-overview-grid,
    .yescom-benefits-grid {
        grid-template-columns: 1fr;
    }

    .yescom-example-row {
        flex-direction: column;
    }

    .yescom-example-label {
        margin-bottom: var(--spacing-xs);
    }
}

@media (max-width: 576px) {
    :root {
        --content-padding: 15px;
    }

    .yescom-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .yescom-download-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .yescom-hero h1 {
        font-size: 28px;
    }

    .yescom-content-column h2,
    .yescom-section-header h2,
    .yescom-cta-content h2 {
        font-size: 24px;
    }

    .yescom-loan-highlight {
        font-size: 24px;
    }

    .yescom-example-header h3 {
        font-size: 18px;
    }
}