/* General Card Styling */
.charcol-box {
    background-color: #ffffff; /* Light orange background for the cards */
    color: #333333; /* Dark text for readability */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 30px;
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    text-align: center; /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content inside the card */
    height: 300px; /* Ensure all cards are the same height */
    width: 250px; /* Ensure all cards are the same width */
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    background: #1ca499;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block; /* Ensures the gradient applies correctly */
}

/* Icon styling */
.charcol-box figure {
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make Display Advertising image larger */
.display-advertising figure {
    width: 180px !important;
    height: 180px !important;
}

.charcol-box figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Specific styling for Display Advertising image */
.charcol-box.display-advertising figure img {
    max-width: 140px;
    max-height: 140px;
}

/* Heading and text */
.charcol-box h5 {
    font-size: 22px;
    color: #333333; /* Dark text */
    font-weight: 700;
    margin-bottom: 15px;
}

.charcol-box p {
    font-size: 14px;
    color: #666666; /* Light grey text */
    line-height: 22px;
}

/* Hover Effects */
.charcol-box:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.charcol-box:hover figure {
    background-color: #ff7a00; /* Orange background on hover */
}

.charcol-box:hover h5,
.charcol-box:hover p {
    color: #ff7a00; /* Orange text on hover */
}

/* Active/Selected Card Styling */
.charcol-box.active {
    background-color: #ff7a00; /* Orange background when active */
    color: #ffffff; /* White text */
}

.charcol-box.active h5 {
    color: #ffffff; /* Ensure the title stays white */
}

.charcol-box.active p {
    color: #eeeeee; /* Lighter text when active */
}

.charcol-box.active figure {
    background-color: #ff7a00; /* Matching figure background */
}

/* Owl Carousel Custom Arrows Styling */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between; /* Distribute arrows with space between */
    padding: 0 10px; /* Add some padding to the left and right */
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    font-size: 30px; /* Arrow size */
    background-color: transparent; /* Transparent background for the button */
    border-radius: 50%; /* Circular background */
    padding: 10px; /* Padding around the arrow */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for color */
}

/* Light Mode Arrows - Black color */
body.light-mode .owl-carousel .owl-nav .owl-prev,
body.light-mode .owl-carousel .owl-nav .owl-next {
    color: #000000; /* Black arrows in light mode */
}

/* Dark Mode Arrows - White color */
body.dark-mode .owl-carousel .owl-nav .owl-prev,
body.dark-mode .owl-carousel .owl-nav .owl-next {
    color: #ffffff; /* White arrows in dark mode */
}

/* Arrow hover effect */
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    background-color: transparent; /* Keep background transparent on hover */
    color: #ff7a00; /* Orange arrow color on hover */
}

.owl-carousel .owl-nav .owl-prev {
    margin-left: -40px; /* Move the left button more to the left */
}

.owl-carousel .owl-nav .owl-next {
    margin-right: -20px; /* Move the right button more to the right if needed */
}

/* Section Styling */
#services {
    padding: 60px 0;
}

.our-expertise-con {
    background-color: #f4f4f4;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.our-expertise-con .heading-title-con {
    margin-bottom: 40px;
}

.Sec3Article2 p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    max-width: 630px;
    margin: 0 auto;
    margin: 0 auto; /* Centers the paragraph horizontally */
    text-align: center; /* Centers the text inside the paragraph */
  
}
.Sec3Article2 h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(91.77deg, #f58a08 11.84%, #F82F3B 49.47%, #00F5C4 76.55%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
  }

.owl-carousel .item {
    margin: 15px;
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .charcol-box {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .owl-carousel .owl-nav .owl-prev,
    .owl-carousel .owl-nav .owl-next {
        font-size: 24px;
        padding: 8px;
    }
}

