
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
}
a { text-decoration: none; color: inherit; }



/* Aktiv Grotesk */
@font-face {
  font-family: 'AktivGrotesk';
  src: url('assets/font/Aktiv Grotesk/OTF/AktivGrotesk-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'AktivGrotesk';
  src: url('assets/font/Aktiv Grotesk/OTF/AktivGrotesk-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'AktivGrotesk';
  src: url('assets/font/Aktiv Grotesk/OTF/AktivGrotesk-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* Arsenica */
@font-face {
  font-family: 'Arsenica';
  src: url('assets/font/arsenica/ArsenicaTrial-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Arsenica';
  src: url('assets/font/arsenica/ArsenicaTrial-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Arsenica';
  src: url('assets/font/arsenica/ArsenicaTrial-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/* ======= HEADER STYLES ======= */
 
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1000;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ======= TOP ROW (SOCIAL ICONS) ======= */
.header-top {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 66px;
  margin-bottom: 0px;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: -10px;
}

.social-icons a img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(1.2) saturate(1.3);
}

/* ======= BOTTOM ROW (LOGO + NAV) ======= */
.header-bottom {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Logo */
.logo img {
  height: 70px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.15);
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.main-nav a {
    margin: 0 25px;
    color: #fff;
    text-decoration: none;
    font-family: 'AktivGrotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.main-nav a:hover {
  color: #7fb557; 
  transform: scale(1.15);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
  text-align: center;
}

/* Carousel container */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each Slide */
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;                /* 👈 ensures child content can center */
  align-items: center;          /* 👈 vertical center */
  justify-content: center;      /* 👈 horizontal center */
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  z-index: 0;
}

/* 👇 Gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

/* HERO TEXT */
.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeDown 1s ease forwards;
}

.slide.active .hero-content {
  opacity: 1;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  font-family: 'Arsenica', serif;
  line-height: 1.2;
  color: #fff;
  padding: 0 20px;
  position: relative;
}

.hero-content h1::before {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: white;
  margin: 0 auto 10px;
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
section {
   padding: 100px 5%;
}
/* section:nth-child(even) { background: #fff; } */
section h2 { font-size: 2.2rem; margin-bottom: 20px; color: #231f20; }
section p { font-size: 1rem; max-width: 900px; margin-bottom: 30px; }


/* Header block */
.twin-challenge-header {
  background: #fff;
  text-align: center;
 
}
.twin-challenge-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #231f20;
  margin-bottom: 0px;
  font-family: 'AktivGrotesk', sans-serif;
  font-weight: bold;
}
.twin-challenge-header h3{
  font-size: 2rem;
  font-family: 'Arsenica', serif;
 font-weight: bold;
}

.twin-challenge-header p {
  margin: auto;
  font-size: 1.3rem;
  color: #231f20;
  font-family: 'AktivGrotesk', sans-serif;
  font-weight: normal;
}

/* Black background block */
.twin-challenge-content {
  background: url("../images/Black_bg.jpg") no-repeat center/cover, #231f20;
  padding: 0px 5%;
  color: #fff;
}


/* Flex rows */
.challenge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}
.challenge-row.reverse {
  flex-direction: row-reverse;
}

/* Image frame with green partial border */
.image-frame {
  display: inline-block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
/* Green corners */
.image-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  border: 4px solid transparent;
  border-top-color: #7fb557;
  border-left-color: #7fb557;
  pointer-events: none;
}
.image-frame::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  border: 4px solid transparent;
  border-bottom-color: #7fb557;
  border-right-color: #7fb557;
  pointer-events: none;
}

/* Text */
.challenge-text {
  margin-top: 35px;
  flex: 1;
  text-align: left;
}
.challenge-text h3 {
  font-size: 1.75rem;
  font-family: 'Arsenica', serif;
 font-weight: bold;
  /* font-weight: bold; */
  color: #7fb557;
  margin-bottom: 12px;
}
.challenge-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
  font-family: 'AktivGrotesk', sans-serif;
  font-weight: lighter;
}

/* Fade animations */
.fade-top, .fade-bottom, .fade-left, .fade-right {
  opacity: 0;
  transition: all 1s ease;
}
.fade-top { transform: translateY(-40px); }
.fade-bottom { transform: translateY(40px); }
.fade-left { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }

.fade-in {
  opacity: 1 !important;
  transform: translate(0,0) !important;
  
}
/* Flex row container */
.challenge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
  gap: 60px;
}
.challenge-row.reverse {
  flex-direction: row-reverse;
}

/* Image frame (square look) */
.image-frame {
  position: relative;
  width: 255px;   /* force square size */
  height: 255px;  /* square */
  border-radius: 0px 0px 50px 50px;
  overflow: hidden;
  background: #7fb557; /* match section bg */

}

/* Image inside the square */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* fill square without distortion */
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* L-shaped green border corners */
.image-frame::before,
.image-frame::after {
  content: "";
  position: absolute;
  border: 4px solid #7fb557;
  border-radius: 16px;
}
.image-frame::before {
  top: -10px;
  left: -10px;
  width: 60%;
  height: 60%;
  border-right: none;
  border-bottom: none;
}
.image-frame::after {
  bottom: -10px;
  right: -10px;
  width: 60%;
  height: 60%;
  border-top: none;
  border-left: none;
}

/* Positioning (top image higher, bottom image lower) */
.challenge-row:first-child .image-frame {
  margin-top: -80px;   /* lift top image upward */
}
.challenge-row.reverse .image-frame {
  margin-bottom: -80px; /* push bottom image downward */
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1b1b1b;
  color: #fff;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 50px 8%;
  gap: 40px;
}

/* Column */
.footer-col h3 {
  font-family: 'AktivGrotesk', sans-serif;
  font-weight: bold;
  color: #7fb557;
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.footer-col h4 {
  color: #7fb557;
  margin-bottom: 12px;
  font-weight: bold;
}
.footer-col p {
  color: #ccc;
  margin: 8px 0;
  font-size: 0.95rem;
  font-family: 'AktivGrotesk', sans-serif;
  font-weight: normal;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin: 6px 0;
}
.footer-col ul li a {
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #7fb557;
}

/* Subscribe */
.footer-subscribe {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 8%;
  gap: 15px;
  background: #231f20;
  flex-wrap: wrap;
}
.footer-subscribe .subscribe-btn {
  background: #7fb557;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 0 6px 6px 0;
  font-weight: bold;
  cursor: pointer;
}
.footer-subscribe input {
  padding: 12px;
  border: none;
  border-radius: 6px 0 0 6px;
  width: 260px;
}
.footer-subscribe .newsletter-text {
  margin-left: 20px;
  text-align: center;
  /* max-width: 320px; */
}
.footer-subscribe .newsletter-text h4 {
  color: #7fb557;
  margin-bottom: 6px;
}
.footer-subscribe .newsletter-text p {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.5;
}

/* Bottom bar */
.footer-bottom {
  background: #7fb557;
  text-align: center;
  padding: 12px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}
/* ===== FOOTER CSR DROPDOWN ===== */
.footer-dropdown {
  position: relative;
}

.footer-dropdown a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.footer-dropdown-menu {
  display: none;
  position: absolute;
  background-color: #1a1a1a;
  padding: 10px 0;
  list-style: none;
  border-radius: 8px;
  top: 100%;
  left: 0;
  width: 160px;
  z-index: 10;
}

.footer-dropdown-menu li {
  padding: 5px 15px;
}

.footer-dropdown-menu li a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.footer-dropdown-menu li a:hover {
  color: #7fb557;
}

/* Show on hover */
.footer-dropdown:hover .footer-dropdown-menu {
  display: block;
}

/* Optional: small downward icon rotation */
.footer-dropdown:hover i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Responsive */
/* ============================= */
/* 📱 MOBILE & TABLET RESPONSIVE */
/* ============================= */

/* Medium devices (tablets, ≤1200px) */
@media (max-width: 1200px) {
  nav a {
    margin: 0 8px;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .challenge-row {
    gap: 40px;
  }

  .image-frame {
    width: 255px;
    height: 255px;
  }
}
@media (max-width: 992px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .main-nav a {
    margin: 6px 10px;
    font-size: 0.85rem;
  }

  .logo img {
    height: 55px;
  }

  .header-top {
    padding-right: 70px;
    display: none;
  }

  .social-icons a img {
    width: 22px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-subscribe {
    flex-direction: column-reverse;
    text-align: center;
  }
  .footer-subscribe .newsletter-text {
    margin-left: 0;
    margin-top: 15px;
  }
  .dropdown {
    position: relative;
  }
  
  .dropdown-toggle {
    cursor: pointer;
  }
  
  /* Dropdown Menu */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* background: rgba(0, 0, 0, 0.3); */
    /* padding: 5px 0; */
    border-radius: 15px;
    min-width: 180px;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
  }
  
  /* Dropdown visible on hover */
  .dropdown:hover .dropdown-menu,
  .dropdown-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Dropdown Menu Links */
  .dropdown-menu a {
    display: block;
    padding: 5px 0px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s 
  ease, color 0.3s 
  ease;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.25);
    margin: 5px auto;
    text-align: start;
    border-radius: 15px;
    text-align: center;
  }
  
  .dropdown-menu a:hover {
    /* background: #7fb557; */
    color: #7fb557;
  }
  /* Nested dropdown (CSR submenu) */
  .dropdown .dropdown {
    position: relative;
  }
  
  .dropdown .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    /* background: #fff; */
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
  }
  
  .dropdown .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* Optional: small right arrow on CSR */
  .dropdown .dropdown > a::after {
    content: "›";
    float: right;
    margin-left: 6px;
    font-size: 13px;
    color: #231f20;
  }
  
  
  /* ======== SCROLL HIDE ANIMATION ======== */
  .main-header {
    transition: transform 0.4s ease-in-out;
  }
  
  /* ======== HAMBURGER MENU ======== */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
  }
  
  .hamburger span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Animate hamburger into X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    background: rgba(0, 0, 0, 0.6);
    height: 100vh;
    width: 65%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: right 0.4s ease;
  }

  .main-nav.open {
    left: 0;
  }

  .main-nav a {
    font-size: 1rem;
    margin: 10px 0;
    color: #fff;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    opacity: 1;
    transform: none;
    display: block;
    text-align: center;
  }

  .dropdown-menu a {
    background: transparent;
    font-size: 0.9rem;
    margin: 3px 0;
  }

  .header-bottom {
    padding: 0 20px;
  }
  .papl-image-container img
  {
    width: 100% !important;
    height: auto !important;
  }
  .map{
    padding: 75px 5%;
  }
  .map-container img{
    width: 100% !important;
    height: auto !important;
  }
  .section-subtitle{
    margin-top: 0px;
  }
  .milestone-img img{
    width: 100% !important;
    height: auto !important;
  }
  .challenge-text p{
    margin-top: 0px !important;
  }
  .team-card h4{
    margin-top: 0px !important;
  }
  .d-none{
    display: none !important;
  }
}
/* Small tablets (≤768px) */
@media (max-width: 768px) {

  /* Header */
  header {
    padding: 8px 15px;
  }
  .top-row {
    flex-direction: column;
    gap: 12px;
  }
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    font-size: 0.85rem;
    margin: 6px;
  }
  .social-row {
    justify-content: center;
    margin-top: 8px;
  }
  .hero{
    height: 65vh !important;
  }
  .hero1 {
    height: 65vh !important;
  }
  /* Hero */
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    padding: 0 15px;
  }
  /* Sections */
  section {
    padding: 60px 8%;
  }
  section h2 {
    font-size: 1.8rem;
  }
  section p {
    font-size: 0.95rem;
  }

  /* Challenge rows */
  .challenge-row {
    flex-direction: column;
    text-align: center;
    margin: 40px 0;
  }
  .challenge-row.reverse {
    flex-direction: column;
  }
  .challenge-text {
    text-align: center !important;
  }
  .image-frame {
    width: 255px;
    height: 255px;
    margin: 0 auto;
  }
  .challenge-row:first-child .image-frame,
  .challenge-row.reverse .image-frame {
    margin: 0; /* reset image offsets on mobile */
  }
  .footer-col h3, 
  .footer-col h4 {
    text-align: center;
  }
  .twin-challenge-header p {
    font-size: 1.1rem;
  }
  .twin-challenge-header h2 {
    font-size: 1.35rem;
  }
  .top-half h1{
    font-size: 1.35rem !important;
    margin-bottom: 0px !important;
  }
  .top-half h3{
    font-size: 1.1rem !important;
  }
  .twin-challenge-header{
    padding: 20px !important;
  }
  .about-text{
    text-align: center !important;
  }
  .twinabouts{
    flex-direction: column !important;
    gap: 20px !important;
  }
  div.pt-135{
    padding-top: 20px !important;
  }
  .sectionbottom{
    margin: 10px auto !important;
  }
  .papl-bg-overlay h2{
    margin-top: 0px !important;
  }
  .papl-bg-overlay h2 {
    padding: 0 5px;
  }
}

/* Extra small devices (≤480px) */
@media (max-width: 480px) {
  h1{
    font-size: 1.8rem !important;
  }
  h2{
    font-size: 1.6rem !important;
  }
  h3{
    font-size: 1.4rem !important;
  }
  h4{
    font-size: 1.2rem !important;
  }
  p{
    font-size: 0.9rem !important;
    padding: 0 10px !important;
  }
  .mb-5{
    margin-bottom: 75px !important;
  }
  /* Hero */
  .hero{
    height: 75vh !important;
  }
  .hero1 {
    height: 75vh !important;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .rwc{flex-direction: column-reverse !important;}
  /* Navigation */
  nav a {
    font-size: 0.8rem;
    margin: 4px;
  }
.borderhr{
  border-top: 1px solid #fafafa;
    border-bottom: 1px solid #fafafa;
    padding-top: 30px;
    margin-top: -20px;
}
  /* Challenge text */
  .challenge-text h3 {
    font-size: 1.1rem;
  }
  .challenge-text p {
    font-size: 0.9rem;
  }

  /* Image frames */
  .image-frame {
    width: 255px;
    height: 255px;
  }

  /* Footer */
  .footer-subscribe input {
    width: 100%;
  }
  .footer-subscribe .subscribe-btn {
    width: 100%;
    border-radius: 6px;
  }
  .tab-btn{
    padding: 5px 15px !important;
  }
}

.text-left{
  text-align: left !important;
}

.text-right{
  text-align: right !important;
}

.text-justify{
  text-align: justify !important;
}

