/* ============ VARIABLES ============ */
:root {
    --primary: #fb923c;
    --primary-dark: #f97316;
    --secondary: #1a1a2e;
    --accent: #fdba74;
    --accent-light: #fed7aa;
    --dark: #0b1120;
    --text: #1f2937;
    --text-light: #6b7280;
    --light: #fff7ed;
    --gradient: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    padding-top: 80px;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ============ NAVBAR ============ */
.navbar {
    background: transparent;
    padding: 15px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 8px 0;
}
.navbar.scrolled .navbar-brand span { color: var(--primary); }
.navbar.scrolled .nav-link { color: var(--text) !important; }
.navbar.scrolled .nav-link.active, .navbar.scrolled .nav-link:hover { color: var(--primary) !important; }

.navbar-brand img {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.navbar-brand span { color: #fff; transition: var(--transition); }
.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

/* ============ HERO ============ */
.hero {
    background: var(--gradient);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26,86,219,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.hero-image {
    position: relative;
    z-index: 1;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat h3 { color: #fff; font-size: 1.8rem; font-weight: 700; margin-bottom: 2px; }
.hero-stats .stat p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 0; }

/* ============ SECTIONS ============ */
section { padding: 100px 0; }
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}
.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}
.section-title .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* ============ BUTTONS ============ */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 15px;
}
.btn-primary {
    background: var(--primary);
    border: none;
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26,86,219,0.3);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.btn-accent {
    background: var(--accent);
    border: none;
    color: #fff;
}
.btn-accent:hover {
    background: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251,146,60,0.3);
}

/* ============ FEATURE CARDS ============ */
.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.feature-card .icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}
.feature-card:hover .icon {
    background: var(--primary);
    color: #fff;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-bottom: 0; }

/* ============ SERVICES ============ */
.services-section { background: var(--light); }
.service-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .body { padding: 30px; }
.service-icon {
    width: 72px;
    height: 72px;
    margin: 30px auto 0;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ============ NEWS CARD ICON ============ */
.news-card-icon {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}

/* ============ PARTNERS ============ */
.partners-section {
    background: #fff;
}
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.partner-item {
    padding: 20px 30px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-item:hover {
    box-shadow: var(--shadow);
    transform: scale(1.05);
}
.partner-item img { height: 50px; opacity: 0.6; transition: var(--transition); }
.partner-item:hover img { opacity: 1; }

/* ============ STATS ============ */
.stats-section {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item .number { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.stat-item .label { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ============ ABOUT ============ */
.about-section { background: var(--light); }
.about-image { border-radius: var(--radius-lg); width: 100%; }
.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 15px; }

/* ============ NEWS ============ */
.news-section { background: #fff; }
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card .body { padding: 25px; }
.news-card .date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.news-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ============ CONTACT ============ */
.contact-section { background: var(--light); }
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.contact-form .form-control {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-item h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.contact-info-item p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ============ PAGE BANNER ============ */
.page-banner {
    background: var(--gradient);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: -80px;
}
.page-banner h1 { color: #fff; font-size: 2.5rem; font-weight: 700; }
.page-banner p { color: rgba(255,255,255,0.75); max-width: 500px; margin: 10px auto 0; }

/* ============ NEWS DETAIL ============ */
.news-detail { padding: 60px 0; }
.news-detail h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.news-detail .meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 30px; }
.news-detail .content { line-height: 1.9; color: var(--text); }
.news-detail .content h4 { margin-top: 25px; font-weight: 600; }
.news-detail .content ul { margin-bottom: 15px; }
.news-detail .content li { margin-bottom: 8px; }

/* ============ FOOTER ============ */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.social-icon:hover { background: var(--primary); color: #fff; }
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.text-light-50 { color: rgba(255,255,255,0.5); }

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 30px; }

/* ============ HERO VISUAL ============ */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.circle {
    position: absolute;
    border-radius: 50%;
}
.circle-1 {
    width: 320px;
    height: 320px;
    background: rgba(16,185,129,0.12);
    animation: pulse 3s ease-in-out infinite;
}
.circle-2 {
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.06);
    animation: pulse 3s ease-in-out 0.5s infinite;
}
.circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.04);
    animation: pulse 3s ease-in-out 1s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.7; }
}
.hero-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 28px;
    width: 320px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}
.hero-card-header i {
    color: var(--primary);
    font-size: 22px;
}
.hero-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}
.hero-card-row:last-child { border: none; }
.hero-card-row .label { color: var(--text-light); font-size: 14px; }
.hero-card-row .amount { font-weight: 700; color: var(--secondary); font-size: 16px; }

/* ============ ABOUT VISUAL ============ */
.about-visual {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-card {
    position: absolute;
    background: #fff;
    padding: 20px 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
    transition: var(--transition);
}
.about-card:hover { transform: translateY(-5px); }
.about-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}
.about-card h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--secondary); }
.about-card p { margin: 2px 0 0; font-size: 12px; color: var(--text-light); }
.about-card-1 { top: 0; left: 50%; transform: translateX(-50%); }
.about-card-2 { top: 120px; left: 10%; }
.about-card-3 { top: 240px; left: 50%; transform: translateX(-50%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-image { margin-top: 40px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .hero-stats .stat { width: calc(50% - 10px); }
    .navbar-collapse {
        background: rgba(15,27,45,0.98);
        padding: 20px;
        border-radius: var(--radius);
        margin-top: 10px;
    }
    .navbar.scrolled .navbar-collapse { background: rgba(255,255,255,0.98); }
}
@media (max-width: 767px) {
    section { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.6rem; }
    .page-banner h1 { font-size: 1.8rem; }
    .page-banner { padding: 100px 0 40px; }
    .about-visual { display: none; }
}

/* ============ ANIMATIONS ============ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============ MISC ============ */
.bg-light-custom { background: var(--light); }
.text-gradient { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
