/* CONSTANTS */
:root {
    --xb: 2rem; /* Header font size */
    --b: 1.5rem;     /* Paragraph font size */
    --m:1rem;
    --s:0.6rem;
  }


/* OUR WORK BANNER SECTION */
    /* Banner Section */
#ourWorkBanner {
    position: relative;
    height: 60vh;
    background-image: url('/finalImages/kargil/2.jpg'); /* Replace with your banner image URL */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
}

#ourWorkBanner .banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 10px;
}

#ourWorkBanner .banner-content h1 {
    font-size: var(--xb);
    margin-bottom: 10px;
    color: #f58634; /* Saffron color */
}

#ourWorkBanner .banner-content p {
    font-size: var(--b);
}



/* TWO SPLITS SECTION */

    #two-splits-section {
      display: flex;
      flex-direction: column;
      padding: 20px;
      text-align: center;

    }

    #two-splits-section .sectionovm {
      padding: 20px;
      margin: 10px 0;
      color: #fff;
      width: 100%;
      text-align: left;
      border: 1px solid  rgba(255, 179, 0, 0.621);
    }

    #two-splits-section .missionovm {
        background: linear-gradient(to bottom right, rgba(255, 106, 0, 0.8), rgba(255, 170, 0, 0.498) );


    }

    #two-splits-section .visionovm {
        background: linear-gradient(to top right,rgba(255, 170, 0, 0.498), rgba(255, 106, 0, 0.8) );



    }

    #two-splits-section h2 {
      color: #fff;
      font-size: var(--xb);
      margin-bottom: 10px;
    }

    #two-splits-section p {
      font-size: var(--m);
      line-height: 1.6;
    }
   
    @media (min-width: 768px) {
       
    #two-splits-section {
        flex-direction: row;
        justify-content: space-between;
    }

   
    }



    


  /* SPLIT SLIDER SECTION */
  
  #split-slider{
    background: linear-gradient(to bottom, #ffffff, #f58434ab); 

  }
  #split-slider .slider-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1350px;
    margin: auto;
    margin-top: 50px;
    position: relative;
    height: 400px;
    overflow: hidden;
}

#split-slider .content-slider::before {
    content: "";
    left: 100px;
    top:0px;
    position: absolute;
    background-position: center;
    transform-origin: center;
    background-image: url('/img/logo.png');
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.25;
    width: 275px;
    height: 275px;
    z-index: 1;
    animation: rotateLogo 10s infinite linear;
}

#split-slider .content-slider {
    width: 50%;
    padding-right: 50px;
    position: relative;
    z-index: 2;
}

#split-slider .content-slider h2, 
#split-slider .content-slider p {
    font-size: var(--b);
    color: #333;
    animation: bounceIn 0.6s ease forwards;
}


#split-slider .cta-button {
    padding: 10px 20px;
    background-color: #f58634;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#split-slider .slider {
    width: 50%;
}

#split-slider .unique-carousel .item img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

#split-slider .text-effect {
    opacity: 0;
    animation: none;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes rotateLogo {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Styles */
@media (max-width: 900px) {
    #split-slider .slider-inner{
        
    margin-top: 25px;
        flex-direction: column-reverse; /* Stack content and image vertically */
        height: auto; /* Allow the height to adjust based on content */
    }

    #split-slider .content-slider {
        width: 100%; /* Full width on mobile */
        padding-right: 0; /* Remove padding */
        text-align: center; /* Center text */
    }

    #split-slider .slider {
        width: 100%; /* Full width on mobile */
        margin-top: 20px; /* Add margin to separate image */
    }

    #split-slider .cta-button {
        width: 50%; /* Full width button on mobile */
    }

    #split-slider .unique-carousel .item img {
        border-radius: 10px;
        width: 100%; /* Make sure image takes full width */
    }

    #split-slider .content-slider::before {
        content: "";
        left: 25px;
        
        background-repeat: no-repeat;
        background-size: 100%;
        opacity: 0.25;
        width: 100px;
        height: 100px;
        z-index: 1;
        animation: rotateLogo 10s infinite linear;
    }

    #split-slider .content-slider h2, 
#split-slider .content-slider p {
    font-size: var(--m);
    color: #333;
    animation: bounceIn 0.6s ease forwards;
}

}







/* EVENTS VIDEO SECTION */


#events-video  {
    margin: auto;
    max-width: 1350px;
    margin-top: 25px;
    margin-bottom: 25px;
}
#events-video  h3 {
    text-align: center;
    margin-bottom: 50px;
}
#events-video .video-gallery {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    overflow: hidden;
}

#events-video .video {
    flex: 1;
}

#events-video .video iframe {
    width: 100%;
    height: 300px;
}

/* Mobile responsive slider */
@media (max-width: 768px) {
    #events-video .video-gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    #events-video .video {
        flex: 0 0 100%;
        scroll-snap-align: center;
        padding: 10px;
    }

    #events-video .video iframe {
        height: 200px;
    }

    /* Optional: Hide scrollbar for cleaner look */
    #events-video .video-gallery::-webkit-scrollbar {
        display: none;
    }
}

