/* ═══════════════════════════════════════════════════════════════
   KLD-IPATS Landing Page Styles
   Modern, Professional, Academic Design System
═══════════════════════════════════════════════════════════════ */

:root {
    /* Brand Colors */
    --kld-primary: #1a6b3a;
    --kld-primary-dark: #0d3d21;
    --kld-primary-light: #2d8a50;
    --kld-gold: #c9a227;
    --kld-gold-dark: #b8911f;
    
    /* UI Colors */
    --color-bg: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-text: #212529;
    --color-text-muted: #6c757d;
    --color-border: #dee2e6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a6b3a 0%, #2d8a50 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 61, 33, 0.97) 0%, rgba(26, 107, 58, 0.97) 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL STYLES
═══════════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION BAR
═══════════════════════════════════════════════════════════════ */

.custom-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.custom-navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--kld-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--kld-primary-light) !important;
    transform: translateY(-2px);
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-link {
    color: var(--color-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--kld-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--kld-primary) !important;
}

.nav-link.active {
    color: var(--kld-primary) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--kld-primary);
    color: white;
    transform: translateX(5px);
}

.nav-btn-signin {
    background: var(--kld-primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-base);
}

.nav-btn-signin:hover {
    background: var(--kld-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-btn-contact {
    border: 2px solid var(--kld-primary);
    color: var(--kld-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-base);
}

.nav-btn-contact:hover {
    background: var(--kld-primary);
    color: white;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */

.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    background-image: 
        linear-gradient(135deg, rgba(10, 46, 25, 0.97) 0%, rgba(13, 61, 33, 0.95) 100%),
        url('../images/landing-page-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 40px,
            rgba(255, 255, 255, 0.03) 41px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    animation: slideRight 1.5s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin: 1.5rem 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    line-height: 1.8;
}

.btn-custom-primary {
    background: white;
    color: var(--kld-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-custom-primary:hover {
    background: var(--kld-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-custom-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
}

.btn-custom-secondary:hover {
    background: white;
    color: var(--kld-primary);
    transform: translateY(-3px);
}

.hero-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.25rem;
    color: var(--kld-gold);
}

/* Trust Badges */
.trust-badges {
    padding: 2rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
}

.arrow-down {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-down span {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrowDown 2s infinite;
}

.arrow-down span:nth-child(2) {
    animation-delay: -0.2s;
}

@keyframes arrowDown {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   INFO SECTION
═══════════════════════════════════════════════════════════════ */

.info-section {
    background: var(--color-bg-secondary);
    padding: 100px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 107, 58, 0.1);
    color: var(--kld-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.left-info-block {
    position: sticky;
    top: 100px;
}

.section-side-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kld-primary);
    line-height: 1.2;
    margin: 1rem 0;
}

.section-side-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.right-info-block {
    position: relative;
    padding-left: 2rem;
}

.content-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--kld-primary), var(--kld-gold));
    border-radius: 2px;
}

.content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.ip-definition {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--kld-primary);
}

.ip-definition .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--kld-primary);
}

/* IP Types Grid */
.ip-types-grid {
    margin-top: 2rem;
}

.ip-type-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    height: 100%;
}

.ip-type-card:hover {
    border-color: var(--kld-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--kld-primary), var(--kld-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ip-icon i,
.ip-icon svg {
    font-size: 1.75rem;
    width: 28px;
    height: 28px;
    color: white;
}

.ip-type-card h5 {
    font-weight: 700;
    color: var(--kld-primary);
    margin-bottom: 0.75rem;
}

.ip-type-card p {
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Resource Card */
.resource-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.resource-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.resource-image-wrapper {
    position: relative;
    overflow: hidden;
}

.resource-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-image-graphic {
    min-height: 220px;
    height: 100%;
}

.resource-svg {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    transition: transform 0.5s ease;
}

.resource-card:hover .resource-svg {
    transform: scale(1.05);
}

.resource-card:hover .resource-image {
    transform: scale(1.1);
}

.resource-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--kld-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-content {
    padding: 2rem;
}

.resource-content h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.resource-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS SECTION
═══════════════════════════════════════════════════════════════ */

.how-it-works-section {
    background: white;
    padding: 100px 0;
}

.how-header {
    margin-bottom: 3rem;
}

.how-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kld-primary);
    margin: 1rem 0;
}

.how-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    line-height: 1.8;
}

.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.5s ease;
}

.step-card:hover::before,
.step-card.active-step::before {
    height: 100%;
}

.step-card:hover {
    border-color: var(--kld-primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-card.active-step {
    background: linear-gradient(135deg, rgba(26, 107, 58, 0.05), rgba(45, 138, 80, 0.05));
    border-color: var(--kld-primary);
}

.step-number-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--kld-primary), var(--kld-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(26, 107, 58, 0.3);
}

.step-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kld-primary);
    margin-bottom: 1rem;
    padding-right: 80px;
}

.step-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.step-features li {
    color: var(--color-text);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.step-features i {
    color: var(--kld-primary);
    margin-right: 0.5rem;
}

/* Phone Mockup */
.phone-mockup-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    position: relative;
    box-shadow: 
        0 0 0 12px #2a2a2a,
        0 0 0 14px #1a1a1a,
        0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-2deg); }
    75% { transform: translateY(-10px) rotate(2deg); }
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px 20px;
    overflow: hidden;
}

/* Dashboard Preview Animation */
.dashboard-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    animation: slideInRight 1s ease;
}

.preview-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-avatar svg {
    width: 24px;
    height: 24px;
}

.preview-text {
    flex: 1;
}

.preview-line {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin-bottom: 8px;
    animation: shimmer 2s infinite;
}

.preview-line.short {
    width: 60%;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-box {
    height: 80px;
    background: white;
    border-radius: 12px;
    animation: fadeInUp 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--kld-primary);
}

.stat-box svg {
    width: 20px;
    height: 20px;
}

.stat-box-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text);
}

.stat-box:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-box:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-box:nth-child(3) {
    animation-delay: 0.6s;
}

.preview-progress {
    padding: 15px;
    background: white;
    border-radius: 12px;
    animation: slideInLeft 1s ease;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.progress-percent {
    color: var(--kld-primary);
    font-weight: 800;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    display: block;
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    border-radius: 4px;
}

.progress-bar.animated::before {
    animation: progressFill 2s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0; }
    50% { width: 75%; }
    100% { width: 0; }
}

/* Phone Sides */
.phone-side {
    position: absolute;
    background: #2a2a2a;
    border-radius: 2px;
}

.phone-side-left {
    left: -3px;
    top: 100px;
    width: 3px;
    height: 50px;
}

.phone-side-right {
    right: -3px;
    width: 3px;
}

.phone-side-right.top {
    top: 120px;
    height: 30px;
}

.phone-side-right.bottom {
    top: 170px;
    height: 60px;
}

/* Feature Badges */
.feature-badges {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.badge-float {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-float i {
    color: var(--kld-primary);
}

.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 40%;
    right: -15%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 20%;
    left: -15%;
    animation-delay: 2s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(-3deg);
    }
    75% {
        transform: translateY(-8px) rotate(3deg);
    }
}

/* ═══════════════════════════════════════════════════════════════
   STATISTICS SECTION
═══════════════════════════════════════════════════════════════ */

.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.stat-item .stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-base);
}

.stat-item:hover .stat-icon {
    background: white;
    transform: scale(1.1);
}

.stat-item .stat-icon i,
.stat-item .stat-icon svg {
    font-size: 2rem;
    width: 32px;
    height: 32px;
    color: white;
    transition: var(--transition-fast);
}

.stat-item:hover .stat-icon i {
    color: var(--kld-primary);
}

.stat-item .stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-item .stat-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════════════ */

.faq-section {
    background: var(--color-bg-secondary);
    padding: 100px 0;
}

.faq-box {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.faq-badge {
    display: inline-block;
    background: rgba(26, 107, 58, 0.1);
    color: var(--kld-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kld-primary);
    margin: 1rem 0;
}

.faq-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    line-height: 1.8;
}

.custom-faq .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.custom-faq .accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.custom-faq .accordion-button {
    background: white;
    color: var(--color-text);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
    transition: var(--transition-base);
}

.custom-faq .accordion-button:not(.collapsed) {
    background: var(--kld-primary);
    color: white;
}

.custom-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6b3a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: var(--transition-fast);
}

.custom-faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-faq .accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════════════════════════ */

.testimonials-section {
    background: white;
    padding: 100px 0;
}

.testimonial-card {
    background: var(--color-bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--kld-primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--kld-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 700;
    color: var(--kld-primary);
}

.author-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════════ */

.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.contact-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kld-primary);
    line-height: 1.3;
}

.form-group-custom {
    margin-bottom: 1.5rem;
}

.form-group-custom label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    display: block;
}

.custom-input,
.custom-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-base);
}

.custom-input:focus,
.custom-textarea:focus {
    outline: none;
    border-color: var(--kld-primary);
    box-shadow: 0 0 0 4px rgba(26, 107, 58, 0.1);
}

.contact-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--kld-primary-dark);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */

.footer-section {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-brand h4 {
    color: white;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--kld-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--kld-gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--kld-gold);
    font-size: 1.25rem;
    margin-top: 2px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
═══════════════════════════════════════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */

.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-side-title {
        font-size: 2rem;
    }
    
    .content-wrapper {
        padding: 2rem;
    }
    
    .left-info-block {
        position: static;
        margin-bottom: 3rem;
    }
    
    .right-info-block {
        padding-left: 0;
    }
    
    .content-line {
        display: none;
    }
    
    .phone-mockup-wrap {
        margin-top: 3rem;
    }
    
    .feature-badges {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-custom-primary,
    .btn-custom-secondary {
        width: 100%;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .step-number-badge {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-card h4 {
        font-size: 1.25rem;
    }
    
    .contact-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MISSING UTILITY CLASSES (used across inner pages, were undefined)
═══════════════════════════════════════════════════════════════ */

.leading-relaxed {
    line-height: 1.8;
}

.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}

/* Icon sizing helpers for inline SVGs standing in for icon-font glyphs */
.icon-fs-1 {
    width: 40px;
    height: 40px;
}

.icon-fs-2 {
    width: 30px;
    height: 30px;
}

.icon-inline {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    margin-right: 0.35rem;
}

.page-hero-badge .icon-inline {
    margin-right: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MODERN INNER-PAGE HERO
   Used by announcements.php, ip-basics.php, resources.php
═══════════════════════════════════════════════════════════════ */

.page-hero-modern {
    background:
        linear-gradient(135deg, rgba(10, 46, 25, 0.95) 0%, rgba(26, 107, 58, 0.95) 100%),
        url('../images/landing-page-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(201, 162, 39, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-modern .container {
    position: relative;
    z-index: 2;
}

.page-hero-modern .page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--kld-primary);
}

/* ═══════════════════════════════════════════════════════════════
   MODERN CARD ACCENTS (announcements / ip-basics / resources)
═══════════════════════════════════════════════════════════════ */

.modern-card {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    transition: var(--transition-base);
}

.modern-card:hover {
    border-color: var(--kld-primary-light);
}

.file-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-accent-top {
    height: 5px;
    background: var(--gradient-primary);
}


/* ═══════════════════════════════════════════════════════════════
   INNER-PAGE UI KIT v2
   Hero search, floating stat strip, sidebar widgets, file cards,
   IP choice cards, deadline list, subscribe widget
═══════════════════════════════════════════════════════════════ */

/* Hero search */
.hero-search-wrap {
    max-width: 620px;
    margin: 2rem auto 0;
    position: relative;
}

.hero-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.4rem;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    box-shadow: var(--shadow-xl);
    color: var(--color-text);
}

.hero-search-input:focus {
    outline: none;
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(201, 162, 39, 0.35);
}

.hero-search-icon {
    position: absolute;
    left: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Floating stat strip that overlaps the hero bottom edge */
.floating-stats {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 5;
    margin-top: -48px;
    margin-bottom: 3rem;
    padding: 1.5rem 1rem;
}

.floating-stat {
    text-align: center;
    padding: 0.5rem 0;
}

.floating-stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--kld-primary);
    line-height: 1;
}

.floating-stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.4rem;
    font-weight: 600;
}

.floating-stat-icon {
    width: 22px;
    height: 22px;
    color: var(--kld-gold-dark);
    margin-bottom: 0.4rem;
}

/* Sidebar widgets */
.sidebar-widget {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h6 {
    font-weight: 800;
    color: var(--kld-primary);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    margin-bottom: 1.1rem;
}

.category-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-bg-secondary);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.category-list-item:last-child {
    border-bottom: none;
}

.category-list-item:hover {
    color: var(--kld-primary);
    padding-left: 0.35rem;
}

.category-list-item.active {
    color: var(--kld-primary);
    font-weight: 700;
}

.category-count {
    background: var(--color-bg-secondary);
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.18rem 0.6rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.category-list-item.active .category-count {
    background: var(--kld-primary);
    color: white;
}

/* Deadline mini list (announcements sidebar) */
.deadline-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-bg-secondary);
}

.deadline-item:last-child {
    border-bottom: none;
}

.deadline-date-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1.1;
}

.deadline-date-box .dd-day {
    font-size: 1rem;
}

.deadline-date-box .dd-month {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deadline-text {
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.3;
}

.deadline-text small {
    color: var(--color-text-muted);
}

/* Author avatar */
.author-avatar-sm {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Subscribe / CTA sidebar widget */
.subscribe-widget {
    background: var(--gradient-primary);
    border-radius: 18px;
    padding: 1.75rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.subscribe-widget::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.subscribe-widget h6 {
    color: white;
    position: relative;
    z-index: 2;
}

.subscribe-widget p {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.subscribe-widget .btn {
    position: relative;
    z-index: 2;
}

/* File card v2 (resources.php) */
.file-card {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: white;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.file-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.file-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.file-category-pill {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.32rem 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.file-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--color-border);
}

.file-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.file-card-meta svg {
    width: 14px;
    height: 14px;
}

/* Featured file card (Most Requested) */
.featured-file-card {
    background: linear-gradient(135deg, rgba(26, 107, 58, 0.04), rgba(201, 162, 39, 0.06));
    border: 2px solid var(--kld-primary);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.featured-file-ribbon {
    position: absolute;
    top: 1.25rem;
    right: -2.5rem;
    background: var(--kld-gold);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 3rem;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
}

/* IP choice cards (ip-basics.php visual tab selector) */
.ip-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ip-choice-card {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    display: block;
}

.ip-choice-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-bg-secondary);
    color: var(--kld-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    transition: var(--transition-base);
}

.ip-choice-icon svg {
    width: 26px;
    height: 26px;
}

.ip-choice-card h6 {
    font-weight: 700;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

.ip-choice-card.active {
    border-color: var(--kld-primary);
    box-shadow: var(--shadow-md);
}

.ip-choice-card.active .ip-choice-icon {
    background: var(--gradient-primary);
    color: white;
}

.ip-choice-card.active h6 {
    color: var(--kld-primary);
}

.ip-choice-card:hover {
    border-color: var(--kld-primary-light);
    transform: translateY(-4px);
}

@media (max-width: 767px) {
    .ip-choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Stat pill row used inside ip-basics content panels */
.duration-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.duration-pill svg {
    width: 16px;
    height: 16px;
    color: var(--kld-primary);
}


/* ═══════════════════════════════════════════════════════════════
   INNER-PAGE POLISH: kicker labels + breadcrumb
═══════════════════════════════════════════════════════════════ */

.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--kld-gold-dark);
    margin-bottom: 0.5rem;
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.breadcrumb-modern a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-modern a:hover {
    color: white;
}

.breadcrumb-modern .bc-sep {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-modern .bc-active {
    color: white;
    font-weight: 600;
}