/* ====== Global Base ====== */
:root {
  --primary: #0f4c81;
  --accent: #ffb703;
  --muted: #555;
  --max-width: 1200px;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ====== Header (Restored Floating Style) ====== */
.site-header { /* === Smooth Header Fade-In Animation === */
.site-header {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When visible */
body.header-visible .site-header {
  opacity: 1;
  transform: translateY(0);
}

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.05); /* transparent overlay */
  backdrop-filter: blur(8px);
  transition: background 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo img {
  height: 65px;
  transition: 0.3s;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
}

/* Make header solid when scrolling */
body.scrolled .site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

body.scrolled .main-nav a {
  color: var(--primary);
}

body.scrolled .main-nav a:hover {
  color: var(--accent);
}

/* ====== Hero (Restored Full Banner Style) ====== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 10rem 1rem 8rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(15,76,129,0.7), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 2rem;
}

.btn.primary {
  background: var(--accent);
  color: #000;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.3s;
}

.btn.primary:hover {
  background: #ffd25a;
}

/* Sticky scroll script support */
@media(max-width:900px){
  .header-inner {
    flex-direction: column;
  }
  .main-nav {
    margin-top: 1rem;
  }
  .main-nav a {
    margin: 0.5rem;
    color: #fff;
  }
}


/* ====== About Section ====== */
.about {
  background: #f7faff;
  padding: 4rem 1rem;
}
.about-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
  align-items: center;
}
.about-text h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}
.about-text p {
  margin-bottom: 1rem;
}

/* ====== Trading Edge ====== */
.trade-edge {
  padding: 4rem 1rem;
  background: #fff;
}
.trade-edge .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}
.trade-edge .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}
.trade-edge .card:hover { transform: translateY(-6px); }
.trade-edge h3 { color: var(--primary); margin: 0.5rem 0; }

/* ====== Core Services ====== */
.services {
  padding: 4rem 1rem;
  background: #eef4fb;
}
.services .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}
.service-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  text-align: center;
}
.service-box h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ====== Outlook ====== */
.outlook {
  text-align: center;
  padding: 4rem 1rem;
  background: #f9fbff;
}
.outlook h2 { color: var(--primary); margin-bottom: 1rem; }
.outlook p { max-width: 700px; margin: 0 auto; }

/* ====== Footer ====== */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: auto;
}
.footer-col h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 0.3rem 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-logo img { height: 60px; margin-bottom: 0.5rem; }
.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
}

/* ====== Responsive ====== */
@media(max-width:900px){
  .hero-title { font-size: 2rem; }
  .header-inner { flex-direction: column; }
}
