/* Shared responsive presentation. No form or application behavior changes. */
html { scroll-padding-top:145px; }
html body { --ha-header-offset:125px; }
html body img, html body video { max-width:100%; }
html body .row > *, html body [class*="ha-"] > *, html body .process-grid > * { min-width:0; }
html body .story-img { height:auto; }
html body .table-responsive { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
html body .contact-card a, html body .location a, html body .service-card p { overflow-wrap:anywhere; }
html body .navbar-toggler { min-width:44px; min-height:44px; }
html body .navbar-toggler:focus-visible { outline:3px solid #087b45 !important; outline-offset:3px; }
html body .navbar .nav-link { line-height:1.8; }
html body .navbar .dropdown-menu { max-width:calc(100vw - 32px); }
@media (min-width:992px) and (max-width:1199.98px) {
    html body .navbar .nav-link { font-size:14px !important; margin:0 1px; padding-inline:6px; }
    html body .navbar-brand { font-size:21px; margin-right:10px; }
    html body .navbar-brand img { height:52px; width:auto; }
}
@media (max-width:991.98px) {
    html body { --ha-header-offset:112px; }
    html body .top-marquee { height:40px; padding:8px 0; font-size:14px; line-height:24px; }
    html body .top-marquee marquee { display:block; white-space:nowrap; line-height:24px; }
    html body .navbar.fixed-top { top:40px; height:72px; padding-block:0; }
    html body .navbar > .container { position:relative; min-height:72px; }
    html body .navbar-brand { margin-right:8px; font-size:23px; }
    html body .navbar-brand img { height:53px; width:auto; }
    html body .navbar-toggler { margin:0; padding:7px 10px; font-size:24px; color:#183c30; }
    html body .navbar-collapse { position:absolute; top:100%; left:0; right:0; width:100%; margin:0; padding:12px 15px 18px; background:#fff; border:1px solid #e2e9e5; border-radius:0 0 12px 12px; box-shadow:0 15px 25px #152a591c; max-height:calc(100vh - 112px); max-height:calc(100dvh - 112px); overflow-y:auto; overscroll-behavior:contain; }
    html body .navbar .navbar-nav { align-items:stretch; gap:2px; }
    html body .navbar .nav-link { padding:9px 10px; margin:0; font-size:16px !important; }
    html body .navbar .dropdown-menu { position:static; border:0; border-left:2px solid #d9e8dc; border-radius:0; background:#f4f8f3; padding:6px; margin:0 0 8px 10px; }
    html body .navbar .dropdown-item { white-space:normal; padding:9px 10px; line-height:1.7; }
    html body .inner-hero { padding:calc(var(--ha-header-offset) + 30px) 0 46px; }
    html body .inner-hero h1 { font-size:clamp(28px,4.3vw,40px); line-height:1.55; overflow-wrap:break-word; }
    html body .inner-hero p { font-size:16px; line-height:1.9; }
    html body .process-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    html body .experience-card { right:16px; bottom:16px; min-width:0; max-width:calc(100% - 32px); }
    html body .contact-options { flex-wrap:wrap; }
    html body .contact-box { min-width:0; max-width:100%; flex:1 1 230px; }
    html body .login-wrapper { width:calc(100% - 32px); max-width:850px; margin-top:calc(var(--ha-header-offset) + 24px); margin-bottom:40px; }
    html body .gallery-box img { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; }
    html body .video-card iframe { width:100%; height:auto; aspect-ratio:16 / 9; }
    html body .modal-dialog { width:auto; max-width:calc(100% - 24px); margin:12px auto; }
    html body .modal-body img { max-width:100%; height:auto; }
    html body .carousel { margin-top:var(--ha-header-offset); }
    html body .carousel .carousel-item > img { height:430px; object-fit:cover; }
    html body .carousel .carousel-caption.hero { min-height:0; top:0 !important; bottom:0 !important; padding-block:30px; }
    html body .carousel .hero-content { padding-top:0; }
    html body .carousel .hero-title { font-size:40px; line-height:1.5; }
    html body .carousel .hero-buttons { display:flex; justify-content:center; gap:12px; margin-top:20px; }
}
@media (max-width:767.98px) {
    html { scroll-padding-top:130px; }
    html body .container { padding-inline:18px; }
    html body .section { padding-block:48px; }
    html body .section-head, html body .quick-box, html body .big-cta { gap:20px; }
    html body .section-head h2, html body .story h2, html body .big-cta h2 { font-size:28px; line-height:1.6; }
    html body .section-head { align-items:flex-start; }
    html body .big-cta { padding:28px 22px; border-radius:20px; }
    html body .story-img { border-radius:20px; }
    html body .story p { font-size:16px; line-height:1.95; }
    html body .contact-card, html body .form-box { padding:24px 20px; border-radius:18px; }
    html body .contact-card iframe { width:100%; max-width:100%; }
    html body input.form-control, html body select.form-select, html body textarea.form-control,
    html body .form-grid input:not([type="checkbox"]):not([type="file"]), html body .form-grid select, html body .form-grid textarea { font-size:16px; min-width:0; max-width:100%; }
    html body textarea.form-control { min-height:115px; }
    html body .form-box .btn, html body .form-box button[type="submit"] { min-height:46px; white-space:normal; }
    html body .login-wrapper { grid-template-columns:1fr; max-width:520px; }
    html body:has(.login-wrapper) { padding:0; }
    html body .login-left { min-height:0; padding:28px 22px; }
    html body .login-right { padding:26px 22px; }
    html body .login-left .left-title { font-size:27px; line-height:1.6; margin-bottom:20px; }
    html body .login-right .form-control { font-size:16px; }
    html body .login-description { line-height:1.9; font-size:14px; }
    html body .container-founder { width:calc(100% - 28px); padding:30px 21px; margin:0 auto 30px; }
    html body .container-founder img { max-width:100% !important; height:auto; }
    html body .container-founder .mainpara { font-size:18px !important; line-height:1.9; }
    html body .container-founder p { text-align:start !important; line-height:1.95; }
    html body .ha-members .accordion-button { font-size:15px; line-height:1.7; padding:15px 13px; white-space:normal; }
    html body .table-responsive table { font-size:13px; }
    html body .table-responsive td, html body .table-responsive th { padding:10px; vertical-align:top; }
    html body .carousel .carousel-item > img { height:220px; object-position:center; }
    html body .carousel .carousel-caption.hero { display:block !important; position:relative; inset:auto !important; width:100%; padding:26px 12px 30px; background:#792b1d; color:#fff; }
    html body .carousel .hero-title { font-size:28px; line-height:1.6; margin:10px 0; }
    html body .carousel .hero p { font-size:15px; line-height:1.9; margin-bottom:15px; }
    html body .carousel .hero .eyebrow { color:#ffe1a7; font-size:12px; line-height:1.8; }
    html body .carousel .hero-buttons a { font-size:13px; padding:11px 15px; line-height:1.7; }
    html body .carousel .carousel-control-prev, html body .carousel .carousel-control-next { height:220px; }
    html body .quick { margin-top:0; padding-top:18px; }
    html body .quick-box { padding:22px; }
    html body .quick-box h3 { line-height:1.65; font-size:23px; }
    html body .contact-cta { padding:48px 0; }
    html body .contact-cta h2 { font-size:28px; line-height:1.6; }
    html body .contact-cta p { font-size:15px; line-height:1.9; }
    html body .lightbox-content { max-width:calc(100% - 24px); }
    html body #toast-container { max-width:calc(100vw - 24px); }
    html body #toast-container > div { width:100%; max-width:100%; }
    html body .ha-hero { padding-top:calc(var(--ha-header-offset) + 25px); }
    html body .ha-about .ha-text-link { white-space:normal; line-height:1.85; }
    html body .ha-about .ha-section-head h2 { overflow-wrap:break-word; }
    html body .form-wrapper { min-width:0; }
    html body form > section.section.mt-5 { padding-top:95px; }
}
@media (max-width:575.98px) {
    html body .process-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
    html body .process-card { padding:24px 20px; }
    html body .experience-card { position:relative; inset:auto; margin:-24px 16px 0; width:max-content; padding:16px 20px; }
    html body .contact-options { gap:12px; }
    html body .contact-box { flex-basis:100%; padding:19px 16px; width:100%; }
    html body .contact-box strong { font-size:18px; overflow-wrap:anywhere; }
    html body .mini-service { padding:24px; }
    html body .service-card .p-4 { padding:21px !important; }
    html body .service-card h4 { font-size:21px; line-height:1.6; }
    html body .gallery-container { padding-block:36px; }
    html body .gallery-box img { aspect-ratio:4 / 3; }
    html body .lightbox-prev, html body .lightbox-next { width:40px; height:40px; }
    html body .lightbox-close { top:10px; right:10px; }
    html body .form-grid { grid-template-columns:minmax(0,1fr); }
    html body .upload-grid { grid-template-columns:minmax(0,1fr); }
    html body .photo-preview { width:110px; height:125px; }
    html body .form-header h1 { font-size:23px; line-height:1.65; }
    html body .ha-about .ha-btns > a { white-space:normal; }
    html body .ha-about .ha-hero figcaption { line-height:1.85; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    html body .mini-service:hover, html body .service-card:hover, html body .impact-card:hover { transform:none; }
}
