/********** Template CSS **********/
:root {
    --primary: #FF6B35;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #FFF4F0;
    --dark: #1A1A1A;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 50px;
    }
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 107, 53, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(45, 45, 45, 0.1) 100%);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(45, 45, 45, 0.1) 100%);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

/* Modern Business Consulting Enhancements */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #2D2D2D 100%);
}

.tech-focused-card {
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.tech-focused-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--primary);
}

.future-proofing-text {
    background: linear-gradient(135deg, var(--primary), #2D2D2D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.service-tab-modern {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-tab-modern:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.service-tab-modern.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.business-consulting-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #2D2D2D 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    color: white;
    text-align: center;
}

.insight-driven-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
}

/* Enhanced animations for business consulting */
@keyframes businessPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.business-pulse {
    animation: businessPulse 2s infinite;
}

/* Modern button styles for consulting */
.btn-consulting {
    background: linear-gradient(135deg, var(--primary), #2D2D2D);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-consulting:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Strategic insights styling */
.strategic-insights {
    position: relative;
    overflow: hidden;
}

.strategic-insights::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.strategic-insights:hover::before {
    left: 100%;
}

/* Enhanced navbar for business consulting */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand {
    color: var(--primary) !important;
}

.navbar-scrolled .nav-link {
    color: var(--tertiary) !important;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
    color: var(--primary) !important;
}

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Business consulting specific animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}

/* Carousel text readability improvements */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-caption h1 {
    color: #2D2D2D !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption .lead {
    color: #2D2D2D !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Carousel button alignment */
.carousel-caption .btn {
    margin-top: 1rem;
    margin-right: 1rem;
    display: inline-block;
    vertical-align: top;
}

.carousel-caption .btn-outline-light {
    border-color: #2D2D2D;
    color: #2D2D2D;
}

.carousel-caption .btn-outline-light:hover {
    background-color: #2D2D2D;
    border-color: #2D2D2D;
    color: white;
}

/* Ensure carousel doesn't overlap with navbar */
.carousel-container {
    margin-top: 120px;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .carousel-caption {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem !important;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
}

/* Animated Background with Orange Hue */
.animated-background {
  position: relative;
  background: radial-gradient(circle at center, #1A1A1A, #000000);
  overflow: hidden;
  color: white;
  padding: 100px 0;
}

/* Orange Hue Lighting Effect */
.animated-background::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
  animation: hueShift 12s infinite linear;
  z-index: 0;
}

@keyframes hueShift {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Layout */
.logo-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
  max-width: 1400px; /* increased for wider spacing */
  margin: 0 auto;
  gap: 60px; /* increased from 30px to add space between columns */
  padding: 0 60px; /* adds padding on both sides */
}

/* Button Columns */
.logo-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  width: 200px; /* slightly wider buttons */
  padding: 10px;
  flex-shrink: 0;
}

.left-column {
  align-items: flex-end;
  text-align: right;
  width: 220px
}

.right-column {
  align-items: flex-start;
  text-align: left;
}

/* Center Content */
.content-section {
  flex: 0 1 600px;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;  
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  backdrop-filter: blur(6px);
  animation: fadeIn 2s ease;
  min-width: 500px;
  max-width: 600px;
  margin: 0 auto;
}

.content-section h3 {
  color: #FF6B35;
  margin-bottom: 15px;
  font-size: 1.5rem;
  min-height: 2.5rem;
}

.content-section p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 3rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Service Buttons */
.service-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #fff;
  padding: 12px 16px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-width: 160px;
  max-width: 180px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.service-btn i {
  margin-right: 10px;
  color: #FF6B35;
}

.service-btn:hover,
.service-btn.active {
  background: rgba(255, 107, 53, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

/* Text Styling */
.content-section ul {
  list-style: none;
  padding: 0;
}

.content-section ul li::before {
  content: "✔";
  color: #FF6B35;
  margin-right: 10px;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.projects-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(45, 45, 45, 0.05) 100%);
    z-index: 0;
}

.projects-section .container {
    position: relative;
    z-index: 1;
}

/* Consistent Page Background */
body {
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f4 100%);
    min-height: 100vh;
}

/* About and Features Sections */
.container-xxl.py-5 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.container-xxl.py-5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.02) 0%, rgba(45, 45, 45, 0.02) 100%);
    z-index: 0;
}

.container-xxl.py-5 .container {
    position: relative;
    z-index: 1;
}

/* Service Section Background Override */
.animated-background {
    background: radial-gradient(circle at center, #1A1A1A, #000000) !important;
    margin: 0;
    border-radius: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .logo-layout {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
    gap: 20px;
  }

  .logo-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 8px;
    max-width: 600px;
    padding: 5px;
  }

  .content-section {
    margin: 20px 0;
    padding: 20px;
    min-width: 300px;
    max-width: 100%;
  }

  .service-btn {
    font-size: 13px;
    padding: 10px 14px;
    margin: 2px;
    min-width: 140px;
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .animated-background {
    padding: 60px 0;
  }

  .content-section {
    padding: 15px;
    margin: 20px 0;
  }

  .service-btn {
    font-size: 12px;
    padding: 6px 12px;
    margin: 3px;
  }

  .logo-column {
    gap: 5px;
  }
}


.faq-section {
    background: #111; /* dark black background */
    border-radius: 15px;
    color: #fff;
  }
  
  .accordion-item {
    background: rgba(255, 140, 0, 0.05); /* very light orange overlay */
    border: 1px solid rgba(255, 140, 0, 0.2);
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .accordion-item:hover {
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5); /* glowing orange on hover */
  }
  
  .accordion-button {
    background: rgba(255, 140, 0, 0.08); /* subtle orange */
    color: #ffa500; /* orange text */
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .accordion-button:not(.collapsed) {
    background: rgba(255, 140, 0, 0.3); /* active orange background */
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
  }
  
  .accordion-body {
    background: rgba(0,0,0,0.05); /* very subtle black overlay */
    color: #ffb84d; /* light orange for text inside */
  }
  
  .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.5);
  }

  .accordion-button::after {
    content: '+';
    font-size: 1.2rem;
    color: #ffa500;
    font-weight: bold;
  }
  
  .accordion-button:not(.collapsed)::after {
    content: '−';
  }
  

  .footer .text-end .btn-link {
    text-align: right;
  }