/* Slide-in animation for each letter */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in span {
    display: inline-block;
    opacity: 0;
    animation: slideIn 1.5s forwards;
    animation-delay: calc(0.2s * var(--i));
}

/* Create a custom property for each letter's delay */
.slide-in span:nth-child(1) { animation-delay: 0ms; }
    .slide-in span:nth-child(2) { animation-delay: 50ms; }
    .slide-in span:nth-child(3) { animation-delay: 100ms; }
    .slide-in span:nth-child(4) { animation-delay: 150ms; }
    .slide-in span:nth-child(5) { animation-delay: 200ms; }
    .slide-in span:nth-child(6) { animation-delay: 250ms; }
    .slide-in span:nth-child(7) { animation-delay: 300ms; }
    .slide-in span:nth-child(8) { animation-delay: 350ms; }
    .slide-in span:nth-child(9) { animation-delay: 400ms; }
    .slide-in span:nth-child(10) { animation-delay: 450ms; }
    .slide-in span:nth-child(11) { animation-delay: 500ms; }

/* Apply a zoom-in effect to the image */
@keyframes zoomIn {
    0% {
        transform: scale(1); /* Original size */
    }
    100% {
        transform: scale(1.1); /* Zoom in to 110% */
    }
}

.zoom-in-effect img {
    animation: zoomIn 5s ease-in-out infinite; /* Apply zoom effect for 5 seconds, looping infinitely */
    transition: transform 0.8s ease-in-out; /* Optional: Add a smooth transition for hover effect */
}

/* Fade-in Top Effect */
.fade-in-top-effect {
    opacity: 0;
    transform: translateY(-50px); /* Start off-screen from the top */
    animation: fadeInTop 1.5s forwards; /* Apply animation */
}

/* Keyframe for fade-in top effect */
@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-50px); /* Start off-screen from the top */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to the original position */
    }
}

/* Optional: Add additional styles for responsiveness */
@media (max-width: 768px) {
    .fade-in-top-effect {
        transform: translateY(0); /* Adjust for mobile screens */
    }
}

/* For carousel items with fade-in-top effect */
.carousel-item img {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* Optional: If you want to combine the effects (Zoom-in and Fade-in Top) */
.animated.zoom-in {
    animation: zoomIn 1.2s ease-in-out;
}

.animated.fade-in-top {
    animation: fadeInTop 1.2s ease-in-out;
}



/* Zoom-in animation */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}



/* Initial card styles */
.card-animation {
    opacity: 0; /* Initially, make the card invisible */
    transform: translateY(-20px); /* Start the card off above its final position */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out; /* Smooth transition for both position and opacity */
}

/* Apply the animation to the cards when they are in view (or when the page loads) */
.card-animation.visible {
    opacity: 1; /* Make the card visible */
    transform: translateY(0); /* Move the card to its normal position */
}

/* Add a staggered effect for the cards */
.card-animation:nth-child(1) {
    animation: dropDown 0.6s ease-out forwards; /* Apply the drop-down animation */
    animation-delay: 0.3s; /* Delay the first card */
}

.card-animation:nth-child(2) {
    animation: dropDown 0.6s ease-out forwards;
    animation-delay: 0.5s; /* Delay the second card */
}

.card-animation:nth-child(3) {
    animation: dropDown 0.6s ease-out forwards;
    animation-delay: 0.7s; /* Delay the third card */
}

.card-animation:nth-child(4) {
    animation: dropDown 0.6s ease-out forwards;
    animation-delay: 0.9s; /* Delay the fourth card */
}

/* Keyframes for the drop-down effect */
@keyframes dropDown {
    0% {
        transform: translateY(-20px); /* Start from above */
        opacity: 0; /* Initially invisible */
    }
    100% {
        transform: translateY(0); /* Move to the final position */
        opacity: 1; /* Fully visible */
    }
}


/* Control logo size on all screen sizes */
.logo {
    max-width: 350px; /* Set a maximum width for the logo */
    height: auto; /* Maintain aspect ratio */
}

/* Optional: Make the logo smaller on mobile screens */
@media (max-width: 576px) {
    .logo {
        max-width: 120px; /* Smaller size for small screens */
    }
}


/* Keyframes for up-and-down movement */
@keyframes moveUpDown {
    0% {
        transform: translateY(0); /* Start position */
    }
    25% {
        transform: translateY(-10px); /* Move up */
    }
    50% {
        transform: translateY(0); /* Return to normal */
    }
    75% {
        transform: translateY(10px); /* Move down */
    }
    100% {
        transform: translateY(0); /* Return to normal */
    }
}
/* Base Card Styling */
.card-custom {
    background: linear-gradient(135deg, #212121, #2e2e2e);
    color: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    position: relative;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    perspective: 1000px;
}

/* Uniform Image Styling */
.card-image {
    width: 100%;
    height: 250px; /* Ensuring all images are the same size */
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images are uniformly fitted */
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* 3D Pop-out Hover Effect */
.card-custom:hover {
    transform: scale(1.05) rotateX(5deg);
    box-shadow: 0px 10px 25px rgba(255, 71, 87, 0.6);
}

/* Image Zoom + Blur Effect */
.card-custom:hover .card-image img {
    transform: scale(1.2);
    filter: brightness(0.7) contrast(1.1);
}

/* Glowing Border Effect */
.card-custom:hover {
    border: 2px solid rgba(255, 71, 87, 0.7);
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
}

/* Neon Glow Animation */
@keyframes neon-glow {
    0% { box-shadow: 0px 0px 10px rgba(255, 71, 87, 0.5); }
    50% { box-shadow: 0px 0px 25px rgba(255, 71, 87, 0.9); }
    100% { box-shadow: 0px 0px 10px rgba(255, 71, 87, 0.5); }
}

.card-custom:hover {
    animation: neon-glow 1.5s infinite alternate;
}

/* Description Box - Appears on Hover */
.card-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    font-size: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.card-custom:hover .card-description {
    transform: translateY(0);
}

/* Header Overlay (Title) */
.card-header-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

/* Fade-out Title on Hover */
.card-custom:hover .card-header-overlay {
    opacity: 0;
}

/* Fade-in on Scroll Effect */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-in-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Define the animation for auto-scrolling */
@keyframes scrollCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause scroll when hovering over the container */
.card-scroll-container:hover {
    animation-play-state: paused; /* Pause when hovering */
}

/* Optional: Add smooth scroll effect when hovering */
.card-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0);
}

.card-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.card-scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
}


/* Initial styles for icons */
.social-icon {
    opacity: 0; /* Start with icons invisible */
    transform: translateY(-20px); /* Start above their final position */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out; /* Smooth transition for both position and opacity */
}

/* Apply the drop-down effect when icons are in view */
.social-icon.visible {
    opacity: 1; /* Make the icon visible */
    transform: translateY(0); /* Move the icon to its normal position */
}

/* Add staggered animation for each icon using different delays */
.social-icon.facebook {
    animation: dropDown 0.5s ease-out forwards;
    animation-delay: 0.3s; /* Delay the first icon */
}

.social-icon.instagram {
    animation: dropDown 0.5s ease-out forwards;
    animation-delay: 0.6s; /* Delay the second icon */
}

.social-icon.twitter {
    animation: dropDown 0.5s ease-out forwards;
    animation-delay: 0.9s; /* Delay the third icon */
}

.social-icon.linkedin {
    animation: dropDown 0.5s ease-out forwards;
    animation-delay: 1.2s; /* Delay the fourth icon */
}

.theme.circle {
    animation: dropDown 1.5s ease-out forwards;
    animation-delay: 1s; /* Delay for the circle icon */
}

/* Keyframes for the drop-down effect */
@keyframes dropDown {
    0% {
        transform: translateY(-20px); /* Start from above */
        opacity: 0; /* Initially invisible */
    }
    100% {
        transform: translateY(0); /* Move to the final position */
        opacity: 1; /* Fully visible */
    }
}


/* Apply the animation to the entire container */
.social-icons-container {
    animation: moveUpDown 8s ease-in-out infinite; /* Apply the up-and-down effect to the entire container */
}


/* General icon styling */
p i {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    cursor: pointer;
}

/* Facebook */
.fa-facebook-square {
    color: #1877F2; /* Facebook Blue */
}

.fa-facebook-square:hover {
    color: #0d64e9;
    transform: scale(1.2);
}

/* WhatsApp */
.fa-whatsapp {
    color: #25D366; /* WhatsApp Green */
}

.fa-whatsapp:hover {
    color: #1db954;
    transform: scale(1.2);
}

/* Instagram */
.fa-instagram {
    color: #E4405F; /* Instagram Pinkish-Red */
}

.fa-instagram:hover {
    color: #bc2a8d;
    transform: scale(1.2);
}

/* LinkedIn */
.fa-linkedin {
    color: #0A66C2; /* LinkedIn Blue */
}

.fa-linkedin:hover {
    color: #004182;
    transform: scale(1.2);
}

/* YouTube */
.fa-youtube {
    color: #FF0000; /* YouTube Red */
}

.fa-youtube:hover {
    color: #cc0000;
    transform: scale(1.2);
}


/* Optional: Adjust the timing for the SCROLL text to make it slower */
.Ver {
    animation-duration: 8s; /* Optional: Slower animation for SCROLL text */
}

/* Initial state for each word: hidden and off-screen */
.slide-in-word {
    opacity: 0; /* Initially hidden */
    transform: translateX(-100%); /* Move the word off-screen to the left */
    display: inline-block; /* Ensure words are inline-block */
    animation: slideIn 0.5s forwards; /* Apply animation */
}

/* Apply the fade and slide-in effect */
.animated-content {
    opacity: 0;
    transform: translateY(30px); /* Starts slightly below */
    animation: fadeInSlideUp 1.5s forwards;
    animation-delay: 0.5s; /* Delay before the animation starts */
}

/* Animation keyframes */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px); /* Start from below */
    }
    50% {
        opacity: 0.5;
        transform: translateY(15px); /* Move upwards a bit */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Final position (fully visible) */
    }
}

/* Apply staggered effect to the paragraphs */
.para {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1.5s forwards;
}

/* Add individual delays for each paragraph */
.para:nth-child(1) {
    animation-delay: 1s; /* First paragraph delay */
}

.para:nth-child(2) {
    animation-delay: 1.5s; /* Second paragraph delay */
}

.para:nth-child(3) {
    animation-delay: 2s; /* Third paragraph delay */
}

.para:nth-child(4) {
    animation-delay: 2.5s; /* Fourth paragraph delay */
}

.para:nth-child(5) {
    animation-delay: 3s; /* Fifth paragraph delay */
}

.para:nth-child(6) {
    animation-delay: 3.5s; /* Sixth paragraph delay */
}
.para:nth-child(7) {
    animation-delay: 4s; /* Sixth paragraph delay */
}

button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1.5s forwards;
    animation-delay: 4s; /* Button delay */
}




.card {
    background-color:#D32F2F;
    color: #fff;
    height: 265px;
    width: 250px;
}


 body{
            background-color:#000 !important;
            color: #fff;
        }

       
        .navbar {
            position: sticky;
            top: 0;
            z-index: 999;
            
        }

         .Ver{
            writing-mode: vertical-rl; 
         }

        p{
            font-family: "poppins", sans-serif;
            font-size: 16px;
        }
        
        h1{
           font-family: "Nunito Sans", sans-serif;
        }
        h2{
           font-family: "Nunito Sans", sans-serif;
        }


.nav-link:focus, .nav-link:hover{
    color: #f4d50f !important;
}
        
.h2, h2{color: #f4d50f}
.card-scroll-container {
    display: flex;
    animation: auto-scroll 30s linear infinite; /* Adjust timing as needed */
    overflow: hidden; /* Hide the scrollbar */
}

.card-custom {
    flex: 0 0 auto;
    width: px; /* Adjust the width of your cards */
    margin-right: 20px; /* Space between cards */
}

/* Keyframe for the auto-scrolling effect */
@keyframes auto-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* This will scroll to the left */
    }
}

 /* Animated Vertical Line */
    .vertical-line {
        width: 2px;
        height: 50px; /* Adjust height as needed */
        background-color: #ffffff; /* Adjust color */
        animation: upDown 1.5s infinite alternate ease-in-out;
    }

    /* Animation for up-down movement */
    @keyframes upDown {
        from {
            transform: translateY(0);
        }
        to {
            transform: translateY(15px);
        }
    }

       .heading {
        font-size: 26px;
        font-weight: bold;
        color: #f4d50f;
    }
    .qut {
        font-size: 18px;
        font-style: italic;
        color: #444;
    }
    .auth {
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }
    .bg {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px;
    }
    .carousel-control-prev, .carousel-control-next {
        width: 5%;
    }

        .blc{
            color: black;            
        }
        .theme{
            color: #f4d50f;
        }

        .the2{
            color: #583f3f;
    background-color: #f4d50f;
    font-weight: 700;
        }

   .the2:hover{
            color: #fff;
    background-color: #ffdc00;
    font-weight: 700;
        }

        .blockquote-footer {
            color: #f4d50f;
            line-height: 1.6;
            font-size: 1.2 rem;

        }
        .blockquote {
           line-height: 1.6;
            font-size: 1.2 rem;
            font-style: italic; 
        }
        
        .scrolling-container {
            width: 100%;
            overflow: hidden;
          padding: 20px 0;
            white-space: nowrap;
            position: relative;
        }

        .scrolling-wrapper {
            display: flex;
            gap: 30px; /* Space between logos */
            animation: scroll 30s linear infinite;
        }

        .scrolling-container:hover .scrolling-wrapper {
            animation-play-state: paused; /* Pause animation on hover */
        }

        .scrolling-wrapper img {
            height: 100px; /* Set height for rectangular logos */
            width: auto;
            object-fit: contain;
            padding: 10px;
            background-color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }

        @keyframes scroll {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-100%);
            }
        }

        @keyframes scroll-left {
            from {
                transform: translateX(100%); /* Start from outside the container */
            }
            to {
                transform: translateX(-100%); /* End outside the container */
            }
        }
        .icn{
            width:100px;
            height:100px;
            margin-bottom:20px   }


        .abt{
                width:130px;
            height:130px;
            margin-bottom:20px 
            }
        .btm {
            width: 150px;
            height: 65px;
            margin-bottom: 10px;
        }    

      

      .footer {
        background: #111;
        color: #ddd;
        padding: 50px 0;
        text-align: center;
    }
    
    .footer h4 {
        color: #f1c40f; /* Gold Accent */
        margin-bottom: 15px;
        font-size: 20px;
        font-weight: bold;
    }
    
    .footer-section p, .footer-links li a {
        color: #ccc;
        font-size: 15px;
    }
 /* Zoom effect */
    @keyframes zoom {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }

    /* Continuous magnify animation */
    @keyframes magnify {
      0% {
        transform: rotate(0deg);
      }
      50% {
        transform: rotate(45deg);
      }
      100% {
        transform: rotate(0deg);
      }
    }
    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin: 8px 0;
    }

    .footer-links li a {
        text-decoration: none;
        transition: 0.3s;
    }

    .footer-links li a:hover {
        color: #f1c40f;
    }

    .social-icons a {
        color: #f1c40f;
        font-size: 20px;
        margin: 0 8px;
        transition: 0.3s;
    }

    .social-icons a:hover {
        color: #ff3838;
    }

    .footer-bottom {
        background: #000;
        padding: 10px 0;
        margin-top: 20px;
    }

    /* Section Styling */
.detective-section {
    padding: 80px 20px;
}

/* Content Box */
.content-box {
     opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-in-out forwards;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.description {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
}

/* Button */
.btn-primary {
    background-color: #f4d50f;
    color: #444;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

/* Image Box */
.image-box img {
    border-radius: 12px;
    max-width: 100%;
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 1s ease-in-out forwards;
}

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* media page */

   
    /* Styling the hover effect */
    .hover-effect {
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

    .hover-effect:hover {
        transform: translateY(-10px);
        box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.3);
    }

    /* Image styling */
    .hover-effect img {
        border-radius: 10px;
        width: 100%;
        height: auto;
    }



/* contact  */
    .container {
       
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    }

  
    .shadow-box {
        background: white;
        color: #000;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
        text-align: center;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

    .shadow-box:hover {
        transform: translateY(-5px);
        box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.4);
    }

    /* Social Media Icons */
    .social-icons i {
        font-size: 24px;
        margin: 0 10px;
        color: #333;
        transition: color 0.3s ease-in-out;
    }

    .social-icons i:hover {
        color: #f39c12;
    }

    /* Contact Form */
    .form-control {
        background: #fff;
        border-radius: 5px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    .btn-warning {
        background: #f4d50f;
        border: none;
        padding: 10px 20px;
        font-weight: bold;
    }

    /* Google Map Styling */
    .map-container iframe {
        width: 100%;
        height: 300px;
        border-radius: 10px;
    }

      body {
            background-color: #f8f9fa;
        }
        .contact-card {
            background: #ffffff;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.5s ease forwards;
        }
        .contact-card:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        }
        .social-icons i {
            font-size: 24px;
            margin: 0 10px;
            color: #333;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        .social-icons i:hover {
            color: #007bff;
            transform: scale(1.2);
        }
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
            
            
        }