/*
Theme Name: CAR Sanitar
Theme URI: https://webuilders.dev
Author: webuilders.dev team
Author URI: https://webuilders.dev
Description: A modern WordPress theme for CAR Sanitar, built from scratch.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: car-sanitar
Tags: custom-menu, one-column, responsive-menu
*/

:root {
    --main-color: #065799; 
    --secondary-color: #555555;
    --accent-color: #333333;
    --hover-bg: rgba(6, 87, 153, 0.1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
}

/* Global Stuff */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

button{
    border: none;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    cursor: pointer;
}

section{
    padding: 100px 0px;
}

section.banner{
    padding: 0;
}

section:last-of-type{
    padding-bottom: 150px;
}

.flex{
    display: flex;
}

.align-center{
    align-items: center;
}

.justify-center{
    justify-content: center;
}

.col-wrapper{
    display: flex;
    margin: 0 -15px;
    flex-flow: row wrap;
}

.col-10{
    width: 10%;
    padding: 15px;
}

.col-20{
    width: 20%;
    padding: 15px;
}

.col-30{
    width: 33.33%;
    padding: 15px;
}

.col-40{
    width: 40%;
    padding: 15px;
}

.col-50{
    width: 50%;
    padding: 15px;
}

.col-60{
    width: 60%;
    padding: 15px;
}

.col-100{
    width: 100%;
    padding: 15px;
}

@media (max-width: 1024px) {
    .small-desktop-col-50{
        width: 50%;
    }
    .small-desktop-col-100{
        width: 100%;
    }
}

@media (max-width: 476px) {
    .mobile-col-100{
        width: 100%;
    }
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--main-color), #0288d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header.align-center{
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--main-color), #0288d1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 200px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(6, 87, 153, 0.3);
    color: white;
}

.cta-button.call {
    background: linear-gradient(135deg, #4caf50, #45a049);
    order: -1;
}

.cta-button.call:hover {
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .cta-button{
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 476px) {
    .cta-buttons{
        flex-flow: column;
    }
    .cta-button{
        max-width: 100%;
    }
    .cta-button.not-full{
        max-width: auto;
        padding: 0.8rem 5rem;
    }
    section{
        padding: 70px 0px;
    }
}

/* Header */

.header {
    background: white;
    padding: 10px 0px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
}

.logo img{
    max-width: 180px;
    width: 100%;
    max-height: 40px;
}

.nav {
    position: relative;
    margin-left: auto;
}

.nav .menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav .menu-item {
    position: relative;
}

.nav .menu-item a {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.nav .menu-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 87, 153, 0.3), transparent);
    transition: left 0.6s ease;
}

.nav .menu-item a:hover::before {
    left: 100%;
}

.nav .menu-item a:hover {
    background: var(--hover-bg);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow);
    color: var(--main-color);
}

.nav .menu-item a:active {
    transform: translateY(0) scale(1);
}

.nav .menu-item-has-children > a {
    position: relative;
}

.nav .menu-item-has-children > a::after {
    content: ' ▼';
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--main-color);
    font-size: 0.8em;
    line-height: 1;
}

.nav .menu-item-has-children:hover > a::after,
.nav .menu-item-has-children.active-dropdown > a::after {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 1rem;
    margin: 0;
    margin-top: 0.5rem;
    z-index: 1001;
}

.nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item a {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin: 0.25rem 0;
    background: transparent;
    color: var(--main-color);
}

.sub-menu .menu-item a:hover {
    background: var(--hover-bg);
    transform: translateX(5px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: 0.3s ease;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--main-color);
    margin: 3px 0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header responsive */
@media (max-width: 1024px) {
    .nav .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 8;
    }

    .nav .menu.active {
        right: 0;
    }

    .nav .menu-item {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav .menu.active .menu-item {
        opacity: 1;
        transform: translateX(0);
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: white;
        box-shadow: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav .menu-item-has-children.active-dropdown > .sub-menu {
        max-height: 100%;
        padding: 0.5rem 0;
    }

    .sub-menu .menu-item {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease 0.1s;
    }

    .nav .menu-item-has-children.active-dropdown .sub-menu .menu-item {
        opacity: 1;
        transform: translateX(0);
    }

    .sub-menu .menu-item a {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
        color: var(--main-color);
        border-left: 3px solid transparent;
        transition: border-left 0.3s ease;
    }

    .sub-menu .menu-item a:hover {
        border-left-color: var(--main-color);
    }

    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 9;
    }
}

@media (max-width: 768px) {
    .nav .menu {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 476px) {
    .logo img{
        max-width: 140px;
    }
}

.header-contact {
    background: #f8f9fa;
    padding: 0.25rem 0;
    border-top: 1px solid #e0e0e0;
    font-size: 0.8rem;
    margin-top: 10px;
    margin-bottom: -10px;
    transition: all 0.5s ease;
}

.header-contact.hide{
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

.contact-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.contact-link:hover {
    color: #0288d1;
}

.contact-link.address {
    cursor: default;
}

.icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text {
    font-weight: 500;
}

.contact-links{
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.25rem;
}

@media (max-width: 1024px) {
    .contact-links{
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .contact-bar {
        flex-flow: column;
        gap: 0;
    }

    .contact-links{
        margin: 0 auto;
    }

    .contact-text {
        font-size: 0.75rem;
    }
}

/* Banner */
.banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 2rem;
    width: 100%;
}

.banner-text {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    margin-top: 1rem;
}

.banner-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.banner-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.banner-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.banner-features li {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Banner responsive */
@media (max-width: 1024px) {
    .banner {
        height: 60vh;
        min-height: 500px;
    }

    .banner-text {
        padding: 1.5rem;
        margin-top: 0.75rem;
    }

    .banner-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .banner-features li {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 70vh;
        min-height: 600px;
        padding: 0 1rem;
    }

    .banner-content {
        padding: 0 1rem;
    }

    .banner-text {
        padding: 1.25rem;
    }

    .banner-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .banner-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }

    .banner-features li {
        padding-left: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 80vh;
        min-height: 650px;
    }

    .banner-text {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }

    .banner-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .banner-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .banner-features li {
        font-size: 0.9rem;
    }
}

/* Cards Section */
.card-inner {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    color: var(--secondary-color);
    line-height: 1.6;
    padding: 0.25rem 0 0.25rem 1.75rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--main-color);
    font-size: 1.2rem;
    font-weight: bold;
}


/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.benefits-slider {
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.benefits-slider:hover {
    transform: scale(1.02);
}

.slider-track {
    display: flex;
    height: 100%;
    flex: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(6, 87, 153, 0.2));
    transition: opacity 0.3s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.benefits-slider:hover .slide img {
    transform: scale(1.05);
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 2;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
    border-color: var(--main-color);
}

.benefits-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.benefits-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), #0288d1);
}

.benefits-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.benefits-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    opacity: 0.8;
}

.benefits-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    flex: 1;
}

.benefits-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e9ecef;
    color: var(--secondary-color);
    line-height: 1.6;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

.benefits-list li:nth-child(1) { animation-delay: 0.1s; }
.benefits-list li:nth-child(2) { animation-delay: 0.2s; }
.benefits-list li:nth-child(3) { animation-delay: 0.3s; }
.benefits-list li:nth-child(4) { animation-delay: 0.4s; }
.benefits-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1.25rem;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.benefits-list li:hover {
    color: var(--main-color);
    padding-left: 2.25rem;
    background: rgba(6, 87, 153, 0.05);
    border-radius: 10px;
    margin: 0 -0.5rem;
    padding-right: 0.5rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}


@media (max-width: 1024px) {
    .benefits-slider {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .benefits-content {
        padding: 2rem;
    }

    .benefits-slider {
        min-height: 300px;
    }

    .benefits-title {
        font-size: 1.8rem;
    }

    .benefits-list li {
        font-size: 0.95rem;
        padding: 1rem 0;
        padding-left: 2.25rem;
        line-height: 1.5;
    }

    .benefits-list li::before {
        top: 1rem;
        font-size: 1.1rem;
    }
}


/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #065799 0%, #0288d1 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    opacity: 0.05;
}

.stat-inner {
    text-align: center;
    color: white;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-inner:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.stat-item.animate .stat-label {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

/* Membership Section */
.membership-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.membership-section .col-wrapper{
    margin-bottom: 3rem;
}

.membership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    opacity: 0.03;
}

.step-inner {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    height: 100%;
}

.step-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), #0288d1);
}

.step-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 1rem;
    text-align: center;
}

.step-description {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

.step-fees {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1rem 1rem;
}

.step-fees li {
    color: var(--secondary-color);
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-fees li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 25px;
}

.step-note {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
    background: rgba(6, 87, 153, 0.05);
    padding: 0.75rem;
    border-radius: 10px;
    border-left: 4px solid var(--main-color);
}

.cta-wrapper {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .step-title {
        font-size: 1.3rem;
    }

    .step-description,
    .step-note {
        font-size: 0.95rem;
    }

    .step-fees li {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.loan-inner {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.loan-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), #0288d1);
}

.loan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.loan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loan-list li {
    padding: 1rem 0;
    color: var(--secondary-color);
    line-height: 1.6;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.loan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.loan-list li:hover {
    color: var(--main-color);
    padding-left: 2.25rem;
    background: rgba(6, 87, 153, 0.05);
    border-radius: 10px;
    margin: 0 -0.5rem;
    padding-right: 0.5rem;
}

.loan-list li:last-child {
    border-bottom: none;
}

.contact-form-inner {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form select,
.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(6, 87, 153, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-group:nth-child(5){
    flex-flow: row;
    align-items: start;
}

.contact-form .form-group #terms{
    margin-top: 2px;
    margin-right: 7px;
    cursor: pointer;
    appearance: none;
    border: 2px solid #e9ecef;
    position: relative;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.contact-form .form-group #terms:checked {
    background-color: var(--main-color, #007bff);
    border-color: var(--main-color, #007bff);
}

.contact-form .form-group #terms:checked::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.contact-form .form-group label a{
    color: var(--main-color);
    text-decoration: none;
}


@media (max-width: 768px) {
    .loan-title {
        font-size: 1.3rem;
    }

    .loan-list li {
        font-size: 0.95rem;
        padding: 0.875rem 0;
        padding-left: 2.25rem;
    }

    .loan-list li::before {
        top: 0.875rem;
        font-size: 1.1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #065799 0%, #0288d1 100%);
    color: white;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-slogan{
    max-width: 400px;
    width: 100%;
}

.slogan-section .footer-slogan h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slogan-section .footer-slogan p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.footer-main {
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-menu a:hover {
    color: white;
    padding-left: 0.5rem;
    transform: translateX(5px);
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

footer .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

footer .contact-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

footer .contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .contact-item a:hover {
    color: white;
}

footer .contact-item span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom .copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-bottom .copyright a{
    font-weight: bold;
}

.footer-bottom .copyright + .copyright {
    margin-top: 0.5rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #e3f2fd;
}

@media (max-width: 768px) {
    .slogan-section .footer-slogan h3{
        font-size: 1.6rem;
    }

    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .social-link {
        padding: 0.5rem 2rem;
        font-size: 0.9rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom .copyright {
        font-size: 0.85rem;
    }
}

/* Simple Text */
.simple-content p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.simple-content h1,
.simple-content h2,
.simple-content h3,
.simple-content h4,
.simple-content h5 {
  color: var(--accent-color);
}

.simple-content h1{
    margin-bottom: 20px;
}

.simple-content strong {
    color: var(--main-color);
    font-weight: 600;
}

.simple-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.simple-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.simple-content ol li{
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.simple-content ol{
    padding-left: 1rem;
}

.simple-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.simple-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 1rem;
}

.simple-content table thead {
    background: linear-gradient(135deg, var(--main-color), #0288d1);
    color: white;
}

.simple-content table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.simple-content table th[data-col-size="lg"] {
    width: 35%;
}

.simple-content table th[data-col-size="sm"] {
    width: 20%;
    text-align: center;
}

.simple-content table th[data-col-size="lg"]:last-child {
    width: 45%;
}

.simple-content table tbody tr {
    transition: background-color 0.3s ease;
}

.simple-content table tbody tr:nth-child(even) {
    background: rgba(6, 87, 153, 0.05);
}

.simple-content table tbody tr:hover {
    background: var(--hover-bg);
}

.simple-content table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: var(--secondary-color);
}

.simple-content table td[data-col-size="lg"] {
    font-weight: 500;
}

.simple-content table td[data-col-size="sm"] {
    text-align: center;
    font-weight: 600;
    color: var(--main-color);
}

.simple-content div{
    margin-bottom: 1rem;
}

.simple-content div:empty {
    display: none;
}

/* Responsive for Simple Content */
@media (max-width: 1024px) {
    .simple-content table {
        font-size: 0.95rem;
    }

    .simple-content table th,
    .simple-content table td {
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .simple-content ol li,
    .simple-content p,
    .simple-content ul li {
        font-size: 1rem;
    }

    .scrollable_table{
        width: 100%;
        overflow-x: auto;
    }

    .simple-content table th,
    .simple-content table td {
        min-width: 120px;
        padding: 0.5rem;
    }
}

@media (max-width: 476px) {
    .simple-content table th[data-col-size="lg"],
    .simple-content table td[data-col-size="lg"] {
        min-width: 100px;
    }
}

/* documents-section */
.documents-section .doc {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.documents-section .doc a {
    box-shadow: var(--shadow);
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--main-color);
    border-left: 2px solid var(--main-color);
    transition: all 0.3s ease;
    position: relative;
}

.documents-section .doc a::before {
    content: "📄";
    font-size: 1.5em;
    margin-right: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.documents-section .doc a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--main-color);
    border-left-color: var(--main-color);
    background-color: rgba(var(--main-color-rgb), 0.05);
}

.documents-section .doc a:hover::before {
    opacity: 1;
}

.simulator .loan-list li::before{
    display: none;
}

.simulator .loan-list li{
    padding-left: 1rem;
}

.simulator #results{
    margin-top: 40px;
}

.simulator #results table{
    margin-top: 0;
}

.simulator .simple-content{
    overflow-x: auto;
}

.simulator .simple-content table th, 
.simulator .simple-content table td{
    width: 130px;
}

.simulator .simple-content table td:first-child,
.simulator .simple-content table th:first-child{
    width: 50px;
}

.blog-section .card-title a{
    color: var(--accent-color);
    text-decoration: none;
}

.blog-section .card-content p{
    color: var(--secondary-color);
}

.blog-section .card-content .read-more{
    margin-top: 20px;
    text-decoration: none;
    display: block;
    color: var(--secondary-color);
}

article.single-post {
    padding-top: 50px;
    padding-bottom: 150px;
}

.single-post-image img{
    width: 100%;
    object-fit: cover;
    max-height: 400px;
    border-radius: 20px;
    margin-bottom: 10px;
}

article.single-post h4,
article.single-post h3,
article.single-post h2,
article.single-post h1{
    color: var(--accent-color);
}

.single-post-content{
    color: var(--secondary-color);
    margin-top: 10px;
}

.single-post-content p{
    margin-bottom: 10px;
}

article.single-post h4,
article.single-post h3,
article.single-post h2{
    margin-top: 20px;
    margin-bottom: 10px;
}

.single-post .simple-content div{
    margin-bottom: 0;
}

.single-post .card-inner{
    box-shadow: none;
}

.single-post .card-title{
    margin-top: 0;
}