/* ==========================================
   KORA IT - MAIN STYLESHEET
   ========================================== */

:root {
    --primary-color: #4F46E5;
    --secondary-color: #7C3AED;
    --dark-color: #0F172A;
    --light-bg: #F8FAFC;
    --navy-brand: #0A3D86;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: var(--light-bg);
    overflow-x: clip;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.section-padding {
    padding: 90px 0;
}

/* Page Banner (Multi-Page Header) */
.page-banner {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1E1B4B 100%);
    color: white;
    padding: 70px 0 30px;
    text-align: center;
}

.page-banner h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-banner p {
    color: #94A3B8;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-custom .nav-link {
    color: #475569;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.logo {
    height: 40px;
    max-height: 40px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    background: transparent;
    color: #1E293B;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero .lead {
    font-size: 1.25rem;
    color: #94A3B8;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.5);
    color: white;
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light-custom:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Marquee Partner Slider */
.partners-section {
    background: transparent;
    padding: 40px 0;
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-width: 100%;
    gap: 3.5rem;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Cards & Components */
.service-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Feature Pill */
.feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.feature-pill-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    border-color: rgba(79, 70, 229, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.15);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 20px 0;
}

.price-prefix {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
}

.pricing-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    color: #475569;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
    border-color: rgba(79, 70, 229, 0.3);
}

.portfolio-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.portfolio-body {
    padding: 30px;
}

/* Contact Box & Info Cards */
.contact-box, .info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 16px;
    flex-shrink: 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    height: 100%;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

/* Footer Styling */
footer {
    padding: 0;
    margin: 0;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--navy-brand) !important;
    text-decoration: underline !important;
}

.social-icon-btn {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    background-color: #082d64 !important;
}

/* Floating WhatsApp Button */
/* ── Navbar Dropdown ── */
.navbar-custom .dropdown-menu-custom {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px;
    margin-top: 10px;
}
.navbar-custom .dropdown-menu-custom .dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}
.navbar-custom .dropdown-menu-custom .dropdown-item:hover, .navbar-custom .dropdown-menu-custom .dropdown-item.active {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

/* ── Footer Link Labels ── */
.footer-contact-list {
    padding-left: 0;
}
.footer-contact-link {
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.footer-contact-link:hover {
    background-color: rgba(255,255,255,0.5);
}
.footer-address-link:hover {
    text-decoration: underline !important;
}

/* ── FAB WA Popup ── */
.fab-wa-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.fab-wa-popup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 280px;
    margin-bottom: 20px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
    overflow: hidden;
}
.fab-wa-popup.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}
.fab-wa-popup-header {
    background: #F8FAFC;
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-close-sm {
    width: 0.5em;
    height: 0.5em;
}
.fab-wa-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}
.fab-wa-item:not(:last-child) {
    border-bottom: 1px solid #F1F5F9;
}
.fab-wa-item:hover {
    background-color: #F8FAFC;
}
.fab-wa-avatar {
    width: 40px;
    height: 40px;
    background: #E2E8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #64748B;
    font-size: 1.2rem;
}
.floating-wa {
    position: relative;
    bottom: 0;
    right: 0;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.floating-wa:hover {
    transform: scale(1.05);
}

/* ── WA Modal ── */
.wa-modal-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.wa-modal-item:last-child {
    margin-bottom: 0;
}
.wa-modal-item:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-2px);
}
.wa-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 1.2rem;
}
