/* IACF Custom Styles - Based on WordPress Avada Theme */

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

/* CSS Variables */
:root {
  --primary-color: #1293d0;
  --secondary-color: #fec96b;
  --text-dark: #212934;
  --text-light: #ffffff;
  --border-color: #e2e2e2;
  --section-bg: #f3f3f3;
  --font-primary: 'Open Sans', sans-serif;
  --font-headings: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 16px;
}

/* Global Typography */
p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-primary);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.2;
}

h1.title-heading-left {
  font-family: var(--font-primary) !important;
  font-size: 54px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-primary);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

h3.title-heading-left {
  font-family: var(--font-headings) !important;
  font-size: 25px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

/* Special headings with Montserrat */
.heading-montserrat,
.mission-column h3,
.request-info-column h3 {
  font-family: var(--font-headings) !important;
  font-size: 25px !important;
  font-weight: 400 !important;
}

/* Wrapper */
#boxed-wrapper,
#wrapper {
  width: 100%;
  overflow-x: hidden;
}

#wrapper {
  position: relative;
}

/* Header Styles */
.fusion-header-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

.fusion-header {
  background-color: transparent;
  position: relative;
  z-index: 100;
}

/* Dark overlay behind header on homepage only */
body:not(.header-not-home) .fusion-header-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
  pointer-events: none;
}

.fusion-header.fusion-is-sticky {
  position: fixed;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fusion-header .fusion-row {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fusion-row {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.fusion-logo {
  margin: 0;
  flex-shrink: 0;
}

.fusion-logo img {
  max-height: 60px;
  height: auto;
  width: auto;
}

.fusion-standard-logo {
  display: block;
}

.fusion-sticky-logo,
.fusion-mobile-logo {
  display: none;
}

.fusion-is-sticky .fusion-standard-logo {
  display: none;
}

.fusion-is-sticky .fusion-sticky-logo {
  display: block;
}

/* Navigation */
.fusion-main-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.fusion-menu {
  list-style: none;
  display: flex;
  gap: 35px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.fusion-menu li {
  list-style: none;
}

.fusion-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  padding: 10px 0;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.fusion-is-sticky .fusion-menu a {
  color: var(--text-dark);
}

.fusion-menu a:hover,
.fusion-menu a.fusion-bar-highlight:hover {
  color: var(--primary-color);
}

/* Menu Button */
.fusion-menu-item-button .fusion-button-text {
  background-color: #65a9d1;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 0;
  font-weight: 400;
  font-size: 15px;
  display: inline-block;
  transition: all 0.3s ease;
}

.fusion-menu-item-button a:hover {
  color: #ffffff !important;
  background-color: transparent !important;
}

.fusion-menu-item-button .fusion-button-text:hover {
  background-color: #4a90ba;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Hero Slider */
#sliders-container {
  position: relative;
  width: 100%;
  margin-top: 0;
}

.fusion-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide-content-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.slide-content {
  max-width: 1170px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.background-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.15);
}

/* Video Background */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.background-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.background-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}

/* Hero Content */
.slide-content .heading h1,
.heading h1 {
  color: #fff !important;
  font-size: 59px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  margin-bottom: 20px !important;
  text-align: center;
  animation: fadeInUp 0.9s ease-out;
}

.slide-content .caption h2,
.caption h2 {
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin-bottom: 30px !important;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1.1s ease-out;
}

.fusion-button {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button-1 .fusion-button-text {
  background-color: transparent;
  color: #fff;
  border: 2px solid var(--primary-color);
  padding: 15px 40px;
  display: inline-block;
}

.button-2 .fusion-button-text {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 15px 40px;
  display: inline-block;
}

.fusion-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Main Content */
main {
  width: 100%;
}

/* What is IACF Section - Full Width 70/30 Split */
.what-is-iacf-section {
  display: flex;
  width: 100%;
  min-height: 700px;
}

.iacf-content-column {
  width: 70%;
  padding: 80px 60px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.iacf-goals-column {
  width: 30%;
  padding: 80px 60px;
  background-image: url('/uploads/2020/05/iacf-goals.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.iacf-goals-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(65, 156, 200, 0.3);
  z-index: 1;
}

.iacf-goals-column > * {
  position: relative;
  z-index: 2;
}

.fusion-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hundred-percent-fullwidth {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.fusion-builder-row {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}

.fusion-fullwidth.hundred-percent-fullwidth .fusion-builder-row {
  max-width: 1170px;
  width: 100%;
}

/* Remove max-width for contribution section and adjust overlay */
.contribution-section .fusion-builder-row {
  max-width: 100% !important;
}

.contribution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.contribution-section .fusion-builder-row {
  position: relative;
  z-index: 2;
}

.contribution-section {
  position: relative;
}

.fusion_builder_column {
  flex: 1;
}

.fusion_builder_column_2_3 {
  width: calc(66.66% - 2.66%);
}

.fusion_builder_column_1_3 {
  width: calc(33.33% - 1.33%);
  display: flex;
}

.fusion_builder_column_1_3 .fusion-column-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fusion-column-wrapper {
  padding: 5% 4%;
  height: 100%;
}

/* Goals Column - Full Height Background */
.fusion-builder-row-1 {
  padding: 60px 0;
}

.fusion-builder-row-1 .fusion-builder-row {
  align-items: stretch;
}

.fusion-builder-row-1 .fusion_builder_column_1_3 {
  min-height: 600px;
}

/* Titles */
.fusion-title h1,
.fusion-title h2,
.fusion-title h3 {
  color: var(--text-dark);
  margin: 3px 0;
}

.fusion-title h1 {
  font-size: 54px;
  font-weight: 600;
}

.fusion-title h3,
.fusion-title-size-three h3 {
  font-size: 40px;
  font-weight: 600;
}

.fusion-title-size-two h2 {
  font-size: 35px;
  font-weight: 600;
}

/* Separator */
.fusion-separator {
  height: 4px;
  background-color: var(--primary-color);
  border: none;
  margin: 3% 0 4% 0;
  max-width: 25%;
}

/* Text Content with Icons */
#icon-bullets p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
  font-size: 17px;
  line-height: 1.9;
}

#icon-bullets img {
  margin-right: 25px;
  flex-shrink: 0;
  width: 83px;
  height: 69px;
}

/* Goal Section */
.fusion-column-wrapper[data-bg-url] {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 100%;
}

.fusion-column-wrapper[data-bg-url]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.fusion-column-wrapper[data-bg-url] > * {
  position: relative;
  z-index: 2;
}

/* Counter Box */
.fusion-counters-box {
  margin: 30px 0;
}

.fusion-counter-box {
  margin-bottom: 40px;
}

.counter-box-container {
  text-align: center;
}

.content-box-counter {
  font-size: 56px;
  line-height: 1;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.counter-box-icon {
  font-size: 50px;
}

.display-counter {
  font-weight: 700;
}

.unit {
  font-size: 56px;
  font-weight: 700;
}

.counter-box-content {
  font-size: 21px;
  color: #fff;
  line-height: 1.4;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fusion-animated {
  animation-fill-mode: both;
}

/* Footer */
.site-footer {
  background-color: var(--section-bg);
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1170px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
}

.site-footer p {
  margin: 10px 0;
  color: #666;
  font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .fusion-header {
    position: relative;
    background-color: var(--primary-color);
  }

  .fusion-menu {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }

  .fusion-menu a {
    color: var(--text-light);
  }

  .heading h1 {
    font-size: 40px;
  }

  .caption h2 {
    font-size: 24px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .fusion-builder-row {
    flex-direction: column;
  }

  .fusion_builder_column_2_3,
  .fusion_builder_column_1_3 {
    width: 100%;
  }

  .fusion-title h3,
  .fusion-title-size-three h3 {
    font-size: 36px;
  }

  .fusion-title-size-two h2 {
    font-size: 28px;
  }
  
  .what-is-iacf-section {
    flex-direction: column;
  }
  
  .iacf-content-column,
  .iacf-goals-column {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .fusion-slider-container {
    height: 300px;
  }

  .heading h1 {
    font-size: 32px;
  }

  .caption h2 {
    font-size: 20px;
  }

  .fusion-button {
    padding: 12px 30px;
    font-size: 14px;
  }

  .fusion-title h3,
  .fusion-title-size-three h3 {
    font-size: 28px;
  }

  .fusion-title-size-two h2 {
    font-size: 24px;
  }

  #icon-bullets p {
    flex-direction: column;
    text-align: center;
  }

  #icon-bullets img {
    margin: 0 auto 15px;
  }
}

/* Parallax Background */
.fusion-parallax-fixed {
  background-attachment: fixed !important;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  width: 100%;
}

.fusion-parallax-fixed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}

.fusion-parallax-fixed > * {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.fusion-parallax-fixed .fusion-builder-row {
  max-width: 100%;
}

.fusion-parallax-fixed .fusion-column-wrapper {
  padding: 0 !important;
  background: none !important;
}

/* How Does IACF Work - Content Boxes */
.fusion-title-10 {
  margin-left: -30px;
}

.content-box-wrapper {
  margin-bottom: 50px;
  position: relative;
}

/* Add connecting line between icons - single continuous line */
.content-box-wrapper:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px; /* Center of 34px icon */
  top: 44px; /* Start below the icon */
  width: 1px;
  height: calc(100% + 20px); /* Extend all the way to next icon */
  background-color: #1293d0;
  z-index: 0;
}

.heading-with-icon {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  position: relative;
}

.heading-with-icon .icon {
  margin-right: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.heading-with-icon .icon i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-box-heading {
  font-size: 18px;
  line-height: 23px;
  color: #212934;
  font-weight: 600;
  margin: 0;
}

.content-container {
  padding-left: 54px;
  color: #4a4e57;
  line-height: 1.7;
}

/* Flowchart Image */
.fusion-column-content-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

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

.imageframe-align-left {
  text-align: left;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Override max-width for flowchart in How Does IACF Work section */
.iacf-flowchart .img-responsive {
  max-width: none;
  height: auto;
}

/* Our Mission Section */
.fusion-builder-row-5 {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 0;
  width: 100%;
}

.fusion-builder-row-5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.fusion-builder-row-5 .fusion-builder-row {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0;
  max-width: 100%;
  margin: 0;
}

.fusion-builder-row-5 .fusion-column-wrapper {
  padding: 0 !important;
  background: none !important;
}

.fusion-builder-row-5 .fusion-column-wrapper::before {
  display: none;
}

/* Button Variations */
.button-xlarge {
  padding: 18px 50px;
  font-size: 18px;
}

.fusion-button.button-default {
  background-color: #1293d0;
  color: #ffffff;
}

.fusion-button.button-default:hover {
  background-color: #0d7ab8;
  color: #ffffff;
}

/* Inner Rows */
.fusion-builder-row-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  width: 100%;
}

.fusion-builder-row-inner .fusion_builder_column_1_2 {
  flex: 1;
  min-width: 280px;
}

/* Utility Classes */
.clearfix::after,
.fusion-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.full-width {
  width: 100%;
}

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

/* Mobile Parallax Fix */
@media (max-width: 1024px) {
  .fusion-parallax-fixed {
    background-attachment: scroll !important;
  }

  .content-box-wrapper {
    margin-bottom: 25px;
  }

  .fusion-builder-row-inner {
    flex-direction: column;
  }

  .fusion-builder-row-inner .fusion_builder_column_1_2 {
    width: 100%;
    margin-right: 0;
  }

  .content-container {
    padding-left: 0;
    margin-top: 10px;
  }

  .heading-with-icon {
    flex-direction: column;
  }

  .heading-with-icon .icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Header on non-home pages */
.header-not-home .fusion-header-wrapper {
  position: relative;
}

.header-not-home .fusion-header {
  background-color: #3e3e3e;
  position: relative;
}

.header-not-home .fusion-menu a {
  color: #ffffff;
}

.header-not-home .fusion-menu a:hover {
  color: var(--primary-color);
}

/* Navigation spacing and button styling */
.fusion-header .fusion-row {
  padding-right: 60px;
}

.fusion-menu {
  gap: 30px !important;
  margin-right: 0 !important;
}

/* Duplicate styles removed - using unified button style above */

.fusion-main-menu-icon i {
  font-size: 18px;
  color: #ffffff;
}

.header-not-home .fusion-main-menu-icon i {
  color: #ffffff;
}

/* Footer styling */
.site-footer {
  background-color: #3e3e3e !important;
  color: #ffffff;
  padding: 40px 20px 30px;
  text-align: center;
}

.fusion-footer-widget-area {
  background-color: #3e3e3e;
  color: #ffffff;
}

.fusion-copyright-content {
  color: #ffffff;
}

.fusion-copyright-notice {
  font-size: 14px;
  color: #ffffff;
  margin: 15px 0;
  letter-spacing: 0.5px;
}

.fusion-footer-info p {
  color: #cccccc;
  font-size: 14px;
}

.fusion-logo-footer {
  margin-bottom: 20px;
}

/* Fix donate button - remove yellow background */
.fusion-menu-item-button {
  background: none !important;
}

.fusion-menu-item-button a {
  background: none !important;
}

/* Page content padding */
.page-content-wrapper {
  padding: 120px 0 80px !important;
  background: none !important;
}

.page-content-container {
  max-width: 1400px !important;
  padding: 0 40px !important;
  margin: 0 auto !important;
}

/* Page content paragraph spacing */
.page-content p {
  margin-bottom: 25px !important;
  line-height: 1.8 !important;
}

.page-content p:last-child {
  margin-bottom: 0 !important;
}

.page-title-bar {
  padding: 100px 0 50px !important;
}
