/* ==============================
   Custom CSS Stylesheet
   Author: Your Name
   ============================== */

/* Variables for consistent styling */
:root {
    --primary-color: #007bff;
    --primary--darkblue: #0c3655;
    --primary--skyblue: #1A8DE1;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #454c53;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #8d8e8e;
}

/* Global Styles */
body {
    font-family: "Playfair Display", serif;
    color: var(--text-color) !important;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Navbar */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    position: relative;
    height: 50px;


}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    
}

.nav-link {
    color: var(--text-color) !important;
    transition: color var(--transition-speed) !important;
    font-weight: 700 !important;
    padding-right: 35px !important;
    transition: all .2s;
    border-bottom: .09rem solid #0000;
}

.nav-link:hover {
    border-bottom-color: var(--primary--darkblue);
    padding-top: .25rem;
    padding-bottom: .75rem;
    font-weight: 600;
    color: var(--primary--skyblue) !important;
}

.nav-link.active {
    color: var(--primary--skyblue) !important;
    border-bottom-color: var(--primary--darkblue);
}

.btn {
    transition: all .2s;
}

.btn:hover {
    background-color: var(--primary--darkblue) !important;
}

.btn.join:hover {
    border: 1px solid #fff !important;
    background-color: transparent !important;
}

.logo {
    filter: brightness(0) saturate(100%) invert(46%) sepia(48%) saturate(1350%) hue-rotate(173deg) brightness(91%) contrast(95%);
}

section {
    position: relative;
}


/* Utility Classes */
.text-center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lightblue {
    color: var(--primary--skyblue) !important;
    transition: color 0.5s ease-in-out;
}

.bg-darkblue {
    background-color: var(--primary--darkblue) !important;
}

.bg-lightblue {
    background-color: var(--primary--skyblue) !important;
}

.border-lightblue {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    font-size: 7.5rem;
    color: var(--primary--darkblue) !important;
    font-weight: 600 !important;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}

.btn:hover {
    background-color: #0056b3;
    /* Darker shade of primary color */
}

/* Input Group */
.input-group .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.input-group .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.box {
    margin-left: 20px;
}

.contact-form .form-control::placeholder {
    color: #ccc;
    opacity: 1;
    /* Ensure full visibility */
}


/*************** Custom Css **********************/


.tl li {
    opacity: 0.2;
    transition: opacity 0.5s ease-in-out;
}

.timeline-container {
    margin: auto;
    display: block;
    position: relative;
}

.timeline-container ul.tl {
    margin: 20px 0;
    padding: 0;
    display: inline-block;

}

.timeline-container ul.tl li {
    list-style: none;
    margin: auto;
    min-height: 50px;
    border-left: 3px solid #fff;
    padding: 0 0 60px 50px;
    position: relative;
    display: flex;
    flex-direction: row;
}

.timeline-container ul.tl li:last-child {
    border-left: 0;
}

.timeline-container ul.tl li .item-icon {
    position: absolute;
    left: -12px;
    top: 13px;
    content: " ";
    border-radius: 500%;
    background: #000;
    height: 20px;
    width: 20px;
}

.timeline-container ul.tl li:hover::before {
    border-color: #258CC7;
    transition: all 1000ms ease-in-out;
}

ul.tl li .item-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

ul.tl li .item-title {
    font-size: 30px;
}

ul.tl li .item-detail {
    color: #fff;
    margin-top: 10px;
}

ul.tl li .item-timestamp {
    color: #8D8D8D;
    font-size: 12px;
    text-align: right;
    padding-left: 20px;
}


/* Footer */
.footer {
    background-color: var(--primary--darkblue);
    color: white;
}

.footer-menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-menu li {
    display: inline;
    padding-right: 20px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-menu a:hover {
    color: var(--primary--skyblue);
}

.footer .social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .footer-menu i {
    padding-right: 15px;

}

.whybox {
    margin-left: 20px;
    width: 65%;
}

.whybox h3 {
    font-weight: 600;
}


.use-cases-content .d-flex {
    opacity: 0.2;
    transition: opacity 0.5s ease-in-out;
}

.timeline-buttons {
    width: 25%;

}
.fs-33 {
    font-size: 30px !important;

}

/* Responsive Design */
@media only screen and (max-width: 767px) {
    .container {
        padding: 10px;
    }

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

    .margin-80 {
        margin-top: 30px !important;
    }

    .timeline-button {
        width: 35%;

    }
    .timeline-buttons {
        width: 45%;

    }


    .use-cases-title {
        position: relative;
        transition: all 0.3s ease-in-out;
    }
    /* Navbar */
.navbar {
    height: 80px;

}

.fs-33 {
    font-size: 15px !important;

}
}

@media only screen and (min-width: 767px) {
    .margin-80 {
        margin-top: 80px !important;
    }

    .timeline-button {
        width: 25%;
    }

    .use-cases-title {
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .use-cases-title.fixed {
        position: fixed;
        top: 20px;
        width: 40%;
        z-index: 1000;
    }
}

/* Marquee Container */
.logo-marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 100%;
    background: #f8f9fa;
    padding: 20px 0;
}

/* Scrolling Track */
.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 10s linear infinite;
    will-change: transform;
}

/* Logo Styling */
.marquee-track img {
    height: 60px; /* Adjust logo size */
    width: auto;
}

/* Marquee Animation */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .marquee-track {
        animation: marquee 9s linear infinite; /* Increase speed for mobile */
        gap: 10px; /* Reduce gap for better spacing on small screens */
        min-width: 400%; /* Ensure more logos are visible */
    }

    .marquee-track img {
        height: 35px; /* Adjust logo size for mobile */
    }
}



.product-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-image {
    max-width: 100%;
    height: auto;
}

.product-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 15px;
}

.product-description {
    font-size: 0.95rem;
    color: #555;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Popup Card */
.popup-card {
    display: none;
    position: fixed;
    top: 20%;
    right: 0%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 500px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
}

/* Close Button */
.close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 18px;
    color: black;
}

/* Email Input */
.email-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Subscribe Button */
.subscribe-btn {
    background-color: #001f3f;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.subscribe-btn:hover {
    background-color: #003366;
}

/* Note */
.note {
    font-size: 12px;
    color: gray;
    margin-top: 10px;
}



.animated-bg {
    position: relative;
    width: 100%;
    height: 90vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the background */
    z-index: -1; /* Places the video behind the content */
}

.container {
    position: relative;
    z-index: 1; /* Ensures content stays above the video */
}
.med-size {
    max-width: 70% !important;
}

/* General Navbar Styling */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    position: relative;
}

/* Ensure full-width dropdown on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        height: 0;
        transition: all 0.3s ease-in-out;
    }

    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        height: auto;
        padding-bottom: 15px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        flex-direction: column;
        text-align: left;
        padding-left: 20px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
        margin-left: 20px;
    }

    /* Push content down when navbar expands */
    body.navbar-expanded {
        padding-top: 250px; /* Adjust based on navbar height */
    }
}


.img-custom {
    width: 180px !important;
    height: 100px !important;
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the area */
    mix-blend-mode: lighten;
    background-color: rgba(220, 235, 255, 0.2); 
    margin: 30px 30px !important;
  }
  
    .fs-48 {
    font-size: 12px !important;
  }
  

  @media only screen and (max-width: 480px) {
    .fs-47 {
      font-size: 12px !important;
    }
  
    .btn {
      font-size: 12px !important;
      padding: 5px 12px;
    }
  }