/*** Spinner Start ***/
:root {
  /* Vijay Transtech brand palette */
  --primary: #D32228 !important;       /* Primary Blue   - header/footer/navbar/brand framing */
  --secondary: #0E4B75 !important;     /* Accent Red     - buttons/CTA/interactive elements */
  --secondary-blue: #195078;           /* Secondary Blue - supporting brand elements & hover states */
  --accent-soft: #CC676A;              /* Soft Red Accent - subtle highlights, icons, badges */
  --light: #E0E4E9;                    /* Light Background - section backgrounds, cards, tables */
  --dark: #102A3A;                     /* Dark Text - primary body text, max contrast */
  --main-font: "Montserrat", sans-serif;

  /* Bridge into Bootstrap's own color variables so every component rule in
     this file that reads var(--bs-primary) / var(--bs-secondary) (carousel
     controls, services hover, project cards, team, testimonial dots,
     footer hover) follows the palette above automatically. */
  --bs-primary: var(--primary);
  --bs-primary-rgb: 14, 75, 117;
  --bs-secondary: var(--secondary);
  --bs-secondary-rgb: 211, 34, 40;
}

/* Bootstrap's compiled utility classes (bg-primary, btn-primary, etc.) ship
   with hardcoded hex colors rather than the CSS variables above, so they
   need to be overridden directly for the palette to actually apply. */
.bg-primary { background-color: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--secondary-blue) !important;
  border-color: var(--secondary-blue) !important;
}
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.bg-secondary { background-color: var(--secondary) !important; }
.text-secondary { color: var(--secondary) !important; }
.border-secondary { border-color: var(--secondary) !important; }
.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-secondary:disabled,
.btn-secondary.disabled {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

/* Small circular icon badges (contact info icons, etc.) get the softer
   accent tone instead of the full-strength CTA red, per the brand guide's
   "highlights, icons, badges" usage. */
.btn-square.rounded-circle.bg-secondary {
  background-color: var(--accent-soft) !important;
}

.bg-light { background-color: var(--light) !important; }

body {
  font-family: var(--main-font) !important;
  color: var(--dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 700 !important;
  font-family: var(--main-font);
  color: var(--dark);
}
h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 600 !important;
  font-family: var(--main-font);
}
h5,
h6,
.h5,
.h6,
.p,
.fw-semi-bold {
  font-weight: 500 !important;
  font-family: var(--main-font);
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 10s infinite;
    animation-timing-function: all;
    color: var(--light);
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--dark);
    font-size: 18px;
    outline: none;

}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.vtpl-navbar-wrap {
    box-shadow: 0 2px 12px rgba(16, 42, 58, 0.08);
}

.vtpl-logo {
    max-height: 65px;
    width: auto;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/* Services mega-menu: wide, 2-column panel with a colored header bar,
   instead of the default single-column Bootstrap dropdown. */
@media (min-width: 992px) {
    .vtpl-mega-services .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 24px;
        min-width: 330px;
        padding: 20px 24px 24px;
    }
}

.vtpl-mega-services .dropdown-menu::before {
    content: "Our Services";
    grid-column: 1 / -1;
    display: block;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--light);
    padding: 10px 16px;
    margin: -20px -24px 12px;
    border-radius: .375rem .375rem 0 0;
}

.vtpl-mega-services .dropdown-item {
    white-space: normal;
    padding: 10px 8px;
    border-bottom: 1px solid var(--light);
    transition: .25s;
}

.vtpl-mega-services .dropdown-item:hover,
.vtpl-mega-services .dropdown-item:focus {
    background: transparent;
    color: var(--primary);
    padding-left: 14px;
}

/* Resources mega-menu: same 2-column panel treatment as Services,
   with its own header label. */
@media (min-width: 992px) {
    .vtpl-mega-resources .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 24px;
        min-width: 300px;
        padding: 20px 24px 24px;
    }
}

.vtpl-mega-resources .dropdown-menu::before {
    content: "Resources";
    grid-column: 1 / -1;
    display: block;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--light);
    padding: 10px 16px;
    margin: -20px -24px 12px;
    border-radius: .375rem .375rem 0 0;
}

.vtpl-mega-resources .dropdown-item {
    white-space: normal;
    padding: 10px 8px;
    border-bottom: 1px solid var(--light);
    transition: .25s;
}

.vtpl-mega-resources .dropdown-item:hover,
.vtpl-mega-resources .dropdown-item:focus {
    background: transparent;
    color: var(--primary);
    padding-left: 14px;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 105%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: left;
}

.carousel-content {
    max-width: 760px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px 0;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/* Home -- Index Page */

/* About Start */
.section-title {
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 600;
}

.overview-card, .history-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.overview-card:hover, .history-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--primary);
    color: white;
    padding: 15px 20px;
    border-bottom: none;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
}


.tagline {
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
    margin: 20px 0;
    padding: 10px 15px;
    border-left: 4px solid var(--primary);
    background-color: rgba(255, 107, 0, 0.05);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .founder-img {
        width: 80px;
        height: 80px;
    }
}
/*  */
/* About End */



/*** Service Start ***/

/*** Service End***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/* Partner Logos */
.partner-group-label {
    letter-spacing: .08em;
    font-size: 14px;
}

.partner-logo-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 14px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(16, 42, 58, .06);
    transition: box-shadow .3s ease, transform .3s ease;
}

.partner-logo-card:hover {
    box-shadow: 0 10px 26px rgba(16, 42, 58, .14);
    transform: translateY(-4px);
}

.partner-logo-card img {
    max-height: 46px;
    max-width: 100%;
    transition: transform .3s ease;
}

.partner-logo-card:hover img {
    transform: scale(1.06);
}

/* Clients marquee ------------------------------------------------------- */
.client-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.client-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientMarqueeScroll 42s linear infinite;
}

.client-marquee:hover .client-marquee-track {
    animation-play-state: paused;
}

.client-marquee-item {
    flex: 0 0 auto;
    width: 168px;
    height: 92px;
    margin: 0 10px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(16, 42, 58, .06);
}

.client-marquee-item img {
    max-height: 40px;
    max-width: 100%;
    width: auto;
}

@keyframes clientMarqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .client-marquee-track {
        animation: none;
    }
}


/*** FAQs Start ***/
.faq-section .accordion .accordion-item {
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    border: none;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
   background: var(--primary);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
    background: var(--bs-light);
}

/*** FAQs End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

/*** Footer End ***/

.vtpl-eyebrow-classic {
    font-family: var(--main-font);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15.5px;
    letter-spacing: .12em;
    color: var(--secondary);
    margin-bottom: 10px;
}