/* Index Page Specific Styles */

/* Hero Section with Slider */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    color: white;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 86, 166, 0.7), rgba(0, 61, 122, 0.8));
    z-index: 2;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: white;
    width: 32px;
    border-radius: 6px;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.program-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: white;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-image {
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.program-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Pledge Section */
.pledge-section {
    background-color: var(--light);
}

.pledge-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.pledge-content p {
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 86, 166, 0.9), rgba(0, 61, 122, 0.95)), url('https://borderlessworldfoundation.org/images/background/image-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
        min-height: 450px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
}
/* parallax effect */

 /* PARALLAX SECTION MAIN */
 .vision-section.parallax-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
  }

  /* Parallax Background */
  .parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    filter: brightness(0.6);
  }

  /* Parallax Overlay Gradient */
  .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    backdrop-filter: blur(0px);
  }

  /* Animated Accent Elements */
  .parallax-accent {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 2;
  }

  .parallax-accent-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 147, 213, 0.3), transparent);
    top: -100px;
    right: -100px;
    animation: float-accent 6s ease-in-out infinite;
  }

  .parallax-accent-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 100, 50, 0.2), transparent);
    bottom: -50px;
    left: -50px;
    animation: float-accent 8s ease-in-out infinite reverse;
  }

  @keyframes float-accent {
    0%, 100% {
      transform: translateY(0px) scale(1);
    }
    50% {
      transform: translateY(-30px) scale(1.1);
    }
  }

  /* Main Content Container */
  .parallax-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

.parallax-text-container {
    text-align: justify;
}

  .parallax-wrapper {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
  }

  /* Decorative Elements */
  .parallax-decoration {
    flex: 0 0 auto;
    height: 300px;
    position: relative;
  }

  .parallax-decoration-left {
    display: none;
  }

  .parallax-decoration-right {
    display: none;
  }

  .decoration-line {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #0093D5, transparent);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 147, 213, 0.5);
  }

  /* Text Container */
  .parallax-text-container {
    flex: 1;
    /*max-width: 700px;*/
    /*text-align: center;*/
  }

  /* Badge */
  .parallax-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 147, 213, 0.2);
    border: 2px solid rgba(0, 147, 213, 0.5);
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }

  .parallax-badge:hover {
    background: rgba(0, 147, 213, 0.3);
    border-color: #0093D5;
    transform: translateY(-2px);
  }

  .parallax-badge i {
    font-size: 1.2rem;
    color: #0093D5;
  }

  /* Main Title */
  .parallax-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    text-align: center;
  }

  .parallax-title span {
    background: linear-gradient(135deg, #0093D5, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Divider */
  .parallax-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #0093D5, transparent);
    margin: 25px auto;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 147, 213, 0.5);
  }

  /* Text Content */
  .parallax-text-content {
    margin-bottom: 40px;
  }

  .parallax-text-main {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
  }

  .parallax-text-secondary {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  }

  .parallax-text-main strong,
  .parallax-text-secondary strong {
    color: #f1d015;
    font-weight: 700;
  }

  /* CTA Buttons */
  .parallax-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .parallax-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0093D5, #0077b3);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 147, 213, 0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }

  .parallax-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 147, 213, 0.6);
    background: linear-gradient(135deg, #0077b3, #005580);
  }

  .parallax-btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }

  .parallax-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  }

  .parallax-btn i {
    transition: transform 0.3s ease;
  }

  .parallax-btn:hover i {
    transform: translateX(3px);
  }

  /* Scroll Indicator */
  .parallax-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    animation: bounce-scroll 2s ease-in-out infinite;
  }

  .parallax-scroll-indicator i {
    font-size: 1.2rem;
  }

  @keyframes bounce-scroll {
    0%, 100% {
      opacity: 0.8;
      transform: translateX(-50%) translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateX(-50%) translateY(8px);
    }
  }

  /* RESPONSIVE DESIGN */
  @media (max-width: 1200px) {
    .parallax-title {
      font-size: 3.2rem;
    }

    .parallax-text-main {
      font-size: 1.3rem;
    }

    .parallax-wrapper {
      gap: 30px;
      padding: 20px 30px;
    }
  }

  @media (max-width: 992px) {
    .vision-section.parallax-section {
      height: 90vh;
      min-height: 600px;
    }

    .parallax-title {
      font-size: 2.8rem;
    }

    .parallax-text-main {
      font-size: 1.2rem;
    }

    .parallax-text-secondary {
      font-size: 1.1rem;
    }

    .parallax-badge {
      font-size: 0.9rem;
      margin-bottom: 20px;
    }

    .parallax-wrapper {
      gap: 20px;
      padding: 0 20px;
    }

    .parallax-decoration-left,
    .parallax-decoration-right {
      display: none !important;
    }
  }

  @media (max-width: 768px) {
    .vision-section.parallax-section {
      height: 80vh;
      min-height: 550px;
    }

    .parallax-background {
      background-attachment: scroll !important;
    }

    .parallax-title {
      font-size: 2.3rem;
      margin-bottom: 15px;
    }

    .parallax-text-main {
      font-size: 1.1rem;
      margin-bottom: 15px;
    }

    .parallax-text-secondary {
      font-size: 1.05rem;
      margin-bottom: 15px;
    }

    .parallax-divider {
      margin: 15px auto;
    }

    .parallax-badge {
      padding: 8px 16px;
      font-size: 0.85rem;
      margin-bottom: 15px;
    }

    .parallax-text-content {
      margin-bottom: 25px;
    }

    .parallax-cta {
      gap: 12px;
    }

    .parallax-btn {
      padding: 14px 30px;
      font-size: 0.95rem;
    }

    .parallax-accent-1,
    .parallax-accent-2 {
      width: 200px;
      height: 200px;
    }
  }

  @media (max-width: 576px) {
    .vision-section.parallax-section {
      height: 75vh;
      min-height: 450px;
    }

    .parallax-title {
      font-size: 2rem;
    }

    .parallax-text-main {
      font-size: 1.05rem;
    }

    .parallax-text-secondary {
      font-size: 0rem;
    }
    .container.parallax-content{
      padding: 3px;
    }
    .parallax-wrapper {
      padding: 0 15px;
    }

    .parallax-cta {
      flex-direction: column;
      align-items: center;
    }

    .parallax-btn {
      width: 100%;
      max-width: 280px;
      padding: 12px 25px;
      font-size: 0.9rem;
    }

    .parallax-badge {
      font-size: 0.8rem;
    }

    .parallax-scroll-indicator {
      font-size: 0.8rem;
      bottom: 20px;
    }

    .parallax-accent-1,
    .parallax-accent-2 {
      width: 150px;
      height: 150px;
    }
  }

  /* Smooth transitions */
  .parallax-section * {
    transition: color 0.3s ease, opacity 0.3s ease;
  }

  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    .parallax-overlay {
      background: linear-gradient(
        135deg,
        rgba(15, 30, 50, 0.85) 0%,
        rgba(0, 93, 160, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
      );
    }
  }