/* ======================================
   HERO ULTIMATE SECTION
====================================== */

.hero-ultimate {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background: url('/images/hero-bg.jpg') center center / cover no-repeat;
}

.hero-ultimate::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.25) 0%,
        rgba(15, 23, 42, 0.35) 40%,
        rgba(15, 23, 42, 0.56) 75%,
        rgba(15, 23, 42, 0.7) 100%
    );
    z-index: 1;
}

/* Background Image Layer */
.hero-bg {
    background: red !important;
}

/* Overlay layer */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(15, 23, 42, 0.75),
        rgba(15, 23, 42, 0.85)
    );
    z-index: 2;
}

/* Content Wrapper */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Hero Text */
.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 900;
}

.hero-content h1 span {
    color: #20c997;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 35px;
}

/* Mini Cards */
.mini-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.mini-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.mini-card h4 {
    padding: 15px 18px 10px;
    font-size: 16px;
    color: #0f172a;
}

.mini-card .progress-bar {
    margin: 0 18px 18px;
    line-height: 1.1;
    margin-bottom: 25px;
}

/* Floating Glass Card */
.hero-floating-card {
    position: relative;
}

.floating-card-inner {
    width: 320px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    animation: floatCard 5s ease-in-out infinite;
}

.floating-card-inner h4 {
    font-size: 14px;
    color: #20c997;
    margin-bottom: 8px;
}

.floating-card-inner h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Hero Progress Bar */
.hero-progress-bar {
    height: 6px;
    background: #e2e8f0;
    margin: 0 18px 18px;
    border-radius: 6px;
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1EC6B6, #17a89b);
}

/* Card Meta */
.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #e2e8f0;
}

/* Floating Animation */
@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Hero Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-prev { left: 40px; }
.hero-next { right: 40px; }
.hero-arrow:hover { background: rgba(255,255,255,0.25); }

/* Responsive */
@media (max-width: 1200px) {
    .hero-bottom-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-bottom-cards { grid-template-columns: 1fr; }
    .hero-inner { flex-direction: column; gap: 60px; }
    .hero-content h1 { font-size: 42px; }
    .hero-arrow { display: none; }
}

/* ======================================
   STATS SECTION
====================================== */

.hero {
    position: relative;
    min-height: 35vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: url('/images/hero-bg.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,25,45,0.55), rgba(10,25,45,0.75));
    z-index: 2;
}
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: 8%;
}

.hero-box {
    position: relative;
    max-width: 600px;
}

/* REMOVED: .hero-slide position:absolute — was conflicting with oh-slide */
/* .hero-slide is now only used by oneheart-home.css for old pages via .hero-box context */

.hero-inner h1 { font-size: 56px; font-weight: 800; color: #ffffff; margin-bottom: 20px; }
.hero-inner h1 span { color: #20c997; }
.hero-content p { margin: 20px 0 30px; font-size: 18px; color: #cbd5e1; }

/* Arrows */
.hero-arrows { margin-top: 40px; display: flex; gap: 15px; }
.arrow {
    width: 50px; height: 50px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.15);
    color: white; font-size: 20px; cursor: pointer;
    backdrop-filter: blur(8px); transition: 0.3s;
}
.arrow:hover { background: rgba(255,255,255,0.3); }

/* Buttons */
.btn-primary { transition: all 0.25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(30,198,182,0.35); }

.btn-outline {
    border: 1.5px solid #1ec6b6;
    color: #1ec6b6;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    background: transparent;
}
.btn-outline:hover {
    background: #1ec6b6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,198,182,0.25);
}

/* ======================================
   PROGRESS BAR
====================================== */

.petition-progress { margin: 12px 0 8px; }
.progress-bar { width: 100%; height: 6px; background: #e6ecef; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #1EC6B6, #17a89b); border-radius: 10px; }

/* ======================================
   STATS SECTION
====================================== */

.stats-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
}
.stats-grid { display: flex; justify-content: center; gap: 120px; text-align: center; }
.stat-item h3 { font-size: 28px; font-weight: 700; color: #1EC6B6; margin-bottom: 6px; }
.stat-item p { font-size: 14px; color: #7c8896; }

/* =========================================
   HOW TABS
========================================= */

.how-tabs-section { padding: 120px 0; background: #f8fafc; }
.how-main-title { text-align: center; font-size: 38px; font-weight: 800; margin-bottom: 50px; color: #0f172a; }
.how-tabs-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.how-tab { padding: 12px 28px; border-radius: 40px; border: 1px solid #d1d5db; background: #ffffff; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.how-tab:hover { background: #e6f7f2; }
.how-tab.active { background: #111827; color: #ffffff; border-color: #111827; }
.how-tabs-content { position: relative; }
.how-tab-pane { display: none; animation: fadeTab 0.4s ease forwards; }
.how-tab-pane.active { display: block; }
@keyframes fadeTab { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.how-content-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.how-image img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.how-text h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.how-text p { font-size: 18px; color: #475569; margin-bottom: 30px; line-height: 1.6; }

@media (max-width: 992px) {
    .how-content-grid { grid-template-columns: 1fr; text-align: center; }
    .how-tabs-nav { gap: 10px; }
    .how-tab { padding: 10px 20px; font-size: 14px; }
}

/* ======================================
   CTA SECTION
====================================== */

.final-cta { background: linear-gradient(135deg, #071a2f, #0b2a45); padding: 100px 0; text-align: center; color: #fff; }
.final-cta h2 { font-size: 36px; margin-bottom: 20px; }
.cta-subtext { font-size: 18px; opacity: 0.85; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btn { background: #e53935; color: #fff; padding: 14px 36px; border-radius: 40px; font-weight: 600; text-decoration: none; display: inline-block; transition: 0.3s ease; box-shadow: 0 10px 25px rgba(229,57,53,0.35); }
.cta-btn:hover { background: #c62828; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(229,57,53,0.45); }

/* ======================================
   FEATURED CAMPAIGNS
====================================== */

.featured-section { padding: 120px 0; background: #f8fafc; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 38px; font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.section-header p { color: #64748b; font-size: 16px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.campaign-card {
    background: #ffffff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: all 0.35s ease; display: flex; flex-direction: column;
}
.campaign-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0,0,0,0.12); }
.campaign-image { width: 100%; height: 220px; overflow: hidden; border-top-left-radius: 20px; border-top-right-radius: 20px; }
.campaign-image img { width: 100%; height: 100%; object-fit: cover; }
.campaign-card:hover .campaign-image img { transform: scale(1.05); }
.badge { position: absolute; top: 18px; left: 18px; background: #ffffff; color: #0f766e; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 50px; }
.campaign-content { padding: 28px; }
.campaign-content h3 { font-size: 20px; font-weight: 600; color: #0f172a; margin-bottom: 10px; }
.campaign-content p { font-size: 14px; color: #64748b; margin-bottom: 22px; line-height: 1.6; }
.campaign-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 14px; color: #475569; }
.btn-view { display: inline-block; margin-top: 15px; font-weight: 600; color: #1EC6B6; transition: 0.3s; }
.btn-view:hover { color: #0f7d65; }

/* ======================================
   IMPACT STORY
====================================== */

.impact-story { background: #eef4f1; padding: 100px 0; }
.impact-inner { display: flex; align-items: center; gap: 90px; }
.impact-image img { width: 100%; max-width: 420px; height: 320px; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.impact-content { max-width: 520px; }
.impact-content h2 { font-size: 40px; font-weight: 800; color: #0f172a; margin-bottom: 20px; }
.impact-content p { font-size: 18px; line-height: 1.7; color: #475569; margin-bottom: 35px; }
.impact-accordion { margin-bottom: 40px; }
.accordion-title { cursor: pointer; font-weight: 600; padding: 15px 0; border-bottom: 1px solid #dbe3df; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.accordion-icon { transition: transform 0.3s ease; font-size: 18px; }
.accordion-content { display: none; padding-top: 15px; color: #475569; }
.accordion-content ul { padding-left: 18px; }
.accordion-content li { margin-bottom: 10px; }

@media (max-width: 992px) {
    .impact-inner { flex-direction: column; text-align: center; gap: 50px; }
    .impact-content { max-width: 100%; }
    .impact-image img { height: 240px; max-width: 100%; }
    .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .impact-image { width: 100%; display: flex; justify-content: center; }
    .impact-image img { max-width: 240px; width: 100%; border-radius: 20px; }
    .impact-content h2 { font-size: 28px; line-height: 1.3; }
    .impact-content p { font-size: 15px; line-height: 1.6; margin-bottom: 25px; }
}

/* ======================================
   COMMUNITY PROOF
====================================== */

.community-proof-clean { padding: 60px 0; background: #ffffff; }
.proof-flex { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.proof-left { max-width: 650px; }
.proof-main-text { font-size: 30px; font-weight: 600; margin-bottom: 10px; color: #1f2937; }
.proof-number { font-size: 80px; font-weight: 900; color: #ff4b4b; line-height: 1; margin-bottom: 10px; }
.proof-word { font-size: 36px; font-weight: 800; margin-bottom: 25px; color: #111827; }
.proof-sub { color: #6b7280; font-size: 17px; max-width: 480px; }
.proof-right { text-align: center; }
.avatar-group { display: flex; align-items: center; justify-content: center; }
.avatar-group img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -22px; box-shadow: 0 12px 25px rgba(0,0,0,0.15); }
.avatar-group img:first-child { margin-left: 0; }
.joined-week { margin-top: 18px; font-weight: 600; color: #178f73; }

@media (max-width: 992px) {
    .proof-number { font-size: 70px; }
    .proof-word { font-size: 28px; }
}
@media (max-width: 768px) {
    .community-proof-clean { padding: 50px 0; }
    .proof-flex { flex-direction: column; text-align: center; gap: 35px; }
    .proof-left { max-width: 100%; }
    .proof-main-text { font-size: 22px; }
    .proof-number { font-size: 56px; }
    .proof-word { font-size: 24px; }
    .proof-sub { font-size: 15px; max-width: 100%; margin: auto; }
    .avatar-group { justify-content: center; }
    .avatar-group img { width: 90px; height: 90px; margin-left: -12px; }
    .joined-week { font-size: 14px; }
    .stats-grid { flex-direction: column; gap: 30px; align-items: center; }
    .stat-item { width: 100%; }
}

/* ======================================
   FADE ANIMATION
====================================== */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.fade-up.active { opacity: 1; transform: translateY(0); }

/* ======================================
   HERO PETITIONS
====================================== */

.hero-petitions { padding: 60px 0; background: #f8fafc; }
.hero-petitions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* REMOVED .hero-petitions-grid { display: grid !important } — was breaking oh-slider */
/* REMOVED .petition-card { display: block !important } — was breaking oh-slider */

.petition-card {
    background: #ffffff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb; transition: 0.3s ease;
    min-height: 300px; flex-direction: column;
}
.petition-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.petition-image { height: 190px; overflow: hidden; }
.petition-image img { width: 100%; height: 100%; object-fit: cover; }
.petition-content { padding: 18px; }
.petition-content h4 { font-size: 16px; font-weight: 600; margin-bottom: 14px; color: #0f172a; line-height: 1.4; min-height: 48px; }
.petition-stats { display: flex; justify-content: space-between; font-size: 13px; color: #5f6f7c; margin-bottom: 8px; }
.petition-meta { font-size: 13px; color: #2f3a44; font-weight: 500; }
.petition-location { font-size: 13px; color: #7b8a97; margin: 6px 0; }
.sign-icon { margin-right: 6px; }

@media (max-width: 992px) {
    .hero-petitions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hero-petitions-grid { grid-template-columns: 1fr; }
}

/* MOBILE OPTIMIZATION */
html, body { overflow-x: hidden; }

@media (max-width: 992px) {
    .hero-ultimate { min-height: 85vh; padding: 80px 0 60px; text-align: center; }
    .hero-inner { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 56px; font-weight: 800; line-height: 1.1; }
    .hero-content h1 span { color: #1EC6B6; }
    .hero-content p { margin: 20px 0 30px; font-size: 18px; color: #cbd5e1; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .hero-buttons a { width: 100%; text-align: center; }
    .hero-floating-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); padding: 25px; border-radius: 20px; width: 280px; }
    .hero-progress-bar { height: 6px; background: rgba(255,255,255,0.2); border-radius: 10px; margin: 15px 0; }
    .hero-progress-fill { height: 6px; background: #1EC6B6; border-radius: 10px; }
    .floating-card-inner { width: 100%; max-width: 340px; }
    .hero-arrow { display: none; }
    .hero-petitions { padding: 40px 0; }
    .hero-petitions-grid { grid-template-columns: 1fr; gap: 25px; }
    .petition-card { min-height: auto; }
    .petition-image { height: 200px; }
}

.hero-content h1 span { display: inline-block; }

@media (max-width: 768px) {
    .hero-petitions-grid {
        display: flex;
        overflow-x: auto;
        gap: 18px;
        scroll-snap-type: x mandatory;
        padding-left: 15px;
        padding-right: 15px;
        scrollbar-width: none;
    }
    .hero-petitions-grid::-webkit-scrollbar { display: none; }
    .petition-card { min-width: 85%; flex: 0 0 auto; scroll-snap-align: start; }
}
.hero-petitions-grid { -webkit-overflow-scrolling: touch; }

/* ======================================
   IMPACT SECTION RESPONSIVE
====================================== */

@media (max-width: 992px) {
    .impact-inner { flex-direction: column; text-align: center; gap: 50px; }
    .impact-content { max-width: 100%; }
    .impact-image img { height: 280px; max-width: 100%; }
}

/* ======================================
   NAVBAR FIX
====================================== */

.navbar { background: #ffffff; position: sticky; top: 0; z-index: 999; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-wrapper img { height: 40px; width: auto; }
.logo-icon { display: none; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; color: #0f172a; }
.nav-toggle { display: none; font-size: 26px; background: none; border: none; cursor: pointer; }

@media (max-width: 992px) {
    .desktop-btn { display: none; }
    .nav-links { position: absolute; top: 70px; right: 20px; background: #ffffff; width: 240px; padding: 20px; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); flex-direction: column; gap: 18px; display: none; }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .logo-full { display: none; }
    .logo-icon { display: block; height: 32px; }
}

/* ======================================
   FOOTER
====================================== */

.footer { background: #0f1c2e; color: #ffffff; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; }
.footer h3 { font-size: 22px; margin-bottom: 15px; }
.footer h3 span { color: #20c4b7; }
.footer p { color: #c7d3e0; font-size: 14px; line-height: 1.7; }
.footer-links h4, .footer-subscribe h4 { margin-bottom: 15px; }
.footer-links a { display: block; color: #c7d3e0; margin-bottom: 10px; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: #20c4b7; }
.footer-social { margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-right: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #ffffff; transition: 0.3s; }
.footer-social a:hover { background: #20c4b7; }
.subscribe-form { display: flex; margin-top: 15px; }
.subscribe-form input { flex: 1; padding: 12px; border: none; border-radius: 6px 0 0 6px; outline: none; }
.subscribe-form button { background: #20c4b7; border: none; padding: 0 18px; color: #fff; border-radius: 0 6px 6px 0; cursor: pointer; transition: 0.3s; }
.subscribe-form button:hover { background: #17a89c; }
.footer-email { margin-top: 20px; font-size: 14px; }
.footer-email a { color: #20c4b7; text-decoration: none; }
.footer-bottom { margin-top: 60px; text-align: center; font-size: 13px; color: #9fb2c8; }

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================
   HOW GD CARD
========================================= */

.how-gd-card { background: #EEF3F2; border-radius: 28px; padding: 70px; display: flex; align-items: center; gap: 90px; transition: all 0.4s ease; }
.how-gd-visual { flex: 1; position: relative; }
.how-gd-visual img { width: 100%; border-radius: 22px; box-shadow: 0 40px 80px rgba(0,0,0,0.15); }
.how-image-wrapper { position: relative; display: inline-block; }
.how-floating-box { position: absolute; bottom: 20px; left: 30px; background: #ffffff; padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(15,23,42,0.08); display: flex; align-items: center; gap: 6px; }
.how-progress-mini { position: absolute; bottom: 5px; left: 30px; width: 65%; height: 5px; background: #d1d5db; border-radius: 50px; overflow: hidden; }
.mini-fill { width: 72%; height: 100%; background: linear-gradient(90deg, #20C997, #1ea97f); border-radius: 50px; }
.how-gd-text { flex: 1; }
.how-badge { background: #20C997; color: white; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; }
.how-gd-text h3 { font-size: 32px; font-weight: 800; margin: 20px 0; color: #0f172a; }
.how-gd-text p { font-size: 17px; color: #475569; line-height: 1.7; margin-bottom: 30px; max-width: 480px; }
.gd-btn { display: inline-block; background: #111827; color: #ffffff; padding: 14px 28px; border-radius: 14px; font-weight: 600; text-decoration: none; transition: 0.3s ease; }
.gd-btn:hover { background: #000000; transform: translateY(-2px); }

.how-image-wrapper img { width: 420px; border-radius: 20px; box-shadow: 0 40px 80px rgba(15,23,42,0.08); }
.how-floating-box { position: absolute; bottom: 35px; left: 25px; background: #ffffff; padding: 10px 18px; border-radius: 50px; font-size: 14px; font-weight: 600; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.how-progress-mini { position: absolute; bottom: 15px; left: 25px; width: 60%; height: 6px; background: #d1d5db; border-radius: 10px; overflow: hidden; }
.mini-fill { width: 72%; height: 100%; background: #10b981; border-radius: 10px; }
.how-gd-text h3 { font-size: 32px; font-weight: 800; margin: 15px 0; }
.how-gd-text p { color: #475569; line-height: 1.7; margin-bottom: 30px; }
.how-badge { background: #10b981; color: #fff; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.gd-btn { background: #0f172a; color: #fff; padding: 14px 26px; border-radius: 14px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; }
.gd-btn:hover { background: #111827; }

@media (max-width: 992px) {
    .how-gd-card { flex-direction: column; padding: 40px; text-align: center; }
    .how-gd-text p { max-width: 100%; }
    .how-floating-box, .how-progress-mini { position: relative; left: 0; bottom: 0; margin-top: 15px; }
    .how-image-wrapper img { width: 100%; max-width: 400px; }
}

/* ======================================
   VOICE SECTION
====================================== */

.voice-section { padding: 120px 0; background: linear-gradient(to bottom, #f1f6f5, #e6efed); }
.voice-container { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.voice-image img { width: 100%; max-width: 720px; border-radius: 30px; box-shadow: 0 25px 70px rgba(0,0,0,0.10); }
.voice-content h2 { font-size: 44px; font-weight: 800; margin-bottom: 20px; color: #0f172a; }
.voice-content p { font-size: 17px; line-height: 1.7; color: #475569; margin-bottom: 30px; }
.voice-accordion { border-top: 1px solid #cbd5e1; padding-top: 15px; margin-bottom: 40px; }
.accordion-title { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-content { display: none; margin-top: 10px; color: #64748b; font-size: 15px; }
.voice-content .btn-primary { margin-top: 10px; }

@media (max-width: 992px) {
    .voice-container { flex-direction: column; text-align: center; }
    .voice-image img { width: 100%; max-width: 320px; }
}

/* ======================================
   START CAMPAIGN PAGE
====================================== */

.start-hero { padding: 120px 0 100px; background: #f8fafc; }
.start-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; }
.start-hero p { max-width: 650px; margin: auto; font-size: 18px; opacity: 0.8; }
.campaign-types { padding: 100px 0; }
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.type-card { background: #fff; padding: 40px; border-radius: 18px; text-align: left; transition: 0.3s; box-shadow: 0 15px 40px rgba(0,0,0,0.05); text-decoration: none; color: #0f172a; }
.type-card .icon { font-size: 28px; color: #22b8a0; margin-bottom: 15px; }
.type-card h3 { font-size: 20px; margin-bottom: 10px; color: #0f172a; font-weight: 700; }
.type-card p { color: #64748b; font-size: 14px; }
.type-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.why-text h2 { font-size: 36px; margin-bottom: 20px; }
.why-text ul { margin: 25px 0; list-style: none; padding: 0; }
.why-text ul li { margin-bottom: 12px; }
.why-text ul li i { color: #22b8a0; margin-right: 8px; }

/* ======================================
   PETITION WIZARD / STEPS
====================================== */

.petition-step-section { padding: 16px 0 24px; background: #f8fafc; }
.petition-step-grid { display: flex; gap: 40px; align-items: stretch; }
.petition-guide-box { flex: 0 0 40%; background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #eef2f7; }
.petition-form-wrapper { flex: 0 0 60%; }
.step-label { font-size: 14px; font-weight: 600; color: #1ec6b6; display: inline-block; margin-bottom: 15px; }
.petition-guide-box h4 { font-size: 22px; margin-bottom: 10px; }
.guide-sub { color: #64748b; margin-bottom: 30px; font-size: 14px; }
.guide-item { margin-bottom: 25px; }
.guide-item h5 { font-size: 16px; margin-bottom: 5px; font-weight: 600; }
.guide-item p { font-size: 14px; color: #64748b; }
.guide-tip { margin-top: 25px; padding: 15px; background: linear-gradient(135deg, #e6fffb, #ecfeff); border-radius: 12px; font-size: 14px; font-weight: 600; color: #0f766e; }

.petition-step-section .petition-card { background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: center; }
.progress-bar-mini { height: 4px; background: #e2e8f0; border-radius: 50px; overflow: hidden; width: calc(100% + 80px); margin: -40px -40px 25px -40px; }
.progress-bar-mini span { display: block; width: 33%; height: 100%; background: #1ec6b6; }
.petition-step-section .petition-card h2 { font-size: 24px; margin-bottom: 8px; }
.form-subtitle { color: #64748b; margin-bottom: 25px; }
.form-control { height: 56px; border-radius: 14px; border: 1px solid #e2e8f0; padding: 0 18px; font-size: 15px; transition: all 0.2s ease; width: 100%; }
.form-control:focus { border-color: #1ec6b6; box-shadow: 0 0 0 3px rgba(30,198,182,0.15); outline: none; }
.char-counter { display: block; margin-top: 8px; font-size: 13px; color: #94a3b8; }
.full-btn { width: 100%; margin-top: 20px; height: 56px; font-size: 16px; cursor: pointer; }

@media (max-width: 992px) {
    .petition-step-grid { flex-direction: column; gap: 0 !important; }
}

/* Step Indicator */
.step-indicator { display: flex; align-items: center; margin-bottom: 35px; }
.step-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; background: #e2e8f0; color: #64748b; display: flex; align-items: center; justify-content: center; font-weight: 600; transition: all 0.3s ease; }
.step-item span { margin-top: 8px; font-size: 13px; color: #94a3b8; }
.step-line { flex: 1; height: 3px; background: #e2e8f0; margin: 0 10px; border-radius: 10px; transition: 0.3s ease; }
.step-item.active .step-circle { background: #1ec6b6; color: #ffffff; box-shadow: 0 4px 15px rgba(30,198,182,0.4); transform: scale(1.1); }
.step-item.active span { color: #0f172a; font-weight: 600; }
.step-line.active { background: linear-gradient(90deg, #1ec6b6, #17a89b); }

/* Form Errors */
.form-error { display: block; margin-top: 6px; font-size: 13px; color: #ef4444; font-weight: 500; animation: fadeInError 0.3s ease; }
.form-control.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
@keyframes fadeInError { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }

.quick-goals { margin-top: 10px; display: flex; gap: 10px; }
.quick-goals span { padding: 6px 12px; border-radius: 20px; background: #eef2f7; font-size: 13px; cursor: pointer; transition: 0.2s ease; }
.quick-goals span:hover { background: #1ec6b6; color: #ffffff; }

textarea.form-control { font-family: inherit; font-size: 15px; line-height: 1.6; resize: vertical; min-height: 140px; height: auto; }
textarea.form-control::placeholder { font-family: inherit; color: #94a3b8; }
textarea.form-control:focus { box-shadow: 0 0 0 3px rgba(30,198,182,0.15); transform: translateY(-1px); }

.actions { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }

/* Wizard Buttons */
.wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }
.btn-ghost { background: transparent; border: none; color: #64748b; font-weight: 600; text-decoration: none; padding: 10px 0; transition: all 0.25s ease; }
.btn-ghost:hover { color: #1ec6b6; transform: translateX(-3px); }
.btn-continue { background: linear-gradient(135deg, #1ec6b6, #17a89b); border: none; padding: 14px 36px; border-radius: 999px; color: #ffffff; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 8px 20px rgba(30,198,182,0.25); }
.btn-continue:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,198,182,0.35); }

/* Step 3 Preview */
.petition-preview-card { background: #f8fafc; border: 1px solid #e2e8f0; padding: 25px; border-radius: 16px; margin: 25px 0; }
.petition-preview-card h3 { font-size: 20px; margin-bottom: 12px; color: #0f172a; }
.preview-description { font-size: 15px; color: #475569; margin-bottom: 15px; line-height: 1.6; }
.preview-meta { display: flex; justify-content: space-between; font-size: 14px; color: #1ec6b6; font-weight: 600; }
.btn-publish { background: linear-gradient(135deg, #1ec6b6, #18a999); box-shadow: 0 10px 25px rgba(30,198,182,0.3); }
.btn-publish:hover { transform: translateY(-2px); }

/* Wizard Old Classes */
.wizard-container { max-width: 700px; margin: auto; background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.petition-wizard { background: #f9fafb; }
.wizard-guide { background: #ffffff; padding: 30px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.wizard-guide ul { padding-left: 0; list-style: none; }
.wizard-guide li { margin-bottom: 15px; font-size: 14px; color: #555; }
.wizard-card { background: #ffffff; padding: 40px; border-radius: 18px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.wizard-progress { display: flex; align-items: center; justify-content: space-between; }
.wizard-progress .step { width: 38px; height: 38px; background: #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.wizard-progress .step.active { background: #2bb673; color: #fff; }
.step-line { flex: 1; height: 3px; background: #e5e7eb; margin: 0 10px; }
.petition-wrapper { max-width: 1000px; }
.petition-guide { background: #ffffff; padding: 30px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.petition-guide ul { list-style: none; padding: 0; }
.petition-guide li { margin-bottom: 16px; font-size: 14px; color: #555; }
.petition-progress { display: flex; align-items: center; justify-content: space-between; }
.petition-progress .step { width: 36px; height: 36px; border-radius: 50%; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.petition-progress .step.active { background: #2bb673; color: #fff; }
.petition-progress .line { flex: 1; height: 3px; background: #e5e7eb; margin: 0 10px; }

/* Title Counter & Suggestions */
.title-counter-wrapper { margin-top: 6px; font-size: 13px; color: #94a3b8; text-align: right; transition: 0.2s ease; }
.title-counter-wrapper.warning { color: #f59e0b; }
.title-counter-wrapper.danger { color: #ef4444; }
.title-suggestions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.title-suggestions span { background: #f1f5f9; padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: 0.2s ease; display: inline-block; margin: 4px 6px 0 0; }
.title-suggestions span:hover { background: #1ec6b6; color: #fff; }

@keyframes shake { 0%{transform:translateX(0)} 25%{transform:translateX(-4px)} 50%{transform:translateX(4px)} 75%{transform:translateX(-4px)} 100%{transform:translateX(0)} }
.shake { animation: shake 0.3s ease; }

.guide-divider { border: none; height: 1px; background: #e5e7eb; margin: 30px 0; }
.guide-section h5 { font-size: 16px; margin-bottom: 6px; }
.guide-subtext { font-size: 14px; color: #64748b; margin-bottom: 12px; }
.guide-list { padding-left: 18px; margin: 0; }
.guide-list li { font-size: 14px; color: #475569; margin-bottom: 6px; }
.petition-guide-simple { margin-top: 60px; background: #ffffff; padding: 40px; border-radius: 18px; border: 1px solid #e5e7eb; max-width: 800px; margin-left: auto; margin-right: auto; }
.petition-guide-simple h4 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.petition-guide-simple ul { list-style: none; padding: 0; }
.petition-guide-simple li { margin-bottom: 12px; font-size: 14px; color: #64748b; }
.petition-step-grid { align-items: flex-start; }

/* ======================================
   END
====================================== */
@media(max-width:992px){
    .petition-step-section { padding: 0 0 24px !important; }
    .petition-step-grid { flex-direction: column !important; gap: 0 !important; }
    .petition-guide-box { 
        flex: none !important; width: 100% !important;
        border-radius: 0 !important; border: none !important;
        border-bottom: 1px solid #e8edf2 !important;
        box-shadow: none !important; padding: 0 !important;
    }
    .petition-guide-box > .step-label { display: none !important; }
    .petition-guide-box details { display: block !important; width: 100%; }
    .petition-guide-box details { display: block !important; width: 100%; }
    .petition-guide-box > h4 { display: none !important; }
    .petition-guide-box > p.guide-sub { display: none !important; }
    .petition-guide-box > .guide-item { display: none !important; }
    .petition-guide-box details { display: block !important; }
    .petition-guide-box .guide-desktop-content { display: none !important; }
    .petition-form-wrapper { padding: 14px 14px 0 !important; }
    .petition-step-card { padding: 20px 18px 22px !important; border-radius: 14px !important; }
    .petition-step-card h2 { font-size: 18px !important; }
    .form-subtitle { font-size: 13px !important; margin-bottom: 16px !important; }
    .form-group { margin-bottom: 14px !important; }
    .form-control { height: auto !important; padding: 11px 13px !important; }
    .full-btn { height: auto !important; padding: 14px !important; border-radius: 50px !important; }
    .step-circle { width: 30px !important; height: 30px !important; font-size: 12px !important; }
    .step-item span { font-size: 10px !important; }
    .step-indicator { margin-bottom: 18px !important; }
}

/* Desktop: show full guide, hide details toggle */
@media(min-width:769px){
    .petition-guide-box details { display: none !important; }
    .guide-desktop-content { display: block !important; }
}

/* ── Step1: Mobile Guide Collapsible ── */
@media(max-width:992px){
    .petition-guide-box > .step-label,
    .petition-guide-box > h4,
    .petition-guide-box > p.guide-sub,
    .petition-guide-box > .guide-item,
    .petition-guide-box > hr.guide-divider { display:none !important }
    .petition-guide-box > .guide-mobile-toggle { display:flex !important }
    .petition-guide-box.open > .step-label,
    .petition-guide-box.open > h4,
    .petition-guide-box.open > p.guide-sub,
    .petition-guide-box.open > .guide-item,
    .petition-guide-box.open > hr.guide-divider { display:block !important }
}

@media(max-width:992px){
    .guide-mobile-toggle { display:flex !important; }
}

@media(max-width:992px){
    .petition-step-grid { flex-direction: column !important; gap: 0 !important; }
    .petition-guide-box { flex: none !important; width: 100% !important; border-radius: 0 !important; border-left: none !important; border-right: none !important; border-top: none !important; padding: 16px 20px 0 !important; box-shadow: none !important; }
    .petition-form-wrapper { flex: none !important; width: 100% !important; }
}

/* Mobile Launch Button */
.nav-mobile-launch{display:none;align-items:center;justify-content:center;background:#ef4444;color:#fff !important;font-size:13px;font-weight:700;padding:8px 14px;border-radius:8px;text-decoration:none;white-space:nowrap;gap:5px;transition:background .2s;flex-shrink:0}
.nav-mobile-launch:hover{background:#dc2626;color:#fff}
@media(max-width:992px){
    .nav-mobile-launch{display:flex !important}
}

@media(max-width:992px){
    .nav-mobile-launch{
        order:0 !important;
        margin-left:auto;
    }
    [dir="rtl"] .nav-mobile-launch{
        margin-left:0;
        margin-right:auto;
    }
}

@media(max-width:992px){
    .nav-mobile-launch{
        order:10 !important;
        margin-left:auto !important;
        margin-right:0 !important;
    }
    [dir="rtl"] .nav-mobile-launch{
        order:10 !important;
        margin-left:0 !important;
        margin-right:auto !important;
    }
}

.nav-mobile-launch{
    border-radius:50px !important;
    padding:10px 18px !important;
    font-size:13.5px !important;
}
