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

/* ===== BASE ===== */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: white;
  border-bottom: 1px solid #ddd;
   position: relative;

}

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


.menu-toggle {
  font-size: 24px;
  background: none;
  border: 1px solid #333;
  padding: 6px 10px;
  cursor: pointer;
}


/* ---------- BRAND (LOGO + TEXT) ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
   white-space: nowrap;

}

.brand-logo {
  height: 34px;   
  width: auto;
  display: block;
}

.brand h1 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

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



/* ===== NAV MENU ===== */
.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;          
  left: auto;
  background: #ffffff;
  width: 220px;
  display: none;
  z-index: 1000;
}


.nav-menu.open {
  display: block;
}

.nav-menu ul {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.nav-menu li {
  margin-bottom: 10px;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #8fcfc8, #6fb5ad);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

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



/* ---------- HERO SECTION ---------- */

.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: #1e1e1e; /* dark gray fallback */
}

/* Background image layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/invest0.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1px);
  transform: scale(1);
  animation: heroZoom 6s ease-in-out infinite;
  z-index: 1;
}

/* Dark tint overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

/* Text stays above everything */
.hero h2,
.hero p {
  position: relative;
  z-index: 3;
}

.hero h2 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 20px;
   letter-spacing: -0.5px;

}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
    opacity: 0.9;

}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}



/* Animation: zoom in then out */
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}






/* ===== SECTIONS ===== */
section {
  padding: 50px 20px;
  text-align: center; /* everything centered */
}

section > * {
  max-width: 1000px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 600;
  text-align: center;
}


h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.3rem;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }
}



/* Section heading spacing */
section h2 {
  margin-bottom: 16px;
}


section > h3 {
  margin-bottom: 18px;
  color: #555;
}

section p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* ===== SERVICES CARDS GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.service-card {
  background: #f8f8f8;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

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

.service-img {
  width: 120px;
  height: auto;
  margin-bottom: 12px;
}

.service-card h3 {
  color: #ffffff;
}

#services h2 {
  margin-bottom: 40px;
}

#services {
  padding-top: 10px;   /* reduce space ABOVE h2 */
}




/* ===== SERVICES CAROUSEL ===== */
.service-carousel {
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  max-width: 400px; /* matches photo width */
  height: 200px; /* placeholder height if no image yet */
  text-align: center;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #008080;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  z-index: 10;
}


.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

.carousel-dots {
  text-align: center;
  margin-top: 8px;
}

.carousel-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}



/* ===== FOUNDER SECTION ===== */
.founder-section {
  background: #ededed;
  padding: 90px 20px;
  text-align: center;
}

.founder-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 25px auto 20px;
  display: block;
}

.founder-section h2 {
  margin-bottom: 30px;
}

.founder-section h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #222;
}

.founder-section p {
  font-size: 0.95rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

#founder {
  padding-top: 50px;
}



/* ===== CONTACT SECTION ===== */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background-color: #008080;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #006f6f;
  transform: translateY(-2px);
}

.contact-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 32px;
  background: #008080;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background: #006f6f;
  transform: translateY(-2px);
}




/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #ddd;
  background: #fff;
}

footer p {
  font-size: 0.9rem;
  color: #777;
}


/* ===== ABOUT SECTION PANEL ===== */
#about {
  padding: 70px 20px;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #f1f1f1; /* light gray panel */
  border-radius: 20px;
padding: 50px 50px 10px;
  
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Image */
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Text */
.about-text {
  text-align: left;
}

.about-text h2 {
  margin-bottom: 12px;
}

.about-text h3 {
  margin-bottom: 20px;
  color: #555;
}

.about-text p {
  max-width: none;
}

/* Mobile */
@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 25px;
  }

  .about-text {
    text-align: center;
  }
}



/* ===== SERVICES CAROUSEL ===== */
.services-carousel {
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.services-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.service-card {
  flex: 0 0 calc(33.333% - 16px); /* 3 visible */
  background: #2f3a44;
  border-radius: 14px;
  overflow: hidden;
  color: white;
  text-align: left;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  padding: 16px;
  font-size: 1.1rem;
}

/* arrows BELOW carousel */
.carousel-controls {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.carousel-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #008080;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

/* mobile: show 1 card */
@media (max-width: 768px) {
  .service-card {
    flex: 0 0 100%;
  }
}

/* ===== MOBILE OPTIMIZATIONS FOR SMALL PHONES ===== */
@media (max-width: 400px) {
  /* Hero section */
  .hero {
    padding: 50px 15px;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.95rem;
  }

  /* Hamburger menu */
  .menu-toggle {
    font-size: 28px;
    padding: 10px 12px;
  }
  .nav-menu {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .nav-menu ul {
    padding: 0;
  }
  .nav-menu li {
    margin: 20px 0;
  }

  /* About section */
  .about-wrapper {
    padding: 30px 15px;
    gap: 25px;
  }

  /* Services carousel */
  .services-track {
    gap: 12px;
  }
  .carousel-controls {
    gap: 12px;
  }

  /* Founder section */
  .founder-section {
    padding: 50px 15px;
  }
  .founder-section h3 {
    font-size: 1.4rem;
  }

  /* Contact section */
  .contact-section {
    padding: 20px 15px;
  }
}
