/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fb;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */
header {
  width: 100%;
  position: absolute; /* floats on top of banner */
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.25); /* semi-transparent */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.header-flex {
  display: flex;
  align-items: center;
 justify-content: space-between;
  height: 85px;
  padding: 0 25px;
  flex-wrap: wrap;
}

.logo img {
  height: 58px;
}

/* ================= NAVIGATION ================= */
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  color: #255c64;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #144a9a, #8b0000);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
width: 100%;
}

/* ================= BUTTON ================= */
.btn-header {
  background: linear-gradient(135deg, #8b0000, #c62828);
  color: white;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.35);
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.45);
}



/* ================= MOBILE & TABLET HEADER FIX ================= */

.menu-toggle{
  display:none;
}

/* Mobile + Tablet */
@media (max-width:1024px){

  header{
    position:relative;
    background:#fff;
  }

  .header-flex{
display:flex !important;
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
    height:65px !important;
    padding:0 8px !important;   /* left right gap reduce */
  }

  /* Logo left */
  .logo{
    margin:0;
  }

  .logo img{
    height:45px;
  }

  /* Hide desktop menu */
  nav{
    display:none;
    position:absolute;
    top:65px;
    left:0;
    width:100%;
    background:#ffffff;
    flex-direction:column;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
  }

  nav a{
    padding:14px;
    border-bottom:1px solid #eee;
  }

  /* Show menu when toggle click */
  nav.show{
    display:flex;
}

  /* Hide connect button */
  .btn-header{
    display:none;
  }

  /* Toggle right side */
  .menu-toggle{
    display:block;
    font-size:26px;
    color:#8b0000;
    cursor:pointer;
    margin:0;
  }

}

/* ================= BANNER SECTION ================= */
.banner-section {
    width: 100%;
    height: 800px;
    background: url('../images/blog banner img.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* header overlays banner, so no margin-top */
}

.banner-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
z-index: 1;
}
/* ================= MOBILE & TABLET BANNER ================= */

@media (max-width: 992px){

  .banner-section{
    height: auto; /* allow image ratio */
    min-height: 520px;
    background: url('../images/Blog banner mobile.png') center/cover no-repeat;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .banner-content h1{
    font-size: 32px;
  }

  .banner-content p{
    font-size: 16px;
  }

  .btn-banner{
    font-size:14px;
    padding:10px 22px;
  }

}
.legal-page-section {
  padding: 60px 20px;
  background: #f7f8fb;
}

.legal-page-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.legal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.legal-card h1 {
  font-size: 32px;
  color: #8b0000;
  margin-bottom: 20px;
  text-align: center;
}

.legal-block + .legal-block {
  margin-top: 24px;
}

.legal-block h2 {
  font-size: 22px;
  color: #1f2d3d;
  margin-bottom: 10px;
}

.legal-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
}

.legal-block a {
  color: #144a9a;
  text-decoration: none;
  font-weight: 600;
}

.legal-block a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page-section {
    padding: 40px 15px;
  }

  .legal-card {
    padding: 25px 20px;
  }

  .legal-card h1 {
    font-size: 26px;
  }

  .legal-block h2 {
    font-size: 20px;
  }

  .legal-block p {
    font-size: 15px;
  }
}

/* ================= FOOTER ================= */

.footer {
  background: #292929;
  color: #ffffff;
  padding-top: 55px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 20px 45px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #fff7c5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* 🔹 FIX ADDED HERE */
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  transition: 0.3s;
text-decoration: none;   /* Removes underline */
}

.footer-col ul li a:hover {
  color: #fff7c5;
  padding-left: 4px;
}

/* Logo */
.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

/* About text */
.footer-about {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  font-family: justify-content;
}

/* Business info */
.footer-info li {
  opacity: 0.9;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 18px 10px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.15);
}
                                                                                                                                                                      
/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}
