/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: white;
}

/* Navbar */
.navbar {
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  padding: 18px 80px;
  background: transparent; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: background 0.3s ease;
}

.logo {
  width: fit-content;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.logo span {
  color: #263073;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links li{
  list-style: none;
}

.nav-links ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  display: inline-block;
  padding-bottom: 4px;
}

.nav-links a:hover{
  color: #0077cc;
}

.nav-links a.active {
  color: #0077cc;
}

/* Appointment Button */
.btn-appointment {
  background-color: #263073;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-appointment:hover {
  background-color: #263073;
}

/* Call Button */
.btn-appointment {
  background-color: #263073;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-appointment:hover {
  background-color: #0077b6;
}

/* Hero Section */
.about-hero {
  height: 60vh;
  width: 100%;
  background: url('../image/Melbourne_Skyline_at_night.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.about-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 50, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.underline {
  width: 145px;
  height: 3px;
  background-color: #0077cc;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
}

/* About Info */
.about-section {
  background-color: #f8f9fc;
  padding: 100px 10%;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1b1f3b;
  margin-bottom: 10px;
}

.underline {
  width: 70px;
  height: 4px;
  background-color: #1d2b64;
  margin-bottom: 20px;
}

.about-text p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
}

.btn-main {
  background-color: #1d2b64;
  color: #fff;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-main:hover {
  background-color: #0077cc;
}

/* Image with border frame */
.about-image {
  flex: 1 1 400px;
  position: relative;
}

.image-frame {
  border: 10px solid #1d2b64;
  position: relative;
  top: -20px;
  left: 20px;
}

.image-frame img {
  width: 100%;
  display: block;
  position: relative;
  top: 20px;
  left: -20px;
}

/* Vision, Mission, Values Cards */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 40px 30px;
  max-width: 350px;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card h3 {
  color: #1b1f3b;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 700;
}

.card p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* BASE SECTION */
.featured-section {
  background-color: #1b1f3b;
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 100px 0;
}

.featured-container {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  width: 90%;
  margin: auto;
  align-items: stretch;
}

/* LEFT SIDE */
.featured-info {
  flex: 1 1 30%;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-info h2 {
  font-size: 34px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.line {
  width: 60px;
  height: 3px;
  background: #fff;
  margin: 15px 0 25px 0;
}

.featured-info p {
  line-height: 1.8;
  color: #f3f3f3;
  font-size: 16px;
}

/* RIGHT GRID */
.featured-grid {
  height: 100%;
  padding: 0%;
  flex: 1 1 70%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}

.featured-card {
  position: relative;
  height: 100%;
  background-color: #1b1f3b;
  padding: 60px 25px;
  transition: all 0.5s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
}

.featured-card:first-child {
  border-left: none;
}

/* Hover background image overlay */
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.6);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-card:hover::before,
.featured-card:hover::after {
  opacity: 1;
}

/* Card Content */
.card-content {
  position: relative;
  z-index: 2;
}

.card-content i {
  font-size: 38px;
  margin-bottom: 20px;
  color: #fff;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-content p {
  line-height: 1.7;
  color: #f5f5f5;
}

/* reviews */
.testimonials-section {
  height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('image/gavel-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.85);
}

.testimonials-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.testimonials-container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.testimonials-subtitle {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 60px;
}

Google widget wrapper styling 
.google-reviews-widget {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-reviews-widget:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Elfsight widget inner content refinement */
.google-reviews-widget * {
  color: #fff !important;
}

.google-reviews-widget img {
  border-radius: 50%;
  border: 2px solid #00b4d8;
}

.google-reviews-widget .google-logo {
  filter: brightness(0) invert(1);
} 

/* BEFORE FOOTER SECTION */
.before-footer-section {
  position: relative;
  height: 50vh;
  background-image: url("../image/passport-with-stamps.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* optional overlay for contrast */
.before-footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTENT */
.before-footer-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease-in-out;
}

.before-footer-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.before-footer-content p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #ddd;
  line-height: 1.7;
}

.divider {
  width: 60px !important;
  height: 4px;
  background-color: #263073;
  margin: 0 auto 25px auto;
}

/* === BUTTON === */
.before-footer-btn {
  background-color: #263073;
  color: #fff;
  padding: 14px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.before-footer-btn:hover {
  background-color: #0077cc;
  transform: translateY(-3px);
}

.footer {
  background-color: #0a1932;
  color: #fff;
  text-align: center;
  padding: 80px 20px 40px;
  font-family: 'Poppins', sans-serif;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 70px;
  height: auto;
  margin-bottom: 10px;
}

.footer h2 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-text {
  max-width: 700px;
  margin: 20px auto 40px;
  color: #d0d0d0;
  line-height: 1.8;
  font-size: 15px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}

.footer-socials a {
  color: #ffffff;
  font-size: 22px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: #0077cc; /* Gold hover */
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 14px;
  color: #aaaaaa;
}

/* Responsive */
@media (max-width: 1100px) {
  .navbar {
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .btn-appointment {
    font-size: 0.8rem;
    padding: 8px 18px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(240, 234, 234, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 25px 0;
    text-align: center;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
    color: #fff;
  }

  .menu-icon {
    display: block !important;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
  }

  .btn-appointment {
    display: none;
  }
}

@media (max-width: 786px) and (min-width: 400px) {
  .navbar {
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .btn-appointment {
    font-size: 0.8rem;
    padding: 8px 18px;
  }

  .nav-links {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 25px 0;
    text-align: center;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
    color: #333;
  }

  .menu-icon {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
  }

  .btn-appointment {
    display: none;
  }

  /* Hero Section Adjustments */
  .about-hero {
    height: 70vh;
    background-position: center top;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    padding: 0 20px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 25px;
  }

  .about-container {
    height: fit-content !important;
    margin: 0;
    gap: 0;
  }

  .about-text {
    height: fit-content !important;
  }

  .featured-info{
    padding: 0 20px;
  }

  .before-footer-content h1 {
    font-size: 2rem;
  }

  .before-footer-content p {
    font-size: 1rem;
  }

  .before-footer-btn {
    padding: 12px 28px;
  }

  .footer-container {
    text-align: center;
  }
  .footer-subscribe form {
    flex-direction: column;
  }
  .footer-subscribe input,
  .footer-subscribe button {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* Responsive */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .navbar {
    gap: 15px;
  }
  .about-hero h1 {
    font-size: 2rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .about-container {
    flex-direction: column;
  }

  .about-image {
    order: -1;
  }

  .image-frame {
    top: 0;
    left: 0;
  }

  .footer-text {
    font-size: 14px;
  }
  .footer h2 {
    font-size: 20px;
  }
  .footer-socials a {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .featured-container {
    flex-direction: column;
  }

  .featured-info {
    flex: 1 1 100%;
    margin-bottom: 50px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


