/*
Theme Name: Astra Child
Theme URI: https://edwinsolution.com.ng
Author: Lawrence
Template: astra
Version: 1.0
*/


:root {
    --blue-dark: #0a2540;
    --blue-darker: #04121f;
    --yellow: #ffd60a;
    --yellow-soft: rgba(255,214,10,0.12);
    --yellow-glow: rgba(255,214,10,0.25);
    --bg: #f8fafc;
    --card-bg: rgba(255,255,255,0.85);
    --text: #0f172a;
    --text-light: #334155;
    --radius: 1.5rem;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container { max-width:1180px; margin:0 auto; padding:0 1.25rem; }

/* Hero */
.hero {
    background: radial-gradient(circle at 30% 20%, #0a2540 0%, #020817 70%);
    color: white;
    text-align: center;
    padding: clamp(5rem, 12vw, 9rem) 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 90%, rgba(255,214,10,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.glowing-badge {
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: var(--yellow-soft);
    border: 1px solid rgba(255,214,10,0.4);
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    backdrop-filter: blur(6px);
    overflow: hidden;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.glowing-badge i { color: var(--yellow); }

.glowing-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: conic-gradient(transparent 0deg, var(--yellow) 60deg, transparent 120deg, var(--yellow) 180deg, transparent 240deg, var(--yellow) 300deg, transparent 360deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-ring 3.2s linear infinite;
}

.glowing-badge::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, rgba(255,214,10,0.45) 0%, transparent 60%);
    opacity: 0.6;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes rotate-ring { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } }
@keyframes pulse-glow { 0%,100% { opacity:0.5; transform:scale(1); } 50% { opacity:0.9; transform:scale(1.08); } }

.glowing-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,214,10,0.35);
}

.hero h1 {
    font-family: Poppins, sans-serif;
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
    color: white;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 2.8rem;
    font-size: 1.18rem;
    opacity: 0.92;
}

.hero img {
    width: 100%;
    max-width: 540px;
    border-radius: 1.8rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
    transform: perspective(1000px) rotateX(4deg);
    transition: transform 0.7s ease;
}

.hero img:hover { transform: perspective(1000px) rotateX(2deg) translateY(-8px); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.6rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary {
    background: var(--yellow);
    color: #000;
    box-shadow: 0 8px 30px rgba(255,214,10,0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255,214,10,0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-primary.pulse { animation: pulse-scale 3.2s infinite ease-in-out; }
@keyframes pulse-scale { 0%,100% { transform:scale(1); } 50% { transform:scale(1.04); } }

/* Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 2.2rem;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,214,10,0.12) inset;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.4rem;
}

.card-header i {
    font-size: 2.4rem;
    color: var(--yellow);
    filter: drop-shadow(0 4px 10px rgba(255,214,10,0.4));
}

.card ul { list-style:none; margin:1.6rem 0; }

.card li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.9rem 0;
    font-size: 0.98rem;
    color: var(--text-light);
}

.card li i { color: #22c55e; font-size:1.3rem; }

.price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--yellow);
    margin: 1.6rem 0 1.2rem;
    font-family: Poppins, sans-serif;
}

.btn-secondary {
    background: linear-gradient(135deg, #ffd60a, #ffbd00);
    color: black;
    padding: 1rem 0;
    width: 100%;
    font-size: 1.1rem;
    text-align: center;
    display: block;
}

/* New Sections */
.about, .why-us, .trust-badges, .testimonials, .faq, .guarantees {
    padding: 6rem 0;
}

.about, .guarantees { background: white; }
.trust-badges { background: rgba(255,214,10,0.06); text-align:center; }

.trust-badges .badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.badge-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-us h2, .guarantees h2 { text-align:center; margin-bottom:3rem; }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th, .comparison-table td {
    padding: 1.2rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.comparison-table th { background: var(--yellow-soft); }

.urgency {
    text-align: center;
    font-size: 1.3rem;
    color: #dc2626;
    font-weight: 700;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(220,38,38,0.1);
    border-radius: 1rem;
}

/* Existing sections styles kept but adjusted padding */
.trust {
    padding: 4rem 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-dark);
    background: rgba(255,214,10,0.06);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2rem;
    border-radius: var(--radius);
    font-style: italic;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4rem;
}

.faq-item {
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.4s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer { max-height: 500px; margin-top: 1.2rem; }

.contact-links a {
    display: block;
    margin: 1.2rem 0;
    padding: 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yellow), #ffbd00);
    color: black;
    font-weight: 800;
    text-align: center;
    transition: var(--transition);
}

.contact-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,214,10,0.4);
}

footer {
    background: var(--blue-darker);
    color: #cbd5e1;
    text-align: center;
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 5rem 0 6rem; }
    .hero h1 { font-size: clamp(2.3rem, 8vw, 3.4rem); }
    .services, .testimonials, .faq, .about { padding: 4.5rem 0; }
    .card { padding: 1.8rem; }
    .price { font-size: 2.3rem; }
}

/* Clean landing page */
body.landing-page {
    margin: 0;
}

body.landing-page #page,
body.landing-page .site,
body.landing-page .container,
body.landing-page .wrap {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

