/* ====== Base + Theme ====== */
:root{
  --nav-1: #131a34;     /* navy */
  --nav-2: #0f1730;    
  --bg: #f3f6fb;        
  --surface: #ffffff;   
  --text: #121827;     
  --muted: #5b6475;     
  --border: #e7ecf4;    
  --shadow: 0 18px 40px rgba(16, 24, 40, 0.10);
  --shadow-soft: 0 10px 24px rgba(16, 24, 40, 0.08);
  --radius: 18px;

  --accent: #de2639;    /* red accent */
  --accent-2: #ff4d5e;  /* brighter red (hover) */
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* navbar height */
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: "Ubuntu Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% 0%, #e9eef9 0%, var(--bg) 55%, #ffffff 100%);
  padding-top: 86px; 
}

/* Make images behave */
img{
  max-width: 100%;
  display: block;
}

/* Layout width */
section, .container{
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ====== Navbar ====== */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.container{
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(90deg, var(--nav-1), var(--nav-2));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 48, 0.25);
  padding: 0 22px;
  border-radius: 0 0 18px 18px;
}

.title{
  color: #fff;
  font-size: 2rem;
  letter-spacing: 0.4px;
}

.left{
  display: flex;
  align-items: center;
  gap: 14px;
}

#check{
  display: none;
}

.checkbtn{
  display: none; 
  cursor: pointer;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .2s ease;
}
.checkbtn:hover{
  background: rgba(255,255,255,0.10);
}

.list{
  list-style: none;
  display: flex;
  gap: 10px;
}

.list a{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 1rem;
  transition: background .2s ease, color .2s ease;
}

.list a:hover{
  background: rgba(255,255,255,0.10);
  color: #fff;
}

/* ====== Sections (Panels) ====== */
section{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(231,236,244,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  margin: 28px auto;
  backdrop-filter: blur(8px);
}

/* ====== Home ====== */
#home{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  padding: 40px;
}

.lefthome h3{
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.lefthome h2{
  font-size: clamp(2.0rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 14px;
  color: #0f1730;
}

.desc{
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 52ch;
}

.righthome{
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  filter: drop-shadow(0 18px 30px rgba(16,24,40,0.18));
}

/* ====== Buttons ====== */
.btn{
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;

  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 20px;
  border-radius: 999px;
  background: transparent;

  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn:focus-visible{
  outline: 3px solid rgba(222,38,57,0.35);
  outline-offset: 3px;
}

/* ====== Typography in sections ====== */
.section-title{
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-lead{
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.section-text{
  color: var(--muted);
  line-height: 1.65;
}

/* ====== Services Cards ====== */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card h3{
  color: #0f1730;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p{
  color: var(--muted);
  line-height: 1.55;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.12);
}

/* ====== Team ====== */
#team{
  text-align: center;
}

.team-grid{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.member{
  width: 170px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.member img{
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  border: 3px solid rgba(222,38,57,0.18);
}

.member h4{
  color: #0f1730;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.member p{
  color: var(--muted);
  font-size: 0.95rem;
}

.member:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.12);
}

/* ====== Contact ====== */
#contact .btn{
  margin-top: 6px;
}

/* ====== Responsive ====== */
@media (max-width: 900px){
  #home{
    grid-template-columns: 1fr;
    text-align: left;
  }

  .righthome{
    max-width: 520px;
    margin: 0 auto;
  }

  .cards{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 805px){
  /* show hamburger */
  .checkbtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* menu panel */
  .list{
    position: fixed;
    top: 86px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 86px);
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px;
    background: linear-gradient(180deg, var(--nav-1), var(--nav-2));
    transition: left .25s ease;
  }

  .list li{
    width: min(520px, 92%);
    margin: 0 auto;
  }

  .list a{
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
  }

  #check:checked ~ .list{
    left: 0%;
  }

  /* optional: hide hero image when menu open */
  body.menu-open .righthome{
    display: none !important;
  }
}

@media (max-width: 480px){
  .container{
    padding: 0 16px;
  }
  .title{
    font-size: 1.6rem;
  }
  section{
    padding: 26px;
  }
}
