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

body {
    font-family: "Segoe UI", Arial, sans-serif;
     background: url("../assets/bg.jpg") no-repeat center center fixed;
    background-size: cover;  /* Blue background */
    margin: 0;
    padding: 0;
    color:#0a56c1;
    line-height: 1.6;
}


/* ===== HEADER (default desktop/tablet) ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  border: 2px solid #004aad; /* Blue border added */
  border-left: none;
  border-right: none;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

/* ===== LOGO SECTIONS ===== */
.left-logo,
.center-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.left-logo img,
.center-section img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.left-logo span,
.center-section .company-text {
  font-size: 1rem;
  color: #222;
  font-weight: 600;
  white-space: nowrap;
}

.center-section img {
  border-radius: 50%;
}

/* ===== NAVIGATION ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #1d4ed8;
}

header nav a.active {
  border-bottom: 2px solid #ffd700;
  color: #ffd700;
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle div {
  width: 26px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s;
}

/* ===== TABLET & SMALLER: HAMBURGER ENABLED ===== */
@media (max-width: 1024px) {
  nav {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    z-index: 999;
  }

  nav.active {
    display: block !important;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .center-section .company-text {
    font-size: 0.9rem;
  }

  .left-logo span {
    font-size: 0.95rem;
  }

  nav ul li a {
    font-size: 0.95rem;
  }
}

/* ===== MOBILE LAYOUT CHANGE (stack TCE above RVR) ===== */
@media (max-width: 768px) {
  header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 12px 20px;
  }

  .menu-toggle {
    justify-self: end;
    align-self: start;
  }

  .left-logo {
    grid-column: 1 / 2;
    grid-row: 1;
    align-self: start;
    margin-bottom: 6px;
  }

  .center-section {
    grid-column: 1 / 2;
    grid-row: 2;
    align-self: start;
  }

  .left-logo img,
  .center-section img {
    height: 32px;
  }

  .left-logo span,
  .center-section .company-text {
    font-size: 0.9rem;
    white-space: normal;
  }
}

/* ===== SMALL PHONES ===== */
@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .left-logo img,
  .center-section img {
    height: 28px;
  }

  .left-logo span,
  .center-section .company-text {
    font-size: 0.85rem;
  }

  nav ul li a {
    font-size: 0.9rem;
  }
}

/* ===== HAMBURGER TOGGLE ANIMATION ===== */
.menu-toggle.open div:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.open div:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open div:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ========================================================= */
/* ========================= FOOTER ========================= */
/* ========================================================= */
.footer {
  background-color: #ffffff;
  color: #004aad;
  padding: 50px 60px 25px;
  font-family: "Poppins", sans-serif;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1200px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #004aad; /* Blue border added */
}

/* ===== GRID LAYOUT ===== */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

/* ===== COLUMN STYLES ===== */
.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #004aad;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #004aad;
  margin: 6px 0;
}

.footer-col a {
  color: #004aad;
  text-decoration: underline;
  word-break: break-all;
}

.footer-col a:hover {
  color: #b30000;
}

/* ===== LOGO & TITLE ===== */
.footer-logo {
  width: 70px;
  height: auto;
  margin-bottom: 10px;
}

.footer-col h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 5px;
}

/* ===== ICONS ===== */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  word-break: break-word;
}

/* ===== BOTTOM BAR ===== */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #004aad33;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #004aad;
}

/* ===== RESPONSIVE BEHAVIOR ===== */

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .footer {
    padding: 40px 40px 25px;
    margin: 20px;
  }

  .footer-container {
    gap: 20px;
  }

  .footer-col h2 {
    font-size: 1.3rem;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .footer {
    padding: 20px 25px;
    border-radius: 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-item {
    justify-content: center;
  }

  .footer-logo {
    width: 60px;
  }

  .footer-col h2 {
    font-size: 1.2rem;
  }

  .footer-col h3 {
    font-size: 1rem;
  }
}
