@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Stack+Sans+Text:wght@200..700&family=Unbounded:wght@200..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --navy: #0b3650;       /* primary */
    --charcoal: #2e3438;   /* dark neutral */
    /* --gold: #d4a941;   */
    --gold: #c29958; /* accent */
    --bg: #f7f6f4;         /* page background */
    --card-bg: #ffffff;
    --muted: #6b7176;
    --radius: 12px;
    --max-width: 1100px;
    --transition: 220ms ease;
    --focus: 3px solid rgba(212,169,65,0.18);
    --gold-gradient: linear-gradient(90deg, #c29958, #e2b56d);
}

body{
    /* font-family: 'Lato', sans-serif; */
    font-family: "Stack Sans Text", sans-serif;
    background:var(--bg);
    color:var(--charcoal);
    line-height:1.6;
    font-size:16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container{max-width:var(--max-width);
    margin:0 auto;
    padding:0 20px;
}

/* navigation */
header{
    background:linear-gradient(180deg,rgba(11,54,80,0.02), transparent);
    position:sticky;
    top:0;  
    z-index:40;
    backdrop-filter: blur(4px);
    border-bottom:1px solid rgba(0,0,0,0.04);
}

.nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 0;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.brand .logo{
    width:44px;
    height:44px;
    border-radius:8px;
    background:var(--navy);
    display:inline-grid;
    place-items:center;
    color:white;
    font-weight:700;
}

.brand h1{
    font-size:18px;
    /* color:var(--navy);
    font-weight:700 */
}

nav ul{
    list-style:none;
    display:flex;
    gap:18px;
    margin:0;
    padding:0;
    align-items:center;
}

nav a{
    color:var(--charcoal);
    text-decoration:none;
    padding:6px 8px;
    border-radius:8px;
}

nav a:hover{
    background:rgba(11,54,80,0.04);
}

.cta{
    background:var(--gold-gradient);
    color:var(--navy);
    padding:8px 14px;
    border-radius:10px;
    font-weight:600;
}

.partners{
  padding: 20px 10px;
  border: 4px solid var(--gold);
  border-radius: 9px;
}

.partners:hover{
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Mobile menu */
.mobile-toggle{
    display:none;
    background:none;
    border:0;
    padding:8px;border-radius:8px;
}

/* ==========================
    Hero
    ========================== */
.hero{
    display:grid;
    grid-template-columns:1fr 360px;
    gap:28px;
    align-items:center;
    padding:48px 0;
}

.hero-card{
    background:var(--card-bg);
    border-radius:var(--radius);
    box-shadow:0 6px 20px rgba(0, 128, 255, 0.06);
    overflow:hidden;
}

.hero-visual{
    position:relative;
    height:420px;
    background-size:cover;
    background-position:center;
    border-radius:var(--radius);
    display:flex;
    align-items:flex-end;
}

.overlay h2, .overlay p{
    color: #fff;
    text-shadow: 2px 2px 5px black;
}

.hero-visual .overlay{padding:48px;color:white;background:linear-gradient(180deg, rgba(5,15,25,0) 30%, rgba(5,15,25,0.55));width:100%}
.hero-visual h2{font-size:34px;line-height:1.05;margin-bottom:12px}
.hero-visual p{color:rgba(255,255,255,0.92);max-width:48ch}

.btn{
    display:inline-block;
    padding:10px 14px;
    border-radius:10px;
    text-decoration:none;  
    cursor: pointer; 
}

.btn:hover {
  background: #e8b970;
  transform: translateY(-2px);
}

.muted{
    color:var(--muted);
}

.pill {
  background: var(--gold-gradient);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pill:hover {
  background: #e2b56d;
  color: #fff;
}

.hero-aside{padding:22px}
.partners{display:flex;flex-direction:column;gap:12px}
.partner{display:flex;gap:12px;align-items:center}
.partner img{width:64px;height:64px;border-radius:8px;object-fit:cover}

/* home pratice area */
.services{
    margin:36px 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.service{
    background:var(--card-bg);
    padding:20px;
    border-radius:12px;
    border:1px solid rgba(16,20,24,0.04);
}

.service h3{
    margin-bottom:8px;
}

/* home contact us */
.about{
    display:grid;
    grid-template-columns:1fr 360px;gap:24px;
    align-items:start;
    margin-bottom:28px;
}

.about .bio{
    background:linear-gradient(180deg, rgba(247,246,244,1), rgba(255,255,255,1));
    padding:24px;
    border-radius:12px;
}

.contact-card{
    background: var(--gold-gradient);
    color: #0e1a2b;
    padding:22px;
    border-radius:12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.contact-card h4{
    color: #fff;
}


/* foooter */
footer {
  background: linear-gradient(90deg, #c29958, #e2b56d);
  color: #0e1a2b;
  padding: 28px 0;
}

footer .muted {
  color: rgba(14, 26, 43, 0.7);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inner{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;justify-content:space-between}

/* about us styling */
.banner {
  background: #c29958;
  padding: 80px 0;
  text-align: center;
}

.banner-inner h1 {
  font-size: 42px;
  font-weight: 700;
  color: white;
}

.banner-inner p {
  margin-top: 10px;
  font-size: 16px;
  color: #d2d2d2;
}

.about-section {
  padding: 60px 0;
}

.about-inner h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-inner p {
  line-height: 1.6;
}

/* practice area */
.practice-area-section {
  padding: 60px 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.practice-card {
  padding: 22px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: 0.2s ease;
}

.practice-card:hover {
  border-color: #c29958;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.practice-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.practice-card p {
  margin-bottom: 16px;
}

/* contact us */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c29958;
  box-shadow: 0 0 0 2px rgba(194,153,88,0.2);
}

button.cta {
  align-self: flex-start;
  padding: 10px 20px;
  border: none;
  background: #c29958;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

button.cta:hover {
  background: #b08649;
}

/* ==========================
   RESPONSIVE STYLES
   ========================== */

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-aside {
    padding: 0;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  nav ul {
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    display: none; /* hidden by default */
  }

  nav ul.show {
    display: flex; /* show when toggled */
  }

  nav li {
    margin: 8px 0;
  }

  .mobile-toggle {
    display: block;
    cursor: pointer;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .banner-inner h1 {
    font-size: 32px;
  }

  .banner-inner p {
    font-size: 15px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-section {
    padding: 40px 0;
  }

    .overlay h2 {
    font-size: 30px;
    
  }

  .overlay p {
    font-size: 17px;
    
  }

  .btn{
    padding: 8px 12px;
    font-size: 10px;
  }
}

/* Extra small (phones under 480px) */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .banner {
    padding: 60px 0;
  }

  .banner-inner h1 {
    font-size: 28px;
  }

  .hero-visual h2 {
    font-size: 26px;
  }

  .overlay h2 {
    font-size: 20px;
    
  }

  .overlay p {
    font-size: 9px;
    
  }

  .btn{
    padding: 8px 12px;
    font-size: 10px;
  }

  .service,
  .practice-card {
    padding: 16px;
  }

  .container {
    padding: 0 14px;
  }

  button.cta {
    width: 100%;
    text-align: center;
  }
}
/* ==========================
   MID-SIZED SCREENS (Tablets & Small Laptops)
   ========================== */
@media (max-width: 900px) and (min-width: 769px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .brand h1 {
    font-size: 16px;
  }

  .brand .muted {
    font-size: 12px;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .cta {
    padding: 6px 10px;
  }

  /* prevent wrapping */
  nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  nav ul::-webkit-scrollbar {
    display: none;
  }
}