@font-face {
    font-family: 'Nexa FF';
    src: url('../fonts/NexaRustScriptL-0.otf') format('opentype');
}

:root{
    --tr-main: #333399;
    --tr-main-rgb: 51, 51, 153;
    --tr-main-dark: #08087d;
}

::-moz-selection {
    color: #fff;
    background: var(--tr-main-dark);
}

::selection {
    color: #fff;
    background: var(--tr-main-dark);
}

/*========================scrollbar=======================*/
/* width */
::-webkit-scrollbar {
    width: 0.5rem;
    border-radius: 0.3em;
  }
  
/* Track */
::-webkit-scrollbar-track {
    --bs-text-opacity: 0.3;
    box-shadow: inset 0 0 5px rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    --bs-text-opacity: 0.6;
    background: rgba(var(--tr-main-rgb), var(--bs-text-opacity));
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    --bs-text-opacity: 1;
    background: rgba(var(--tr-main-rgb), var(--bs-text-opacity)); 
}

body{
    font-family: "Poppins", sans-serif;
}

.ff-nexa{
    font-family: "Nexa FF", cursive;
}
a{
    text-decoration: none;
}

.text-main{
    color: var(--tr-main);
}

.bg-main{
    background-color: var(--tr-main);
}
.btn-main{
    background-color: var(--tr-main);
    color: var(--bs-white);
}
.btn-main:hover{
    background-color: var(--tr-main-dark);
    color: var(--bs-white);
}

.tr-section-paddings{
    padding-top: 40px;
    padding-bottom: 40px;
}
.tr-section-margins{
    margin-top: 40px;
    margin-bottom: 40px;
}
@media(min-width:768px){
    .tr-section-paddings{
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .tr-section-margins{
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

/*cursor*/
@media (min-width: 991px){
    .trcursor{
        position: fixed;
        left: 0;
        top: 0;
        display: none;
        width: 30px;
        height: 30px;
        border: 1px solid  var(--tr-main-dark);
        border-radius: 50%;
        z-index: 9999;
        transform: translate(-50%,-50%);
        pointer-events: none;
        transition: 0.1s;
    }
    .trcursora{
        position: fixed;
        left: 0;
        top: 0;
        display: none;
        width: 8px;
        height: 8px;
        background-color: var(--tr-main-dark);
        border-radius: 50%;
        z-index: 9999;
        transform: translate(-50%,-50%);
        pointer-events: none;
        transition: 0.08s;
    }
    .trcursorah{
        width: 22px;
        height: 22px;
        --bs-opacity: 0.4;
        background-color: rgba(var(--tr-main-rgb), var(--bs-opacity));
    }
    .trcursorhb{
        border: 1px solid var(--bs-light)
    }
    .trcursorahb{
        --bs-opacity: 0.4;
        background-color: rgba(var(--bs-light-rgb), var(--bs-opacity));
    }
    .trcursorhba{
        border: 1px solid var(--bs-dark)
    }
    .trcursorahba{
        --bs-opacity: 0.4;
        background-color: rgba(var(--bs-dark-rgb), var(--bs-opacity));
    }
}

/* ================= Navbar ================== */

.header-tata-logo{
    width: 8rem
}

.header-trinetra-logo{
    width: 8rem
}

.login-button{
    margin-top: 2.5rem;
}

/* ================= hero section ================== */

.hero-container{
    width: 100%;
    height: calc(100vh - 95px);
    overflow: hidden;
    position: relative;
}
.hero-video{
    width: 100%;
    height: calc(100vh - 95px);
    object-fit: cover;
    object-position: left bottom;
}

@media(max-width:768px){
    .hero-container{
        display: none;
    }
}


/* =================== trinetra introduction =============== */
.trinetra-intro{
    padding-top: 20px;
}

@media(min-width:768px){
    .trinetra-intro{
        padding-bottom: 400px;
    }
}


/* =============== service cards ================ */
.tr-service-card .card .card-img-top{
    height: 380px;
    object-fit: cover;
}
.tr-service-card-icon{
    width: 80px;
    height: 80px;
    background-color: var(--tr-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
    margin-bottom: 20px;
}
.tr-service-card-icon img{
    width: 60px;
    height: 60px;
}
@media(min-width: 768px){
    .tr-service-cards{
        padding-top: 0px;
    }
    .tr-service-cards .container{
        transform: translateY(-380px);
        margin-bottom: -380px;
    }
    .card-body{
        padding-bottom: 48px;
    }
    .card-btn{
        position: absolute;
        margin-top: 16px;
        bottom: 16px;
    }
}
@media(min-width:991px){
    .tr-service-card:nth-child(1){
        padding-right: 40px;
    }
    .tr-service-card:nth-child(2){
        padding-left: 20px;
        padding-right: 20px;
    }
    .tr-service-card:nth-child(3){
        padding-left: 40px;
    }
}

/* ================= tr ai camera section ============= */
@media(min-width:768px){
    .tr-ai-camera-section{
        border-left: 3rem solid var(--tr-main);
    }
    .tr-ai-camera-section .container{
        padding-left: -3rem;
    }
}
.tr-ai-camera-section .tr-ai-camera-section-head-img{
    width: 80px;
    padding-right: 20px;
}

.tr-ai-camera-section .accordion{
    --bs-accordion-btn-focus-box-shadow: 0px;
}

.tr-ai-camera-section .accordion-button{
    font-weight: 500;
}
.tr-ai-camera-section .accordion-button::after{
    content: none;
}
.tr-ai-camera-section .accordion-button::before{
    content: '\EA11';
    font-family: remixicon;
    margin-right: 0.6rem;
}
.tr-ai-camera-section .accordion-button:not(.collapsed) {
    background-color: transparent;
    font-weight: 600;
    color: var(--bs-dark);
}
.tr-ai-camera-section .accordion-button:not(.collapsed)::before {
    content: '\EE57';
    font-family: remixicon;
    margin-right: 0.6rem;
}


/* ================= tr 360 camera section ============= */
@media(min-width:768px){
    .tr-sec-camera-section{
        border-right: 3rem solid var(--tr-main);
    }
    .tr-sec-camera-section .container{
        padding-right: -3rem;
    }
}
.tr-sec-camera-section .tr-sec-camera-section-head-img{
    width: 80px;
    padding-right: 20px;
}

.tr-sec-camera-section .accordion{
    --bs-accordion-btn-focus-box-shadow: 0px;
}

.tr-sec-camera-section .accordion-button{
    font-weight: 500;
}

.tr-sec-camera-section .accordion-button::after{
    content: none;
}
.tr-sec-camera-section .accordion-button::before{
    content: '\EA11';
    font-family: remixicon;
    margin-right: 0.6rem;
}
.tr-sec-camera-section .accordion-button:not(.collapsed) {
    background-color: transparent;
    font-weight: 600;
    color: var(--bs-dark);
}
.tr-sec-camera-section .accordion-button:not(.collapsed)::before {
    content: '\EE57';
    font-family: remixicon;
    margin-right: 0.6rem;
}

/* ================= tr drone camera section ============= */
@media(min-width:768px){
    .tr-drone-camera-section{
        border-left: 3rem solid var(--tr-main);
    }
    .tr-drone-camera-section .container{
        padding-left: -3rem;
    }
}
.tr-drone-camera-section .tr-drone-camera-section-head-img{
    width: 80px;
    padding-right: 20px;
}

.tr-drone-camera-section .accordion{
    --bs-accordion-btn-focus-box-shadow: 0px;
}
.tr-drone-camera-section .accordion-button{
    font-weight: 500;
}
.tr-drone-camera-section .accordion-button::after{
    content: none;
}
.tr-drone-camera-section .accordion-button::before{
    content: '\EA11';
    font-family: remixicon;
    margin-right: 0.6rem;
}
.tr-drone-camera-section .accordion-button:not(.collapsed) {
    background-color: transparent;
    font-weight: 600;
    color: var(--bs-dark);
}
.tr-drone-camera-section .accordion-button:not(.collapsed)::before {
    content: '\EE57';
    font-family: remixicon;
    margin-right: 0.6rem;
}

/* footer credit */
.footer-credit-img{
    max-height: 2.8rem;
}