/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Condensed:wght@600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
  --primary-color: #333;
  --secondary-color: #00B894;
  --primary-blue: #0099CC;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: linear-gradient(180deg, rgba(0, 153, 204, 0.3) 0%, rgba(101, 212, 248, 0.3) 100%);
  --border-light: #e9ecef;
  --heading-font: 'Sofia Sans Condensed', sans-serif;
  --body-font: 'DM Sans', sans-serif;
}

html {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Base Typography */
body {
  font-family: var(--body-font);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 0;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

li {
  padding-left: 0.5rem;
  padding-bottom: 0.3rem;
}
/* Banner Section */
.banner-section {
  background-attachment: fixed;
  position: relative;
  height: 600px;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 767px) {
  .banner-section {
    background-size: cover;
  }
}

@media (min-width: 768px) {
  .banner-content h1 {
    font-size: 80pt;
  }
}

/* Logo styles */
.logo-top {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

@media (max-width: 767px) {
  .logo-top {
    top: 30px;  
  }
}

.logo-svg {
  width: 200px;
  height: auto;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.6rem 2rem;
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
  filter: brightness(1.15);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}


.btn-secondary {
    color: white;
    background-color: var(--secondary-color);
}


/* Menu button */
.menu-btn {
  font-family: var(--body-font);
  position: fixed;
  top: 30px;
  right: 50px;
  z-index: 1001;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0px 1px 5px rgba(0,0,0,0.4);
}

/* Menu button text color change when menu is open */
.menu-btn.menu-open {
  color: var(--text-dark);
}

.menu-btn.menu-open .hamburger span {
  background-color: var(--text-dark);
}

.menu-btn.menu-open {
  text-shadow: none;

  .hamburger.active span {
    box-shadow: none;
  }
}

.menu-text {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-right: 6px;
  margin-top: 1px;
  transition: opacity 0.3s ease;
}

.hamburger {
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: white;
  display: block;
  transition: all 0.3s ease;
  transform-origin: center;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* Hamburger to X transformation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile X transformation adjustments */
@media (max-width: 767px) {
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(12px, -12px);
  }
}

/* Mobile - hide menu text */
@media (max-width: 767px) {
  .menu-text {
    display: none;
  }
  
  .menu-btn {
    top: 30px;
    right: 30px;
    gap: 0;
  }

  .hamburger {
    margin-top: 10px;
    width: 40px;
    height: 30px;
  }
  
  /* Show CLOSE text on mobile when menu is open */
  .menu-btn.menu-open .menu-text {
    display: block;
    font-size: 1.5rem;
    margin-right: 10px;
    margin-top: 0;
  }
  
  .menu-btn.menu-open {
    gap: 10px;
  }
}

/* Menu Drawer */
.menu-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 1rem 2rem;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-drawer.open {
  right: 0;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
}

.menu-item {
  font-family: var(--body-font);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.8rem 0;
  transition: color 0.3s ease;
}

.menu-item:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile responsive menu */
@media (max-width: 768px) {
  .menu-drawer {
    width: 100vw;
    right: -100vw;
    padding: 1.5rem;
  }
  
  .menu-nav {
    gap: 1.5rem;
  }
  
  .menu-item {
    font-size: 1.7rem;
    padding: 0.5rem 0.4rem;
  }
}

/* Profile Cards */
.profile-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.profile-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.profile-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.profile-description {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Progress section styles */
.progress-section {
    padding: 6rem 0;
    background: white;
}

.progress-left {
    text-align: center;
}

.progress-goal {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.progress-amount {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.progress-circle-container {
    display: inline-block;
    position: relative;
}

.progress-canvas {
    display: block;
    margin: 0 auto;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--heading-font);
    font-size: 6rem;
    font-weight: 600;
    color: var(--text-dark);
    pointer-events: none;
}

.progress-right {
    padding-left: 4rem;
}

@media (max-width: 767px) {
  .progress-right {
    padding-left: 0;
  }
}

.progress-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.progress-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.progress-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
}


/* Card section styles */

.impact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.impact-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.impact-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.impact-card-number {
    font-family: var(--heading-font);
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.impact-card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left;
}


img {
  max-width: 100%;
}

.img-rounded {
  border-radius: 20px;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.3);
}

/* Full Width Image with Overlay */
.image-overlay-section {
  width: 100%;
  height: 120vh;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  position: relative;

  .overlay-box {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;

    .overlay-text {
      max-width: 900px;
      background: rgba(255, 255, 255, 0.8);
      margin: 0 auto;
      padding: 3rem 2.5rem;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 15px;
    }
  }

}

@media (max-width: 767px) {
  .image-overlay-section {
     height: 150vh;

    .overlay-box {
      bottom: 1rem;
      left: 0.5rem;
      right: 0.5rem;

      .overlay-text {
        padding: 2rem;
      }
    }
  }
}


@media (min-width: 768px) {
  .left-title h2 {
    margin-right: 2rem;
    text-align: right;
  }

  .left-title {
    text-align: right;
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 2rem 0;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-section {
    background-attachment: scroll;
    height: 500px;
    max-height: 500px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }

  .card-box {
    gap: 2em;
  }
  
  .profile-image {
    height: 340px;
  }
  
  .logo-svg {
    width: 150px;
  }

  img.img-rounded {
    margin-bottom: 1rem;
  }
  
}

@media (max-width: 576px) {
  .banner-section {
    height: 400px;
    max-height: 400px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .profile-content {
    padding: 1rem;
  }
  
  
  .logo-svg {
    width: 150px;
  }
  
  .footer-logo {
    width: 120px;
    display: block;
    margin: 1rem auto;
  }
  
  .footer .text-md-end {
    text-align: center !important;
  }
}

/* Utilities */

@media (max-width: 576px) {
  .hidden-xs {
    display: none;
  }
}

.section-padding {
  padding: 4rem 0;
}

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

