/* Main Stylesheet */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Updated Color Palette based on AseaGlobal.com & Modern Trends */
    --primary-color: #002855; /* Deep Navy Blue (Asea) */
    --secondary-color: #00AEEF; /* Bright Cyan/Blue (Asea) */
    --accent-color: #00B140; /* Fresh Green (Wellness) */
    --highlight-color: #FDB913; /* Subtle Gold/Yellow highlight */
    
    --ink: #111827; /* Darker, modern text color */
    --muted-ink: #4B5563; /* Modern gray for secondary text */
    
    --surface: #ffffff;
    --light-bg: #F3F4F6; /* Light gray background */
    --border: #E5E7EB;
    
    --success-color: #10B981;
    --danger-color: #EF4444;
    --white: #ffffff;
    
    /* Modern Gradients */
    --gradient-hero: linear-gradient(135deg, #002855 0%, #004e8c 100%);
    --gradient-primary: linear-gradient(90deg, #002855 0%, #00AEEF 100%);
    --gradient-accent: linear-gradient(135deg, #00AEEF 0%, #00547a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif; /* Poppins is popular in PH/Modern web */
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--light-bg);
    /* Subtle texture for modern feel */
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 174, 239, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 40, 85, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

p { margin-bottom: 1.2rem; color: var(--muted-ink); font-weight: 400; }

/* Navigation */
.notice-bar {
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-brand { 
    color: var(--primary-color) !important; 
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link { 
    color: var(--muted-ink) !important; 
    font-weight: 500; 
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link:focus, .nav-link.active { 
    color: var(--secondary-color) !important; 
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px; /* Modern pill shape */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
    background: linear-gradient(90deg, #001f42 0%, #009ad4 100%);
    color: white;
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 177, 64, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 177, 64, 0.4);
    background: #009930;
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 174, 239, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: white;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Modern Wave/Shape Separator support */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top right, var(--surface) 49%, transparent 50%);
    opacity: 0.1;
    display: none; /* Can enable for angled look */
}

.hero-glow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-kicker {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(0, 174, 239, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Form Styling */
.form-control, .form-select {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #F9FAFB;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
    background-color: white;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Funnel Section */
.funnel-card {
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.funnel-card .card-body {
    padding: 3rem 2rem;
}

.notice-pill {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.funnel-card.border-primary {
    border: 2px solid var(--secondary-color) !important;
    position: relative;
}

.funnel-card.border-primary::before {
    content: '⭐ Best Choice';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

/* Animations */
.animate-fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; opacity: 0; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Utility */
.text-primary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

/* Presentation Page Enhancements */
.badge {
    font-weight: 700;
    padding: 12px 16px !important;
    border-radius: 12px;
    display: inline-block;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.badge.bg-success {
    background: var(--accent-color) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #00AEEF 0%, #0087c9 100%) !important;
}

.badge.bg-warning {
    background: var(--highlight-color) !important;
    color: var(--primary-color) !important;
}

/* Problem/Solution section styling */
[style*="background: #fff3e0"] {
    border-top: 4px solid var(--highlight-color) !important;
    box-shadow: 0 5px 20px rgba(253, 185, 19, 0.1);
}

[style*="background: #e8f5e9"] {
    border-top: 4px solid var(--accent-color) !important;
    box-shadow: 0 5px 20px rgba(0, 177, 64, 0.1);
}

/* Section spacing optimization */
section {
    scroll-margin-top: 80px;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-glow { padding: 2rem 1.5rem; }
    h1.display-4 { font-size: 2.5rem; }
    .navbar-brand { font-size: 1.25rem; }
    .btn { width: 100%; margin-bottom: 10px; }
    .d-flex.gap-3 { flex-direction: column; }
    .funnel-card.border-primary::before {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    .badge {
        font-size: 0.9rem;
    }
}
