/* ================= GLOBAL DESIGN SYSTEM ================= */

:root{
  --primary:#0a1f38;
  --accent:#b22222;
  --light:#f5f7fa;
  --text:#222;
}

body{
  font-family:'Inter', Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  margin:0;
}

/* ================= HEADINGS ================= */

h1,h2,h3{
  font-family:'Poppins', Arial, sans-serif;
  font-weight:600;
  letter-spacing:0.5px;
  margin-bottom:15px;
}

h1{font-size:38px;}
h2{font-size:30px;}
h3{font-size:22px;}

/* ================= LAYOUT ================= */

.section{
  padding:80px 20px;
}

.container{
  max-width:1200px;
  margin:0 auto;
}

/* ================= BUTTON ================= */

.btn-primary{
  display:inline-block;
  padding:14px 28px;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  border-radius:2px;
  font-weight:600;
}

.btn-primary:hover{
  background:#8b1a1a;
}

/* ================= HERO ================= */

.hero{
  position:relative;
  min-height:75vh;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
}

.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(10,31,56,0.75);
}

.hero-inner{
  position:relative;
  z-index:2;
  color:#fff;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.hero h1{
  font-size:48px;
  margin-bottom:20px;
}

.hero p{
  font-size:18px;
  max-width:600px;
}

/* ================= GRID ================= */

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
}

.grid-4 img{
  width:100%;
  height:200px;
  object-fit:cover;
}

/* ================= LOCATION GRID ================= */

.location-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  max-width:800px;
  margin:30px auto 0;
}

.location-grid a{
  display:block;
  padding:18px;
  background:#fff;
  text-align:center;
  text-decoration:none;
  color:#222;
  font-weight:600;
  border-radius:6px;
}

.location-grid a:hover{
  background:var(--accent);
  color:#fff;
}

/* ================= HEADER (CENTRED FIX) ================= */

header.container-header{
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

/* STACK + CENTER */
.container-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:15px 20px;

  display:flex;
  flex-direction:column;
  align-items:center;
}

/* LOGO */
.navbar-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:15px;
}

.navbar-brand img{
  height:120px !important;
  width:auto !important;
  max-height:none !important;
}

/* MENU WRAP */
.navbar-collapse{
  width:100%;
  display:flex;
  justify-content:center;
}

/* MENU */
.mod-menu{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}

.mod-menu li{
  list-style:none;
}

.mod-menu a{
  background:var(--primary);
  color:#fff !important;
  font-size:12px;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:3px;
  text-decoration:none;
}

.mod-menu a:hover,
.mod-menu .current > a{
  background:var(--accent);
}

/* ================= HAMBURGER ================= */

.navbar-toggler{
  display:none;
  background:#0a1f38;
  color:#fff;
  border:none;
  padding:8px 10px;
  border-radius:4px;
}

/* ================= MOBILE ================= */

@media(max-width:991px){

  .navbar-toggler{
    display:block !important;
    margin:10px auto 0;
  }

  .navbar-brand img{
    height:70px !important;
  }

  .navbar-collapse{
    width:100%;
  }

  .navbar-collapse.show .mod-menu{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:10px;
  }

  .navbar-collapse.show .mod-menu a{
    width:100%;
    font-size:14px;
    padding:12px;
    text-align:center;
  }

  /* Layout fixes */
  .grid-2{
    grid-template-columns:1fr;
  }

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

  .hero h1{
    font-size:32px;
  }

  .section{
    padding:60px 20px;
  }
}

/* ================= REAL HEADER FIX (WORKING) ================= */

/* Turn header into vertical layout */
header.container-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:20px 0;
}

/* LOGO WRAPPER */
header.container-header .grid-child:first-child{
  display:flex;
  justify-content:center;
  width:100%;
  margin-bottom:15px;
}

/* LOGO */
.navbar-brand{
  justify-content:center;
}

.navbar-brand img{
  height:120px !important;
  width:auto !important;
  max-height:none !important;
}

/* MENU WRAPPER */
header.container-header .container-nav{
  width:100%;
  display:flex;
  justify-content:center;
}

/* MENU */
.mod-menu{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* MOBILE */
@media(max-width:991px){

  .navbar-brand img{
    height:70px !important;
  }

  header.container-header{
    padding:10px 0;
  }

}