/* ===============================
   Kajibs Capital — Home Page Styles
   Elegant Corporate Edition
=============================== */

/* ===== INTRO SECTION (Image Left + About Right) ===== */
#intro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 25px;
  background: #fafafa;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
}

/* Leaf image on the left */
.intro-image {
  flex: 1 1 45%;
  text-align: center;
}

.front_page_photo {
  width: 100%;
  max-width: 420px;
  border-radius: 0 60% 0 60%; /* signature leaf shape */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}


.front_page_photo:hover {
  transform: scale(1.03);
}

/* About card on the right */
.intro-about {
  flex: 1 1 45%;
  background: #fff;
  border: 2px solid #055c05d0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: justify;
}
.intro-about h2 {
  text-align: center;
  color: #055c05d0;
  margin-bottom: 18px;
  font-family: "Playfair Display", serif;
  font-size: 1.8em;
}
.intro-about p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #000;
}

/* ===== HERO SECTION ===== */
#hero {
  background: linear-gradient(rgba(18, 144, 18, 0.936), rgba(30, 119, 30, 0.674)),  /*Box color*/ 
              url("../photo/finance-bg.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 50px 20px;   /* Adjust box size*/
  border-radius: 12px;
  margin: 60px auto;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
#hero h1 {
  font-size: 2.2em;
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
}
#hero p {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.5;
  color: #f9f9f9;
}
.cta-btn {
  background-color: #ff6600;
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover {
  background-color: #e65c00;
  transform: translateY(-2px);
}

/* ===== MISSION / VALUES SECTION ===== */
#mission {
  background: #fff;
  text-align: center;
  padding: 60px 25px;
}
#mission h2 {
  color: #055c05d0;
  margin-bottom: 30px;
  font-family: "Playfair Display", serif;
  font-size: 1.9em;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.mission-item {
  background: #f5f7f5;
  border: 2px solid #055c05d0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.mission-item:hover {
  transform: translateY(-5px);
}
.mission-item h3 {
  color: #055c05d0;
  margin-bottom: 10px;
  font-size: 1.2em;
}

/* ===== ADDRESS SECTION ===== */
#address {
  border: 2px solid #055c05d0;
  border-radius: 15px;
  max-width: 320px;
  text-align: center;
  padding: 20px;
  margin: 60px auto 100px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
#address p {
  margin: 5px 0;
  line-height: 1.5;
}
#address a {
  color: #055c05d0;
  text-decoration: none;
}
#address a:hover {
  text-decoration: underline;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 992px) {
  .intro-container {
    flex-direction: column;
    text-align: center;
  }
  .intro-about {
    max-width: 90%;
  }
}
@media (max-width: 600px) {
  .front_page_photo {
    max-width: 320px;
    border-radius: 0 60% 0 60%;
  }
  #hero h1 {
    font-size: 1.6em;
  }
  #hero p {
    font-size: 0.95em;
  }
  #address {
    width: 90%;
    font-size: 0.95em;
  }
}
