/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

:root{
  --ink: #0a2540;
  --bg: #f5f7fa;
  --card: #ffffff;
  --accent1: #00d4ff;
  --accent2: #0077cc;
}

/* =========================
   BODY
========================= */
body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding-top: 68px;
}

/* =========================
   HEADER (Cisco-like)
========================= */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo{
  height: 44px;
}

.brand-text{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}

/* =========================
   NAV
========================= */
.nav{
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a{
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover{
  color: var(--accent1);
}

/* =========================
   BUTTONS
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #fff;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn:hover{
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.20);
}

.btn-nav{ padding: 10px 18px; }
.btn-hero{ padding: 14px 24px; }
.btn-card{ padding: 12px 18px; }

/* =========================
   HERO
========================= */
.hero{
  min-height: 520px;
  background: url('../img/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.72),
    rgba(0,0,0,0.48),
    rgba(0,0,0,0.18),
    rgba(0,0,0,0)
  );
}

.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 40px;
  width: 100%;
  text-align: left;
}

.hero h1{
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.05;
}

.hero p{
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 26px;
  opacity: 0.96;
}

/* =========================
   QUICK LINKS
========================= */
.quick-links{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.quick-links-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  text-align: center;
}

.quick-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.quick-item span{
  font-size: 14px;
}

.quick-item .icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform 0.2s ease, color 0.2s ease;
}

.quick-item:hover .icon{
  color: var(--accent2);
  transform: translateY(-2px);
}

/* =========================
   FEATURE CARDS
========================= */
.feature-cards{
  background: #fff;
  padding: 70px 40px;
}

.feature-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.feature-title{
  text-align: center;
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 40px;
  color: var(--ink);
}

.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}

/* =========================
   CONTACT
========================= */
.contact{
  padding: 80px 40px;
  text-align: center;
}

.contact h2{
  margin-bottom: 18px;
}

.contact form{
  max-width: 520px;
  margin: 0 auto;
}

.contact input,
.contact textarea{
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccd6e0;
  outline: none;
}

.contact input:focus,
.contact textarea:focus{
  border-color: rgba(0, 212, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.contact button{
  width: 100%;
  padding: 14px;
  cursor: pointer;
}

/* =========================
   FOOTER
========================= */
footer{
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* =========================
   INNER PAGES (ALIGNMENT)
========================= */
.page-hero{
  min-height: 520px; /* match hero */
}

.page-hero .hero-inner{
  max-width: 1200px; /* wider on inner pages */
  margin: 0 auto;
  padding: 0 40px;
}

.page-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px;
}

.page-section{
  margin-bottom: 40px;
}

.page-section p{
  max-width: 900px;
  line-height: 1.8;
}

.page-list{
  margin-top: 14px;
  padding-left: 18px;
  line-height: 1.9;
}

.page-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.page-card{
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.page-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* =========================
   RESPONSIVE (NO NESTING)
========================= */
@media (max-width: 900px){
  .quick-links-inner{
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .cards-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  body{ padding-top: 60px; }
  .header-inner{ padding: 8px 18px; }

  /* ✅ DO NOT HIDE NAV (keep it simple for now) */
  .nav{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
  }

  .nav a{ font-size: 14px; }
  .btn-nav{ padding: 9px 14px; }

  .hero{ min-height: 460px; }
  .hero-inner{ padding: 0 18px; max-width: 100%; }

  .hero h1{ font-size: 34px; line-height: 1.12; }
  .hero p{ font-size: 16px; }

  .feature-cards{ padding: 60px 20px; }
  .contact{ padding: 60px 20px; }

  /* ✅ Inner pages on mobile */
  .page-hero{ min-height: 420px; }
  .page-hero .hero-inner{ padding: 0 18px; max-width: 100%; }
  .page-container{ padding: 45px 18px; }
  .page-grid{ grid-template-columns: 1fr; }
  .page-actions{ flex-direction: column; }
  .page-actions .btn{ width: 100%; }
}

@media (max-width: 480px){
  .quick-links-inner{
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 20px;
  }

  .hero{ min-height: 420px; }
  .hero h1{ font-size: 30px; line-height: 1.15; }
  .hero p{ font-size: 15px; }

  .btn-hero{ width: 100%; }
}
/* =========================
   MOBILE CONTENT POLISH
========================= */
@media (max-width: 768px){

  /* 1) Make content easier to read */
  .page-container{
    padding: 36px 16px;
  }

  .page-section p{
    font-size: 15px;
    line-height: 1.75;
  }

  /* 2) Fix lists on mobile */
  .page-list{
    padding-left: 20px;
  }

  .page-list li{
    margin-bottom: 8px;
  }

  /* 3) Turn sections into cards (visual hierarchy) */
  .page-section{
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 18px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  /* 4) Titles spacing */
  .page-section h2{
    margin-bottom: 10px;
  }

  .page-section h3{
    margin-top: 14px;
  }
}

