/* UNIVERSAL MOBILE FOUNDATION - Gallery Quality Responsiveness */\n/* Applies to ALL pages automatically */\n\n* {\n  box-sizing: border-box;\n}\n\nhtml, body {\n  max-width: 100vw;\n  overflow-x: hidden;\n  scroll-behavior: smooth;\n}\n\n.container {\n  padding: 0 16px;\n  max-width: 100%;\n}\n\n/* TOP CONTACT HIDE @992px - INDEX MATCHING */\n@media (max-width: 992px) {\n  .top-contact { display: none !important; }\n}\n

/* UNIVERSAL RESPONSIVE TABLES → CARDS */
table:not(.no-responsive) {
  width: 100% !important;
}

/* RESPONSIVE TABLES → CARDS */
@media (max-width: 768px) {
  table.responsive-table,
  table:not(.no-responsive) {
    border: 0;
  }
  
  table.responsive-table thead,
  table:not(.no-responsive) thead {
    display: none;
  }
  
  /* This tables style commented because the make the tb header short lets pick the other style on phone dispaly */
  /* table.responsive-table tr,
  table:not(.no-responsive) tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  } */
  
  /* table.responsive-table td,
  table:not(.no-responsive) td {
    display: block;
    text-align: left !important;
    border: none;
    padding: 12px 12px 12px 50px !important;
    position: relative;
    font-size: 14px;
  } */
  
  table.responsive-table td::before,
  table:not(.no-responsive) td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: #1a365d;
    position: absolute;
    left: 12px;
    font-size: 13px;
  }
  
  table.responsive-table td:first-child::before,
  table:not(.no-responsive) td:first-child::before {
    content: "" !important;
    font-weight: normal;
  }
}

/* PROGRESSIVE GRIDS (Gallery Quality) */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 992px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 40px 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
}

/* RESPONSIVE IMAGES */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* FOOTER MATCHING GALLERY - EXACT gallery.css replica */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 480px) {
  footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  footer .footer-column, 
  footer .footer-about { 
    text-align: left !important; 
  }
  footer .footer-social { 
    justify-content: flex-start !important; 
  }
  footer .footer-bottom { 
    text-align: left !important; 
  }
  
  /* Match gallery.css EXACT spacing */
  footer {
    padding: 60px 0 25px !important;
  }
  
  .footer-grid {
    gap: 30px !important;
    margin-bottom: 50px !important;
  }
}

/* UNIVERSAL LINK TO ALL HTML */
@media all {
  table:not(.no-responsive) { width: 100%; }
  .responsive-table td { position: relative; }
}

/* about welcome section on phone display */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/*  stats count section on phone display */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }
}
/* Blog display raws on phone */
@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }


}

/* COMPLETE MOBILE NAV - how dropdown behaves on phone style */
        @media (max-width: 992px) {
            .top-contact { display: none; }
            .mobile-toggle { 
                display: block !important; 
                cursor: pointer !important; 
                z-index: 9999 !important; 
            }
            nav > menu { 
                display: none !important; 
                pointer-events: none !important; 
            }
            nav > menu.show { 
                display: flex !important; 
                flex-direction: column !important;
                position: absolute !important; 
                top: 100% !important; 
                left: 50% !important;
                right: 50% !important;
                transform: translateX(-50%) !important;
                width: 90vw !important;
                max-width: 400px !important;
                margin: 0 auto !important;
                background: white !important; 
                box-shadow: 0 8px 30px rgba(0,0,0,0.2) !important;
                border-radius: 12px !important;
                pointer-events: auto !important;
                z-index: 9998 !important;
            }
            nav menuitem > menu {
                pointer-events: auto !important;
                position: static !important;
                opacity: 1 !important; 
                visibility: visible !important; 
                box-shadow: none !important;
                display: none !important;
            }
            nav menuitem.show > menu {
                display: block !important;
            }
            nav > menu.show menuitem > a:not(.header-btn),
            nav > menu.show menuitem > menu a {
                pointer-events: auto !important;
                cursor: pointer !important;
                justify-content: center !important;
                text-align: center !important;
                padding: 12px 20px !important;
            }
            nav > menu.show menuitem:last-child a.header-btn {
                margin: 20px auto !important;
                display: block !important;
                width: fit-content !important;
            }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 576px) {
            .footer-grid { grid-template-columns: 1fr; }
            .page-header h1 { font-size: 2rem; }
            .stats-grid { grid-template-columns: 1fr; }
            
        }



        /* MOBILE NAVIGATION FOR DIFFERENT SCREEN SIZES DIFFERENT FROM ABOVE STYLES */
         @media (max-width: 375px) {
            .footer-grid { grid-template-columns: 1fr; }
            .page-header h1 { font-size: 2rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .team-grid { grid-template-columns: 1fr 1fr; }
            .section-header h2 { font-size: 1.8rem; }
            .content-section { padding: 25px; }
            .motto-box { padding: 35px; }
        }
        @media (max-width: 400px) {
            .footer-grid { grid-template-columns: 1fr; }
            .page-header h1 { font-size: 1.5rem; }
            .page-header p { font-size: 1rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .team-grid { grid-template-columns: 1fr 1fr; }
            .section-header h2 { font-size: 1.5rem; }
            .about-content h2 { font-size: 1.4rem; }
            .about-content h2 span { font-size: 1.2rem; }
            .about-content { padding: 20px; }
            .content-section { padding: 20px; font-size: 0.95rem; }
            .list-item { margin-bottom: 12px; }
            .motto-text { font-size: 1.5rem; }
            .motto-box { padding: 25px; }
            .read-more-btn { padding: 12px 24px; font-size: 0.9rem; }
        }
/* Different screens fit */
             /* @media (max-width: 1000px) {
            .footer-grid { grid-template-columns: 1fr; }
            .page-header h1 { font-size: 2rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .team-grid { grid-template-columns: 1fr 1fr; }
            .section-header h2 { font-size: 1.8rem; }
            .content-section { padding: 25px; }
            .motto-box { padding: 35px; }
        } */
        /* media (max-width: 6000px) {
            .footer-grid { grid-template-columns: 1fr; }
            .page-header h1 { font-size: 1.5rem; }
            .page-header p { font-size: 1rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .team-grid { grid-template-columns: 1fr 1fr; }
            .section-header h2 { font-size: 1.5rem; }
            .about-content h2 { font-size: 1.4rem; }
            .about-content h2 span { font-size: 1.2rem; }
            .about-content { padding: 20px; }
            .content-section { padding: 20px; font-size: 0.95rem; }
            .list-item { margin-bottom: 12px; }
            .motto-text { font-size: 1.5rem; }
            .motto-box { padding: 25px; }
            .read-more-btn { padding: 12px 24px; font-size: 0.9rem; }
            
        } */