/* ============================================================
   EZYGODIGI GLOBAL THEME v1.1
   ============================================================ */

:root {
    /* --- Brand Colors --- */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-navy: #1e293b;
    --text-main: #2c3e50;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --accent-success: #10b981;
    --accent-yellow: #fbbf24;

    /* --- Hero & Glass Effects --- */
    --hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.35);

    /* --- Typography --- */
    --font-main: 'Poppins', sans-serif;
    
    /* --- Spacing & Radius --- */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --container-width: 1200px;
    --section-padding: 80px 20px;
}

/* --- Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: var(--font-main); 
    color: var(--text-main); 
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: var(--section-padding); }

/* --- Global Reusable Split Layout (Left/Right) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Global Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-pill { border-radius: var(--radius-pill); }

/* --- Global Card Style --- */
.ez-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.ez-card:hover { transform: translateY(-10px); }

/* --- Global Form Elements --- */
.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* --- Global FAQ Accordion --- */
.faq-item {
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

/* --- Responsive Behavior --- */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    :root { 
        --section-padding: 50px 16px;
        --h1-mobile: 28px; 
    }
}
/* --- BUTTON GROUP (Add this to theme.css) --- */
.btn-group {
    display: flex;
    flex-direction: column; /* Stacked by default for Mobile */
    gap: 8px;               /* Minimal vertical distance for mobile */
    width: 100%;
    max-width: 280px;       /* Keeps mobile buttons from being too wide */
    margin: 0 auto;         /* Centers the group */
}

.btn-group .btn {
    width: 100%;            /* Buttons take full width of the small container */
}

/* --- DESKTOP ADJUSTMENT --- */
@media (min-width: 769px) {
    .btn-group {
        flex-direction: row; /* Side-by-side for Desktop */
        justify-content: center;
        max-width: none;     /* Removes width restriction on desktop */
        gap: 15px;           /* Slightly wider gap for desktop elegance */
    }

    .btn-group .btn {
        width: auto;         /* Buttons only take as much space as needed */
        min-width: 180px;    /* Ensures symmetrical button sizes */
    }
}