/* Base Styles */

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

body {
  font-family: 'Arimo', sans-serif;
}

/* Header */

header {
  background-color: #303D2A;
  position: relative;
  z-index: 1000;
}

/* Logo  */

.logo img {
  height: 45px;
  width: auto;
  display: block;
}

/* Navigation Bar  */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 80px;
  padding: 0 40px;
}

.nav-container {
  max-width: 100%;
  padding: 0 40px;
}

/* Nav menu wrapper */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Hamburger button (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Links  */

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a,
.nav-right .login {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: uppercase;
}

/* Dropdown */

.has-dropdown {
  position: relative;
}

/* Dropdown button */

.dropdown-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

/* Dropdown arrow */

.dropdown-toggle .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;

  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;

  position: relative;
  top: -2px;
}

/* Dropdown menu container */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  background: #ffffff;
  border-radius: 6px;
  min-width: 120px;

  list-style: none;
  margin: 0;
  padding: 4px 0;

  display: none;
}

/* Dropdown links */

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #303D2A;
  text-decoration: none;
  text-transform: none;
  font-weight: 400;
}

.dropdown-menu li a:hover {
  background: #f2f2f2;
}

/* Hero Section */

.hero {
  position: relative;
  height: 80vh;

  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  font-family: "Comic Sans MS", cursive;
}

.hero-content h1 {
  font-size: 100px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 30px;
  font-weight: 400;
}

/* Who we are section */

.who-we-are {
  background-color: #ffffff;
  padding: 20px;

  display: flex;            
  align-items: center; 
}

.who-we-are-title {
  margin-left: 50px;
  margin-bottom: 20px;
  font-size: 50px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: #303D2A;
}

.who-we-are-intro,
.who-we-are-description {
  margin-left: 50px;
  max-width: 700px;
  font-size: 20px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  text-align: left;
  color: #000;
}

.who-we-are-image {
  width: 475px;
  height: 475px;
  margin-left: auto;
  margin-right: 100px;
  object-fit: contain;
}

/* Why we exist section */

.why-we-exist {
  background-color: #ffffff;
  padding: 20px ;
}

.why-we-exist-wrapped {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-we-exist-title {
  margin-left: auto;
  margin-right: 50px;
  margin-bottom: 20px;
  max-width: 700px;
  font-size: 50px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-align: right;
  color: #303D2A;
}

.why-we-exist-description {
  margin-left: auto;
  margin-right: 50px;
  max-width: 700px;
  font-size: 20px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  text-align: right;
  color: #000;
}

.why-we-exist-image {
  width: 600px;
  height: auto;
  margin-left: 50px;
  margin-right: auto;
  object-fit: cover;
  border-radius: 20px;
}

/* Slideshow section */

.slideshow {
  width: 100%;
  padding: 0;         
  margin: 0;
  margin-top: 60px;
}


/* slide container */
.slide {
  position: relative;
  width: 100%;
  height: 80vh;  
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* adjust face visibility */
}

/* dark overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* text on image */
.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #fff;
  text-align: center;
  max-width: none;
  width: 80%;
  margin: 0 auto;    
  font-size: 40px;
  font-family: "Comic Sans MS", cursive;;
  line-height: 1.6;
  z-index: 2;
}

.previous,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
}

.previous {
  left: 30px;
}

.next {
  right: 30px;
}

/* WHY WE BELIEVE SECTION */

.beliefs {
  background-color: #4A5E42;
  padding: 60px 10%;
}

.beliefs-title {
  text-align: center;
  color: white;
  font-size: 70px;
  font-family: Poppins, serif;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.belief-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.belief-number {
  display: block;
  font-size: 60px;
  font-family: Poppins, serif;
  font-weight: bold;
  color: #4f6444;
  margin-bottom: 20px;
}

.belief-card p {
  font-size: 24px;
  font-family: Poppins, serif;
  font-weight: bold;
  line-height: 1.7;
  color: #000;
}

@media (max-width: 768px) {
  .beliefs-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.footer {
  background-color: #ffffff;
  border-top: 1px solid #eee;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center; /* ⬅️ this centers everything horizontally */
  gap: 40px;
  padding: 60px 80px;
  text-align: left;
}

.footer-logo img {
  width: 280px;
  height: 280px;
}

.footer-info h3 {
  font-size: 50px;
  font-family: 'Arimo', sans-serif;
  font-weight: bold;
  margin: 0;
  color: #000;
}

.footer-info p {
  font-size: 25px;
  font-family: 'Arimo', sans-serif;
  font-weight: bold;
  margin: 10px 0 20px;
  letter-spacing: 2px;
}

.footer-social {
  font-size: 22px;
  color: #000;
  text-decoration: none;
}

.footer-facebook {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-facebook img {
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-facebook img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-bottom {
  background-color: #D1B9A5;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 20px;
  font-family: 'Arimo', sans-serif;
  font-weight: bold;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */

/* Tablet (≤1050px) */
@media (max-width: 1050px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 70px;
  }

  .hero-content p {
    font-size: 24px;
  }

  .who-we-are-title,
  .why-we-exist-title {
    font-size: 36px;
  }

  .who-we-are-intro,
  .who-we-are-description,
  .why-we-exist-description {
    font-size: 16px;
    max-width: 480px;
  }

  .who-we-are-image {
    width: 300px;
    height: 300px;
    margin-right: 40px;
  }

  .why-we-exist-image {
    width: 340px;
    margin-left: 30px;
  }

  .beliefs-title {
    font-size: 48px;
  }

  .belief-number {
    font-size: 44px;
  }

  .belief-card p {
    font-size: 18px;
  }

  .footer-info h3 {
    font-size: 32px;
  }

  .footer-info p {
    font-size: 18px;
  }

  .footer-logo img {
    width: 180px;
    height: 180px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  /* --- Navbar --- */
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #303D2A;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 999;
  }

  .nav-menu.open {
    max-height: 600px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 15px 24px;
    font-size: 14px;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 15px 24px;
    font-size: 14px;
  }

  .dropdown-menu {
    position: static;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    min-width: unset;
    padding: 0;
  }

  .dropdown-menu li a {
    color: #fff;
    padding: 12px 40px;
  }

  .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-right {
    padding: 14px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-right .login {
    display: block;
    text-align: center;
    background: #fff;
    color: #303D2A;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
  }

  /* --- Hero --- */
  .hero {
    height: 65vh;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content p {
    font-size: 18px;
    padding: 0 20px;
  }

  /* --- Who We Are --- */
  .who-we-are {
    flex-direction: column;
    padding: 48px 24px;
    text-align: center;
  }

  .who-we-are-wrapped {
    order: 2;
  }

  .who-we-are-title {
    margin-left: 0;
    font-size: 30px;
    text-align: center;
    margin-bottom: 16px;
  }

  .who-we-are-intro,
  .who-we-are-description {
    margin-left: 0;
    max-width: 100%;
    font-size: 15px;
    text-align: center;
  }

  .who-we-are-description {
    margin-top: 14px;
  }

  .who-we-are-image {
    order: 1;
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
  }

  /* --- Why We Exist --- */
  .why-we-exist {
    padding: 48px 24px;
  }

  .why-we-exist-wrapped {
    flex-direction: column;
    text-align: center;
  }

  .why-we-exist-image {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 32px;
    border-radius: 12px;
  }

  .why-we-exist-title {
    margin: 0 0 16px;
    font-size: 30px;
    text-align: center;
    max-width: 100%;
  }

  .why-we-exist-description {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    text-align: center;
  }

  /* --- Slideshow --- */
  .slideshow {
    margin-top: 36px;
  }

  .slide {
    height: 55vw;
    min-height: 240px;
  }

  .slide-text {
    font-size: 18px;
    width: 86%;
    line-height: 1.5;
    top: 45%;
  }

  .previous,
  .next {
    width: 36px;
    height: 36px;
    font-size: 18px;
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .previous {
    left: 12px;
  }

  .next {
    right: 12px;
  }

  /* --- Beliefs --- */
  .beliefs {
    padding: 48px 20px;
  }

  .beliefs-title {
    font-size: 34px;
    margin-bottom: 32px;
    letter-spacing: 1px;
  }

  .belief-card {
    padding: 24px 20px;
  }

  .belief-number {
    font-size: 42px;
    margin-bottom: 12px;
  }

  .belief-card p {
    font-size: 15px;
  }

  /* --- Footer --- */
  .footer-main {
    flex-direction: column;
    padding: 40px 24px;
    gap: 16px;
    text-align: center;
  }

  .footer-logo img {
    width: 130px;
    height: 130px;
  }

  .footer-info h3 {
    font-size: 20px;
  }

  .footer-info p {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 16px;
  }
}

/* Scroll to Top Button */

#scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background-color: #303D2A;
  color: #fff;
  font-size: 26px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scroll-to-top:hover {
  background-color: #4a5e38;
}