/* ============================================
   BRSI — Responsive Styles
   ============================================ */

/* ── Extra Large Screens (1440px+) ── */
@media (min-width: 1441px) {
    .container {
        max-width: 1320px;
    }
}

/* ── Large Desktops (1280px - 1440px) ── */
@media (max-width: 1440px) {
    .hero-content {
        max-width: 700px;
    }
    
    .hero-dna-helix {
        right: 5%;
        width: 250px;
    }
}

/* ── Standard Desktops (1024px - 1280px) ── */
@media (max-width: 1280px) {
    body {
        font-size: 17px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-dna-helix {
        display: none;
    }

    .hero-molecule {
        display: none;
    }
}

/* ── Tablets Landscape (992px - 1024px) ── */
@media (max-width: 1024px) {
    .section-padding {
        padding: 70px 0;
    }

    .about-image-badge {
        width: 110px;
        height: 110px;
        bottom: -10px;
        right: -10px;
    }

    .about-image-badge .badge-icon {
        font-size: 22px;
    }

    .about-image-badge .badge-text {
        font-size: 10px;
    }
}

/* ── Tablets Portrait (768px - 992px) ── */
@media (max-width: 991.98px) {
    body {
        font-size: 16px;
    }

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

    .hero-section {
        min-height: 85vh;
    }

    .hero-content {
        padding: 120px 0 80px;
        max-width: 100%;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-grid-pattern {
        background-size: 40px 40px;
    }

    .about-content {
        margin-top: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .gov-card {
        min-height: 160px;
        padding: 30px 24px;
    }

    .events-highlight {
        padding: 40px 30px;
    }

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

    .about-decoration {
        display: none;
    }

    /* About Page */
    .about-page-hero {
        min-height: 40vh;
    }

    .about-page-hero-content {
        padding: 130px 0 60px;
    }

    .about-mission-image-wrap {
        min-height: 320px;
        margin-bottom: 20px;
    }

    .about-mission-badge {
        bottom: -10px;
        right: -10px;
    }

    .about-mission-badge .badge-inner {
        width: 90px;
        height: 90px;
    }

    .about-mission-badge .badge-inner strong {
        font-size: 18px;
    }

    .about-mission-image-accent {
        display: none;
    }

    .about-vision-image-wrap {
        min-height: 350px;
        margin-top: 30px;
    }

    .about-vision-frame {
        display: none;
    }

    .about-pillar-card {
        padding: 36px 26px 30px;
    }

    .about-cta-decoration {
        display: none;
    }
}

/* ── Small Tablets / Large Phones (576px - 768px) ── */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }

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

    .hero-content {
        padding: 100px 0 60px;
    }

    h2 {
        font-size: clamp(28px, 6vw, 40px);
    }

    h3 {
        font-size: clamp(22px, 4vw, 30px);
    }

    .about-image-wrap {
        aspect-ratio: 16/10;
    }

    .about-image-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
    }

    .membership-image-wrap {
        /* aspect-ratio: 16/10; */
        margin-top: 30px;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .awards-icon-grid {
        gap: 12px;
    }

    .award-icon-item {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .footer-main {
        padding: 50px 0;
    }

    .footer-heading {
        margin-top: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    /* About Page */
    .about-page-hero {
        min-height: 35vh;
    }

    .about-page-hero-content {
        padding: 110px 0 50px;
    }

    .about-mission-image-wrap {
        min-height: 280px;
    }

    .about-vision-image-wrap {
        min-height: 300px;
    }

    .about-stat-card {
        padding: 28px 16px;
    }

    .pillar-icon {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }

    .objective-number {
        font-size: 26px;
        min-width: 40px;
    }
}

/* ── Mobile Phones (480px - 576px) ── */
@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .section-padding {
        padding: 45px 0;
    }

    .hero-section {
        min-height: 80vh;
    }

    .hero-content {
        padding: 90px 0 50px;
    }

    .hero-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-main,
    .btn-outline,
    .btn-white {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .section-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .gov-card {
        min-height: 140px;
        padding: 24px 20px;
    }

    .gov-card .gov-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .gov-card h4 {
        font-size: 18px;
    }

    .news-card {
        padding: 24px;
        min-height: 390px;
    }

    .award-card {
        min-height: 320px;
        padding: 24px;
    }

    .award-year {
        font-size: 30px;
    }

    .events-highlight {
        padding: 30px 20px;
        border-radius: var(--radius-md);
    }

    .contact-form .form-control {
        padding: 12px 14px;
    }

    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .membership-list li {
        padding: 18px 0 18px 16px;
    }

    .footer-social li a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* About Page */
    .about-page-hero {
        min-height: 30vh;
    }

    .about-page-hero-content {
        padding: 100px 0 40px;
    }

    .about-breadcrumb {
        font-size: 12px;
        gap: 8px;
    }

    .about-mission-image-wrap {
        min-height: 240px;
    }

    .about-mission-badge {
        bottom: -8px;
        right: -8px;
    }

    .about-mission-badge .badge-inner {
        width: 80px;
        height: 80px;
    }

    .about-mission-badge .badge-inner i {
        font-size: 16px;
    }

    .about-mission-badge .badge-inner span {
        font-size: 10px;
    }

    .about-mission-badge .badge-inner strong {
        font-size: 16px;
    }

    .about-pillar-card {
        padding: 30px 22px 28px;
    }

    .pillar-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .pillar-icon-ring {
        inset: -6px;
    }

    .objective-item {
        gap: 14px;
        padding: 18px 0;
    }

    .objective-number {
        font-size: 24px;
        min-width: 36px;
    }

    .about-vision-image-wrap {
        min-height: 260px;
        margin-top: 20px;
    }

    .about-stat-card {
        padding: 24px 14px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 14px;
    }

    .about-cta-wrap {
        text-align: center;
    }

    .about-cta-wrap .col-lg-4 {
        text-align: center !important;
    }

    .about-cta-wrap p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-hero-particles span {
        display: none;
    }
}

/* ── Small Phones (375px and below) ── */
@media (max-width: 375px) {
    body {
        font-size: 14px;
    }

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

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    .hero-section {
        min-height: 75vh;
    }

    .hero-content {
        padding: 80px 0 40px;
    }

    .btn-main,
    .btn-outline {
        padding: 12px 24px;
        font-size: 14px;
    }

    .gov-card .gov-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .about-image-badge {
        width: 80px;
        height: 80px;
    }

    .about-image-badge .badge-icon {
        font-size: 18px;
    }

    .about-image-badge .badge-text {
        font-size: 9px;
    }
}

/* ── Extra Small Phones (320px) ── */
@media (max-width: 320px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .hero-eyebrow {
        font-size: 11px;
    }

    .section-eyebrow {
        font-size: 11px;
    }
}

/* ── Print Styles ── */
@media print {
    .top-bar,
    .website-header,
    .hero-scroll-indicator,
    .back-to-top,
    .hero-decoration,
    .hero-grid-pattern {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    .section-padding {
        padding: 30px 0;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
