/* General */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f4f4f4;
  color: #0a1f3d;
}

/* Top Bar */
.top-bar {
  background: #0a1f3d;
  color: #fff;
  text-align: center;
  padding: 6px 0;
  font-size: 14px;
}

/* Navbar */
.navbar {
  background-color: #002855;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  height: 110px;
  width: 200px; 
  
}

.logo h1 {
  font-size: 20px;
  color: #0a1f3d;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.navbar a.active,
.navbar a:hover {
  color: #00b3b3;
}

/* Intro Section */
.intro {
  text-align: center;
  padding: 50px 10%;
}

.intro h2 {
  font-size: 28px;
  color: #0a1f3d;
  margin-bottom: 10px;
}

.intro p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* Services Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 10%;
}

.service-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box h3 {
  background-color: #0a1f3d;
  color: #fff;
  padding: 15px;
  margin: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
/* Fix for service images */
.service-img {
  width: 100%;
  height: 270px;           /* control height so it fits neatly in the showcase */
  overflow: hidden;
  border-bottom: 3px solid #002855;
  border-radius: 0 0 10px 10px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fills area nicely without stretching */
  display: block;
  transition: transform 0.3s ease;
}

.service-box:hover .service-img img {
  transform: scale(1.05);   /* adds smooth zoom effect on hover */
}



.service-box p {
  padding: 15px;
  font-size: 15px;
  color: #333;
}

/* Investment Table */
.investment-section {
  background: #fff;
  padding: 50px 10%;
  text-align: center;
}

.investment-section h2 {
  color: #0a1f3d;
  margin-bottom: 30px;
}

.investment-table {
  width: 100%;
  border-collapse: collapse;
}

.investment-table th,
.investment-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.investment-table th {
  background: #0a1f3d;
  color: #fff;
}

.investment-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Buttons */
.invest-btn {
  background-color: #d4af37;
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.invest-btn:hover {
  background-color:  #b99428;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background-color: #0a1f3d;
  color: white;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
 .navbar {
    flex-direction: row !important;       /* ensures logo + links remain in one row */
    justify-content: space-between !important; /* space between logo and links */
    align-items: flex-start;
  }
  .navbar nav ul {
    flex-direction: column !important;    /* links stacked vertically */
    align-items: flex-end !important;     /* align links to right */
    gap: 10px;
    margin: 0;
    padding: 0;
  }
   .navbar nav ul li {
    text-align: right !important;
    width: auto;
   }
  
  .investment-table {
    width: 100%;
    border: none; /* remove outer border */
  }

  .investment-table tr {
    display: block;
    margin-bottom: 20px;
    background: #fff; /* card background */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
  }

  .investment-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border: none; /* remove cell borders */
    text-align: left;
    position: relative;
    font-weight: 500;
  }

  .investment-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #0a1f3d;
  }

  /* Action button styling stays same */
  .invest-btn {
    margin-left: auto;
  }
  /* Table wrapper for horizontal scroll on mobile */
  .investment-section {
    overflow-x: auto; /* allows horizontal scroll */
    padding: 15px 3%; /* reduce padding for small screens */
  }

  .investment-table {
    width: 100%;
    min-width: 350px; /* prevents table from shrinking too much */
    border-collapse: collapse;
    font-size: 14px;
  }

  .investment-table th,
  .investment-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
  }

  .investment-table th {
    background-color: #0a1f3d;
    color: #fff;
  }

  .investment-table tr:nth-child(even) {
    background-color: #f9f9f9;
  }
}



