/* Amnat Foundation | Modern UI 2026 — presentation-only enhancements */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ui-navy:#0e2441;--ui-dark:#142c46;--ui-teal:#087e78;--ui-teal-light:#e4f5f1;--ui-gold:#d9a84c;--ui-border:#e4eaf0;--ui-bg:#f5f8fc;--ui-shadow:0 14px 38px rgba(13,38,63,.085);--ui-radius:20px}
html{scroll-behavior:smooth;scroll-padding-top:100px}body{font-family:'DM Sans',sans-serif!important;background:var(--ui-bg);color:var(--ui-dark);line-height:1.7;-webkit-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6{font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.035em;line-height:1.25}a{transition:color .2s,background .2s,transform .2s}a:hover{color:var(--ui-teal)}::selection{background:#a4ebe2;color:var(--ui-navy)}.container{max-width:1220px}.navbar{background:rgba(11,35,56,.96)!important;box-shadow:0 6px 24px rgba(0,0,0,.12);padding:8px 0!important;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);z-index:1050}.navbar-brand{display:flex;align-items:center}.navbar-brand img{height:62px!important;width:auto;max-width:175px;object-fit:contain;border-radius:12px;background:white;padding:3px}.navbar .nav-link{font-weight:600;font-size:.89rem;color:#e6f4f6!important;opacity:.92;padding:.65rem .7rem!important;border-radius:10px;white-space:nowrap}.navbar .nav-link:hover,.navbar .nav-link.active{background:rgba(255,255,255,.13);color:#fff!important}.navbar-toggler{border-color:rgba(255,255,255,.3)}
.hero-section{height:min(780px,85vh)!important;min-height:560px!important;overflow:hidden;isolation:isolate}.hero-overlay{background:linear-gradient(115deg,rgba(4,24,43,.91),rgba(7,61,67,.72) 62%,rgba(12,31,50,.45))!important}.hero-section .container{position:relative;z-index:2}.hero-section h1{font-size:clamp(2.6rem,5.7vw,5.9rem);letter-spacing:-.065em;max-width:1000px;margin-inline:auto;text-wrap:balance;text-shadow:0 6px 30px rgba(0,0,0,.17)}.hero-section .lead{font-size:clamp(1.05rem,1.8vw,1.4rem);color:#e0f1f1!important}.hero-section .btn{margin-top:2rem!important}
section{position:relative}section.py-5{padding-top:5.5rem!important;padding-bottom:5.5rem!important}section.bg-primary{background:linear-gradient(145deg,#0e4055,#087e78)!important}section.bg-success{background:linear-gradient(145deg,#0e344f,#115b60)!important}.section-title{font-size:clamp(2rem,3vw,3.2rem);color:var(--ui-navy);margin-bottom:2rem!important;padding-bottom:22px}.section-title:after{width:65px;height:5px;background:var(--ui-gold);border-radius:99px}.section-title.text-center:after{left:50%;transform:translateX(-50%)}.bg-primary .section-title,.bg-success .section-title{color:#fff!important}#about p{font-size:1.05rem!important;color:#40576b;line-height:1.9}#about p b{color:var(--ui-navy)}.card,.card-surface,.login-card,.upload-container,.stat-card{border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;box-shadow:var(--ui-shadow)!important;overflow:hidden;background:#fff;transition:transform .28s ease,box-shadow .28s ease}.card:hover{transform:translateY(-4px);box-shadow:0 22px 45px rgba(13,38,63,.13)!important}.card-body{padding:1.65rem}.card-title{color:var(--ui-navy)}.card img,.gallery-item img{max-width:100%;object-fit:cover}.btn{border-radius:12px;font-weight:700;letter-spacing:.01em;padding:.7rem 1.2rem;transition:transform .2s,box-shadow .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-primary,.bg-primary.btn{background:#087e78!important;border-color:#087e78!important;box-shadow:0 6px 16px rgba(8,126,120,.18)}.btn-primary:hover{background:#066b66!important;border-color:#066b66!important}.btn-success{background:#087e78;border-color:#087e78}.btn-outline-primary{color:var(--ui-teal);border-color:var(--ui-teal)}.btn-outline-primary:hover{background:var(--ui-teal);border-color:var(--ui-teal)}.text-primary{color:var(--ui-teal)!important}.badge{border-radius:9px;padding:.48em .72em}.form-control,.form-select,.input-group-text,textarea{border:1px solid #dce5ed;border-radius:11px;min-height:44px}.form-control:focus,.form-select:focus,textarea:focus{border-color:#0c9b8d;box-shadow:0 0 0 .23rem rgba(8,126,120,.12)}.input-group .input-group-text{background:#f3f7f9}.input-group>.form-control{min-width:0}.form-label,label{font-weight:600;color:#314b62}.table{--bs-table-bg:transparent;vertical-align:middle}.table thead th{background:#ecf3f6!important;color:#1b4456;font-size:.77rem;text-transform:uppercase;letter-spacing:.045em;border-bottom:0;padding:1rem}.table tbody td{padding:.95rem;border-color:#edf1f5}.table tbody tr:hover{background:#f5fafb}.table-responsive{border-radius:14px}.pagination .page-link{border:0;border-radius:9px!important;margin:0 2px;color:#17646a}.pagination .active .page-link{background:#087e78;color:white}footer.bg-dark{background:#0c253d!important}footer a{color:#93e5d3}#contact .card{height:100%}#contact .list-unstyled li{padding:.35rem 0}.social-icons a{display:inline-flex;align-items:center;justify-content:center;background:#e8f8f4;border-radius:13px;width:52px;height:52px;color:#087e78}.back-to-top{border-radius:14px!important;bottom:25px!important;right:25px!important}.modal-content{border:0;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.15)}.modal-header{border-color:#e9f0f4}.overflow-auto{scrollbar-width:thin;scrollbar-color:#9ecac7 transparent}#projects .card{min-width:min(330px,86vw)!important}#gallery img,.gallery-item img{border-radius:15px}img{max-width:100%}
/* Admin screen enhancements that do not alter forms or PHP business logic */
body.amnat-admin{background:radial-gradient(circle at 95% 0%,#e6f5f0 0,transparent 35%),#f4f7fb}body.amnat-admin h1,body.amnat-admin h2,body.amnat-admin h3{color:#12344a}body.amnat-admin .container,body.amnat-admin .container-fluid{max-width:1440px}body.amnat-admin .upload-header{background:linear-gradient(135deg,#10334a,#087e78)!important;padding:25px!important}body.amnat-admin .upload-container{max-width:1050px!important}body.amnat-admin .drop-zone{border:2px dashed #90bcb8!important;background:#f1faf8!important;border-radius:18px!important}body.amnat-admin .drop-zone:hover{background:#e4f6f0!important;border-color:#087e78!important}body.amnat-admin .navbar{border-radius:0}body.amnat-admin .card-header{background:#f7fbfc;border-bottom:1px solid #e6edf2;font-weight:700;padding:1rem 1.4rem}body.amnat-admin .login-container{min-height:95vh;display:flex;align-items:center;justify-content:center;padding:24px}body.amnat-admin .login-card{max-width:470px;width:100%;margin:auto;background:#fff}body.amnat-admin .login-header{text-align:center;background:linear-gradient(145deg,#0d344c,#087e78)!important;color:white!important;padding:32px 20px!important}body.amnat-admin .login-header h2,body.amnat-admin .login-header p{color:white!important}body.amnat-admin .login-header img{width:95px;height:95px;object-fit:contain;background:#fff;border-radius:17px;padding:7px;margin-bottom:14px}body.amnat-admin .login-body{padding:32px!important}body.amnat-admin .login-body #submit{width:100%}body.amnat-admin .btn-danger{background:#c44751;border-color:#c44751}
@media(max-width:991px){.navbar-collapse{padding:1rem 0}.navbar .nav-link{padding:.6rem .85rem!important}.hero-section{min-height:520px!important}.section-title{font-size:2.15rem}section.py-5{padding-top:3.8rem!important;padding-bottom:3.8rem!important}}
@media(max-width:575px){.navbar-brand img{height:49px!important}.hero-section{min-height:490px!important;height:75vh!important}.hero-section h1{font-size:2.55rem}.hero-section .lead{font-size:1.05rem}.card-body{padding:1.2rem}.section-title{font-size:1.85rem}#about p{font-size:1rem!important}body.amnat-admin .login-body{padding:24px!important}.table{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
