/* Landing Page Specific Styles */
.logo-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-left: 0.8rem;
}

.logo-text small {
    font-size: 0.75rem;
    color: #ffa726;
    font-weight: 500;
}

.nav-container .logo {
    display: flex;
    align-items: center;
}

/* Landing Hero */
.landing-hero {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f4f8 50%, #e3f2fd 100%);
    padding: 3rem 2rem 4rem;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(25, 118, 210, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(211, 47, 47, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    border: 2px solid #ffb74d;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.15);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title .service {
    color: #c62828;
    text-shadow: 2px 2px 4px rgba(198, 40, 40, 0.1);
}

.main-title .protect {
    color: #0a2647;
    text-shadow: 2px 2px 4px rgba(10, 38, 71, 0.1);
}

.main-title .serve {
    color: #1b5e20;
    text-shadow: 2px 2px 4px rgba(27, 94, 32, 0.1);
}

.main-title .dot {
    color: #78909c;
    margin: 0 0.8rem;
    font-weight: 400;
}

.subtitle {
    color: #546e7a;
    font-size: 1.3rem;
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Portal Cards */
.portal-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.portal-card {
    background: #ffffff;
    border: 2px solid #e0e7ef;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #0a2647);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.portal-card:hover::before {
    transform: scaleX(1);
}

.portal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 38, 71, 0.15);
    border-color: #1976d2;
}

.card-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #0a2647;
    transition: all 0.4s ease;
}

.portal-card:hover .card-icon {
    background: linear-gradient(135deg, #1976d2 0%, #0a2647 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.portal-card h2 {
    color: #0a2647;
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.portal-card p {
    color: #546e7a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #1976d2;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.portal-btn:hover {
    gap: 1rem;
    color: #0a2647;
}

.portal-btn svg {
    transition: transform 0.3s ease;
}

.portal-btn:hover svg {
    transform: translateX(5px);
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    border: 3px solid #d32f2f;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.15);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.emergency-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.emergency-title {
    font-size: 1.6rem;
    color: #0a2647;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.emergency-title .emergency-number {
    color: #d32f2f;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(211, 47, 47, 0.1);
}

.emergency-text {
    font-size: 1.05rem;
    color: #546e7a;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a2647 0%, #1565c0 100%);
    color: #ffffff;
    padding: 2.5rem 2rem;
    margin-top: 0;
    border-top: 4px solid #1976d2;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-motto {
    font-size: 1rem;
    font-weight: 600;
    color: #ffa726;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.footer-copyright {
    font-size: 0.95rem;
    color: #e3f2fd;
    margin: 0;
}

.footer-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.credits-text {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.credits-text .heart {
    color: #ff5252;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.credits-text strong {
    color: #ffa726;
    font-weight: 700;
}

.credits-text a {
    color: #90caf9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.credits-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.credits-note {
    font-size: 0.85rem;
    color: #b3e5fc;
    margin: 0;
}

.credits-note .year {
    font-weight: 600;
    color: #ffa726;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .portal-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portal-card {
        padding: 2.5rem 2rem;
    }

    .emergency-banner {
        padding: 2rem;
    }

    .emergency-title {
        font-size: 1.3rem;
    }

    .emergency-title .emergency-number {
        font-size: 1.8rem;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .main-title .dot {
        margin: 0 0.3rem;
    }
}

/* =====================================================
   Landing page extended sections — appended to landing.css
   Reuses: .section-header, .hotlines-grid, .hotline-card,
           .headquarters, .card-icon, .contact-info,
           .phone-number, .availability, .location
           (classes live in citizen-portal.css; duplicated
            here so landing.php works standalone)
   ===================================================== */

/* --- section-header (mirrored from citizen-portal.css) --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: #7a8a99;
    font-size: 1.1rem;
}
.lp-section-header-white h2 { color: #ffffff; }
.lp-section-header-white p  { color: rgba(255,255,255,0.8); }

/* --- hotlines grid / cards (mirrored from citizen-portal.css) --- */
.hotlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.hotline-card {
    background: #ffffff;
    border: 2px solid #e5e9ed;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.hotline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30,58,95,0.08);
    border-color: #c5d0db;
}
.hotline-card.headquarters {
    border: 2px solid #1e3a5f;
    background: #f8fafb;
}
.hotline-card.headquarters:hover {
    border-color: #1e3a5f;
    box-shadow: 0 8px 20px rgba(30,58,95,0.15);
}
.hotline-card h3 {
    color: #1e3a5f;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.hotline-card .location {
    color: #7a8a99;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}
.contact-info {
    background: #f0f4f8;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.hotline-card.headquarters .contact-info {
    background: #fff8e1;
    border: 1px solid #ffd54f;
}
.phone-number {
    color: #1e3a5f;
    font-size: 1.1rem;
    font-weight: 700;
}
.hotline-card.headquarters .phone-number { color: #f57c00; }
.availability { color: #7a8a99; font-size: 0.85rem; }

/* card-icon (same as citizen-portal) */
.card-icon {
    width: 60px;
    height: 60px;
    background: #e8f0f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: #4a6b8a;
}
.hotline-card.headquarters .card-icon {
    background: #1e3a5f;
    color: #ffffff;
}

/* action-btn (reused from citizen-portal.css pattern) */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.action-btn-primary {
    background: linear-gradient(135deg, #1976d2 0%, #0a2647 100%);
    color: #ffffff;
}
.action-btn-primary:hover {
    background: linear-gradient(135deg, #1565c0 0%, #082038 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25,118,210,0.3);
}
.action-btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    color: #1e3a5f;
    border: 2px solid #e5e9ed;
}
.action-btn-secondary:hover {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
    border-color: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30,58,95,0.15);
}

/* --- Section layout helpers --- */
.lp-section {
    padding: 5rem 2rem;
}
.lp-section-light  { background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%); }
.lp-section-white  { background: #ffffff; }
.lp-section-blue   { background: linear-gradient(135deg, #0a2647 0%, #1565c0 100%); }

/* --- Stats strip --- */
.lp-stats-strip {
    background: #0a2647;
    padding: 2.5rem 2rem;
}
.lp-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.lp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3rem;
}
.lp-stat-number {
    color: #ffa726;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}
.lp-stat-label {
    color: #b3c6e0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.4rem;
    text-align: center;
}
.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* --- Steps grid --- */
.lp-steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 1rem;
}
.lp-step-card {
    background: #ffffff;
    border: 2px solid #e5e9ed;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}
.lp-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.1);
    border-color: #1976d2;
}
.lp-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1976d2, #0a2647);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 20px;
}
.lp-step-icon {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.lp-step-card h3 {
    color: #1e3a5f;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.lp-step-card p {
    color: #7a8a99;
    font-size: 0.9rem;
    line-height: 1.6;
}
.lp-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
    padding-top: 2rem;
    flex-shrink: 0;
}

/* --- Reminders grid --- */
.lp-reminders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.lp-reminder-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: background 0.3s ease;
}
.lp-reminder-card:hover {
    background: rgba(255,255,255,0.15);
}
.lp-reminder-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}
.lp-reminder-red    { background: rgba(211,47,47,0.9); }
.lp-reminder-blue   { background: rgba(25,118,210,0.9); }
.lp-reminder-green  { background: rgba(56,142,60,0.9); }
.lp-reminder-orange { background: rgba(230,81,0,0.9); }
.lp-reminder-body h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.lp-reminder-body p {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    line-height: 1.6;
}
.lp-reminder-body p strong { color: #ffa726; }

/* --- FAQ --- */
.lp-faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.lp-faq-item {
    border: 2px solid #e5e9ed;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.lp-faq-item.lp-faq-open { border-color: #1976d2; }
.lp-faq-question {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 1.3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s ease;
}
.lp-faq-question:hover { background: #f5f7fa; }
.lp-faq-question span {
    color: #1e3a5f;
    font-size: 1rem;
    font-weight: 600;
}
.lp-faq-icon {
    color: #7a8a99;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.lp-faq-open .lp-faq-icon { transform: rotate(180deg); }
.lp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    background: #f8fafb;
}
.lp-faq-open .lp-faq-answer { max-height: 300px; }
.lp-faq-answer p {
    padding: 1.2rem 1.5rem;
    color: #546e7a;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.lp-faq-answer p strong { color: #d32f2f; }

/* --- Trust bar --- */
.lp-trust-bar {
    background: #1e3a5f;
    padding: 2rem;
}
.lp-trust-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #b3c6e0;
    font-size: 0.95rem;
    font-weight: 600;
}
.lp-trust-item svg { color: #ffa726; flex-shrink: 0; }

/* --- CTA section --- */
.lp-cta-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #e3f2fd 100%);
}
.lp-cta-inner {
    text-align: center;
}
.lp-cta-inner h2 {
    color: #0a2647;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.lp-cta-inner p {
    color: #546e7a;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}
.lp-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .lp-steps-grid {
        grid-template-columns: 1fr;
    }
    .lp-step-arrow { display: none; }
    .lp-stat-item { padding: 0 1.5rem; }
}
@media (max-width: 600px) {
    .lp-section { padding: 3.5rem 1.2rem; }
    .section-header h2 { font-size: 1.9rem; }
    .lp-stat-divider { display: none; }
    .lp-stat-item { padding: 0.5rem 1rem; }
    .lp-trust-grid { gap: 1.5rem; }
    .lp-cta-inner h2 { font-size: 1.7rem; }
}