/********** Template CSS **********/
:root {
    --primary: #1363C6;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
/*    background: linear-gradient(90deg, #00D1FF, #7B61FF);*/
    background: #fff;
}

.navbar {
    padding: 11px 0 !important;
/*    height: 75px;*/
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
/*    color: rgba(255, 255, 255, .7);*/
    color: #000;
    font-weight: 600;
    outline: none;
    font-size:20px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
/*    color: rgba(255, 255, 255, 1);*/
/*color: #0156eb !important;*/
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus
{
     color:#17a4fc !important;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}



/* custom code css */

/* =========================================
   REVEAL SECTION
========================================= */

.reveal-section{
    position: relative;
    background: #f5f5f2;
    height: 220vh;
}

/* =========================================
   STICKY FULL IMAGE
========================================= */

.sticky-full-image{
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.sticky-full-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   CONTENT WRAPPER
========================================= */

.content-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    min-height: 100vh;
    background: transparent;
}

/* =========================================
   HALF IMAGE
========================================= */

.half-image{
    height: 100vh;
    overflow: hidden;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

.half-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   CONTENT BOX
========================================= */

.content-box{
    background: #f5f5f2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
}

/* Small Title */
.mini-title{
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 30px;
    display: inline-block;
}

/* Heading */
.content-box h2{
    font-size: 64px;
    line-height: 1.2;
    font-weight: 500;
    color: #111;
    max-width: 700px;
}

/* =========================================
   MAGIC EFFECT
========================================= */

/*
As user scrolls:
1. Half image + content visible
2. Sticky full image behind
3. When content scrolls away,
   full image automatically revealed
4. Creates exact Zoox-style effect
*/

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1400px){

    .content-box h2{
        font-size: 54px;
    }
}

@media(max-width:991px){

    .reveal-section{
        height: auto;
    }

    .sticky-full-image{
        position: relative;
        height: 70vh;
    }

    .content-wrapper{
        position: relative;
    }

    .half-image{
        height: 500px;
        border-radius: 0;
    }

    .content-box{
        height: auto;
        padding: 70px 40px;
    }

    .content-box h2{
        font-size: 42px;
    }
}

@media(max-width:767px){

    .content-box{
        padding: 50px 25px;
    }

    .content-box h2{
        font-size: 32px;
        line-height: 1.3;
    }
}

/* =========================================
   WHY AUTONOMY SECTION
========================================= */

.why-autonomy-section{
    padding: 140px 0;
    background: #f6f5f2;
    overflow: hidden;
}

/* =========================================
   TITLE
========================================= */

.section-title{
    margin-bottom: 80px;
}

.section-title h2{
    font-size: 92px;
    font-weight: 500;
    color: #111;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* =========================================
   ACCORDION
========================================= */

.autonomy-accordion{
    width: 100%;
}

/* Item */
.autonomy-item{
    border-bottom: 1px solid #1d1d1d;
    padding: 35px 0;
}

/* Header */
.autonomy-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 30px;
}

/* Heading */
.autonomy-header h3{
    font-size: 52px;
    font-weight: 400;
    color: #111;
    margin: 0;
    transition: all .3s ease;
}

/* Icon */
.autonomy-header .icon{
    font-size: 46px;
    line-height: 1;
    color: #111;
    transition: all .3s ease;
}

/* Content */
.autonomy-content{
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease;
}

/* Active */
.autonomy-item.active .autonomy-content{
    max-height: 300px;
    padding-top: 30px;
}

.autonomy-item.active .autonomy-header h3{
    color: #000;
}

/* Paragraph */
.autonomy-content p{
    font-size: 24px;
    line-height: 1.8;
    color: #333;
    max-width: 90%;
    margin: 0;
}

/* =========================================
   IMAGE
========================================= */

.autonomy-image{
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.autonomy-image img{
    width: 100%;
    border-radius: 0;
    object-fit: cover;
}

/* =========================================
   HOVER EFFECT
========================================= */

.autonomy-item:hover .autonomy-header h3{
    transform: translateX(10px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1400px){

    .section-title h2{
        font-size: 72px;
    }

    .autonomy-header h3{
        font-size: 42px;
    }

    .autonomy-content p{
        font-size: 20px;
    }
}

@media(max-width:991px){

    .why-autonomy-section{
        padding: 100px 0;
    }

    .section-title{
        margin-bottom: 50px;
    }

    .section-title h2{
        font-size: 58px;
    }

    .autonomy-header h3{
        font-size: 34px;
    }

    .autonomy-content p{
        font-size: 18px;
        max-width: 100%;
    }

    .autonomy-image{
        position: relative;
        top: 0;
        margin-top: 50px;
    }
}

@media(max-width:767px){

    .section-title h2{
        font-size: 44px;
    }

    .autonomy-header h3{
        font-size: 26px;
    }

    .autonomy-header .icon{
        font-size: 34px;
    }

    .autonomy-content p{
        font-size: 16px;
        line-height: 1.8;
    }
}

/* =========================================
CONTACT INFO SECTION
========================================= */

.contact-info-section{
    background: #f4f9ff;
    position: relative;
    overflow: hidden;
}

/* Premium Glow Effects */
.contact-info-section::before{
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(23,164,252,0.18) 0%, transparent 70%);
    top: -180px;
    left: -120px;
    border-radius: 50%;
}

.contact-info-section::after{
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(1,86,235,0.12) 0%, transparent 70%);
    bottom: -120px;
    right: -100px;
    border-radius: 50%;
}

.contact-badge{
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(23,164,252,0.10);
    border: 1px solid rgba(23,164,252,0.25);
    color: #0156eb;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-title{
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        #384558,
        #0156eb,
        #17a4fc
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle{
    color: #5b6777;
    font-size: 17px;
    max-width: 700px;
    margin: auto;
}

/* Premium Cards */
.contact-card{
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(23,164,252,0.15);
    border-radius: 30px;
    padding: 15px 10px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.05),
        0 0 25px rgba(23,164,252,0.06);
}

/* Top Glow */
.contact-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        #0156eb,
        #17a4fc
    );
}

/* Hover Effect */
.contact-card:hover{
    transform: translateY(-10px);
    border-color: rgba(23,164,252,0.35);
    box-shadow:
        0 20px 45px rgba(1,86,235,0.12),
        0 0 35px rgba(23,164,252,0.15);
}

/* Icon */
.contact-iconn{
    width: 90px;
    height: 90px;
    margin: auto auto 25px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #0156eb,
        #17a4fc
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--pure-white);
    box-shadow:
        0 12px 25px rgba(23,164,252,0.25);
    transform: rotate(-3deg);
    transition: 0.4s;
}

.contact-card:hover .contact-iconn{
    transform: rotate(0deg) scale(1.05);
}

.contact-card h4{
    color: #384558;
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 800;
}

.contact-card p{
    color: #5f6b7b;
    margin: 0;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 500;
}

/* Mobile Responsive */
@media(max-width:768px){

    .contact-title{
        font-size: 2rem;
    }

    .contact-card{
        padding: 35px 20px;
    }

    .contact-iconn{
        width: 75px;
        height: 75px;
        font-size: 28px;
    }

}