/* ============================================
   JOOUST ISACA - Responsive & Mobile Styles
   Loaded AFTER main stylesheets
   ============================================ */

/* ============================================
   1024px - Tablet Landscape / Small Desktop
   ============================================ */
@media (max-width: 1024px) {
    /* Container */
    .container,
    .nav-container {
        padding: 0 24px;
    }

    /* Section padding: reduce from 120px to 80px */
    .section-about,
    .section-mission,
    .section-values,
    .section-why,
    .section-cta-final,
    .stats-section {
        padding: 80px 0;
    }

    .products-section,
    .features-section {
        padding: 80px 0;
    }

    .events-section,
    .services-section,
    .leadership-section {
        padding: 80px 0;
    }

    .cta-section-modern {
        padding: 80px 0;
    }

    /* Hero - premium (index) */
    .hero-premium {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-premium-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-illustration {
        display: none;
    }

    .hero-premium-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-premium-content .section-badge {
        justify-content: center;
    }

    /* Hero - default (index v2) */
    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content-new {
        text-align: center;
    }

    .hero-badge-wrapper {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
    }

    /* Hero - about page */
    .hero-about {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Hero - events page */
    .events-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .events-hero h1 {
        font-size: 2.8rem;
    }

    /* Page hero */
    .page-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.8rem;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Products grid at 1024px */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section headers */
    .section-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-intro-title {
        font-size: 2.2rem;
    }

    .why-content h2 {
        font-size: 2rem;
    }

    /* Gallery & resources */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Floating elements: hide on tablet */
    .why-image-float,
    .hero-scroll-indicator,
    .events-hero-scroll,
    .hero-scroll {
        display: none;
    }

    /* Feature card height */
    .feature-card-content {
        min-height: 280px;
    }
}

/* ============================================
   768px - Tablet Portrait / Small Tablet
   ============================================ */
@media (max-width: 768px) {
    /* Section padding: reduce from 80px to 60px */
    .section-about,
    .section-mission,
    .section-values,
    .section-why,
    .section-cta-final,
    .stats-section,
    .products-section,
    .features-section,
    .events-section,
    .services-section,
    .leadership-section {
        padding: 60px 0;
    }

    .cta-section-modern {
        padding: 60px 0;
    }

    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero {
        padding: 80px 0 60px;
    }

    .hero-premium {
        padding: 80px 0 50px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .premium-title {
        font-size: 2.2rem;
    }

    .premium-subtitle {
        font-size: 1rem;
    }

    .premium-cta {
        justify-content: center;
    }

    /* Hero - about */
    .hero-about {
        padding: 80px 20px 50px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-stat-number {
        font-size: 2.2rem;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero - events */
    .events-hero {
        padding: 80px 0 50px;
    }

    .events-hero h1 {
        font-size: 2.2rem;
    }

    .events-hero-desc {
        font-size: 1rem;
    }

    .events-hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* Page hero */
    .page-hero {
        padding: 80px 0 50px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Feature cards */
    .feature-card-content {
        min-height: 250px;
        padding: 28px;
    }

    /* Service cards */
    .service-card {
        padding: 28px;
    }

    .serv-icon-wrap {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    /* Product cards */
    .product-card .prod-info {
        padding: 20px;
    }

    .prod-title {
        font-size: 1rem;
    }

    .prod-price {
        font-size: 1.1rem;
    }

    /* Event cards */
    .event-card-modern .ecard-body {
        padding: 20px;
    }

    .ecard-title {
        font-size: 1rem;
    }

    /* Leader cards */
    .leader-card-modern .lcard-body {
        padding: 20px;
    }

    .lcard-name {
        font-size: 1rem;
    }

    .lcard-role {
        font-size: 0.8rem;
    }

    /* Section headers */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header-centered h2 {
        font-size: 2rem !important;
    }

    .about-intro-title {
        font-size: 1.8rem;
    }

    .about-intro-text {
        font-size: 1rem;
    }

    .why-content h2 {
        font-size: 1.75rem;
    }

    .why-lead {
        font-size: 1rem;
    }

    .why-image-main img {
        height: 300px;
    }

    /* Mission section */
    .mission-card {
        padding: 36px;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .value-tile {
        padding: 30px 20px;
    }

    .value-tile h3 {
        font-size: 1.1rem;
    }

    .value-tile-number {
        font-size: 2.5rem;
    }

    /* CTA section (modern) */
    .cta-modern-wrapper {
        text-align: center;
    }

    .cta-modern-wrapper .cta-badge-wrapper {
        justify-content: center;
    }

    .cta-modern-title {
        font-size: 2rem;
    }

    .cta-modern-desc {
        font-size: 1rem;
    }

    .cta-modern-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .cta-modern-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* CTA final (about page) */
    .cta-final-content h2 {
        font-size: 2rem;
    }

    .cta-final-content p {
        font-size: 1rem;
    }

    .cta-final-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .cta-final-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Resources grid */
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Cards */
    .card-img {
        height: 180px;
    }

    .card-body {
        padding: 20px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    /* Filter buttons */
    .filter-wrapper {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    /* Stats section (home page) */
    .stats-section .section-title {
        font-size: 1.75rem;
    }

    /* About page sections */
    .about-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-card-image {
        height: 280px;
    }

    .about-side-cards {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .about-side-card {
        padding: 20px;
    }

    /* Mission cards */
    .mission-cards-wrapper {
        gap: 24px;
    }

    /* Join / Contact forms */
    .join-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .join-form-card,
    .contact-form-card {
        padding: 28px;
    }

    .join-info-card,
    .contact-info-card {
        padding: 28px;
    }

    /* Modal */
    .modal-modern {
        width: 94%;
    }

    /* Header top hidden at 768px already */
    /* Events page listings */
    .events-list .event-item {
        flex-direction: column;
        gap: 16px;
    }

    .events-list .event-image {
        width: 100%;
        height: 200px;
    }

    /* Resources page */
    .resource-card {
        padding: 20px;
    }

    .resource-card h3 {
        font-size: 1rem;
    }

    /* Admin sidebar push */
    .admin-wrapper .main-content {
        padding: 20px;
    }

    .admin-wrapper .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Leadership page (non-admin) */
    .leadership-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Membership form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-section {
        padding: 24px;
    }
}

/* ============================================
   640px - Mobile Landscape
   ============================================ */
@media (max-width: 640px) {
    /* Section padding */
    .section-about,
    .section-mission,
    .section-values,
    .section-why,
    .section-cta-final,
    .stats-section,
    .products-section,
    .features-section,
    .events-section,
    .services-section,
    .leadership-section {
        padding: 50px 0;
    }

    .cta-section-modern {
        padding: 50px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Hero */
    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-premium {
        padding: 70px 0 40px;
    }

    .premium-title {
        font-size: 1.8rem;
    }

    .premium-subtitle {
        font-size: 0.95rem;
    }

    /* Hero - about */
    .hero-about {
        padding: 70px 20px 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Hero - events */
    .events-hero {
        padding: 70px 0 40px;
    }

    .events-hero h1 {
        font-size: 1.8rem;
    }

    /* Page hero */
    .page-hero {
        padding: 70px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    /* Section headers */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header-centered h2 {
        font-size: 1.75rem !important;
    }

    .about-intro-title {
        font-size: 1.5rem;
    }

    .why-content h2 {
        font-size: 1.5rem;
    }

    .cta-modern-title {
        font-size: 1.6rem;
    }

    .cta-final-content h2 {
        font-size: 1.6rem;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .value-tile {
        padding: 24px 16px;
    }

    .value-tile-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .value-tile h3 {
        font-size: 1rem;
    }

    .value-tile-number {
        font-size: 2rem;
        top: 12px;
        right: 12px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Feature cards */
    .feature-card-content {
        min-height: 220px;
        padding: 24px;
        gap: 12px;
    }

    .feat-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-card-content h3 {
        font-size: 1rem;
    }

    .feature-card-content p {
        font-size: 0.85rem;
    }

    /* Service cards */
    .service-card {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Product cards */
    .product-card .prod-info {
        padding: 16px;
    }

    .prod-title {
        font-size: 0.9rem;
    }

    .prod-price {
        font-size: 1rem;
    }

    .prod-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: 10px;
        left: 10px;
    }

    /* Event cards */
    .event-card-modern .ecard-body {
        padding: 16px;
    }

    .ecard-title {
        font-size: 0.95rem;
    }

    .ecard-text {
        font-size: 0.85rem;
    }

    .ecard-meta {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Leader cards */
    .leader-card-modern .lcard-body {
        padding: 16px;
    }

    .lcard-name {
        font-size: 0.95rem;
    }

    .lcard-role {
        font-size: 0.75rem;
    }

    .lcard-bio {
        font-size: 0.8rem;
    }

    /* CTA */
    .cta-modern-title {
        font-size: 1.5rem;
    }

    .cta-modern-desc {
        font-size: 0.9rem;
    }

    .cta-final-content h2 {
        font-size: 1.5rem;
    }

    /* About page sections */
    .about-side-cards {
        grid-template-columns: 1fr;
    }

    .about-card-image {
        height: 220px;
    }

    .about-card-content {
        padding: 24px;
    }

    .about-card-content h3 {
        font-size: 1.25rem;
    }

    /* Contact / Join forms */
    .join-form-card,
    .contact-form-card {
        padding: 24px 20px;
    }

    .join-info-card,
    .contact-info-card {
        padding: 24px 20px;
    }

    /* Leadership page grid */
    .leadership-page-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .leader-card .leader-image {
        height: 200px;
    }

    /* Form improvements */
    .form-control {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    /* Admin */
    .admin-wrapper .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .admin-wrapper .stat-card {
        padding: 20px 16px;
    }

    /* Resources */
    .resource-card {
        padding: 16px;
    }

    .resource-card h3 {
        font-size: 0.95rem;
    }

    .resource-card p {
        font-size: 0.85rem;
    }

    .resource-meta {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
}

/* ============================================
   480px - Mobile Portrait
   ============================================ */
@media (max-width: 480px) {
    /* Section padding */
    .section-about,
    .section-mission,
    .section-values,
    .section-why,
    .section-cta-final,
    .stats-section,
    .products-section,
    .features-section,
    .events-section,
    .services-section,
    .leadership-section {
        padding: 40px 0;
    }

    .cta-section-modern {
        padding: 40px 0;
    }

    .container {
        padding: 0 12px;
    }

    /* Hero */
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-premium {
        padding: 60px 0 30px;
    }

    .premium-title {
        font-size: 1.5rem;
    }

    .premium-subtitle {
        font-size: 0.85rem;
    }

    .premium-cta {
        flex-direction: column;
        gap: 12px;
    }

    .premium-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero - about */
    .hero-about {
        padding: 60px 16px 30px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    /* Hero - events */
    .events-hero {
        padding: 60px 0 30px;
    }

    .events-hero h1 {
        font-size: 1.5rem;
    }

    .events-hero-desc {
        font-size: 0.85rem;
    }

    .events-hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    /* Page hero */
    .page-hero {
        padding: 60px 0 30px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero p {
        font-size: 0.85rem;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* Section headers */
    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .section-header {
        margin-bottom: 30px;
        gap: 8px;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header-centered h2 {
        font-size: 1.5rem !important;
    }

    .section-header-centered {
        margin-bottom: 30px;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 5px 14px;
    }

    /* Features */
    .features-grid {
        gap: 12px;
    }

    .feature-card-content {
        min-height: 200px;
        padding: 20px;
        gap: 10px;
    }

    .feat-icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .feature-card-content h3 {
        font-size: 0.9rem;
    }

    .feature-card-content p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Services */
    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 20px;
    }

    .serv-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.8rem;
    }

    .btn-serv-book {
        padding: 8px 18px;
        font-size: 0.75rem;
    }

    /* Products */
    .products-grid {
        gap: 12px;
    }

    .product-card .prod-info {
        padding: 14px;
    }

    .prod-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    .prod-title {
        font-size: 0.85rem;
    }

    .prod-price {
        font-size: 0.95rem;
    }

    .prod-rating {
        font-size: 0.7rem;
    }

    .btn-order {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    /* Events */
    .events-slider {
        gap: 12px;
    }

    .event-card-modern .ecard-body {
        padding: 14px;
    }

    .ecard-title {
        font-size: 0.9rem;
    }

    .ecard-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .ecard-meta {
        font-size: 0.75rem;
        gap: 6px;
    }

    .ecard-date-badge {
        width: 50px;
        height: 50px;
    }

    .ecard-date-badge .eday {
        font-size: 1.3rem;
    }

    .ecard-date-badge .emonth {
        font-size: 0.6rem;
    }

    .btn-ecard {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    /* Leadership */
    .leadership-grid-modern {
        gap: 12px;
    }

    .leader-card-modern .lcard-body {
        padding: 14px;
    }

    .lcard-name {
        font-size: 0.9rem;
    }

    .lcard-role {
        font-size: 0.7rem;
    }

    .lcard-bio {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .leader-card-modern .lcard-img {
        height: 200px;
    }

    .lcard-social {
        gap: 6px;
    }

    .lcard-social a {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    /* Stats section (index) */
    .stats-section .section-title {
        font-size: 1.3rem;
    }

    .stats-section .section-subtitle {
        font-size: 0.85rem;
    }

    .staticon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    /* CTA modern */
    .cta-modern-title {
        font-size: 1.3rem;
    }

    .cta-modern-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .cta-modern-buttons .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .cta-section-modern {
        padding: 40px 0;
    }

    /* CTA final (about page) */
    .cta-final-content h2 {
        font-size: 1.3rem;
    }

    .cta-final-content p {
        font-size: 0.85rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-tile {
        padding: 24px 20px;
    }

    .value-tile-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .value-tile h3 {
        font-size: 1rem;
    }

    .value-tile-number {
        font-size: 2rem;
    }

    /* About section */
    .about-intro {
        margin-bottom: 40px;
    }

    .about-intro-title {
        font-size: 1.3rem;
    }

    .about-intro-text {
        font-size: 0.9rem;
    }

    .about-showcase {
        gap: 20px;
    }

    .about-card-image {
        height: 200px;
    }

    .about-card-content {
        padding: 20px;
    }

    .about-card-content h3 {
        font-size: 1.1rem;
    }

    .about-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .about-side-card {
        padding: 16px;
    }

    .about-side-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Mission */
    .mission-card {
        padding: 28px 24px;
    }

    .mission-card-icon {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .mission-card h3 {
        font-size: 1.1rem;
    }

    .mission-card-label {
        font-size: 0.75rem;
    }

    /* Why join */
    .why-image-main img {
        height: 220px;
    }

    .why-features {
        gap: 16px;
    }

    .why-feature {
        gap: 12px;
    }

    .why-feature-check {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }

    .why-feature-text h4 {
        font-size: 0.9rem;
    }

    .why-feature-text p {
        font-size: 0.8rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .gallery-item .gallery-overlay h4 {
        font-size: 0.85rem;
    }

    .gallery-item .gallery-overlay p {
        font-size: 0.7rem;
    }

    /* Resources */
    .resource-card {
        padding: 14px;
    }

    .resource-card h3 {
        font-size: 0.9rem;
    }

    .resource-card p {
        font-size: 0.8rem;
    }

    .resource-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* Forms */
    .join-form-card,
    .contact-form-card {
        padding: 20px 16px;
    }

    .join-info-card,
    .contact-info-card {
        padding: 20px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-section {
        padding: 20px 16px;
    }

    .form-section h3 {
        font-size: 1rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    select.form-control {
        font-size: 0.85rem;
    }

    .btn-submit {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-info-item {
        gap: 12px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .contact-info-text h4 {
        font-size: 0.9rem;
    }

    .contact-info-text p {
        font-size: 0.8rem;
    }

    .contact-social a {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* Leadership page */
    .leader-card .leader-image {
        height: 180px;
    }

    .leader-card .leader-info {
        padding: 16px;
    }

    .leader-card .leader-info h3 {
        font-size: 1rem;
    }

    .leader-card .leader-info .position {
        font-size: 0.8rem;
    }

    .leader-card .leader-info .bio {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-main {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-wave svg {
        height: 30px;
    }

    .footer-premium-logo .logo-title {
        font-size: 1.1rem;
    }

    .footer-premium-logo .logo-img {
        height: 40px;
    }

    .footer-social .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* Cards */
    .card-img {
        height: 160px;
    }

    .card-body {
        padding: 16px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .card-meta {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Filter buttons */
    .filter-wrapper {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    /* General */
    .btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    /* Modal */
    .modal-modern {
        width: 96%;
        border-radius: 16px;
    }

    .modal-modern-header {
        padding: 24px 16px 16px;
    }

    .modal-modern-header h3 {
        font-size: 1.1rem;
    }

    .modal-modern-form {
        padding: 16px;
    }

    .modal-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Empty state */
    .empty-state {
        padding: 40px 16px;
    }

    .empty-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .empty-state h3 {
        font-size: 1.1rem;
    }

    .empty-state p {
        font-size: 0.85rem;
    }
}

/* ============================================
   400px - Very Small Devices
   ============================================ */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .premium-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .values-grid {
        gap: 12px;
    }

    .features-grid,
    .services-grid,
    .products-grid,
    .events-slider,
    .leadership-grid-modern {
        gap: 10px;
    }

    .about-side-cards {
        gap: 12px;
    }

    .footer-grid {
        gap: 20px;
    }
}

/* ============================================
   Admin Panel Responsive Improvements
   ============================================ */
@media (max-width: 1200px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-chart-card {
        overflow-x: auto;
    }
}

@media (max-width: 1024px) {
    .admin-wrapper .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .admin-wrapper .sidebar.active {
        transform: translateX(0);
    }

    .admin-wrapper .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }

    .admin-wrapper .mobile-header {
        display: flex !important;
    }

    .admin-wrapper .page-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-wrapper .page-header h1 {
        font-size: 1.4rem;
    }

    .admin-wrapper .header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .admin-wrapper .header-actions .btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .admin-wrapper .main-content {
        padding: 16px;
    }

    .admin-wrapper .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .admin-wrapper .stat-card {
        padding: 20px 16px;
    }

    .admin-wrapper .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .admin-wrapper .stat-card .stat-label {
        font-size: 0.75rem;
    }

    .admin-wrapper .content-card {
        padding: 16px;
    }

    .admin-wrapper .content-card h2 {
        font-size: 1.1rem;
    }

    .admin-wrapper .filters-bar {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .admin-wrapper .filters-bar .search-box {
        width: 100%;
    }

    .admin-wrapper .filters-bar select,
    .admin-wrapper .filters-bar input[type="text"] {
        width: 100%;
    }

    .admin-wrapper .page-header {
        flex-direction: column;
        gap: 10px;
    }

    .admin-wrapper .page-header h1 {
        font-size: 1.3rem;
    }

    /* Tables in admin */
    .admin-wrapper .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-wrapper table {
        min-width: 650px;
    }

    .admin-wrapper th,
    .admin-wrapper td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .admin-wrapper .actions {
        gap: 6px;
    }

    .admin-wrapper .action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    /* Forms in admin */
    .admin-wrapper .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .admin-wrapper .form-card {
        padding: 20px;
    }

    .admin-wrapper .form-card h3 {
        font-size: 1rem;
    }

    /* Messages page */
    .messages-layout {
        grid-template-columns: 1fr;
    }

    .messages-list-panel {
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid var(--light-3);
    }

    .message-detail-panel {
        display: none;
    }

    .message-detail-panel.active {
        display: block;
    }

    /* Leader grid in admin */
    .admin-wrapper .leader-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-wrapper .leader-info {
        padding: 16px;
    }

    /* Event grid */
    .admin-wrapper .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Modal in admin */
    .admin-wrapper .modal-content {
        width: 95%;
        padding: 20px;
    }

    .admin-wrapper .modal-header h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .admin-wrapper .main-content {
        padding: 12px;
    }

    .admin-wrapper .page-header h1 {
        font-size: 1.1rem;
    }

    .admin-wrapper .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-wrapper .stat-card {
        padding: 16px 14px;
    }

    .admin-wrapper .content-card {
        padding: 14px;
        border-radius: 12px;
    }

    .admin-wrapper .content-card h2 {
        font-size: 1rem;
    }

    .admin-wrapper table {
        min-width: 500px;
    }

    .admin-wrapper th,
    .admin-wrapper td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .admin-wrapper .badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .admin-wrapper .form-card {
        padding: 16px;
        border-radius: 12px;
    }

    .admin-wrapper .sidebar {
        width: 260px;
    }

    .admin-wrapper .sidebar-logo {
        padding: 16px 20px;
        font-size: 1.1rem;
    }

    .admin-wrapper .sidebar-logo img {
        width: 36px;
        height: 36px;
    }

    .admin-wrapper .sidebar-nav a {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .admin-wrapper .empty-state {
        padding: 30px 16px;
    }

    .admin-wrapper .empty-state i {
        font-size: 2.5rem;
    }

    .admin-wrapper .empty-state h3 {
        font-size: 1rem;
    }

    .admin-wrapper .pagination {
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    .admin-wrapper .pagination a,
    .admin-wrapper .pagination span {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header-top,
    .main-nav,
    .mobile-menu,
    .mobile-backdrop,
    .nav-actions,
    .nav-toggle,
    .footer-wave,
    .footer-social,
    .footer-links,
    .hero-scroll,
    .events-hero-scroll,
    .hero-scroll-indicator,
    .filter-wrapper,
    .btn,
    .btn-join,
    .cta-section-modern,
    .section-cta-final {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
        font-size: 11pt;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .hero,
    .hero-premium,
    .hero-about,
    .events-hero,
    .page-hero {
        min-height: auto;
        padding: 20px 0;
        background: #fff !important;
        color: #000;
    }

    .hero h1,
    .hero-title,
    .page-hero h1,
    .events-hero h1 {
        color: #000 !important;
        -webkit-text-fill-color: #000;
    }

    .hero p,
    .hero-subtitle,
    .page-hero p,
    .events-hero-desc {
        color: #333 !important;
    }

    .hero-bg-animated,
    .hero-bg-overlay,
    .hero-particles,
    .hero-bg-image,
    .events-hero-bg,
    .events-hero-shapes,
    .events-hero-overlay,
    .hero-about-bg,
    .page-hero-bg {
        display: none !important;
    }

    .section-about,
    .section-mission,
    .section-values,
    .section-why,
    .section-cta-final,
    .stats-section {
        padding: 20px 0;
        background: #fff !important;
        color: #000;
    }

    .stats-section .section-title,
    .section-header-centered h2,
    .section-header h2 {
        color: #000 !important;
    }

    .card,
    .feature-card,
    .service-card,
    .product-card,
    .event-card-modern,
    .leader-card-modern,
    .value-tile {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        background: #fff !important;
    }

    .footer {
        background: #f5f5f5 !important;
        color: #000;
        padding-top: 20px;
    }

    .footer-brand p,
    .footer-title {
        color: #000 !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    img {
        max-width: 100% !important;
    }
}
