/* =========================
   ABOUT PAGE STYLES
========================= */

/* Hero Section */
.about-hero {
  background: linear-gradient(rgba(0, 120, 215, 0.75), rgba(0, 120, 215, 0.75)),
              url("../assets/images/januzen_about_banner.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 7rem 1rem 5rem;
  margin-top: 80px; /* navbar height offset */
  position: relative;
  overflow: hidden;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.4);
}

.about-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.3);
}

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fb;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #e2e6ea;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: #0078d7;
  font-weight: 500;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #005ea3;
}

.breadcrumb span {
  color: #555;
}

/* Main About Content */
.about-main {
  padding: 5rem 1rem;
  background: #ffffff;
}

.about-main h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #0078d7;
  position: relative;
}

.about-main h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #005ea3;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.about-main p {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

/* About Cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.about-card {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: -100%;
  left: 0;
  background: linear-gradient(120deg, rgba(0,120,215,0.1), rgba(0,94,163,0.1));
  transition: top 0.5s ease;
  z-index: 0;
}

.about-card:hover::before {
  top: 0;
}

.about-card i {
  font-size: 2.5rem;
  color: #0078d7;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #222;
  z-index: 1;
  position: relative;
}

.about-card p {
  font-size: 1rem;
  color: #555;
  z-index: 1;
  position: relative;
}

/* =========================
   HISTORY SECTION
========================= */
.history {
  padding: 6rem 1rem;
  background: #f5f8fc;
  text-align: center;
}

.history h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 3rem;
  position: relative;
}

.history h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: #005ea3;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.history-items {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.history-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #005ea3;
  margin-bottom: 1rem;
}

.history-item p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

/* =========================
   FOUNDER’S NOTE
========================= */
.founders-note {
  padding: 6rem 1rem;
  background: #ffffff;
  text-align: center;
  position: relative;
}

.founders-note h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 2rem;
  position: relative;
}

.founders-note h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #005ea3;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.founders-note p {
  font-size: 1.15rem;
  color: #333;
  max-width: 850px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}

.founders-note .founder-sign {
  font-weight: 600;
  font-style: italic;
  color: #005ea3;
  margin-top: 1rem;
}

/* =========================
   CALL TO ACTION
========================= */
.cta {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #0078d7, #005ea3);
  color: #fff;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin: 5rem 0;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #0078d7;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-btn:hover {
  background: #f0f0f0;
  color: #005ea3;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
  .about-hero h1 {
    font-size: 2.4rem;
  }
  .about-main h2,
  .history h2,
  .founders-note h2,
  .cta h2 {
    font-size: 1.8rem;
  }
  .history-items,
  .about-cards {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  .about-main p,
  .history-item p,
  .founders-note p,
  .cta p {
    font-size: 1rem;
  }
  .cta-btn {
    padding: 0.9rem 2rem;
  }
}
