/* ==========================================================================
   EB-SOD Responsive Stylesheet
   Mobile, Tablet, Laptop, Desktop Breakpoints
   ========================================================================== */

/* Laptop / Medium Desktop (<= 1150px) */
@media (max-width: 1150px) {
    .page-hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
    }
    .page-hero-text {
        max-width: 100%;
    }
    .header-stats-box {
        width: 100%;
    }
    .main-nav .nav-list {
        gap: 16px;
    }
    .btn-header-cta {
        padding: 9px 15px;
        font-size: 12px;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .goals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .board-execs-grid,
    .board-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-photos-grid,
    .gallery-videos-grid,
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 30px;
    }
    .footer-col.col-brand {
        grid-column: 1 / -1;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 6px;
    }
    .pre-footer-bar {
        flex-wrap: wrap;
        gap: 18px 24px;
    }
    .pre-footer-sep {
        display: none;
    }
}

/* Tablet (<= 900px) */
@media (max-width: 900px) {
    .topbar-left {
        gap: 8px;
    }
    .topbar-divider {
        display: none;
    }
    .topbar-hours {
        display: none;
    }
    
    .home-hero {
        min-height: clamp(500px, 82vh, 640px);
        align-items: center;
    }
    .hero-slide {
        background-position: 72% center !important;
        background-size: cover !important;
    }
    .hero-slide::before {
        background: linear-gradient(
            180deg,
            rgba(5, 16, 32, 0.35) 0%,
            rgba(5, 16, 32, 0.28) 22%,
            rgba(5, 16, 32, 0.70) 52%,
            rgba(5, 16, 32, 0.92) 80%,
            rgba(5, 16, 32, 0.98) 100%
        ) !important;
    }
    .hero-container,
    .hero-fluid-wrap {
        padding: 0 24px;
    }
    .home-hero-content {
        max-width: 640px;
        padding: 40px 0 46px 0;
        text-align: left;
    }
    .hero-badge-wrap {
        margin-bottom: 14px;
    }
    .hero-tag {
        font-size: 11.5px;
        padding: 6px 18px;
        letter-spacing: 1.2px;
        background: rgba(6, 19, 38, 0.75);
        border: 1px solid rgba(212, 163, 89, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .hero-title {
        font-size: clamp(26px, 5.2vw, 36px);
        line-height: 1.2;
        margin-bottom: 16px;
        text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85);
    }
    .hero-desc {
        font-size: 14.5px;
        line-height: 1.65;
        padding: 12px 18px;
        margin-bottom: 18px;
        max-width: 580px;
        background: rgba(5, 16, 32, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .hero-buttons {
        gap: 12px;
        margin-bottom: 18px;
    }
    .hero-trust-row {
        gap: 10px;
        margin-top: 16px;
        padding-top: 14px;
    }
    .hero-trust-card {
        font-size: 12px;
        padding: 7px 15px 7px 9px;
    }
    .hero-nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    
    .home-about-grid {
        grid-template-columns: 1fr;
    }
    
    .home-trio-grid {
        grid-template-columns: 1fr;
    }
    
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .page-hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }
    .page-hero-text {
        max-width: 100%;
    }
    .header-stats-box {
        width: 100%;
        padding: 16px 20px;
    }
    
    .cta-ribbon-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }
    .cta-ribbon-left {
        max-width: 100%;
        text-align: center;
    }
    .cta-ribbon-left .btn-primary-gold {
        margin: 0 auto;
    }
    .cta-ribbon-right {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        gap: 16px;
    }
    .cta-feature-item {
        width: 100%;
        max-width: 100%;
    }

    .about-top-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-pair {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .featured-activity-card {
        grid-template-columns: 1fr;
    }
    .featured-activity-img {
        height: 220px;
    }
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-ribbon-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    .stats-items-row {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
    .stats-grid-ultra {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 16px;
        max-width: 680px;
        margin: 0 auto;
    }
    .stats-ribbon-title {
        font-size: 19px;
    }
    .stats-skyline-col {
        max-height: 110px;
        padding: 0;
        width: 100%;
    }
    .stats-skyline-img {
        max-height: 95px;
        margin: 0 auto;
    }
    .stats-tagline {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(212, 163, 89, 0.35);
        padding-top: 16px;
        text-align: center;
        max-width: 100%;
        font-size: 16px;
    }

    .seo-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .seo-article-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 28px;
    }

    .corp-standards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .corp-trust-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 20px;
    }
    .corp-trust-left {
        flex-direction: column;
        text-align: center;
    }
    .corp-trust-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .corp-trust-phone {
        width: 100%;
        justify-content: center;
    }
    .corp-trust-actions .btn-primary-gold {
        width: 100%;
        justify-content: center;
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin-bottom: 35px !important;
    }
    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .event-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* Mobile & Small Tablets / Zoom In (<= 992px) */
@media (max-width: 992px) {
    /* Mobile Topbar - Sleek Single Row, Never Wrap, Never Stack (Asla Alt Alta Olmaz) */
    .topbar {
        display: block !important;
        background-color: #071527 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .topbar-inner {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }
    .topbar-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        font-size: 11.5px !important;
    }
    .topbar-city,
    .topbar-city-div,
    .topbar-email,
    .topbar-email-div,
    .topbar-hours,
    .topbar-divider,
    .topbar-social-div {
        display: none !important;
    }
    .topbar-phone {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
    }
    .topbar-phone a {
        color: #ffffff !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }
    .topbar-phone i {
        color: var(--gold) !important;
        font-size: 12px !important;
    }
    .topbar-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        max-width: 65% !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .topbar-right::-webkit-scrollbar {
        display: none !important;
    }
    .topbar-social {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
    }
    .topbar-social a {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        border-radius: 50% !important;
        font-size: 11.5px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        transition: all 0.2s ease !important;
    }
    .topbar-social a:hover,
    .topbar-social a:active {
        background: var(--gold) !important;
        border-color: var(--gold) !important;
        color: #061326 !important;
    }

    /* Mobile Header & Nav Drawer */
    .header-inner {
        min-height: 68px;
        height: auto;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .logo-img {
        height: auto;
        max-height: 48px;
        width: auto;
    }
    .mobile-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        position: relative;
        border-radius: 8px;
    }
    .mobile-toggle span {
        display: block;
        width: 22px;
        height: 2.5px;
        background-color: #061326;
        border-radius: 2px;
        transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        transform-origin: center;
    }
    .mobile-toggle.active {
        background: #061326;
        border-color: #061326;
    }
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background-color: var(--gold, #d4a359);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background-color: var(--gold, #d4a359);
    }

    /* Mobile Navigation Backdrop */
    .mobile-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(6, 19, 38, 0.72);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 310px;
        max-width: 86vw;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -8px 0 28px rgba(6, 19, 38, 0.2);
        z-index: 9999;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 24px 20px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .main-nav.active {
        right: 0;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .mobile-nav-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-nav-logo {
        height: 44px;
        width: auto;
    }

    .mobile-nav-title-wrap {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-title {
        font-size: 17px;
        font-weight: 800;
        color: #061326;
        line-height: 1.1;
    }

    .mobile-nav-sub {
        font-size: 10.5px;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .mobile-nav-close {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 50%;
        background: #f1f5f9;
        color: #061326;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-nav-close:hover {
        background: #fee2e2;
        color: #ef4444;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        flex: 1;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-link {
        width: 100%;
        padding: 13px 0;
        justify-content: space-between;
        font-size: 13.5px;
    }

    .nav-link::after {
        display: none !important;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--gold);
        background: #f8fafc;
        margin: 0 0 10px 8px;
        padding: 6px;
        border-radius: 6px;
        display: none;
        min-width: unset;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none !important;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 10px;
        font-size: 13px;
        transform: none !important;
    }

    .dropdown-item-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 12px;
        border-radius: 8px;
    }

    .dropdown-item-desc {
        display: none;
    }

    .dropdown-item-arrow {
        display: none;
    }

    .mobile-nav-footer {
        display: block;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid #f1f5f9;
        width: 100%;
    }

    .btn-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: linear-gradient(135deg, #b58842 0%, #d4a359 100%);
        color: #ffffff !important;
        font-size: 13px;
        font-weight: 700;
        padding: 12px;
        border-radius: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 14px rgba(181, 136, 66, 0.28);
    }

    /* Mobile Drawer Contact & Social */
    .mobile-nav-contact-box {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
        padding: 14px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
    }
    .mobile-nav-contact-row {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12.5px;
        color: #475569;
        text-decoration: none;
    }
    .mobile-nav-contact-row a {
        color: #061326;
        font-weight: 600;
    }
    .mobile-nav-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        background: rgba(212, 163, 89, 0.12);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        flex-shrink: 0;
    }
    .mobile-nav-text {
        color: #1e293b;
        font-weight: 500;
    }
    .mobile-nav-social-wrap {
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid #f1f5f9;
    }
    .mobile-nav-social-title {
        display: block;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #94a3b8;
        margin-bottom: 10px;
    }
    .mobile-nav-social-icons {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .mobile-nav-social-icons a {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        background: #061326;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: all 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-nav-social-icons a:hover {
        background: var(--gold);
        color: #061326;
        transform: translateY(-2px);
    }

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

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

    .board-execs-grid,
    .board-members-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photos-grid,
    .gallery-videos-grid,
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-row-card {
        flex-direction: column;
        text-align: center;
    }
    .member-info-address {
        justify-content: center;
    }
    .member-action-col {
        align-items: center;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .photo-upload-container {
        grid-template-columns: 1fr;
    }

    .duyuru-card-horizontal {
        flex-direction: column;
        text-align: center;
    }
    .duyuru-thumb-box {
        width: 100%;
        height: 180px;
    }
    .duyuru-big-date-col {
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-left: 0;
        padding-top: 14px;
        width: 100%;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }
    .footer-col.col-brand {
        grid-column: 1 / -1;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 6px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

/* Tablet & Large Mobile (<= 768px) */
@media (max-width: 768px) {
    .home-hero {
        min-height: clamp(480px, 84vh, 620px);
        padding-bottom: 20px;
    }
    .hero-slide {
        background-position: 68% center !important;
        background-size: cover !important;
    }
    .hero-slide::before {
        background: linear-gradient(
            180deg,
            rgba(5, 16, 32, 0.30) 0%,
            rgba(5, 16, 32, 0.22) 20%,
            rgba(5, 16, 32, 0.68) 50%,
            rgba(5, 16, 32, 0.92) 78%,
            rgba(5, 16, 32, 0.98) 100%
        ) !important;
    }
    .hero-container,
    .hero-fluid-wrap {
        padding: 0 18px;
    }
    .home-hero-content {
        padding: 28px 0 36px 0;
        max-width: 100%;
    }
    .hero-badge-wrap {
        margin-bottom: 12px;
    }
    .hero-tag {
        font-size: 11px;
        padding: 6px 14px;
        letter-spacing: 1.1px;
        background: rgba(6, 19, 38, 0.8);
        border: 1px solid rgba(212, 163, 89, 0.7);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .hero-title {
        font-size: clamp(22px, 5.8vw, 30px);
        line-height: 1.22;
        margin-bottom: 14px;
        letter-spacing: -0.015em;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.8);
    }
    .hero-desc {
        font-size: 13.5px;
        line-height: 1.6;
        padding: 11px 16px;
        margin-bottom: 16px;
        background: rgba(5, 16, 32, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-left: 3px solid var(--gold);
        border-radius: 0 10px 10px 0;
    }
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        margin-bottom: 16px;
    }
    .btn-primary-gold,
    .btn-outline-white {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        font-size: 12.5px;
        font-weight: 800;
        letter-spacing: 0.5px;
        border-radius: 9px;
        white-space: nowrap;
        text-align: center;
    }
    .btn-primary-gold i,
    .btn-outline-white i {
        font-size: 11px;
        margin-left: 4px;
    }
    .hero-nav-arrow {
        display: none !important;
    }
    .hero-trust-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        width: 100%;
        margin-top: 12px;
        padding: 4px 2px 8px 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        scroll-snap-type: x mandatory;
    }
    .hero-trust-row::-webkit-scrollbar {
        display: none;
    }
    .hero-trust-card,
    .hero-trust-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        font-size: 11.5px;
        padding: 6px 13px 6px 8px;
        border-radius: 999px;
        background: rgba(6, 19, 38, 0.85);
        border: 1px solid rgba(212, 163, 89, 0.45);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        white-space: nowrap;
        gap: 7px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }
    .hero-trust-icon-box {
        width: 22px;
        height: 22px;
        font-size: 10.5px;
        flex-shrink: 0;
    }
    .hero-trust-label {
        font-size: 11.5px;
        font-weight: 700;
        color: #f1f5f9;
    }
    .hero-trust-arrow {
        display: none;
    }
    .hero-dots {
        bottom: 12px;
    }
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    .hero-dot.active {
        width: 22px;
    }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
    .pre-footer-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px 16px;
    }
    .pre-footer-item {
        width: 100%;
    }
    .pre-footer-sep {
        display: none;
    }
    .pre-footer-action {
        width: 100%;
        margin-top: 4px;
    }
    .btn-footer-cta {
        width: 100%;
        justify-content: center;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 28px !important;
    }
    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .event-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .events-public-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .case-studies-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .sitemap-grid,
    .sitemap-feed-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-col.col-brand {
        grid-column: auto;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        width: 100%;
        justify-content: center;
    }
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .search-modal-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
    .search-modal-form {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .search-submit-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px !important;
    }
    .search-modal-footer {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
}

/* Extra Small Mobile (<= 480px) */
@media (max-width: 480px) {
    .btn-header-cta span {
        display: none !important;
    }
    .btn-header-cta {
        padding: 0 !important;
        border-radius: 8px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 15px !important;
    }
    .btn-search-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        border-radius: 8px !important;
    }
    .mobile-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        border-radius: 8px !important;
    }
    .header-actions {
        gap: 6px !important;
        align-items: center !important;
    }
    .home-hero {
        min-height: clamp(460px, 85vh, 600px);
    }
    .hero-slide {
        background-position: 65% center !important;
        background-size: cover !important;
    }
    .hero-slide::before {
        background: linear-gradient(
            180deg,
            rgba(5, 16, 32, 0.25) 0%,
            rgba(5, 16, 32, 0.18) 18%,
            rgba(5, 16, 32, 0.65) 48%,
            rgba(5, 16, 32, 0.93) 76%,
            rgba(5, 16, 32, 0.98) 100%
        ) !important;
    }
    .hero-container,
    .hero-fluid-wrap {
        padding: 0 15px;
    }
    .home-hero-content {
        padding: 22px 0 32px 0;
    }
    .hero-badge-wrap {
        margin-bottom: 10px;
    }
    .hero-tag {
        font-size: 10px;
        padding: 5px 12px;
        letter-spacing: 0.9px;
        background: rgba(6, 19, 38, 0.85);
        border: 1px solid rgba(212, 163, 89, 0.75);
    }
    .hero-title {
        font-size: clamp(20px, 6.2vw, 26px);
        line-height: 1.24;
        margin-bottom: 12px;
        letter-spacing: -0.015em;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
    }
    .hero-title br {
        display: inline;
    }
    .hero-desc {
        font-size: 12.5px;
        padding: 9px 12px;
        margin-bottom: 14px;
        line-height: 1.55;
        border-left-width: 3px;
        background: rgba(5, 16, 32, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    .btn-primary-gold,
    .btn-outline-white {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        letter-spacing: 0.4px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }
    .btn-primary-gold i,
    .btn-outline-white i {
        font-size: 11px !important;
        margin-left: 6px !important;
    }
    .hero-nav-arrow {
        display: none !important;
    }
    .hero-trust-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        width: 100%;
        margin-top: 10px;
        padding: 4px 2px 6px 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        scroll-snap-type: x mandatory;
    }
    .hero-trust-row::-webkit-scrollbar {
        display: none;
    }
    .hero-trust-card,
    .hero-trust-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        font-size: 11px;
        padding: 5px 11px 5px 7px;
        border-radius: 999px;
        background: rgba(6, 19, 38, 0.88);
        border: 1px solid rgba(212, 163, 89, 0.45);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        white-space: nowrap;
        gap: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    .hero-trust-icon-box {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .hero-trust-label {
        font-size: 11px;
        font-weight: 700;
        color: #f1f5f9;
    }
    .hero-trust-arrow {
        display: none;
    }
    .page-hero-title {
        font-size: 24px;
    }
    .hero-dots {
        bottom: 10px;
    }
    .hero-dot {
        width: 7px;
        height: 7px;
    }
    .hero-dot.active {
        width: 18px;
    }

    @media (max-width: 350px) {
        .hero-buttons {
            display: flex !important;
            flex-direction: column !important;
            gap: 8px !important;
        }
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .goals-grid {
        grid-template-columns: 1fr;
    }
    .gallery-photos-grid,
    .gallery-videos-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .stats-items-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }
    .stat-icon-circle {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin-bottom: 8px;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-label {
        font-size: 10px;
    }

    .seo-pillars-grid {
        grid-template-columns: 1fr;
    }
    .seo-main-title {
        font-size: 22px;
    }
    .seo-article-grid {
        padding: 18px;
    }
    .seo-article-col h3 {
        font-size: 17px;
    }

    .header-stats-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 10px;
        padding: 16px 14px;
        border-radius: 14px;
    }
    .header-stat-sep {
        display: none;
    }
    .header-stat-item {
        padding: 8px 4px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    .header-stat-icon-wrap {
        width: 38px;
        height: 38px;
        margin-bottom: 7px;
    }
    .header-stat-icon-wrap i {
        font-size: 16px;
    }
    .header-stat-num {
        font-size: 19px;
    }
    .header-stat-lbl {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .corp-standards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .corp-section-title {
        font-size: 22px;
    }
    .corp-standard-card {
        padding: 24px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .footer-bottom-left {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    .footer-bottom-center {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Enhancements (Gallery, Form, Header)
   ========================================================================== */

/* Tablet & Mobile (<= 768px) */
@media (max-width: 768px) {
    /* Prevent iOS horizontal overflow */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* iOS Safari Auto-Zoom Prevention */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Modern Swipeable Horizontal Filter Bar */
    .alphabet-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 4px 2px 8px !important;
        gap: 8px !important;
        width: 100% !important;
        scroll-snap-type: x mandatory;
    }
    .alphabet-filter-bar::-webkit-scrollbar {
        display: none !important;
    }
    .alphabet-filter-bar a {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    /* Responsive Tables */
    .table-responsive,
    .table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* Page Hero Banner */
    .page-hero-banner {
        padding: 36px 0 28px !important;
    }
    .page-hero-title {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }
    .page-hero-desc {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }

    /* Gallery Page Mobile Filter & Tabs */
    .gallery-tab-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding-bottom: 12px !important;
    }
    .gallery-tabs-left {
        display: flex !important;
        gap: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
    }
    .gallery-tabs-left::-webkit-scrollbar {
        display: none !important;
    }
    .gallery-tab-btn {
        font-size: 12px !important;
        padding-bottom: 6px !important;
        flex-shrink: 0 !important;
    }
    .gallery-filter-wrap {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }
    .gallery-filter-wrap label {
        font-size: 12.5px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .gallery-filter-wrap .filter-select {
        flex: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 13.5px !important;
        padding: 8px 12px !important;
    }

    /* Gallery Grids on mobile */
    .gallery-photos-grid,
    .gallery-videos-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        margin-bottom: 35px !important;
    }
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }
    .photo-card-img,
    .video-thumb-wrap {
        height: 200px !important;
    }
    .home-gallery-card .photo-card-img {
        height: 125px !important;
    }
    .home-gallery-card .photo-card-body {
        padding: 10px !important;
    }
    .home-gallery-card-title {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin: 4px 0 0 !important;
    }
    .home-gallery-card .photo-meta-top {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
    .home-gallery-card .gallery-cat-badge,
    .home-gallery-card .card-date {
        font-size: 9.5px !important;
        padding: 2px 6px !important;
    }

    /* Home Gallery Section on mobile */
    .home-gallery-section {
        padding: 45px 0 50px !important;
    }
    .home-gallery-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        margin-bottom: 24px !important;
    }
    .home-gallery-head-right {
        display: none !important;
    }
    .home-gallery-mobile-more {
        display: block !important;
        text-align: center !important;
        margin-top: 24px !important;
    }
    .home-gallery-mobile-more .btn-primary-gold {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Application Form on mobile */
    .form-card-box {
        padding: 22px 16px !important;
        border-radius: 12px !important;
    }
    .form-header-title {
        font-size: 20px !important;
    }
    .form-header-sub {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }
    .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .form-control {
        font-size: 16px !important; /* iOS Safari auto-zoom prevention */
    }
    .upload-dropzone {
        padding: 24px 14px !important;
    }
    .dropzone-text {
        font-size: 13px !important;
    }
    .btn-primary-gold {
        width: 100% !important;
        justify-content: center !important;
    }

    /* CTA Ribbon on mobile */
    .cta-ribbon-section {
        padding: 42px 0 !important;
    }
    .cta-ribbon-inner {
        gap: 28px !important;
    }
    .cta-title {
        font-size: 24px !important;
    }
    .cta-desc {
        font-size: 13px !important;
    }
    .cta-ribbon-right {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .cta-feature-item {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 16px !important;
        padding: 16px 18px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1.2px solid rgba(212, 163, 89, 0.35) !important;
        border-radius: 14px !important;
    }
    .cta-feature-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        border-radius: 50% !important;
        border: 1.5px solid #d4a359 !important;
        background: linear-gradient(135deg, rgba(212, 163, 89, 0.28) 0%, rgba(6, 19, 38, 0.75) 100%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 163, 89, 0.25) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .cta-feature-icon i {
        font-size: 22px !important;
        color: #d4a359 !important;
        line-height: 1 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) !important;
    }
    .cta-feature-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .cta-feature-title {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin-bottom: 3px !important;
        line-height: 1.3 !important;
    }
    .cta-feature-sub {
        font-size: 12px !important;
        color: #cbd5e1 !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .topbar-item {
        font-size: 11px !important;
    }
    .logo-img {
        height: auto !important;
        max-height: 42px !important;
        width: auto !important;
    }
    .header-inner {
        min-height: 60px !important;
        height: auto !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
    .main-nav {
        width: 290px !important;
    }
    .breadcrumbs {
        font-size: 11px !important;
        flex-wrap: wrap !important;
    }
    .header-stats-box {
        gap: 8px 6px;
        padding: 12px 8px;
    }
    .header-stat-item {
        padding: 6px 2px;
    }
    .header-stat-icon-wrap {
        width: 34px;
        height: 34px;
        margin-bottom: 5px;
        border-radius: 8px;
    }
    .header-stat-icon-wrap i {
        font-size: 14px;
    }
    .header-stat-num {
        font-size: 16.5px;
    }
    .header-stat-lbl {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    /* President Section Responsive Mobile */
    .home-president-section {
        padding: 28px 0 24px;
    }
    .president-master-card {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }
    .president-sidebar-col {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 24px 18px;
    }
    .president-portrait-frame {
        width: 105px;
        height: 105px;
    }
    .president-executive-name {
        font-size: 17.5px;
    }
    .president-message-col {
        padding: 26px 20px;
    }
    .president-speech-heading {
        font-size: 18px !important;
    }
    .president-message-body {
        font-size: 13.5px;
        line-height: 1.65;
    }
    .president-watermark-quote {
        display: none;
    }
    .president-signoff-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Stats Ribbon Compact Mobile */
    .stats-ribbon {
        padding: 20px 0 18px;
    }
    .stats-section-header {
        margin-bottom: 12px;
    }
    .stats-grid-ultra,
    .stats-items-row {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 1fr !important;
        gap: 10px;
    }
    .stat-card-ultra,
    .stat-box {
        padding: 16px 10px 14px;
        min-height: 140px;
        border-radius: 12px;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        gap: 0;
    }
    .stat-emblem-wrap {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    .stat-emblem-icon {
        font-size: 16px;
    }
    .stat-info-wrap {
        width: 100%;
        min-width: 0;
        align-items: center;
    }
    .stat-number-ultra,
    .stat-number {
        font-size: 24px !important;
        margin-bottom: 6px;
        line-height: 1.1;
    }
    .stat-label-badge {
        padding: 4px 6px;
        font-size: 9px;
        letter-spacing: 0.3px;
        min-height: 34px;
        line-height: 1.25;
        white-space: normal;
        text-align: center;
        width: 100%;
        border-radius: 8px;
    }
    .stat-label-dot {
        display: none;
    }
    .stats-ribbon-title {
        font-size: 16px;
    }
    .stats-ribbon-sub {
        font-size: 11px;
    }

    /* Home Trio Mobile Refinements */
    .home-trio-section {
        padding: 38px 0 46px;
    }
    .event-card-home {
        flex-direction: column;
        padding: 14px;
        gap: 14px;
    }
    .event-card-thumb {
        width: 100%;
        min-width: 100%;
        height: 160px;
    }
    .event-card-info h4 {
        font-size: 15px;
    }
    .announcement-item-home {
        padding: 12px 12px;
        gap: 12px;
    }
    .date-badge-box {
        min-width: 50px;
        width: 50px;
        height: 64px;
    }
    .date-badge-day {
        font-size: 18px;
    }

    /* CTA Feature Cards Compact Mobile */
    .cta-feature-item {
        padding: 14px 15px !important;
        gap: 14px !important;
    }
    .cta-feature-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }
    .cta-feature-icon i {
        font-size: 20px !important;
    }
    .cta-feature-title {
        font-size: 14px !important;
    }
    .cta-feature-sub {
        font-size: 11.5px !important;
    }
}

/* ==========================================================================
   Ultra-Wide & High-Resolution Displays (>= 1400px & Zoom-Out Centering)
   ========================================================================== */
@media (min-width: 1400px) {
    .container,
    .hero-container,
    .hero-fluid-wrap {
        width: 100%;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Mobile enhancements for Association Field Showcase & Video Badges */
@media (max-width: 576px) {
    .about-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .video-thumb-badge-top {
        font-size: 9px !important;
        padding: 3px 8px !important;
    }
    .video-thumb-duration {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }
}
