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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ===== Header Styles ===== */
header {
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    padding: 5px 0;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    height: 90px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #27ae60;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* Search - Removed */
.search-container {
    display: none;
}

/* Header Actions (Language Switcher + Mobile Menu Toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
}

.language-item {
    padding: 8px 12px;
    text-decoration: none;
    color: #666;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.language-item:hover {
    background: #f5f5f5;
    color: #27ae60;
}

.language-item.current {
    background: #27ae60;
    color: white;
}

/* Top Navigation */
.nav-top {
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
}

.nav-top-container {
    width: 100%;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus-visible {
    outline: none;
    box-shadow: none;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.nav-main {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-nav-section .nav-list > li > a {
    color: #27ae60;
}

.nav-list > li > a:hover {
    color: #27ae60;
}

/* CTA Button in Navigation */
.btn-get-loan {
    background: #27ae60;
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}


.btn-get-loan:hover {
    background: #229954;
}

/* Dropdown Menu */
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.nav-list > li:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-submenu li a:hover {
    background: #f5f5f5;
    color: #27ae60;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.hero-cta:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

/* Hero Graphic - Dollar Sign */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dollar-sign-graphic {
    width: 300px;
    height: 300px;
    position: relative;
}

.dollar-sign-graphic::before {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 300;
    color: #3498db;
    opacity: 0.1;
    z-index: 1;
}

.dollar-sign-graphic::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100px;
    background: linear-gradient(to top, #27ae60, #2ecc71);
    border-radius: 2px;
    z-index: 2;
    animation: arrowUp 2s ease-in-out infinite;
}

@keyframes arrowUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Decorative dots */
.dollar-sign-graphic .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    opacity: 0.6;
}

/* ===== Credit Items Section ===== */
.credit-items-section {
    padding: 80px 20px;
    background: #ffffff;
}

.credit-items-container {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
}

.credit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.credit-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.credit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.card-logo {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-logo.moneyup { background: #27ae60; color: white; }
.card-logo.cashflow { background: #e67e22; color: white; }

.star-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star {
    color: #ffc107;
    font-size: 16px;
}

.card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.card-details {
    margin-bottom: 20px;
}

.card-details .amount {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.card-details .rate {
    font-size: 14px;
    color: #27ae60;
}

.card-button {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.card-button:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.about-content p {
    margin-bottom: 20px;
}

/* ===== Footer Styles ===== */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 20px 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.footer-image {
    display: none;
}

.footer-subscribe {
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-subscribe-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-subscribe-field {
    display: flex;
    gap: 10px;
}

.footer-subscribe-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #34495e;
    border-radius: 6px;
    background: #34495e;
    color: white;
    font-size: 14px;
}

.footer-subscribe-input::placeholder {
    color: #95a5a6;
}

.footer-subscribe-button {
    padding: 12px 24px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.footer-subscribe-button:hover {
    background: #229954;
}

.footer-content {
    margin: 0 auto;
    gap: 40px;
    margin-bottom: 0;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 0 20px 30px;
    flex: 1;
}

.footer-nav {
    width: 100%;
}

.footer-nav-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nav-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav-section .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 30px;
    justify-content: center;
    align-items: center;
}

.footer-nav-section .nav-list li {
    margin: 0;
    display: inline-block;
    line-height: 1.6;
}

.footer-nav-section .nav-list li:last-child {
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.6;
    position: relative;
    padding: 0;
    font-weight: 400;
    white-space: nowrap;
}

.nav-link:hover {
    color: #27ae60;
    transform: translateY(-1px);
}

.nav-link:active {
    color: #229954;
}

.footer-copyright {
    margin: 0;
    padding: 20px 20px;
    border-top: 1px solid #34495e;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: auto;
}

.copyright-text {
    color: #bdc3c7;
    font-size: 14px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #27ae60;
    transform: translateY(-3px);
}

/* ===== Main Content Block ===== */
.main-content {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

/* ===== Consistent Page Wrapper ===== */
.content-top,
.content-bottom {
    padding: 40px 20px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.short-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Description list styles */
.description h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 15px 0;
    line-height: 1.2;
}

.description ul {
    list-style: disc;
    margin: 5px 0;
    padding-left: 30px;
    line-height: 1.8;
}

.description ol {
    list-style: decimal;
    margin: 5px 0;
    padding-left: 30px;
    line-height: 1.8;
}

.description ul li {
    margin-bottom: 5px;
    color: #555;
    font-size: 16px;
}

.description ul li:last-child {
    margin-bottom: 0;
}

.description ul li::marker {
    color: #27ae60;
}

/* ===== Two-Column Layout (News/Blog pages) ===== */
.page-layout-two-column {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    width: 100%;
}

.left-cont {
    width: 100%;
}

.right-cont {
    width: 100%;
}

/* Responsive two-column layout */
@media (max-width: 768px) {
    .page-layout-two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Breadcrumbs */
.bread-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 4px;
}

.crumbs-links {
    color: #27ae60;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.crumbs-links:hover {
    color: #229954;
    text-decoration: underline;
}

.crumbs-links span {
    color: inherit;
}

/* Content Page H1 */
.content-wrapper h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: left;
}

/* Content Description */
.content-description {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-top: 20px;
}

.content-description p {
    margin-bottom: 5px;
    color: #444;
}

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

.content-description h2,
.content-description h3,
.content-description h4,
.content-description h5,
.content-description h6 {
    font-weight: 700;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.content-description h2 {
    font-size: 28px;
}

.content-description h3 {
    font-size: 24px;
}

.content-description h4 {
    font-size: 20px;
}

.content-description h5 {
    font-size: 18px;
}

.content-description h6 {
    font-size: 16px;
}

.content-description ul,
.content-description ol {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 1.8;
}

.content-description ul {
    list-style: disc;
}

.content-description ol {
    list-style: decimal;
}

.content-description li {
    margin-bottom: 10px;
    color: #444;
}

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

.content-description ul li::marker {
    color: #27ae60;
}

.content-description strong,
.content-description b {
    font-weight: 700;
    color: #2c3e50;
}

.content-description a {
    color: #27ae60;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-description a:hover {
    color: #229954;
    text-decoration: underline;
}

.content-description blockquote {
    border-left: 4px solid #27ae60;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.content-description img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.content-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-description table th,
.content-description table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.content-description table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #2c3e50;
}

.content-description table tr:nth-child(even) {
    background: #f8f9fa;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .header-wrapper,
    .hero-container,
    .credit-items-container,
    .about-container,
    .footer-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .content-top,
    .content-bottom {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
    }
    
    .header-main {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        height: 75px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .nav-top {
        padding: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .language-switcher {
        flex-shrink: 0;
    }
    
    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px;
        margin-top: 10px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .nav-main.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }
    
    .nav-list > li > a {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 16px;
        position: relative;
    }
    
    /* Add indicator for items with submenu on mobile */
    /* Note: The + button is now created via JavaScript, so we hide the ::after pseudo-element */
    .nav-list > li.has-submenu > a::after {
        content: '';
        display: none;
    }
    
    .nav-list > li.has-submenu.active > a::after {
        content: '';
        display: none;
    }
    
    /* Style for the submenu toggle button */
    .nav-list > li.has-submenu > a {
        position: relative;
    }
    
    .nav-list > li.has-submenu > a .submenu-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0;
        background: none;
        border: none;
        padding: 0;
        width: 24px;
        height: 24px;
        cursor: pointer;
        display: none;
        color: #27ae60;
        z-index: 10;
        transition: transform 0.3s ease;
    }
    
    /* Create down arrow using CSS */
    .nav-list > li.has-submenu > a .submenu-toggle::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -30%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #27ae60;
        transition: transform 0.3s ease;
    }
    
    /* Create up arrow when active */
    .nav-list > li.has-submenu.active > a .submenu-toggle::before {
        transform: translate(-50%, -70%) rotate(180deg);
    }
    
    @media (max-width: 768px) {
        .nav-list > li.has-submenu > a .submenu-toggle {
            display: block;
        }
    }
    
    .nav-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f5f5f5;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-list > li.active .nav-submenu {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .nav-submenu li {
        border-bottom: 1px solid #e8e8e8;
    }
    
    .nav-submenu li:last-child {
        border-bottom: none;
    }
    
    .nav-submenu li a {
        padding: 12px 20px;
        font-size: 14px;
        display: block;
    }
    
    .credit-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .credit-card {
        padding: 20px;
    }
    
    .footer-content {
        gap: 30px;
        flex-direction: column;
    }
    
    .footer-nav-section {
        width: 100%;
        align-items: center;
    }
    
    .footer-nav-section .nav-list {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .footer-nav-section .nav-list li {
        width: auto;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 15px 0;
    }
    
    .hero-section {
        padding: 60px 15px;
    }
    
    .credit-items-section,
    .about-section {
        padding: 60px 15px;
    }
    
    .content-top {
        padding: 30px 15px;
    }
    
    .content-wrapper h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .content-description {
        font-size: 15px;
    }
    
    .content-description h2 {
        font-size: 24px;
    }
    
    .content-description h3 {
        font-size: 20px;
    }
    
    .content-description h4 {
        font-size: 18px;
    }
    
    .bread-crumbs {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    footer {
        padding: 40px 15px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content .subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .logo {
        height: 60px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    /* Mobile menu styles already handled in tablet breakpoint */
    
    .hero-cta {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }
    
    .card-button {
        padding: 14px 24px;
    }
    
    .hero-graphic {
        height: 250px;
    }
    
    .dollar-sign-graphic {
        width: 200px;
        height: 200px;
    }
    
    .dollar-sign-graphic::before {
        font-size: 120px;
    }
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== 404 Error Page Styles ===== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.error-icon svg {
    max-width: 200px;
    height: auto;
}

.error-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.error-message {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.error-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.error-btn-primary {
    background: #27ae60;
    color: white;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.error-btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

.error-btn-secondary {
    background: transparent;
    color: #27ae60;
    border-color: #27ae60;
}

.error-btn-secondary:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-2px);
}

.error-links {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.error-links p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.error-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-links ul li {
    margin: 0;
}

.error-links ul li a {
    color: #27ae60;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.error-links ul li a:hover {
    color: #229954;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .error-page {
        padding: 40px 15px;
        min-height: 50vh;
    }
    
    .error-icon svg {
        max-width: 150px;
    }
    
    .error-title {
        font-size: 28px;
    }
    
    .error-message {
        font-size: 16px;
    }
    
    .error-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* ===== Credit Offers Widget Styles ===== */
.credit-offers-container {
    margin: 40px 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.credit-offers-container > h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    grid-column: 1 / -1;
}

.credit-offer-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.credit-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.offer-header {
    margin-bottom: 5px;
    text-align: center;
}

.offer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.offer-logo {
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.offer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.offer-parameters {
    margin-bottom: 5px;
}

.offer-param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.offer-param-row:last-child {
    border-bottom: none;
}

.param-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.param-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
}

/* Make amount more prominent */
.offer-param-row:first-child .param-value {
    font-size: 24px;
    font-weight: 700;
    color: #27ae60;
}

.offer-param-row:first-child {
    padding: 15px 0;
    border-bottom: 2px solid #e0e0e0;
}

.offer-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 5px 0;
}

.offer-apr {
    margin-bottom: 5px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.apr-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-align: center;
}

.apr-values {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.apr-from,
.apr-to {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
}

.apr-separator {
    color: #666;
    font-size: 14px;
}

.offer-info-links {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-link {
    font-size: 13px;
    color: #27ae60;
    text-decoration: none;
    transition: color 0.3s;
    text-align: center;
}

.info-link:hover {
    color: #229954;
    text-decoration: underline;
}

.offer-action {
    margin-top: auto;
}

.offer-btn {
    display: block;
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.offer-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

@media (max-width: 768px) {
    .credit-offers-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .credit-offers-container h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .credit-offer-card {
        padding: 20px;
    }
}

/* ===== Contact Page Styles ===== */
.contact-page .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-page .content-column-left,
.contact-page .content-column-right {
    width: 100%;
}

.contact-info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-info-box h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

.contact-form-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form {
    width: 100%;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-form .help-block {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.contact-form .has-error .form-control {
    border-color: #e74c3c;
}

.contact-form .has-success .form-control {
    border-color: #27ae60;
}

.turnstile-group {
    width: 100%;
}

.turnstile-group .cf-turnstile {
    margin: 0;
    display: block;
}

.turnstile-group .help-block {
    margin-top: 5px;
}

.contact-submit-btn {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-submit-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}


@media (max-width: 767px) {
    .contact-info-box,
    .contact-form-box {
        padding: 20px;
    }
    
    .contact-info-box h2 {
        font-size: 24px;
    }
    
    .form-row {
        margin-bottom: 15px;
    }
}
