/* ================= GLOBAL ================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
}

section {
    overflow: hidden;
}

/* ================= HERO ================= */
.hero,
.services-hero,
.about-hero,
.apply-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(13,59,102,0.85), rgba(13,59,102,0.85)),
                url('../assets/images/KalinFinanceLH.png') center/cover no-repeat;
}

/* Main hero full screen */
.hero {
    min-height: 90vh;
}

/* Apply page override */
.apply-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../assets/images/finance-bg.jpg') center/cover no-repeat;
}

/* Contact hero */
.contact-hero {
    height: 40vh;
    background: linear-gradient(rgba(13,59,102,0.85), rgba(13,59,102,0.85)),
                url('../images/banner.jpg') center/cover no-repeat;
}

/* ================= HERO LOGO ================= */
.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.35));
    animation: fadeIn 1.5s ease-in-out;
}

/* ================= CARDS ================= */
.feature-card,
.service-card,
.mission-card,
.value-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: none;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    background: #0d3b66;
    color: #fff;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.value-card:hover {
    transform: scale(1.05);
    background: #0d3b66;
    color: #fff;
}

/* ================= PROCESS ================= */
.process-step {
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: #0d3b66;
    color: #fff;
    transform: scale(1.05);
}

/* ================= FORMS ================= */
.card input,
.card textarea {
    border-radius: 8px;
}

.card {
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

/* ================= APPLY DOWNLOAD ================= */
.apply-hero .input-group {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.apply-hero select,
.apply-hero button {
    height: 50px;
}

/* ================= SOCIAL ================= */
.social-icons .social {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #0d3b66;
    transition: 0.3s;
}

.social-icons .social:hover {
    color: #f4b400;
}

/* ================= MAP ================= */
.map-section iframe {
    filter: grayscale(20%);
}

/* ================= CTA ================= */
.cta {
    background: linear-gradient(135deg, #0d3b66, #1a5f9e);
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(135deg, #0d3b66, #1a5f9e);
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #f4b400;
}

.footer h5 {
    font-weight: bold;
}

/* ================= BUTTONS ================= */
.btn-primary {
    background-color: #0d3b66;
    border: none;
}

.btn-primary:hover {
    background-color: #1a5f9e;
}

.btn-warning {
    background-color: #f4b400;
    border: none;
}

.btn-warning:hover {
    background-color: #d99a00;
}

/* ================= TABLE ================= */
table td {
    vertical-align: middle;
}

/* ================= EFFECTS ================= */
.hover-lift {
    transition: 0.3s;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-zoom {
    transition: 0.4s;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* ================= ANIMATIONS ================= */
.animate-slide {
    animation: slideUp 1s ease;
}

.animate-fade {
    animation: fadeIn 2s ease;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================= NAVBAR ================= */
.navbar.scrolled {
    background-color: #0d3b66 !important;
    transition: 0.3s;
}

/* ================= WHY IMAGE ================= */
.why-img {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .hero-logo { max-width: 300px; }
    .why-img { max-width: 320px; margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .hero,
    .services-hero,
    .about-hero,
    .apply-hero {
        min-height: 50vh;
        padding: 30px 15px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }

    .feature-card,
    .service-card,
    .process-step {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-logo { max-width: 220px; }
}

@media (max-width: 400px) {
    .hero-logo { max-width: 180px; }
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect */
.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

/* Text beside icon */
.whatsapp-text {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile: icon only */
@media (max-width: 768px) {
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
    }

    .whatsapp-text {
        display: none;
    }
}

/* FOOTER ACCORDION */
.footer .accordion-button {
    border: none;
    box-shadow: none;
}

.footer .accordion-button::after {
    filter: invert(1); /* white arrow */
}

.footer .accordion-body {
    font-size: 14px;
    color: #e0e0e0;
}

/* REMOVE DEFAULT BACKGROUND */
.footer .accordion-item {
    background: transparent;
}

/* COMBO BOX */
.footer select {
    border-radius: 8px;
    padding: 10px;
}

/* DEVELOPMENT BANNER */
.dev-banner {
    background: #ffcc00;
    color: #000;
    font-weight: 600;
    padding: 10px;
    font-size: 14px;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.dev-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}