/* Dream Saccos LTD - Optimized CSS */
:root{--p:#0066CC;--p-d:#0052a3;--s:#1a1a2e;--bg:#fff;--bg2:#f8fafc;--txt:#1a1a2e;--txt2:#475569;--b:#e2e8f0;--sh:0 1px 3px rgba(0,0,0,.1);--sh-md:0 4px 6px rgba(0,0,0,.1);--ff:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
[data-theme=dark]{--bg:#0f0f1a;--bg2:#1a1a2e;--txt:#fff;--txt2:#cbd5e1;--b:#334155}
*{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;overflow-x:hidden}
body{font-family:var(--ff);font-size:1rem;line-height:1.6;color:var(--txt);background:var(--bg)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.header{position:fixed;top:0;left:0;width:100%;height:70px;background:var(--bg);z-index:1000;border-bottom:1px solid var(--b)}
.nav{display:flex;align-items:center;justify-content:space-between;height:100%}
.nav-logo{display:flex;align-items:center;gap:.5rem}
.logo-img{width:45px;height:45px;border-radius:50%}
.logo-text{font-size:1.25rem;font-weight:700}
.ltd{color:var(--p);font-weight:400}
.nav-list{display:flex;gap:1.5rem;list-style:none}
.nav-link{font-size:.875rem;font-weight:500;color:var(--txt2);padding:.5rem 0}
.nav-link:hover,.nav-link.active{color:var(--p)}
.nav-actions{display:flex;align-items:center;gap:1rem}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;cursor:pointer;border:2px solid transparent}
.btn-primary{background:var(--p);color:#fff;border-color:var(--p)}
.btn-primary:hover{background:var(--p-d)}
.btn-outline{background:transparent;color:var(--p);border-color:var(--p)}
.btn-outline:hover{background:var(--p);color:#fff}
.btn-login{background:var(--p);color:#fff}
.nav-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center}
.hamburger,.hamburger::before,.hamburger::after{width:24px;height:2px;background:var(--txt);position:relative}
.hamburger::before,.hamburger::after{content:'';position:absolute;left:0}
.hamburger::before{top:-8px}
.hamburger::after{top:8px}
@media(max-width:768px){
.nav-menu{position:fixed;top:70px;left:0;width:100%;height:calc(100vh - 70px);background:var(--bg);flex-direction:column;padding:2rem;transform:translateX(-100%)}
.nav-menu.active{transform:translateX(0)}
.nav-list{flex-direction:column;gap:1rem}
.nav-toggle{display:flex}
}
main{padding-top:70px}
.hero{position:relative;min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;background:linear-gradient(135deg,var(--p) 0%,var(--s) 100%);color:#fff;padding:4rem 1.5rem}
.hero-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url('../images/hero-bg.jpg');background-size:cover;background-position:center}
.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,rgba(0,102,204,0.5) 0%,rgba(26,26,46,0.6) 100%)}
.hero-content{position:relative;z-index:1}
.hero-title{font-size:clamp(1.8rem,5vw,3rem);font-weight:800;margin-bottom:1.5rem;text-shadow:2px 2px 4px rgba(0,0,0,0.3)}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.hero .btn-primary{background:#fff;color:var(--p);border-color:#fff}
.hero .btn-primary:hover{background:transparent;color:#fff}
.hero .btn-outline{color:#fff;border-color:#fff}
.hero .btn-outline:hover{background:#fff;color:var(--p)}
.stats{padding:3rem 0;background:var(--bg2);text-align:center}
.stats-grid{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}
.stat-card{min-width:200px;padding:1.5rem;background:var(--bg);border-radius:.5rem;box-shadow:var(--sh)}
.stat-number{font-size:2.5rem;font-weight:700;color:var(--p);margin-bottom:.25rem}
.stat-label{font-size:.875rem;color:var(--txt2)}
.news,section{padding:4rem 0}
.section-header{text-align:center;margin-bottom:2rem}
.section-title{font-size:1.875rem;font-weight:700;margin-bottom:.5rem}
.news-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.news-card{background:var(--bg);border-radius:.5rem;overflow:hidden;box-shadow:var(--sh)}
.news-card img{width:100%;height:180px;object-fit:cover}
.news-card h3{padding:1rem 1rem .5rem;font-size:1.125rem}
.news-card p{padding:0 1rem 1rem;font-size:.875rem;color:var(--txt2);line-height:1.7}
.services-preview{background:var(--bg2)}
.services-grid,.features-grid,.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}
.service-card,.feature-card,.value-card{background:var(--bg);padding:1.5rem;border-radius:.5rem;box-shadow:var(--sh);text-align:center}
.service-title,.feature-title,.value-title{font-size:1.125rem;font-weight:600;margin-bottom:.5rem}
.service-desc,.feature-desc,.value-desc{font-size:.875rem;color:var(--txt2)}
.service-link{display:inline-block;margin-top:1rem;font-size:.875rem;color:var(--p);font-weight:500}
.mv-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.mv-card-item{background:var(--bg);padding:2rem;border-radius:.5rem;text-align:center;border:2px solid var(--p)}
.mv-card-title{font-size:1.25rem;font-weight:700;color:var(--p);margin-bottom:1rem}
.mv-card-desc{color:var(--txt2);line-height:1.7}
.values{background:var(--bg2)}
.partners{background:var(--bg2)}
.partners-grid{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}
.partners-centered{display:flex;justify-content:center}
.partner-card{text-align:center;background:var(--bg);padding:1.5rem;border-radius:.5rem;box-shadow:var(--sh);max-width:250px}
.partner-img{max-height:60px;width:auto;margin:0 auto .5rem;object-fit:contain}
.partner-name{font-size:.875rem;color:var(--txt2)}
.cta{background:linear-gradient(135deg,var(--p) 0%,var(--s) 100%);color:#fff;text-align:center;padding:4rem 1.5rem}
.cta-title{font-size:1.875rem;font-weight:700;margin-bottom:.5rem}
.cta-desc{font-size:1rem;margin-bottom:1.5rem;opacity:.9}
.footer{background:var(--s);color:#fff;padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-logo{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}
.footer-logo-img{width:40px;height:40px;border-radius:50%}
.footer-title{font-size:1rem;font-weight:600;margin-bottom:1rem}
.footer-links li,.footer-contact li{margin-bottom:.5rem;font-size:.875rem;opacity:.8}
.footer-bottom{text-align:center;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);font-size:.875rem;opacity:.6}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.gallery-item img{width:100%;height:150px;object-fit:cover;border-radius:.5rem}
@media(max-width:768px){
.hero{min-height:50vh}
.stats-grid{gap:1rem}
.stat-number{font-size:2rem}
.gallery-grid{grid-template-columns:repeat(2,1fr)}
.gallery-item img{height:120px}
}
