/* Corporate Membership Portal CSS */

:root {
    --primary-color: #f39c12;    /* Vibrant Saffron */
    --primary-light: #fdf2e9;
    --secondary-color: #2c3e50;  /* Deep Navy */
    --accent-color: #e67e22;
    --text-color: #1a1a1a;
    --text-light: #666;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --light-gray: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
}

body.lang-hi {
    font-family: 'Noto Sans Devanagari', 'Outfit', sans-serif !important;
}

body.lang-hi h1, 
body.lang-hi h2, 
body.lang-hi h3, 
body.lang-hi h4, 
body.lang-hi h5, 
body.lang-hi h6,
body.lang-hi span,
body.lang-hi p,
body.lang-hi a {
    letter-spacing: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* Responsive Grid */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.responsive-grid-sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Section Styling */
.section-padding { padding: 5rem 2rem; }

.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(45, 106, 79, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1400&auto=format&fit=crop') center/cover;
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--white) !important;
    font-weight: 800;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

.content-section h2 {
    color: var(--secondary-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.cta-section {
    background: rgba(45, 106, 79, 0.08);
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cta-section h2 {
    color: var(--secondary-color);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.btn-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    width: auto;
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(45,106,79,0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45,106,79,0.4);
    background-color: #e68525;
}

/* Impact Section */
.impact-section {
    background: var(--primary-color);
    padding: 5rem 2rem;
    color: var(--white);
    text-align: center;
}

.impact-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.impact-item h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin: 0;
    color: var(--white);
    font-weight: 800;
}

.impact-item p {
    opacity: 0.9;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Card Improvements */
.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    font-size: 1.05rem;
}

.focus-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.focus-card:hover {
    transform: translateY(-5px);
}

.focus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem 1rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    text-align: center;
}

.focus-overlay h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    background: var(--white);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #0b3b64;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Card layout */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Header Utilities */
.header-container {
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    max-height: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Header / Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3%;
    /* changed padding to percentages for better edge fitting */
    max-width: 100%;
    /* forces edge-to-edge layout */
    margin: 0 auto;
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border-left: 1px solid rgba(0,0,0,0.1);
    padding-left: 1.5rem;
    margin-left: 1rem;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.nav-links li a {
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), #444);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Secondary Content List */
.icon-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.nav-links li a:hover::after {
    width: 60%;
}

@keyframes pulse-blink {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4);
        background-color: var(--white);
        color: var(--primary-color);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(45, 106, 79, 0);
        background-color: var(--primary-color);
        color: var(--white);
        transform: scale(1.03);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(45, 106, 79, 0);
        background-color: var(--white);
        color: var(--primary-color);
        transform: scale(1);
    }
}

/* Application of pulse-blink is not explicitly seen in the first 800 lines with a duration, 
   but I'll check if any element uses it. 
   Wait, I see the @keyframes definition starting at 498. 
   I should find where it is used. */


.nav-links li a.nav-btn-highlight, 
.nav-links li a.btn-outline {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1.5px solid var(--primary-color);
    display: inline-block;
}

.nav-links li a.nav-btn-highlight:hover,
.nav-links li a.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.nav-links .btn-nav-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.nav-links .btn-nav-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4);
}

/* Mobile Responsive Header */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .logo {
        font-size: 1.3rem;
        /* slightly smaller on mobile */
    }

    .nav-links {
        display: none;
        /* Hidden by default entirely */
        flex-direction: column;
        position: absolute;
        top: 100%;
        /* Right below header */
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 2rem;
        gap: 1.5rem;
        z-index: 99;
        margin-left: 0;
        margin-right: 0;
        align-items: flex-start;
        /* align text left for mobile menu */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        font-size: 1.2rem;
    }

    .nav-links li a::after {
        display: none;
        /* remove hover effect in mobile so it doesn't look weird */
    }

    .nav-links .btn-nav-primary {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .lang-switch {
        display: none;
        /* Default hidden */
        width: 100%;
        border-left: none;
        padding-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
        justify-content: center;
        background: var(--white);
        position: absolute;
        top: calc(100% + 350px);
        /* Arbitrary push down, JS or layout handles this better if appended into nav, but let's just make it toggle active */
        left: 0;
        z-index: 101;
    }

    /* Bring language switch inside menu flow if both are active */
    .lang-switch.active {
        display: flex;
        position: static;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 70px);
}

.sidebar {
    width: 250px;
    background: var(--white);
    border-right: 1px solid var(--light-gray);
    padding: 2rem 0;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li a {
    display: block;
    padding: 1rem 2rem;
    color: #555;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: rgba(15, 76, 129, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg-color);
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.data-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #444;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

/* Badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge.pending {
    background: #ffeeba;
    color: #856404;
}

.badge.approved {
    background: #d4edda;
    color: #155724;
}

.badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.badge.admin {
    background: #cce5ff;
    color: #004085;
}

/* Membership ID Card */
.id-card {
    width: 350px;
    background: linear-gradient(135deg, var(--primary-color), #e68525);
    color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    font-family: 'Courier New', Courier, monospace;
}

.id-card-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.id-card-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.id-card-body {
    padding: 20px;
    display: flex;
    gap: 15px;
}

.id-card-photo {
    width: 100px;
    height: 120px;
    background: #eee;
    border: 3px solid var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.id-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card-details {
    flex: 1;
}

.id-card-details p {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #d1e8ff;
}

.id-card-details strong {
    color: var(--white);
    font-size: 1rem;
    display: block;
    margin-bottom: 2px;
}

.id-card-footer {
    background: var(--white);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.qr-placeholder {
    width: 50px;
    height: 50px;
    background: #eee;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.footer-col h3 span {
    color: #4ade80;
    /* Brighter accent color matching nature/NGO theme */
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a:before {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col ul li a:hover:before {
    color: #4ade80;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Multi-step Form & Join Page Styles */
.lang-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.lang-toggle {
    display: inline-flex;
    background: var(--light-gray);
    border-radius: 30px;
    padding: 4px;
    cursor: pointer;
}

.lang-btn {
    padding: 8px 16px;
    border-radius: 26px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step {
    display: none;
    animation: slideIn 0.4s ease forwards;
}

.step.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.btn-back {
    background: #fdf2e9;
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-back:hover { background: #fcf0e3; }

.btn-next {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-next:hover {
    background: #e68525;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(243,156,18,0.3);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    filter: brightness(1.1);
}

.btn-submit:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 10px;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    height: 4px;
    background-color: var(--light-gray);
    z-index: 1;
    border-radius: 2px;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    background-color: var(--primary-color);
    z-index: 1;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.progress-step {
    width: 35px;
    height: 35px;
    background-color: var(--white);
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    transition: all 0.4s ease;
}

.progress-step.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
    background-color: #fdf2e9;
}

.progress-step.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.step-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-subtitle {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fdf2e9;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.checkbox-item label {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
    color: var(--secondary-color);
}

.text-muted {
    color: #777;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================
   RESPONSIVE - TABLET (768px)
   ============================ */
@media (max-width: 768px) {
    /* Hero Section */
    .hero h1,
    section h1 {
        font-size: 2rem !important;
    }

    .hero p,
    section > .container > p {
        font-size: 1rem !important;
    }

    /* Container */
    .container {
        padding: 1.2rem;
    }

    /* Section padding */
    section,
    .content-section {
        padding: 3rem 1rem !important;
    }

    /* Grid cards - force single column */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Counter section */
    section .container[style*="flex"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    section .container[style*="flex"] h2 {
        font-size: 2.5rem !important;
    }

    /* Cards */
    .card {
        padding: 1.2rem;
    }

    /* Section headings */
    h2 {
        font-size: 1.6rem !important;
    }

    /* Dashboard / Admin */
    .dashboard-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        padding: 0.5rem 0;
    }

    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-menu li {
        flex-shrink: 0;
    }

    .sidebar-menu li a {
        padding: 0.8rem 1rem;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .sidebar-menu li a:hover,
    .sidebar-menu li a.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }

    .main-content {
        padding: 1rem;
    }

    /* Data Tables - horizontal scroll */
    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.6rem 0.5rem;
    }

    /* Admin member search/filter area */
    .flex.justify-between {
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0 1.2rem 2rem;
    }

    .footer-col h3 {
        font-size: 1.3rem;
    }

    /* ID Card */
    .id-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    /* Forms */
    form {
        max-width: 100% !important;
    }

    /* CTA button */
    .btn-submit {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }

    /* Booth Modal */
    #boothModal .card {
        width: 90% !important;
        max-width: 400px;
    }

    /* Charts container - 1 column on tablet */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================
   RESPONSIVE - MOBILE (480px)
   ============================ */
@media (max-width: 480px) {
    /* Hero */
    .hero h1,
    section h1 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem !important;
    }

    /* Container */
    .container {
        padding: 0.8rem;
    }

    /* Section */
    section,
    .content-section {
        padding: 2rem 0.5rem !important;
    }

    /* Headings */
    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.05rem;
    }

    /* Counter numbers */
    section .container[style*="flex"] h2 {
        font-size: 2rem !important;
    }

    section .container[style*="flex"] p {
        font-size: 0.95rem !important;
    }

    /* Cards */
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    /* Admin sidebar scrollable tabs */
    .sidebar-menu li a {
        padding: 0.6rem 0.8rem;
        font-size: 0.78rem;
    }

    .main-content {
        padding: 0.5rem;
    }

    /* Tables */
    .data-table th,
    .data-table td {
        padding: 0.4rem;
        font-size: 0.78rem;
    }

    /* ID Card */
    .id-card {
        width: 100%;
    }

    .id-card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .id-card-photo {
        width: 80px;
        height: 100px;
    }

    /* Navbar */
    .logo img {
        max-height: 40px !important;
    }

    /* Footer */
    .footer-container {
        padding: 0 0.8rem 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    /* CTA Section */
    a.btn-submit {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
    }

    /* Focus area images */
    [style*="height: 220px"] {
        height: 180px !important;
    }

    /* Join form steps */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    /* Badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ============================
   RESPONSIVE - LARGE SCREENS (1200px+)
   ============================ */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .main-content {
        padding: 2.5rem;
    }
}

/* ============================
   RESPONSIVE - SMALL LAPTOP (1024px)
   ============================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .sidebar {
        width: 200px;
    }

    .sidebar-menu li a {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.8rem !important;
    }
}

/* Ensure images never overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure tables don't overflow on mobile - wrap in scrollable container */
.card[style*="overflow-x"] {
    -webkit-overflow-scrolling: touch;
}

/* Print styles */
@media print {
    .sidebar,
    .menu-toggle,
    .nav-links,
    .lang-switch,
    header {
        display: none !important;
    }

    .dashboard-wrapper {
        display: block;
    }

    .main-content {
        padding: 0;
    }
}