﻿:root {
    --blue-900: #0d2b57;
    --blue-400: #3b82f6;
    --gray-200: #EBEBEB;
    --zinc-700: #3f3f46;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px; /* slim width */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* light background track */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #6ea7d2; /* your requested blue color */
    border-radius: 4px;
    border: 2px solid #f1f1f1; /* padding effect */
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #5b8cc0; /* slightly darker blue on hover */
    }

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: #6ea7d2 #f1f1f1;
}





.bg-blue-900 {
    background-color: var(--blue-900);
}

.bg-blue-400 {
    background-color: var(--blue-400);
}

.text-gray-200 {
    color: var(--gray-200);
}

.bg-gray-200 {
    background-color: var(--gray-200);
}

.text-zinc-700 {
    color: var(--zinc-700);
}

.border-gray-200 {
    border-color: var(--gray-200) !important;
}

.top-bar {
    font-size: 0.875rem;
    line-height: 1.25;
    position: relative;
}

/* Logo on left */
.left_up_corner {
    height: 33px;
    width: 70px;
    background-color: #6ea7d2;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0 0 50px 0;
}

/* Circles for theme */
.circle-btn {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid var(--gray-200, #ccc);
    display: inline-block;
}

/* Font size buttons */
.font-size-btn {
    width: 24px;
    height: 24px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

    .font-size-btn:hover,
    .font-size-btn:focus {
        border-color: white;
        outline: none;
    }

.border-end {
    border-right: 1px solid var(--gray-200, #ccc);
}

.social-icon {
    width: 16px;
    height: 16px;
}

.screen-reader-toggle {
    background: none;
    border: none;
    padding: 0;
    color: var(--gray-200, #ccc);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .screen-reader-toggle:hover,
    .screen-reader-toggle:focus {
        color: #fff;
        outline: none;
        text-decoration: underline;
    }

/* Example screen-reader mode styles */
.screen-reader-active * {
    outline: 2px solid yellow !important;
    background-color: #000 !important;
    color: #fff !important;
    /* Add more to enhance visibility */
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: row;
        align-items: center;
        /*gap: 5rem;*/
        padding-left: 0 !important;
    }

    .left_up_corner {
        position: static;
        margin-bottom: 5px;
        border-radius: 0 0 15px 0;
    }

    .top-left-section {
        justify-content: center !important;
        gap: 0.75rem;
    }

    .social-media {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .border-end {
        border-right: none;
        padding-bottom: 5px;
    }

    .contact-btn {
        font-size: 10px !important;
    }
}

/* Prevent horizontal overflow */
body, html {
    /*overflow-x: hidden;*/
}

.header_back {
    position: sticky;
    top: 0;
    z-index: 1030; /* Bootstrap navbar default is 1030 */
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
    width: 100%;
}

.logo_img {
    padding: 10px;
    width: 40%;
    margin-left: 3rem;
}

.contact-btn {
    background-color: #ff6d2c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    height: 35px;
    /*width: 133px;*/
    font-size: 15px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

    .contact-btn:hover {
        background-color: #df5214 !important;
        color: #ffffff !important;
        transition: background-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease !important;
    }

.log_search {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.log-tohome {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

.home-iconportal {
    color: #0a298e !important;
    border: none !important;
    cursor: pointer !important;
    margin-right: 20px;
}

    .home-iconportal:hover {
        color: black !important;
    }

.search-bar {
    display: flex;
    align-items: center;
    width: 290px;
    height: 35px;
    border: 1px solid #0e3753;
    border-radius: 20px;
    padding: 0 15px;
}

    .search-bar input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 12px;
        color: #0e3753;
        margin-left: 10px;
    }

@media (max-width: 768px) {
    .logo_img {
        padding: 10px;
        width: 70%;
        margin-top: 5px;
        margin-left: 0;
    }
}
/*banner*/
.banner {
    background: url(../Images/banner.png) no-repeat;
    min-height: 550px;
    background-size: cover;
    position: relative;
}

@media (max-width: 768px) {
    .banner {
        min-height: 400px;
        width: 100%;
        margin-bottom: 0.5rem;
        background-position: 50% 20%;
    }
}

.slider-container {
    position: absolute;
    height: 165px;
    bottom: 20px;
    right: 50px;
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.navSlider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff00;
    color: #0e3753;
    border: none;
    font-size: 24px;
    padding: 5px 12px;
    cursor: pointer;
    z-index: 10;
}

    .navSlider.left {
        left: 0px;
    }

    .navSlider.right {
        right: 0px;
    }

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: auto;
}

.info-card {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
}

    .info-card .info-content p {
        font-size: 0.8rem;
    }

.info-subtitle {
    font-size: 0.9rem;
}

.info-image {
    width: 124px;
    height: 149px;
    border-radius: 8px;
}

.info-content {
    margin-left: 20px;
}

.details-btn {
    background-color: #6ea7d2;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    height: 30px;
    width: 70%;
    font-size: 12px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .slider-container {
        right: 0;
        left: 0;
        bottom: 10px;
        margin: auto;
        max-width: 90%;
        padding: 10px;
    }

    .info-card {
        padding: 10px;
    }

    .info-image {
        width: 100px;
        height: 120px;
    }

    .details-btn {
        width: 100%;
    }
}




/*Tab List*/

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    font-weight: 600;
}

    .nav-tabs .nav-link:hover {
        color: #6EA7D2;
        font-weight: 600;
        border-block-style: none;
    }

    .nav-tabs .nav-link.active {
        color: #6EA7D2;
        border-bottom: 2px solid red;
        background-color: #ffffff;
        font-weight: 600;
    }

.tab-content .icon-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .tab-content .icon-box i {
        font-size: 1.5rem;
        padding: 6px 12px;
        border-radius: 6px;
        background-color: #e0e0e0;
    }

    .tab-content .icon-box p {
        font-size: 0.8rem;
    }

.icon-box:hover {
    transform: translateY(-5px);
}







/*service list slider*/
.rectangle {
    height: 300px;
    background: linear-gradient( 180deg, rgba(110, 167, 210, 1) 0%, rgba(38, 55, 135, 1) 100% );
}

.Serv-cards-section {
    background: linear-gradient(180deg, #6ea7d2 0%, #263787 100%);
    padding: 40px 20px;
    position: relative;
}

.Serv-cards-slider {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    padding: 10px 5px;
    will-change: transform;
}

.Serv-card {
    flex: 0 0 calc(25% - 15px); /* 4 cards per view */
    min-width: 240px;
    max-width: 100%;
    height: 238px;
    border-radius: 16px;
    padding: 20px 25px;
    background-color: #fff;
    transition: transform 0.3s;
    position: relative;
}

    .Serv-card.gray {
        background-color: #ebebeb;
    }

.Serv-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #0e3753;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.Serv-card-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: #3f444c;
    margin-bottom: 10px;
}

.Serv-card-text {
    font-size: 15px;
    font-weight: 400;
    color: #0e3753;
    line-height: 20px;
    margin-bottom: 10px;
}

.Serv-card-list {
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
    font-size: 10pt;
    color: #0d4478;
}

.read-more-btn {
    position: absolute;
    bottom: -5px;
    left: 32%;
    display: inline-block;
    margin-top: 10px;
    color: white;
    background-color: #a7a7a7;
    padding: 3px 16px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .read-more-btn:hover {
        background-color: #0056b3;
        cursor: pointer;
        color: #fff;
    }


.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff00;
    color: #0e3753;
    border: none;
    font-size: 30px;
    padding: 5px 12px;
    cursor: pointer;
    z-index: 10;
}

    .slider-arrow.left-arrow {
        left: 0px;
    }

    .slider-arrow.right-arrow {
        right: 0px;
    }
/* Responsive */
@media (max-width: 992px) {
    .Serv-card {
        flex: 0 0 calc(50% - 15px); /* 2 per row */
    }
}

@media (max-width: 576px) {
    .Serv-card {
        flex: 0 0 100%; /* 1 per row */
    }

    .contact-btn {
        font-size: 10px !important;
        height: auto;
    }
}

/*Upeer footer*/
.up_footer {
    background-color: #232f44;
}

.text-title {
    color: #6EA7D2;
}

.footer-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

    .footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 50px;
        height: 2px;
        background-color: #ff6d2c;
    }

    .footer-title::before {
        content: '';
        position: absolute;
        left: 60px;
        bottom: -10px;
        width: 10px;
        height: 2px;
        background-color: #ff6d2c;
    }
/*footer*/
.footer {
    background-color: #263787;
    color: #fff;
}
/*gallery*/
.gallery-title {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    color: #3f444c;
    margin-bottom: 30px;
}

    .gallery-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: -10px;
        width: 53px;
        height: 4px;
        background-color: #6ea7d2;
    }

.custom-tabs .nav-link {
    font-weight: 500;
    color: #333;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
}

    .custom-tabs .nav-link.active {
        border-color: #0d6efd;
        color: #0d6efd;
    }

.custom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

    /*.custom-gallery-grid .gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}*/

    .custom-gallery-grid img {
        /*width: 100%;
  height: auto;
  display: block;*/
        transition: transform 0.3s ease;
    }

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Column-specific layout */
.column-1 {
    display: flex;
    align-items: center;
}

.column-2,
.column-4 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.column-3 img {
    height: 100%;
    object-fit: cover;
}

.column-5 {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .custom-gallery-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

        .custom-gallery-grid .grid-col {
            width: 100%;
            max-width: 500px;
        }

    .column-1,
    .column-2,
    .column-3,
    .column-4,
    .column-5 {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/*iframe {
    border: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}*/
/* Button styling */
#scrollUpBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    border: none;
    outline: none;
    background-color: #6ea7d2; /* Your preferred color */
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.3s;
}

    #scrollUpBtn:hover {
        background-color: #6f92cf;
        color: #fff;
    }


.tab-iconimg {
    width: 70px;
    height: 70px;
}


.igr-view-btn {
    background: linear-gradient(180deg, #6ea7d2 0%, #263787 100%);
    color: #fff;
    font-weight: 600;
    padding: 7px 17px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.2);
    transition: all 0.3s ease-in-out;
}

    .igr-view-btn:hover {
        background: linear-gradient(135deg, #0b5ed7, #2563eb);
        box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
        color: white;
        transform: translateY(-2px);
    }
