/* GLOBAL STYLES
/* Consistent Card Font Sizes */

.grecaptcha-badge {
    visibility: hidden !important;
}

.card h5,
.card .card-title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}
.card p,
.card .card-text {
    font-size: 1.08rem;
    line-height: 1.6;
}
/* Add this to the top of style.css */
:root {
    --bd-primary-color: #712cf9;
    --bd-primary-rgb: 113, 44, 249;
    --bd-secondary-color: #ff7b5f;
}

/* Padding below the footer and lighter body text */

body {
    /*padding-top: 3rem;*/
    padding-bottom: 3rem;
    color: rgb(var(--bs-tertiary-color-rgb));
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Custom styles for Hero Carousel */
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-color: var(--bd-primary-color); /* Use your theme's primary color */
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50% 50%;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--bd-primary-color);
}

/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

/* HERO IMAGE FRAME EFFECT - ANGLED
-------------------------------------------------- */
.hero-image-container {
    /* Adds a bit of depth for 3D transforms if you ever want them */
    perspective: 1000px;
}

.hero-image-container img {
    /* A standard box-shadow works better for hard-edged shapes */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Round the left-bottom and top-right corners */
    border-radius: 50px 0 50px 0;

    /* Make the image slightly bigger */
    /* transform: scale(1.1); */

    /* Smooth transitions for hover effects */
    transition: transform 0.4s ease, border-radius 0.4s ease;
}

/* A cool hover effect that reveals the full image */
.hero-image-container:hover img {
    transform: scale(1.15); /* Slightly larger on hover */
    border-radius: 0; /* Remove round corners on hover */
}

.page-header{
    min-height: 600px !important;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
    letter-spacing: -.05rem;
}

/* rtl:end:remove */


/* MODERN NAVBAR STYLES
-------------------------------------------------- */
.navbar.fixed-top {
    /* Smooth transition for all changes */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: transparent; /* Start transparent */
}

/* This class is added by JavaScript on scroll */
.navbar.navbar-scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 1.08rem;
    color: #555;
    padding: 0.5rem 1rem;
    padding-bottom: 10px; /* Added padding-bottom */
    position: relative;
    transition: color 0.3s ease;
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    letter-spacing: 0.01em;
}

/* Make dropdown-toggle look like a normal nav-link */
.navbar .nav-link.dropdown-toggle {
    font-weight: 500;
    font-size: 1.08rem;
    color: #555;
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    letter-spacing: 0.01em;
    padding-right: 1.5rem;
}
.navbar .nav-link.dropdown-toggle::after {
    display: none !important;
}


/* Underline effect for nav links */
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--bd-primary-color);
    transition: width 0.3s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar .nav-link.dropdown-toggle:hover::after,
.navbar .nav-link.dropdown-toggle.active::after {
    width: 100%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #000;
}


/* When menu is collapsed on mobile, it should always have a background */
@media (max-width: 767.98px) {
    .navbar.fixed-top {
        background-color: #fff;
    }
    .navbar .navbar-collapse {
        padding: 1rem;
    }
}

/* MODERN DROPDOWN STYLES */
.dropdown-menu.dropdown-menu-animated {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    /* margin-top: 0.5rem !important; */ /* Add some space from the navbar */
    animation: fadeIn 0.2s ease-out;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        padding-top: 0.5rem;
    }
    .navbar .nav-item.dropdown .dropdown-toggle::after {
        transform: rotate(-180deg);
        transition: transform 0.2s;
    }
}

.dropdown-menu.dropdown-menu-animated .dropdown-item {
    padding: 0.6rem 1.5rem;
    transition: background-color 0.2s ease-in-out, padding-left 0.2s ease-in-out, color 0.2s ease-in-out;
    display: flex;
    align-items: center;
}

.dropdown-menu.dropdown-menu-animated .dropdown-item i {
    width: 24px; /* Give icon a fixed width for alignment */
    margin-right: 0.75rem;
    text-align: center;
    color: var(--bd-secondary-color); /* Use secondary color for icons */
    transition: color 0.2s ease-in-out;
}

.dropdown-menu.dropdown-menu-animated .dropdown-item:hover,
.dropdown-menu.dropdown-menu-animated .dropdown-item:focus {
    background-color: rgba(var(--bd-primary-rgb), 0.1); /* Use theme color with opacity */
    padding-left: 1.75rem; /* Indent on hover for a nice effect */
    color: var(--bd-primary-color); /* Change text color to primary theme color */
}

.dropdown-menu.dropdown-menu-animated .dropdown-item:hover i {
    color: var(--bd-primary-color); /* Also change icon color on hover */
}

/* RESPONSIVE CSS
-------------------------------------------------- */

/* ==================================================
   MOBILE OPTIMIZATIONS
   ================================================== */
@media (max-width: 767.98px) {

    /* 1. HERO SLIDER OPTIMIZATIONS */

    /* Make hero height automatic to fit content, not screen */
    #heroCarousel {
        height: auto;
        /*padding-top: 80px; /* Add space for the fixed navbar */
        /*padding-bottom: 40px;*/
        margin-bottom: 2rem; 
    }

    /* Center the hero text and make it more compact */
    #heroCarousel .row {
        text-align: center;
    }
    #heroCarousel .featurette-heading {
        font-size: 2.25rem; /* Smaller heading for mobile */
    }
    #heroCarousel .lead {
        font-size: 1.1rem;
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    /* Simplify the angled image effect for a cleaner mobile look */
    .hero-image-container {
        margin-top: 2rem;
    }
    .hero-image-container img {
        clip-path: none; /* Remove the angled clip-path */
        border-radius: 1rem; /* Give it simple rounded corners */
    }
    /* Disable the hover effect on touch devices */
    .hero-image-container:hover img {
        transform: none;
        clip-path: none;
    }


    /* 2. CONTACT US SECTION OPTIMIZATIONS */

    /* Center the heading and text above the form */
    #contact-us .col-md-7 .featurette-heading,
    #contact-us .col-md-7 .lead {
        text-align: center;
    }
    /* Add some space above the image on mobile */
    #contact-us .col-md-5 {
        margin-top: 3rem;
    }
}

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        /*margin-top: 7rem;*/
    }
}

/** Communication Widget**/
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.text-bd-primary{
    --bs-btn-color: #712cf9;
    color: #712cf9;
}
.text-bd-secondary{
    --bs-btn-color: #ff7b5f;
    color: #ff7b5f;
}
.btn-outline-bd-primary{
    --bs-btn-color: #712cf9;
    --bs-btn-border-color: #712cf9;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #712cf9;
    --bs-btn-hover-border-color: #712cf9;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #712cf9;
    --bs-btn-active-border-color: #712cf9;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #712cf9;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #712cf9;
    --bs-gradient: none;
}
.btn-outline-bd-secondary{
    --bs-btn-color: #ff7b5f;
    --bs-btn-border-color: #ff7b5f;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff7b5f;
    --bs-btn-hover-border-color: #ff7b5f;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff7b5f;
    --bs-btn-active-border-color: #ff7b5f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ff7b5f;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ff7b5f;
    --bs-gradient: none;
}
.btn-outline-bd-primary:hover .text-bd-primary, .btn-outline-bd-secondary:hover .text-bd-secondary{
    color: #fff !important;
}
.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.btn-bd-secondary {
    --bd-violet-bg: #ff7b5f;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: #ff7b5f;
    --bs-btn-border-color: #ff7b5f;
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #ff7b5f;
    --bs-btn-hover-border-color: #ff7b5f;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #ff7b5f;
    --bs-btn-active-border-color: #ff7b5f;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}
/** End Communication Widget**/


/** BUTTONS **/
.dropdown-hover:hover{
    .dropdown-menu{
        display: block;
    }
}
/** END BUTTONS **/

/** ANIMATE ON SCROLL **/
.animate-on-scroll {
    opacity: 0; /* Start hidden */
    transition: opacity 0.3s ease-in-out;
}
.animate-on-scroll.animate__fadeInLeft {
    opacity: 1; /* Fade in when animated */
}
/** END ANIMATE ON SCROLL **/


/** CALLOUTS */

.bd-callout {
    padding-left: 1.25rem;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #eee;
    border-left-width: .25rem;
    /*border-radius: .25rem*/
}

.bd-callout-right {
    padding-left: 0;
    padding-right: 1.25rem;
    border-left:none !important;
    border-right: 1px solid #eee;
    border-right-width: .25rem;
    /*border-radius: .25rem*/
}

.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-color: #5bc0de
}

.bd-callout-info h4 {
    color: #5bc0de
}

.bd-callout-warning {
    border-color: #f0ad4e
}

.bd-callout-warning h4 {
    color: #f0ad4e
}

.bd-callout-danger {
    border-color: #d9534f
}

.bd-callout-danger h4 {
    color: #d9534f
}

.bd-callout-primary{
    border-color: #007bff
}

.bd-callout-bd-primary{
    border-color: #712cf9
}

.bd-callout-bd-secondary{
    border-color: #ff7b5f
}

.bd-callout-primary h4 {
    color: #007bff
}

.bd-callout-success{
    border-color: #28a745
}

.bd-callout-successh4 {
    color: #28a745
}

.bd-callout-default{
    border-color: #6c757d
}

.bd-callout-defaulth4 {
    color: #6c757d
}
/** END CALLOUTS */

/** MOBILE VERSION **/
@media (max-width: 50em) {
    .featurette-heading {
        margin-top: 3rem;
        font-size: 1.85rem;
    }
    .featurette-divider {
        margin: 2rem 0; /* Space out the Bootstrap <hr> more */
    }
}


.page-hero {
    min-height: 520px;
}

/* TIMELINE
-------------------------------------------------- */
.timeline-section {
    position: relative;
    padding: 80px 0;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-content {
    position: relative;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #712cf9;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #712cf9;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -32px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -28px;
}

.timeline-content h5 {
    font-weight: 700;
    color: #712cf9;
    font-size: 1.25rem;
}

.timeline-content p {
    font-size: 1.1rem;
    opacity: 0.75;
}

/* Dark Timeline Style */
.dark-timeline {
    position: relative;
    background: #23243a;
    color: #fff;
    overflow: hidden;
}

.dark-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../media/images/managed-it-services-background.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}


.dark-timeline .container {
    position: relative;
    z-index: 1;
}


.dark-timeline .featurette-heading,
.dark-timeline .lead {
    color: #fff !important;
}
.dark-timeline .text-body-secondary{
    color: #e0e0e0 !important;
    opacity: 0.8;
}

.dark-timeline .timeline::before {
    background: rgba(255, 255, 255, 0.2);
}

.dark-timeline .timeline-content {
    background: rgba(240, 240, 240, 0.9); /* Light gray background */
    color: #333; /* Dark text for readability */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-timeline .timeline-content h5 {
    color: #712cf9; /* Purple title */
}

.dark-timeline .timeline-content p {
    opacity: 0.9;
    color: #555; /* Dark gray paragraph text */
}

.dark-timeline .timeline-icon {
    background: #ff7b5f; /* Use orange for icons */
    color: #fff;
    border-color: #23243a;
    box-shadow: 0 0 0 4px #ff7b5f;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 80px;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 20px;
    }
}
/* FAQ Section
-------------------------------------------------- */
.faq-section {
    position: relative;
    background-color: #fff;
    background-image: url('../media/images/faq-background.svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
}

.faq-section .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-section .accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.faq-section .accordion-button {
    font-weight: 600;
    color: #712cf9;
    background-color: rgba(113, 44, 249, 0.07);
    border-radius: 12px;
    padding: 1.5rem;
    font-size: 1.25rem;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #712cf9;
    background-color: rgba(113, 44, 249, 0.1); /* A bit darker when opened */
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}
/* ON-DEMAND EMERGENCY SECTION */
.on-demand-emergency {
    background-color: #212529; /* Dark background for contrast */
    background-image: url('/assets/media/images/back-blue.svg'); /* Dynamic background image */
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.on-demand-emergency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.on-demand-emergency > .container {
    position: relative;
    z-index: 2;
}

.on-demand-emergency h2 {
    color: var(--bd-secondary-color) !important; /* Use secondary color for emergency highlight */
    text-shadow: 0 0 15px rgba(255, 123, 95, 0.7); /* Glow effect */
}

.on-demand-emergency .lead {
    color: rgba(255, 255, 255, 0.9);
}

.on-demand-emergency .btn-bd-secondary {
    background-color: var(--bd-secondary-color);
    border-color: var(--bd-secondary-color);
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 95, 0.4);
}

.on-demand-emergency .btn-bd-secondary:hover {
    background-color: #ff5a3a; /* Slightly darker on hover */
    border-color: #ff5a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 95, 0.6);
}

.emergency-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}