/* PAGE HERO - FOUNDER */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(
    135deg,
    rgba(16, 64, 102, 0.05) 0%,
    rgba(248, 249, 250, 1) 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><path fill="%23104066" fill-opacity="0.03" d="M200,0 C310.46,0 400,89.54 400,200 C400,310.46 310.46,400 200,400 C89.54,400 0,310.46 0,200 C0,89.54 89.54,0 200,0 Z M200,50 C118.43,50 50,118.43 50,200 C50,281.57 118.43,350 200,350 C281.57,350 350,281.57 350,200 C350,118.43 281.57,50 200,50 Z"></path></svg>')
    center/contain no-repeat;
  opacity: 0.5;
}

.page-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.page-hero p {
  font-size: 20px;
  color: var(--medium-gray);
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}


.page-hero1 {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-hero1::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><path fill="%23104066" fill-opacity="0.03" d="M200,0 C310.46,0 400,89.54 400,200 C400,310.46 310.46,400 200,400 C89.54,400 0,310.46 0,200 C0,89.54 89.54,0 200,0 Z M200,50 C118.43,50 50,118.43 50,200 C50,281.57 118.43,350 200,350 C281.57,350 350,281.57 350,200 C350,118.43 281.57,50 200,50 Z"></path></svg>')
    center/contain no-repeat;
  opacity: 0.5;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.6fr 3fr ;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.founder-image {
  height: 520px;
  background: linear-gradient( 135deg,rgba(16, 64, 102, 0.1) 0%,rgba(207, 1, 6, 0.1) 100%);
  border-radius: 8px;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  position: relative;
  overflow: hidden;
  /* background-size: cover;
  background-position: center; */
  margin-bottom: 20px;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.founder-figure h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 26px;
}

.founder-figure h3 {
  color: var(--primary-red);
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.founder-quote {
  font-style: italic;
  font-size: 18px;
  color: var(--dark-blue);
  border-left: 4px solid var(--primary-red);
  padding: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  background-color: var(--off-white);
  border-radius: 10px;
}

/* .founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(16, 64, 102, 0.8));
  color: white;
}

.founder-overlay h3 {
  color: white;
  margin-bottom: 5px;
  font-size: 20px;
}

.founder-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 0;
} */



.founder-intro h1 {
  font-size: 48px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.founder-intro h2 {
  font-size: 24px;
  /* color: var(--primary-red); */
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.founder-intro p {
  font-size: 18px;
  color: var(--medium-gray);
  margin-bottom: 30px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* BUSINESS JOURNEY */
.journey-section {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--medium-gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-blue),
    var(--primary-red)
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 30px;
  background-color: var(--off-white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50px;
}

.timeline-year {
  position: absolute;
  top: -25px;
  background-color: var(--primary-red);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 18px;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -25px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -25px;
}

.timeline-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.timeline-content p {
  color: var(--medium-gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.company-badge {
  display: inline-block;
  background-color: rgba(16, 64, 102, 0.1);
  color: var(--primary-blue);
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* COMPANIES EVOLUTION */
.companies-section {
  padding: 80px 0;
  background-color: var(--off-white);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.company-card {
  /* max-width: 300px; */
  background-color: white;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-red);
}

.company-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-blue);
}

/* .company-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(207, 1, 6, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-red);
  font-size: 24px;
} */

.company-year {
  color: var(--primary-red);
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 10px;
}

.company-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.3;
  /* min-height: 2.6em; */
}

.company-established {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.company-focus {
  color: var(--medium-gray);
  font-size: 13px;
  line-height: 1.4;
  /* min-height: 2.8em; */
}

.company-badges{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.company-badges .company-badge-item{
  display: inline-block;
  background-color: rgba(207, 1, 6, 0.1);
  color: var(--primary-red);
  padding: 0 16px;
  border-radius: 14px;
  line-height: 28px;
  font-size: 12px;
  font-weight: 600;
  box-sizing: border-box;
  margin: 10px 5px 0;
}

/* VISION & MISSION */
.vision-section {
  padding: 80px 0;
  background-color: white;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.vision-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.vision-text h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.vision-text p {
  color: var(--medium-gray);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

/* .vision-features {
  list-style: none;
  margin-top: 25px;
}

.vision-features li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.vision-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: bold;
  font-size: 24px;
} */

.vision-visual {
  height: auto;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--dark-blue) 100%
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vision-visual img{
  width: 100%;
}

.vision-visual-icon {
  font-size: 100px;
  color: white;
  opacity: 0.9;
  z-index: 2;
}

/* MILESTONES */
.milestones-section {
  padding: 80px 0;
  /* background-color: var(--off-white); */
}

.milestones-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.milestone-stat {
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.milestone-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.milestone-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-red);
}

.milestone-label {
  color: var(--primary-blue);
  font-size: 16px;
  font-weight: bold;
}

.milestone-value {
  color: var(--medium-gray);
  font-size: 14px;
}

/* TECH EVOLUTION */
.tech-section {
  padding: 80px 0;
  background-color: var(--off-white);
}

.tech-content {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center; */
  max-width: 800px;
  margin: 0 auto;
}

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

.tech-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.tech-text p {
  color: var(--medium-gray);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.tech-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tech-card{
  text-align: left;
  padding: 20px;
  background-color: white;
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.tech-card i{
  color: var(--primary-red);
  margin-right: 5px;
}
.tech-card p:last-child{
  margin-bottom: 0;
}

/* .tech-features {
  list-style: none;
  margin-bottom: 20px;
}

.tech-features li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

.tech-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: bold;
  font-size: 18px;
} */

.tech-visual {
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(16, 64, 102, 0.1) 0%,
    rgba(207, 1, 6, 0.1) 100%
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800");
  background-size: cover;
  background-position: center;
}

.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(16, 64, 102, 0.7) 0%,
    rgba(207, 1, 6, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  padding: 40px;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .companies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .milestones-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-content {
    margin-left: 80px !important;
    margin-right: 0 !important;
  }

  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    left: -25px;
    right: auto;
  }

  .vision-content,
  .tech-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: block;
    padding-left: 20px;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .founder-intro h1 {
    font-size: 36px;
  }

  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .milestones-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .founder-intro h1 {
    font-size: 32px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .companies-grid {
    grid-template-columns: 1fr;
  }

  .founder-image {
    height: 350px;
  }
}
