﻿
/* Medium Devices (Tablets) */
@media (max-width: 768px) {
    .search-bar input {
        width: 70%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .card {
        margin-bottom: 15px;
    }

    .col-md-10 {
        width: 100%;
    }

    .before-title {
        font-size: 50px;
        color: #1e1e1e;
        line-height: 1.2;
        letter-spacing: -1.5px;
        margin: 0 auto 20px;
    }

    .p_scren {
        margin-left: 1%;
    }

    .search-bar {
        position: relative;
        width: 400px;
        margin: 20px auto; /* Center on page horizontally */
    }

        .search-bar input[type="text"] {
            width: 100%;
            padding: 10px 35px 10px 35px; /* Extra padding on the left and right for the icon */
            text-align: left; /* Align text to the left */
            font-size: 16px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-radius: 5px;
            outline: none;
            transition: all 0.3s ease; /* Smooth transition */
        }

            .search-bar input[type="text"]:focus {
                border: 1px solid #DECEF2; /* Blue border on focus */
                box-shadow: 0 0 5px #DECEF2; /* Optional: Blue glow effect */
            }

        .search-bar .bi-search {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            font-size: 18px;
            pointer-events: none; /* Icon is non-clickable */
        }

}

/* Large Devices (Desktops) */
@media (max-width: 992px) {
    .search-bar input {
        width: 75%;
    }

    .hero {
        padding: 50px 0;
    }

    .before-title {
        font-size: 50px;
        color: #1e1e1e;
        line-height: 1.2;
        letter-spacing: -1.5px;
        margin: 0 auto 20px;
    }

    .p_scren {
        margin-left: 1%;
        width: 100%;
    }

    .sidebar {
        position: sticky;
        top: 80px;
        height: calc(100vh - 20px);  /*full height minus the top offset */
        overflow-y: auto;  /*vertical scroll if content is long*/ 
    }

}

/* Extra Large Screens */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 47px;
    }

    .search-bar input {
        width: 40%;
    }

    .before-title {
        font-size: 50px;
        color: #1e1e1e;
        line-height: 1.2;
        letter-spacing: -1.5px;
        margin: 0 auto 20px;
        width: 45%;
    }

    .p_scren {
        margin-left: 1%;
        width: 100%;
    }

    .sidebar {
        position: sticky;
        top: 80px;
        height: calc(100vh - 20px); 
        overflow-y: auto;  
    }
}


body {
    font-family: "Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;
    overflow-x: hidden;
}

.mt-3 {
    margin-top: -26px !important;
}

.logo {
    height: 40px;
}

/*.hero {
    background: linear-gradient(16deg, rgba(42 58 130) 0%, rgba(41 50 124) 30%, rgba(0,212,255,1) 100%);
    padding: 50px 0;
    background-size: 300% 300%;
    animation: gradientAnimation 10s ease-in-out infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}*/


.hero {
    background: linear-gradient(135deg, #aee2ff, /* Light Blue */
    #c4b5fd, /* Soft Purple */
    #fbc2eb, /* Light Pink */
    #aee2ff /* Light Blue */
    );
    background-size: 400% 400%;
    animation: gradientAnimation 10s infinite alternate;
    width: 100%;
    padding: 90px  0;
}

/* Optional animation for a subtle effect */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.search-bar input {
    margin: 0 auto;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #c5c2c2;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.icon {
    font-size: 40px;
    color: #2c458a;
    margin-bottom: 10px;
}

.list-group-item {
    cursor: pointer;
}

    .list-group-item:hover {
        background: #f8f9fa;
    }


.text-center {
    text-align: center !important;
    cursor: pointer;
    font-size: 14px;
}

.list-group-item {
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

    .list-group-item.active {
        background-color: #e3e0e0;
        color: #000000;
        font-weight: bold;
        border-color: #e3e0e0;
        border-radius: 5px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

.p_logos {
    height: 65px
}


.dropdown-menu {
    width: 800px; /* Adjust width */
}

