/* ============================================
   KREDIONE WEBSITE - MAIN STYLESHEET
   Color Scheme: Emerald Green, Golden Yellow, White
   Reference: KrediOne Brand Image
   ============================================ */

:root {
    --primary-color: #00D084;       /* Bright Emerald Green */
    --secondary-color: #00B370;     /* Darker Green */
    --accent-color: #FFD600;        /* Golden Yellow */
    --dark-green: #1B5E39;          /* Dark Green for text */
    --light-bg: #F0F9F6;            /* Very Light Green-White */
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border-color: #D1F0E8;
    --shadow: 0 10px 25px rgba(0, 208, 132, 0.15);
    --shadow-sm: 0 4px 6px rgba(0, 208, 132, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* ============================================
   UTILITIES
   ============================================ */

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--dark-green);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: #FFE033;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 214, 0, 0.2);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-green);
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--dark-green) !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00B370 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 214, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-card ul {
    list-style: none;
}

.hero-card li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.hero-alt {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00B370 100%);
    padding: 60px 0;
}

.hero-alt .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-alt h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--white);
}

.hero-alt p {
    font-size: 18px;
    max-width: 600px;
    color: var(--white);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features h2,
.cs-service h2,
.cta h2,
.call-center-info h2,
.operating-hours h2,
.faq h2,
.steps h2,
.conditions h2,
.contact-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 800;
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-top-color: var(--accent-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CS SERVICE SECTION
   ============================================ */

.cs-service {
    padding: 80px 0;
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.08) 0%, rgba(255, 214, 0, 0.05) 100%);
    padding: 40px;
    border-radius: 16px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    border-left-color: var(--accent-color);
    box-shadow: var(--shadow);
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CALL CENTER INFO SECTION
   ============================================ */

.call-center-info {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.info-card {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.phone-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.info-card .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   OPERATING HOURS SECTION
   ============================================ */

.operating-hours {
    padding: 80px 0;
    background-color: var(--white);
}

.hours-table {
    max-width: 600px;
    margin: 0 auto;
}

.hours-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.hours-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 20px;
    display: flex;
    align-items: center;
}

.hours-table .day {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 700;
}

.hours-table .time {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   STEPS SECTION
   ============================================ */

.steps {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.step-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-green);
    border-radius: 50%;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.step-card p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.step-card ul {
    list-style: none;
    padding-left: 0;
}

.step-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.step-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.step-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.step-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.note {
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.15), rgba(0, 208, 132, 0.1));
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-top: 15px;
    font-size: 14px;
    color: var(--dark-green);
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 800;
}

/* ============================================
   CONDITIONS SECTION
   ============================================ */

.conditions {
    padding: 80px 0;
    background-color: var(--white);
}

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

.condition-card {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.08) 0%, rgba(255, 214, 0, 0.05) 100%);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.condition-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.condition-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.condition-card ul {
    list-style: none;
}

.condition-card li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.condition-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-left-color: var(--accent-color);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    background: linear-gradient(135deg, var(--light-bg), rgba(255, 214, 0, 0.1));
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info {
    color: var(--text-light);
    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 214, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
}

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

.cta h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta .cta-buttons {
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .features h2,
    .cs-service h2,
    .cta h2,
    .call-center-info h2,
    .operating-hours h2,
    .faq h2,
    .steps h2,
    .conditions h2,
    .contact-section h2 {
        font-size: 28px;
    }

    .features-grid,
    .service-grid,
    .info-grid,
    .conditions-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero,
    .features,
    .cs-service,
    .call-center-info,
    .operating-hours,
    .steps,
    .conditions,
    .faq,
    .contact-section,
    .cta {
        padding: 50px 0;
    }

    .logo {
        font-size: 18px;
    }

    .logo-img {
        height: 35px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-card {
        padding: 30px;
    }

    .feature-card,
    .service-item,
    .info-card,
    .condition-card,
    .faq-item {
        padding: 30px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .phone-number {
        font-size: 24px;
    }
}