/* ========== LOGO IMAGE ========== */

.logo-container {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 48px; /* Main size control */
  width: auto;

  object-fit: contain;

  display: block;
}

/* Responsive Logo */

@media (max-width: 768px) {
  .site-logo {
    height: 38px;
  }
}

/* ========== RESET ========== */

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

body {
  font-family: "Inter", sans-serif;
  background: #f5f7fb;
  color: #222;
}

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

/* ========== HEADER ========== */

.wealth-header {
  background: #0a2342;
  padding: 18px 0;
  color: white;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.wealth-header nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
  transition: 0.3s;
}

.wealth-header nav a:hover,
.wealth-header nav a.active {
  color: white;
  border-bottom: 2px solid #1463ff;
  padding-bottom: 4px;
}

/* ========== HERO ========== */

.wealth-hero {
  background: linear-gradient(135deg, #021b4d, #1e4fff);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.wealth-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.wealth-hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: auto;
  margin-bottom: 30px;
}

/* ========== BUTTONS ========== */

.primary-btn {
  background: white;
  color: #1463ff;

  border: none;
  padding: 12px 28px;
  border-radius: 30px;

  font-weight: 600;
  cursor: pointer;

  transition: 0.3s;
}

.primary-btn:hover {
  transform: scale(1.05);
  background: #eef3ff;
}

.secondary-btn {
  background: #0a2342;
  color: white;

  border: none;
  padding: 12px 26px;
  border-radius: 30px;

  cursor: pointer;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: #1463ff;
}

/* ========== WEALTH SERVICES SECTION ========== */

.wealth-services {
  padding: 90px 0;
  background: #ffffff;
  text-align: center;
}

.wealth-services h2 {
  font-size: 2.4rem;
  margin-bottom: 50px;
  color: #0a2342;
}

/* Grid Layout */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Card */

.service-card {
  background: #f8fafc;

  padding: 25px 22px;

  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  transition: 0.3s ease;

  display: flex;
  flex-direction: column;

  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(20, 99, 255, 0.25);
}

/* Image Container */

.service-image {
  width: 100%;
  height: 140px; /* Controls image height */

  background: #eef3ff;

  border-radius: 10px;

  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* Image */

.service-image img {
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain; /* Keeps full image visible */

  display: block;
}

/* Text */

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #0a2342;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

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

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

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 120px;
  }
}

/* ========== ADVISOR ========== */

.wealth-advisor {
  padding: 90px 0;
  background: #f1f5fb;
}

.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.advisor-text h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.advisor-text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.advisor-text ul {
  list-style: none;
  margin-bottom: 25px;
}

.advisor-text li {
  margin-bottom: 8px;
  font-weight: 500;
}

.image-placeholder {
  width: 100%;
  height: 320px;

  background: #ddd;
  border-radius: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #555;
}

/* ========== ADVISOR IMAGE FIX ========== */

.advisor-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image Container */

.image-box {
  width: 100%;
  max-width: 420px; /* Controls max size */
  height: 300px; /* Controls height */

  border-radius: 15px;

  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image */

.image-box img {
  width: 100%;
  height: 100%;

  object-fit: cover; /* Keeps it nicely cropped */

  display: block;
}

/* ========== CTA ========== */

.wealth-cta {
  background: #0a2342;
  color: white;

  padding: 80px 0;
  text-align: center;
}

.wealth-cta h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.wealth-cta p {
  margin-bottom: 25px;
  color: #ddd;
}

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

.main-footer {
  background: #0a2342;
  color: #fff;
  margin-top: 100px;
}

/* Top Area */

.footer-top {
  padding: 80px 0 50px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
}

/* Columns */

.footer-col h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #f1f1f1;
}

.footer-col p {
  color: #ddd;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Lists */

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

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

.footer-col ul li a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s;
}

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

/* Brand */

.brand p {
  margin: 15px 0 20px;
}

/* Social */

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.1rem;

  transition: 0.3s;
}

.footer-social a:hover {
  background: #fff;
  color: #0a2342;
}

/* Newsletter */

.footer-form {
  display: flex;
  margin-top: 15px;
}

.footer-form input {
  flex: 1;

  padding: 10px 12px;

  border: none;
  border-radius: 5px 0 0 5px;

  outline: none;
}

.footer-form button {
  background: #27ae60;
  color: #fff;

  border: none;

  padding: 0 18px;

  border-radius: 0 5px 5px 0;

  cursor: pointer;

  font-weight: 600;

  transition: 0.3s;
}

.footer-form button:hover {
  background: #219150;
}

/* Contact Info */

.footer-contact {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ddd;
}

.footer-contact p {
  margin-bottom: 6px;
}

/* Bottom Bar */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  font-size: 0.9rem;
  color: #ccc;
}

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

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

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

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

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

  .footer-form input {
    max-width: 250px;
  }

  .bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
