/* --------------------------
   ORIGINAL MASTER CSS (About Section)
   -------------------------- */

/* Section Wrapper */
.about-content {
    text-align: left;
    /* keep heading & text left aligned */
    margin-bottom: 40px;
}

/* Heading */
.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: green;
    position: relative;
}

/* Small underline below heading */
.about-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: green;
    /* black underline */
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Paragraph */
.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Button - Default Styling (Original Green) */
.about-content .btn {
    background: green;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 0px 20px;
    transition: 0.3s;
}

.about-content .btn:hover {
    background: green;
    color: #fff;
}

/* Full-width image (if added below section) */
.about-content img {
    width: 100%;
    height: auto;
    margin-top: 30px;
    display: block;
}


/* --------------------------
   NEW STYLES (What We Do Section & Carousel)
   -------------------------- */

.what-we-do-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Override for 'Read More' button to match image (dark blue, square corners) */
.what-we-do-section .about-content .btn {
    background: green;
    color: #fff;
    border: none;
    padding: 2px 25px;
    font-size: 14px;
    border-radius: 0;
    /* Square corners */
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.what-we-do-section .about-content .btn:hover {
    background: green;
    color: #fff;
}

/* Carousel Card Styling */
.what-we-do-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    /* Removed width: 280px for better responsiveness within Owl Carousel */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.video-thumbnail-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube-icon-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    /* background-color: rgba(255, 0, 0, 0.8); */
    color: rgba(255, 0, 0, 0.8);
    ;
    border-radius: 3px;
    padding: 3px 6px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-icon-overlay .fa {
    margin-right: 3px;
}

.card-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.channel-info .fa {
    font-size: 16px;
    color: #777;
}

.video-date {
    color: #777;
}

.card-social-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    color: #777;
}

.social-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 5px;
}

.social-icon .fa {
    margin-right: 5px;
    font-size: 15px;
}

.social-icon.share-button {
    font-weight: 600;
    color: #555;
}

/* Owl Carousel Dots */
.what-we-do-section .owl-theme .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.what-we-do-section .owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #D6D6D6;
    /* FIX: Changed from 'display: block;' to allow horizontal alignment */
    display: inline-block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}

.what-we-do-section .owl-theme .owl-dots .owl-dot.active span,
.what-we-do-section .owl-theme .owl-dots .owl-dot:hover span {
    background: #869791;
    /* Active/hover dot color */
}

/* Carousel Navigation Arrows */

.what-we-do-carousel-wrapper {
    position: relative;
    /* Essential for positioning arrows absolutely inside */
}

.carousel-nav-buttons {
    position: absolute;
    top: 40%;
    /* Center vertically */
    transform: translateY(-50%);
    /* Fine-tune vertical centering */
    width: 100%;
    z-index: 10;
    /* Ensure buttons are above the carousel */
    pointer-events: none;
    /* Allow clicks to pass through this div to the buttons */
}

.carousel-nav-buttons button {
    pointer-events: auto;
    /* Re-enable clicks on the buttons themselves */
    position: absolute;
    height: 40px;
    width: 40px;
    background: #2F4F79;
    /* Match Read More button color */
    color: #fff;
    border: none;
    padding: 0;
    line-height: 40px;
    /* Center icon vertically */
    border-radius: 50%;
    /* Make them round */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    font-size: 20px;
}

.carousel-nav-buttons button:hover {
    background: #1a3a5a;
    /* Darker blue on hover */
    color: #fff;
}

/* Position Left (Prev) Button */
.custom-owl-prev {
    left: -20px;
    /* Pull it slightly outside the content area */
}

/* Position Right (Next) Button */
.custom-owl-next {
    right: -20px;
    /* Pull it slightly outside the content area */
}

/* --------- lo0go slider ------------------------------- */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-slider {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    width: calc(200%);
    /* double width for infinite scroll */
    animation: scroll-logos 40s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.logo-group {
    display: flex;
    justify-content: space-evenly;
    /* even spacing between logos */
    align-items: center;
    width: 50%;
    /* half of slider-track */
}

.logo-item {
    flex: 0 0 auto;
    /* prevent shrinking */
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 100%;
    /* scale with container */
    height: auto;
    display: block;
    object-fit: contain;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .logo-item img {
        max-width: 80px;
    }
}

@media (max-width: 768px) {
    .logo-item img {
        max-width: 60px;
    }
}

@media (max-width: 576px) {
    .logo-item img {
        max-width: 40px;
    }
}

.tracking-widest {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: green;
}

/* .logo-item img:hover {
    filter: grayscale(0%) opacity(100%);
} */



/* ----------------About Us Page----------------------- */

/* -------------------------- Media Queries -------------- */

@media (min-width: 568px) and (max-width: 776px) {

    .about-content h2,
    .other-content h2,
    .tracking-widest {
        font-size: 26px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-content .btn {
        font-size: 14px;
    }
}

@media(max-width: 567px) {

    .about-content h2,
    .other-content h2 {
        font-size: 24px;
    }

    .tracking-widest {
        font-size: 20px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-content .btn {
        font-size: 14px;
    }
}

.about-us-area {
    margin-top: 0px;
}

.hero-banner {
    position: relative;
    width: 100%;
    padding-top: 40%;
    /* Adjust based on image aspect ratio */
    background-size: cover;
    /* fully visible */
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    /* optional overlay */
}

.hero-content {
    background: rgba(255, 255, 255, 0.6);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 24px;
    color: green;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-content .btn {
    font-size: 16px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid green;
}

.btn-default {
    padding: 20px 40px;
    height: 18px;
    line-height: 0px;
    border-radius: 50px;
    background-color: #fff;
    font-weight: 600;
    border: 1px solid green;
    color: green;
}

/* Heading */
.other-content h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
    /* space between text and line */
    color: green;
    position: relative;
    display: inline-block;
    /* shrink-wrap the heading */
    text-align: center;
    /* centers the heading in the container */
}

/* Small underline below heading */
.other-content h2::after {
    content: "";
    display: block;
    width: 60px;
    /* length of the line */
    height: 3px;
    background: green;
    margin-top: 10px;
    /* space between text and line */
}

@media (min-width: 1000) {
    .about-content h2 {
        font-size: 42px;
    }
}

.about-content p {
    font-size: 18px;
}

@media (min-width: 992px) {
    .hero-content {
        max-width: 600px;
        padding: 40px 30px;
    }
}

@media (min-width: 776px) and (max-width: 992px) {
    .hero-content {
        max-width: 500px;
        padding: 30px 20px;
    }

    .hero-content h2 {
        font-size: 20px;
    }
}

@media (min-width: 568px) and (max-width: 776px) {
    .hero-content {
        max-width: 400px;
        padding: 20px 10px;
    }

    .hero-content h2 {
        font-size: 16px;
    }
}

@media (max-width: 567px) {
    .hero-content {
        max-width: 250px;
        padding: 10px;
    }

    .hero-content h2 {
        font-size: 10px;
    }

    .hero-content .btn {
        font-size: 10px;
        padding: 0 10px;
        line-height: 19px;
        height: 20px;
    }

    .other-content h2 {
        font-size: 28px;
    }
}

/* Carousel card */
.feature-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* flexbox allows equal height */
}

.feature-item img {
    width: 100%;
    display: block;
}

.feature-text {
    padding: 15px;
    color: #fff;
    flex-grow: 1;
    /* allows content to expand for equal height */
}

.feature-text.blue {
    background: #6070a4;
}

.feature-text.magenta {
    background: #2b365c;
}

.feature-text.pink {
    background: #6070a4;
}

.feature-text.yellow {
    background: #7892eb;
}

.feature-text.orange {
    background: #2b365c;
}

.feature-text h4 {
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
}

.feature-text p {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
}

.feature-footer {
    background: #3b4371;
    color: #fff;
    padding: 12px 0;
    font-weight: 600;
}


.step-container {
    text-align: center;
    padding: 50px 0;
}

.step-number {
    font-size: 8em;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

.step-number-1 {
    color: #ff8c00;
}

.step-number-2 {
    color: #00bfff;
}

.step-number-3 {
    color: #3cb371;
}

.step-number-4 {
    color: #ffd700;
}

.step-text {
    font-size: 14px;
    color: #333;
    min-height: 70px;
    padding: 0 10px;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #000;
}

.sub-heading {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
}

.btn-custom {
    margin-top: 30px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    padding: 20px 40px;
    height: 18px;
    line-height: 0px;
    border-radius: 50px;
    background-color: #fff;
    font-weight: 600;
    border: 1px solid green;
    color: green;
}

.btn-custom:hover {
    background-color: #f8f8f8;
    color: #333;
    border-color: #333;
}


/* ------------------- Team --------------------------- */
/* Custom CSS to style the page layout and cards */
.distributor-container {
    padding: 20px;
}

h2.page-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #333;
}

/* FIX: Ensure inactive tab-panes are completely hidden */
.tab-content>.tab-pane:not(.active) {
    display: none;
    height: 0;
    overflow: hidden;
    padding: 0;
}

/* Styling for the Nav Tabs to match the image */
.nav-tabs>li>a {
    border: 1px solid #ccc;
    border-radius: 0;
    margin-right: 5px;
    color: #333;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: gold;
    background-color: green;
    border-color: green;
    border-bottom-color: transparent;
    cursor: default;
}

/* Styling for the distributor card/profile section */
.distributor-card {
    padding: 20px;
    text-align: start;
    background-color: #f5f5f5;
    margin-top: 10px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 1px solid #eee;
}

.name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 3px;
}

.location {
    font-size: 1em;
    color: #777;
    margin-bottom: 15px;
}

/* Styling for contact details */
.contact-detail {
    display: block;
    margin-bottom: 5px;
    font-size: 1.05em;
}

.contact-detail.phone {
    font-weight: bold;
    color: #333;
}

.contact-detail.link {
    color: #0088cc;
    text-decoration: none;
    word-wrap: break-word;
}