/* ================= BASE RESET ================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

  /* Flex container: content + footer */
  /* ================= PAGE LAYOUT ================= */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

  

  /* Main content */
  /* ================= HERO SECTION ================= */
.bg {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}
  .bg img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 900px;
  
  display: flex;
  margin: 0 auto;
}


  .content {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(168, 157, 157, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: -9px 228p;
  color: #223F59;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  animation: popIn 0.8s ease-out forwards;
  animation-delay: 2.5s;
}


  .content h1 {
    font-size: 3em;
    margin: 0;
    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #ffffff,
      0 0 15px #ffffff,
      0 0 20px #223F59,
      0 0 30px #223F59;
  }

  .content p {
    font-size: 1em;
    margin-top: 10px;
    text-shadow:
      0 0 3px #ffffff,
      0 0 6px #ffffff,
      0 0 8px #223F59,
      0 0 12px #223F59;
  }

 footer {
  position: sticky;       /* stick at bottom of viewport */
  bottom: 0;
  width: 100%;
  padding: 10px 20px;
  margin-left: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #223F59;
  text-align: left;
  background: rgba(255,255,255,0.05); /* subtle background */
  z-index: 3;             /* above main content */
}

footer img {
  height: 30px;           /* logo size */
}

footer span {
  font-size: 0.8em;       /* smaller "Powered by" text */
}



  /* Animations */
  @keyframes zoomFade {
    from { transform: scale(1.2); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  @keyframes popIn {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
/* ===== Contact Section Fix ===== */

.contact {
  margin: -49px auto 20px auto;
  padding: 20px;
  max-width: 900px;          /* controls width */
  text-align: center;
  color: #223F59;
}

.contact h2 {
  margin-bottom: 25px;
  font-size: 1.8em;
  font-weight: 700;
}

/* Grid layout for contacts */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Individual contact card */
.contact-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-align: center;
}

/* Name */
.contact-box h3 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
  font-weight: 700;
}

/* Phone & email */
.contact-box p {
  margin: 6px 0;
  font-size: 0.95em;
}

.contact-box a {
  color: #223F59;
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  text-decoration: underline;
}
/* ===== Animated Line Under Title ===== */
/* ===== Page Title (Theme Matched) ===== */
.page-title {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 20px auto;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #223F59;              /* THEME BLUE */
  letter-spacing: 1px;
}


/* Line */
.page-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 0;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  border-radius: 4px;
  animation: lineGrow 1.2s ease forwards;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.45);
}


/* Animation */
@keyframes lineGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 70%;
    opacity: 1;
  }
}
.page-title::after {
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.6);
}
@media (max-width: 480px) {
  .page-title::after {
    width: 50%;
  }
}



/* ===============================
   RESPONSIVE — MOBILE FIRST
   =============================== */

/* Small phones */
@media (max-width: 480px) {

  .page-title {
    font-size: 1.5em;
    margin-top: 15px;
  }

  .content h2 {
    font-size: 1.3em;
  }

  .content p {
    font-size: 0.9em;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

/* Tablets */
@media (max-width: 768px) {

  .page-title {
    font-size: 1.9em;
  }

  .content {
    padding: 10px 22px;
  }

  .content h2 {
    font-size: 1.7em;
  }
}

/* Laptops & Desktops */
@media (min-width: 769px) {

  .page-title {
    font-size: 2.6em;
  }

  .content h2 {
    font-size: 2.2em;
  }
}
