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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #59aa99;
}

.language-switcher {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.lang-link img {
  width: 24px;
  height: auto;
}

.opacity-50 {
  opacity: 0.5;
}

/* Hero Section */
.hero-section {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #59aa99, #72ab96);
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url("images/top-pattern.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  /* Cross-browser transform */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 2rem;
}

/* CTA Button */
.cta-button {
  display: block;
  padding: 15px 30px;
  background-color: #72ab96;
  color: white;
  width: fit-content;
  margin: auto;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  /* Cross-browser transform */
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.cta-button:hover {
  background-color: #72ab96;
  /* Cross-browser transform */
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}

.bg-white {
  background-color: #fff;
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #333;
}

.section-title.white {
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.content-block {
  padding: 0 1rem;
}

.text-content {
  margin-bottom: 1.5rem;
  text-align: justify;
  line-height: 1.7;
  font-size: 16px;
}

.text-content a {
  color: #59aa99;
  text-decoration: none;
}

.text-content a:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: url("images/bgOles.jpg") no-repeat center center;
  background-size: cover;
  background-color: #19212b;
  padding: 100px 0;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(25, 33, 43, 0.7);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.cta-text {
  color: white;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Timeline Section */
.timeline-section {
  background: linear-gradient(135deg, #19212b, #2a3441);
  background-image: url("images/colorMe.jpg");
  padding: 100px 0;
  position: relative;
}

.timeline {
  max-width: 800px;
  margin: 0 auto 3rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #72ab96;
  /* Cross-browser transform */
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

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

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #72ab96;
  border-radius: 50%;
  /* Cross-browser transform */
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-date {
  flex: 0 0 45%;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  padding: 1rem;
}

.timeline-content {
  flex: 0 0 45%;
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline-cta {
  text-align: center;
}

/* Footer */
.site-footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.link-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-column a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.link-column a:hover {
  color: #59aa99;
}

.powered-by {
  font-style: italic;
  text-align: center;
  margin: 2rem 0 1rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.partner-logos img {
  height: 40px;
  width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-link {
    font-size: 16px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 20px;
    /* Cross-browser transform */
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .timeline-date,
  .timeline-content {
    flex: none;
    text-align: left;
    padding: 0.5rem 0;
  }
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}


@-moz-document url-prefix() {
    .parallax-bg {
        background-attachment: scroll;
    }
}
