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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #333;
  color: #fff;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh; /* instead of fixed height */
  height: auto;      /* allow it to grow */
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 120px; /* ⬅ pushes hero-text further down */
}

header {
  padding: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 80px; /* ⬅ add space below header */
}

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

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff9800;
}

.hero-text {
  text-align: left;
  margin: 0 20px 180px 100px; /* ⬅ bigger bottom margin */
  max-width: 800px;
}

.hero-text h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 30px;
  font-size: 2rem;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff9800;
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e68900;
}

/* About + Products */
.about-products {
  padding: 60px 20px;
}

.about-products-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 50px;
}

.about-img {
  flex: 1;
  padding: 20px;
}

.about-img img {
  width: 100%;
  max-width: 650px;
  border-radius: 10px;
}

.about-text {
  flex: 2;
  font-size: 2rem;
  padding: 20px;
}

.about-text h2 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.about-text h3 {
  margin-bottom: 20px;
  font-weight: 400;
  color: #2ba81d;
}

/* Products Section */
.products {
  text-align: center;
}

.products h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

.product {
  background: #444;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 320px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 420px;
}

.product img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product h3 {
  margin-bottom: 10px;
}

/* Footer */
footer {
  position: relative;
  color: #fff;
}

.footer-overlay {
  background: rgba(0, 0, 0, 0.5); /* reduce opacity */
  padding: 60px 20px;
}


.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

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

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ff9800;
}

.footer-info {
  max-width: 400px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-products-top {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/* Modal Styles */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.8);
  overflow-y: auto;
}

.modal-content {
  background: #222;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  color: #fff;
}

.modal-content h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #ff9800;
}

.close {
  color: #fff;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.modal-gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.modal-gallery img:hover {
  transform: scale(1.05);
}
/* Finance Page Styles */
.finance-page {
  background-color: #fff;
  color: #222;
  font-size: 1.1rem;      /* bump up base text */
  font-weight: 500;       /* slight bold */
}

.finance-content {
  display: flex;
  flex-direction: row;     /* keep image + text side by side */
  align-items: center;     /* vertical center */
  gap: 30px;
  margin: 40px auto;
  max-width: 1000px;       /* keep things tidy */
}

.finance-text {
  order: 2;                /* text second */
  flex: 1 1 60%;
  font-size: 1.2rem;      /* larger text */
  font-weight: 600;       /* bold */
  text-align: left;        /* keep text aligned left */
}

.finance-image {
  order: 1;                /* image first */
  flex: 1 1 40%;       /* take up natural space */
  text-align: center;  /* center the image */
  background: none;    /* remove any container look */
  box-shadow: none;    /* remove shadow if any */
  padding: 0;          /* remove padding */
  border: none;       /* no border */
}
.finance-text {
    order: 2;
    text-align: center;
  }

/* Finance Page Images */
.finance-image img {
  max-width: 380px;    /* larger size */
  width: 100%;
  height: auto;
  border-radius: 8px;  /* softer corners */
  box-shadow: none;   /* remove outline/shadow */
}

/* Stack on smaller screens */
@media (max-width: 768px) {
  .finance-content {
    flex-direction: column;
    text-align: center;
  }
  .finance-image {
    order: 1;
    margin-top: 20px;
  }
}

/* Hero Section */
.finance-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.finance-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.finance-overlay header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0;
}

.finance-overlay .logo img {
  height: 35px;
}
.finance-overlay .logo span {
  font-size: 1.3rem;
  font-weight: 700;
}

.finance-hero .hero-text {
  flex: 1;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  text-align: center;
  margin: 0 auto;
  width: 100%;
  color: #222;
  font-size: 1.4rem;        /* bigger hero text */
  font-weight: 700;
}

.finance-hero .hero-text h1 {
  font-size: 2.8rem;        /* larger headline */
  margin: 0;
}

.finance-hero .btn {
  background: #ff9800;
  color: #fff;
  font-weight: 700;
}

/* Trusted-lock section */
.finance-image-block {
  text-align: center;
  padding: 20px 10px;
  background: #fff;
}

.finance-image-block img {
  max-width: 380px;    /* increased size */
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .finance-image img {
    max-width: 340px;  /* shrink more on small screens */
  }
  .finance-image-block img {
    max-width: 300px;  /* still larger than before on mobile */
  }
}

.finance-partner {
  max-width: 250px;
  margin: 20px auto;
  display: block;
}

/* Finance details & contact sections */
.finance-details,
.finance-contact {
  position: relative;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.95);
  color: #222;
  z-index: 1;
  font-size: 1.2rem;     /* bigger text */
  font-weight: 600;      /* bold */
}

.finance-details:nth-of-type(1),
.finance-details:nth-of-type(2),
.finance-contact {
  background-size: cover;
  background-position: center;
}

.finance-details:nth-of-type(1) {
  background-image: url("images/MTFLogo.png");
}
.finance-details:nth-of-type(2) {
  background-image: url("images/MTFTeam.jpg");
}
.finance-contact {
  background-image: url("images/MTFTeam2.jpg");
}

.finance-details h2,
.finance-contact h2 {
  color: #ff9800;
  margin-bottom: 20px;
  font-size: 2.2rem;   /* larger section headings */
  font-weight: 700;
}

.finance-details ul {
  margin: 20px 0;
  padding-left: 20px;
}

.finance-footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #aaa;
  font-size: 1rem;
}
