
/* CONTAINER */
.video-container {
    position: relative;
    width: 100%;
    min-height: 100svh; /* mobile-safe viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
    background-image: url('/img/37576554_8528859.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* FRAME */
.video-frame {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;

    background: #fff1e5;
    padding: clamp(8px, 2vw, 16px);
    border-radius: clamp(12px, 2vw, 16px);

    /*box-shadow: 0 20px 60px rgba(0,0,0,0.25);*/

    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}

    /* VIDEO */
    #my-video,
    .video-js {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        background: transparent;
    }

    .video-frame {
        backdrop-filter: blur(6px);
    }
    

    @media (max-width: 768px) {
        .video-frame {
            max-width: 100%;
        }
    }
    
    @media (max-width: 480px) {
        .video-container {
            padding: 12px;
        }
    }

  .video-js {
      background: transparent;
      border-radius: 16px;
  }

  /* Custom Video.js Theme */
  .video-js .vjs-control-bar {
      /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent) !important;*/
      height: 4em !important;
      padding: 0 1.5em !important;
  }

  .video-js .vjs-play-progress,
  .video-js .vjs-volume-level {
      background-color: var(--bass-pop) !important;
  }

  .video-js .vjs-slider {
      background-color: rgba(255, 255, 255, 0.3) !important;
  }

  .video-js .vjs-play-control {
      color: var(--bass-pop) !important;
  }

  .video-js .vjs-button>.vjs-icon-placeholder:before {
      color: white !important;
      font-size: 1.8em !important;
  }

  .video-js .vjs-time-control {
      font-size: 1.2em !important;
      color: white !important;
  }

  .video-js .vjs-progress-control:hover .vjs-progress-holder {
      font-size: 1.5em !important;
  }

  .video-js:hover .vjs-big-play-button {
      background-color: rgba(255, 154, 0, 0.8) !important;
      border-color: var(--bass-pop) !important;
  }

  .video-js .vjs-big-play-button {
      background-color: rgba(42, 75, 124, 0.7) !important;
      border: 3px solid var(--bass-deep) !important;
      border-radius: 50% !important;
      width: 80px !important;
      height: 80px !important;
      line-height: 80px !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      transition: all 0.3s ease !important;
  }

  .video-js .vjs-big-play-button:hover {
      background-color: rgba(255, 154, 0, 0.9) !important;
      transform: translate(-50%, -50%) scale(1.1) !important;
  }

  /* Custom Overlay */
  /*.video-overlay {*/
  /*    position: absolute;*/
  /*    top: 0;*/
  /*    left: 0;*/
  /*    width: 100%;*/
  /*    height: 100%;*/
  /*    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.6) 100%);*/
  /*    z-index: 1;*/
  /*    pointer-events: none;*/
  /*}*/

  .video-header {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 1.5rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 20;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
      pointer-events: none;
  }

  .video-header .logo-1 {
      display: flex;
      align-items: center;
      pointer-events: auto;
  }

  .video-header .logo-1 img {
      height: 40px;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  }

  .video-header .logo-1 h1 {
      color: white;
      font-size: 1.5rem;
      margin-left: 10px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .video-controls {
      position: absolute;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 20;
      pointer-events: none;
  }

  .control-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.6);
      border: 2px solid rgba(255, 255, 255, 0.3);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      transition: all 0.3s ease;
      pointer-events: auto;
  }

  .control-btn:hover {
      background: var(--bass-pop);
      transform: scale(1.1);
      border-color: var(--bass-pop);
  }

  .video-info {
      position: absolute;
      bottom: 140px;
      left: 2rem;
      color: white;
      z-index: 20;
      pointer-events: none;
      max-width: 600px;
      margin-left: 75px
  }

  .video-info h2 {
      font-size: 1.8rem;
      margin-bottom: 0.5rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .video-info p {
      font-size: 1rem;
      opacity: 0.9;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  /* Loading Animation */
  .video-loading {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 5;
      color: white;
      text-align: center;
  }

  .spinner {
      width: 60px;
      height: 60px;
      border: 5px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: var(--bass-pop);
      animation: spin 1s ease-in-out infinite;
      margin: 0 auto 1rem;
  }

  @keyframes spin {
      to {
          transform: rotate(360deg);
      }
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
      .video-header {
          padding: 1rem;
      }

      .video-header .logo-1 h1 {
          font-size: 1.2rem;
      }

      .video-info {
          bottom: 120px;
          left: 1rem;
          right: 1rem;
      }

      .video-info h2 {
          font-size: 1.4rem;
      }

      .control-btn {
          width: 45px;
          height: 45px;
          font-size: 1rem;
      }
  }

  /* Hide default controls when Video.js is initialized */
  video::-webkit-media-controls {
      display: none !important;
  }

  /* Card Styling */
  .post-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
      border: 4px solid white;
      height: 100%;
  }

  .post-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  }

  .post-image {
      height: 260px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
  }

  .post-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .play-button-1 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(255, 255, 255, 0.9);
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: var(--primary);
      border: 3px solid var(--primary);
      transition: all 0.3s ease;
  }

  .play-button-1:hover {
      background: var(--primary);
      color: white;
      transform: translate(-50%, -50%) scale(1.1);
  }

  .video-container-1 {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: black;
  }

  .video-container-1 video {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .close-video {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      cursor: pointer;
  }

  .post-content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      height: calc(100% - 260px);
  }

  .post-title {
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--dark);
      margin-bottom: 10px;
  }

  .post-date {
      color: var(--primary);
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 10px;
  }

  .post-excerpt {
      color: #555;
      line-height: 1.5;
      flex-grow: 1;
      margin-bottom: 15px;
  }

  .custombtn {
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 25px;
      padding: 10px 20px;
      font-weight: 700;
      transition: all 0.3s ease;
      align-self: flex-start;
  }

  .custombtn:hover {
      background: var(--secondary);
      transform: translateY(-2px);
      color: white;
  }

  /* Confession Box Styling */
  .confession-box {
      background: #f8f9fa;
      border-radius: 15px;
      padding: 15px;
      margin-top: 10px;
      border-left: 4px solid var(--secondary);
  }

  .confession-box p {
      margin-bottom: 10px;
      font-weight: 600;
  }

  /* Prayer Form Styling */
  .prayer-form {
      background: white;
      border-radius: 15px;
      padding: 20px;
      margin-top: 15px;
      border: 2px solid var(--secondary);
      display: none;
  }

  .form-control {
      border-radius: 10px;
      border: 2px solid #e9ecef;
      padding: 10px 15px;
      margin-bottom: 15px;
  }

  .form-control:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
  }

  .form-label {
      font-weight: 600;
      color: var(--dark);
      margin-bottom: 5px;
  }

  /* Toggle Button Styling */
  .toggle-btn {
      background: var(--accent);
      border: 2px solid var(--accent);
      color: var(--dark);
      border-radius: 25px;
      padding: 8px 15px;
      font-weight: 700;
      margin-top: 10px;
  }

  .toggle-btn:hover {
      background: #ffc145;
  }

  /* Special Card Styling */
  .prayer-card {
      border: 4px solid var(--accent);
  }

  .forum-card {
      border: 4px solid var(--purple);
  }

  .birthday-card {
      border: 4px solid var(--primary);
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {

      .post-title {
          font-size: 1.2rem;
      }
  }


  /* Success Modal Styling */
  .newsletter.modal .modal-content {
      border-radius: 25px;
      border: 5px solid var(--accent);
      overflow: hidden;
  }

  .newsletter .modal-body {
      padding: 0;
  }

  .newsletter .relative {
      background: linear-gradient(135deg, var(--primary-1) 0%, #52b300 100%);
      color: white;
      padding: 40px 20px;
  }

  .newsletter .btn-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      padding: 10px;
  }

  .newsletter .success {
      font-weight: 700;
      font-size: 1.8rem;
      text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
  }

  /* Footer Styling */
  .footer-1 {
      background:transparent; 
      color: white;
      position: relative;
      overflow: hidden;
      /* margin-top: 50px; */
  }


  .footer-wave-container svg {
      fill: #84cd35;
  }

  .bgsection5 {
      position: relative;
      z-index: 2;
  }

  /* Footer Content */

  .footer-1 p {
      line-height: 1.6;
      font-size: 14px;
  }

  .footer-1 .nav-link {
      padding: 5px 0;
      transition: all 0.3s ease;
      font-weight: 600;
  }

  .footer-1 .nav-link:hover {
      color: var(--accent) !important;
      transform: translateX(5px);
  }

  /* Subscription Form */
  .subscription .form-control {
      border-radius: 25px;
      border: 2px solid white;
      padding: 10px 15px;
      margin-bottom: 10px;
      background: rgba(255, 255, 255, 0.9);
  }

  .subscription .form-control:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 0.2rem rgba(255, 209, 102, 0.25);
  }

  .custombtn {
      background: var(--accent);
      color: var(--dark);
      border: none;
      border-radius: 25px;
      padding: 10px 25px;
      font-weight: 700;
      transition: all 0.3s ease;
  }

  .custombtn:hover {
      background: #ffc145;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  /* Social Media */
  .join {
      transition: all 0.3s ease;
      border-radius: 10px;
  }

  .join:hover {
      transform: scale(1.1) rotate(5deg);
  }

  /* Read More/Less */
  .cursor {
      cursor: pointer;
      color: var(--accent);
      font-weight: 700;
      text-decoration: underline;
  }

  .cursor:hover {
      color: #ffc145;
  }

  /* Notification */
  #notify {
      background: var(--dark);
      border: 2px solid var(--accent);
      z-index: 1000;
  }
  
  .mobile-version{
            display:none;
        }
        

  /* Responsive */
  @media (max-width: 768px) {
      .newsletter .success {
          font-size: 1.4rem;
      }
      
      .video-container {
         min-height: 35svh; /* mobile-safe viewport */
       }
    
        .video-info{
            display:none;
        }
        
        .mobile-version{
            display:block;
        }
        
        .video-controls {
          position: absolute;
          bottom: 3px;
        }

  }
  
  
  /*background: ;*/
  /*width: 100%;*/
  /*position: relative;*/
  /*z-index: 40;*/
  /*padding: 15px 4px;*/
  

  /* Animation for elements */
  @keyframes float {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-10px);
      }
  }

  /* 
  .footer-1 img {
      animation: float 5s ease-in-out infinite;
  } */

  /* Background pattern */
  .footer-1::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.1"><circle cx="20" cy="20" r="5" fill="white"/><circle cx="80" cy="40" r="7" fill="white"/><circle cx="40" cy="80" r="4" fill="white"/><circle cx="70" cy="70" r="6" fill="white"/><circle cx="10" cy="60" r="5" fill="white"/></svg>');*/
      /*z-index: 1;*/
  }
  
  .footer-2 {
      position:relative;
      z-index:2;
  }
  
  .nav-link {
    color: #02132c !important;
   }
   
   .nav-link:hover, .nav-link.active {
  background-color: #fff !important;
}

  @media (max-width: 468px) {
      .carousel-item img {
      object-fit: contain !important;
    }

  }
  
  


  