/* ===================================================
   TechSolutions — Corporate IT Website
   Colors: Navy / Slate Gray / White
   Design: Microsoft / Cisco enterprise inspired
   =================================================== */

/* ---------- RESET & BASE ---------- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#1e293b;line-height:1.6;background:#fff}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ---------- UTILITY ---------- */
.container{max-width:1140px;margin:0 auto;padding:0 24px}
.hidden{display:none!important}

/* ---------- NAVBAR ---------- */
#navbar{position:fixed;top:0;left:0;width:100%;z-index:100;background:rgba(255,255,255,.98);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid rgba(0,0,0,.04);transition:all .3s ease}
#navbar.scrolled{box-shadow:0 4px 20px rgba(0,0,0,.04);border-bottom-color:transparent}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:80px;transition:height .3s ease}
#navbar.scrolled .nav-inner{height:64px}
.logo{display:flex;align-items:flex-start;transition:transform .3s ease;height:52px;overflow:hidden;mix-blend-mode:multiply}
.logo img{height:88px;width:auto;display:block}
.logo:hover{transform:scale(1.02)}
.logo span{color:#2563eb}
#desktop-nav{display:flex;gap:36px}
#desktop-nav a{font-size:.9rem;font-weight:500;color:#334155;transition:color .2s;position:relative}
#desktop-nav a:hover,#desktop-nav a.active{color:#2563eb}
#menu-btn{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:4px}
#menu-btn span{display:block;width:22px;height:2px;background:#0f172a;border-radius:2px;transition:all .3s}
#mobile-nav{background:#fff;border-bottom:1px solid #e2e8f0;padding:16px 24px;display:flex;flex-direction:column;gap:16px}
#mobile-nav a{font-size:.95rem;font-weight:500;color:#475569}

/* ---------- HERO ---------- */
#hero{min-height:92vh;display:flex;align-items:center;background:linear-gradient(160deg,#0f172a 0%,#1e3a5f 60%,#2563eb 100%);color:#fff;padding-top:72px}
.hero-content{max-width:700px}
.hero-content h1{font-size:clamp(2rem,5vw,3.2rem);font-weight:700;line-height:1.2;margin-bottom:20px;letter-spacing:-.5px}
.hero-content p{font-size:1.15rem;color:#cbd5e1;margin-bottom:36px;max-width:560px}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap}

/* ---------- BUTTONS ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;border:none;transition:all .2s}
.btn-primary{background:#2563eb;color:#fff}
.btn-primary:hover{background:#1d4ed8}
.btn-ghost{border:1px solid rgba(255,255,255,.3);color:#fff;background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.08)}
.btn-full{width:100%}

/* ---------- SECTIONS GENERAL ---------- */
section{padding:100px 0}
.section-title{font-size:1.85rem;font-weight:700;color:#0f172a;text-align:center;margin-bottom:56px;letter-spacing:-.3px}
.section-title::after{content:'';display:block;width:48px;height:3px;background:#2563eb;margin:14px auto 0;border-radius:2px}

/* ---------- ABOUT ---------- */
#about{background:#f8fafc}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.about-text p{margin-bottom:18px;color:#334155;font-size:1rem;line-height:1.75}
.about-text strong{color:#0f172a}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:28px 20px;text-align:center;transition:box-shadow .2s}
.stat-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.stat-num{display:block;font-size:2rem;font-weight:700;color:#2563eb;margin-bottom:4px}
.stat-label{font-size:.85rem;color:#64748b;font-weight:500}

/* ---------- SERVICES ---------- */
#services{background:#fff}
.services-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.service-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:32px 28px;transition:all .25s}
.service-card:hover{border-color:#2563eb;box-shadow:0 6px 24px rgba(37,99,235,.08)}
.service-icon{width:52px;height:52px;background:#eff6ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#2563eb;margin-bottom:20px}
.service-card h3{font-size:1.1rem;font-weight:600;color:#0f172a;margin-bottom:14px}
.service-card ul{display:flex;flex-direction:column;gap:8px}
.service-card li{font-size:.88rem;color:#475569;padding-left:16px;position:relative}
.service-card li::before{content:'';position:absolute;left:0;top:8px;width:6px;height:6px;background:#2563eb;border-radius:50%}

/* ---------- PROJECTS ---------- */
#projects{background:#f8fafc}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.project-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:28px;transition:all .25s}
.project-card:hover{border-color:#2563eb;box-shadow:0 6px 24px rgba(37,99,235,.08)}
.project-card h3{font-size:1.05rem;font-weight:600;color:#0f172a;margin-bottom:10px}
.project-card p{font-size:.88rem;color:#475569;margin-bottom:16px;line-height:1.65}
.tech-tags{display:flex;flex-wrap:wrap;gap:8px}
.tech-tags span{font-size:.75rem;font-weight:500;color:#2563eb;background:#eff6ff;padding:4px 10px;border-radius:4px}

/* ---------- CONTACT ---------- */
#contact{background:#fff}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.contact-info{display:flex;flex-direction:column;gap:28px}
.info-block{display:flex;gap:16px;align-items:flex-start}
.info-block svg{flex-shrink:0;color:#2563eb;margin-top:2px}
.info-block strong{display:block;font-size:.88rem;color:#0f172a;margin-bottom:2px}
.info-block p{font-size:.9rem;color:#475569}
.contact-form{display:flex;flex-direction:column;gap:18px}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-group label{font-size:.85rem;font-weight:500;color:#334155}
.form-group input,.form-group textarea{padding:12px 14px;border:1px solid #cbd5e1;border-radius:6px;font-family:inherit;font-size:.9rem;color:#1e293b;transition:border-color .2s;background:#f8fafc}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#2563eb;background:#fff}
.form-status{margin-top:8px;font-size:.88rem;padding:10px 14px;border-radius:6px}
.form-status.success{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
.form-status.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}

/* ---------- FOOTER ---------- */
footer{background:#0f172a;color:#94a3b8;padding:0}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;padding:56px 0 40px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand .logo{font-size:1.2rem;display:inline-block;margin-bottom:12px;color:#fff}
.footer-brand .logo img{height:36px;width:auto}
.footer-brand .logo span{color:#2563eb}
.footer-brand p{font-size:.88rem;line-height:1.7;color:#94a3b8;max-width:320px}
.footer-col h4{font-size:.9rem;font-weight:600;color:#e2e8f0;margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px}
.footer-col a{display:block;font-size:.88rem;color:#94a3b8;margin-bottom:10px;transition:color .2s}
.footer-col a:hover{color:#2563eb}
.footer-col p{font-size:.88rem;color:#94a3b8;line-height:1.7}
.footer-bottom{text-align:center;font-size:.82rem;padding:20px 0;color:#64748b}
@media(max-width:680px){.footer-top{grid-template-columns:1fr;gap:32px}}

/* ---------- RESPONSIVE ---------- */
@media(max-width:900px){
  .about-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  #desktop-nav{display:none}
  #menu-btn{display:flex}
  .hero-content h1{font-size:1.85rem}
  .about-stats{grid-template-columns:1fr 1fr}
  section{padding:64px 0}
  .page-section{padding:64px 0}
}

/* ---------- MULTI-PAGE LAYOUT ---------- */
.page-section{padding:120px 0 80px}
.services-2x2{grid-template-columns:repeat(2,1fr)}
@media(max-width:680px){
  .services-2x2{grid-template-columns:1fr}
}
