
/* 1. Carousel Height & Image Fitting */
.custom-carousel-height {
    height: 80vh;
    min-height: 480px;
    overflow: hidden;
}

.hero-img {
    object-fit: cover;
    transform: scale(1);
    transition: transform 7s ease-in-out;
}

.carousel-item.active .hero-img {
    transform: scale(1.08); /* Subtle zoom effect on background image */
}

/* 2. Sleek Overlay Gradient */
.hero-overlay {
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
}

/* 3. Text Slide Entry Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .anim-badge {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.carousel-item.active .anim-title {
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.4s;
}

.carousel-item.active .anim-desc {
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.6s;
}

.carousel-item.active .anim-buttons {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

/* Hide elements prior to active animation trigger */
.carousel-item .anim-badge,
.carousel-item .anim-title,
.carousel-item .anim-desc,
.carousel-item .anim-buttons {
    opacity: 0;
}

/* 4. Custom Button Styles & Hover Effects */
.btn-hero-primary {
    background-color: #fd7e14;
    color: #ffffff;
    border: 2px solid #fd7e14;
    transition: all 0.3s ease-in-out;
}

.btn-hero-primary:hover {
    background-color: #e06b0b;
    border-color: #e06b0b;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.4) !important;
}

.btn-hero-secondary {
    background-color: #ffc107;
    color: #000000;
    border: 2px solid #ffc107;
    transition: all 0.3s ease-in-out;
}

.btn-hero-secondary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.4) !important;
}

.btn-hero-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn-hero-outline:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* 5. Navigation Control Hover Effects */
.nav-btn-custom {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #fd7e14;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .nav-btn-custom,
.carousel-control-next:hover .nav-btn-custom {
    background-color: #fd7e14;
    transform: scale(1.15);
}

/* 6. Active Indicators Dots */
#heroCarousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.5;
    margin: 0 6px;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators .active {
    width: 32px;
    border-radius: 10px;
    background-color: #fd7e14;
    opacity: 1;
}

/* 1. Primary Palette Variables */
:root {
    --brand-orange: #fd7e14;
    --brand-yellow: #ffc107;
    --brand-dark: #111111;
    --brand-gray: #f8f9fa;
}

.text-orange { color: var(--brand-orange) !important; }
.text-yellow { color: var(--brand-yellow) !important; }
.border-orange { border-color: var(--brand-orange) !important; }
.border-yellow { border-color: var(--brand-yellow) !important; }

/* 2. Badge Tag & Section Styling */
.badge-tag {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    font-size: 13px;
    letter-spacing: 1px;
}

.title-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-yellow));
    border-radius: 2px;
}

/* 3. Image Frame & Hover Zoom Effects */
.about-image-wrapper {
    padding-right: 20px;
    padding-bottom: 20px;
}

.main-image-card {
    border: 4px solid #ffffff;
    transition: transform 0.5s ease;
}

.main-image-card:hover .about-img {
    transform: scale(1.06);
}

.about-img {
    transition: transform 0.6s ease;
}

.floating-badge {
    position: absolute;
    bottom: -10px;
    right: 0px;
    background-color: var(--brand-dark);
    border-left: 5px solid var(--brand-orange);
    z-index: 4;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: var(--brand-orange);
    color: #ffffff;
}

.about-bg-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.25;
}

/* 4. Core Capability Cards Hover Interactions */
/* Core Capability Cards Styling & Hover Interactions */
.capability-card {
    position: relative;
    top: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    overflow: hidden;
}

.capability-card h5,
.capability-card p {
    transition: color 0.3s ease;
}

.cap-icon-box {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

/* Hover State Improvements */
.capability-card:hover {
    top: -8px;
    background-color: #111111 !important; /* Dark black background on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(253, 126, 20, 0.2) !important;
}

/* Clear Contrast Text Colors on Hover */
.capability-card:hover h5 {
    color: #ffffff !important; /* High-contrast white title */
}

.capability-card:hover p {
    color: #e0e0e0 !important; /* Clear light gray paragraph text */
}

/* Vibrant Icon Box Transformation on Hover */
.capability-card:hover .cap-icon-box {
    background-color: #fd7e14 !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-3deg);
}

/* Top Accent Bar Animation on Hover */
.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #fd7e14, #ffc107);
    transition: width 0.4s ease;
}

.capability-card:hover::before {
    width: 100%;
}

/* 5. Pillar Cards */
.pillar-card {
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--brand-orange) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 6. Action Button Styles */
.btn-orange-action {
    background-color: var(--brand-orange);
    color: #ffffff;
    border: 2px solid var(--brand-orange);
    transition: all 0.3s ease;
}

.btn-orange-action:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--brand-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}
/* Background & Base Container */
.bg-light-surface {
    background-color: #f6f8fb !important;
}

/* Compact Clean Card Styling */
.service-card {
    position: relative;
    top: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

/* Icon Box Initial State */
.service-icon-box {
    width: 54px;
    height: 54px;
    background-color: #fff3eb;
    color: #fd7e14;
    transition: all 0.35s ease;
}

.service-title {
    color: #111111;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* ------------------------------------
   Attractive Vibrant Gradient Hover (No Black Background)
------------------------------------ */
.service-card:hover {
    top: -6px;
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(253, 126, 20, 0.25) !important;
}

/* Animated Left Gradient Border on Hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    transition: width 0.35s ease;
    z-index: -1;
    opacity: 0.08; /* Soft background tint on hover */
}

.service-card:hover::before {
    width: 100%;
}

/* Animated Bottom Accent Line */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #fd7e14, #ffc107);
    transition: width 0.35s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Text and Icon Hover Transformations */
.service-card:hover .service-title {
    color: #fd7e14 !important;
}

.service-card:hover .service-icon-box {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 6px 15px rgba(253, 126, 20, 0.3);
}

/* Action Button Styles */
.btn-services-action {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-services-action:hover {
    background: linear-gradient(135deg, #e06b0b 0%, #e0a800 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.4) !important;
}

/* Background surface to contrast surrounding sections */
.bg-presence-surface {
    background-color: #f1f3f7 !important;
}

/* Map Image Box Styling */
.presence-image-wrapper {
    padding-right: 15px;
    padding-bottom: 15px;
}

.map-card {
    border: 4px solid #ffffff;
    transition: transform 0.5s ease;
}

.map-img {
    transition: transform 0.6s ease;
    min-height: 380px;
    object-fit: cover;
}

.map-card:hover .map-img {
    transform: scale(1.05);
}

.map-floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #111111;
    border-left: 5px solid #fd7e14;
    z-index: 3;
}

.map-badge-icon {
    width: 45px;
    height: 45px;
    background-color: #fd7e14;
    color: #ffffff;
    font-size: 20px;
}

.presence-bg-shape {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.25;
}

/* State Card Hover Effects */
.presence-card {
    position: relative;
    top: 0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.presence-card:hover {
    top: -5px;
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.2) !important;
    background-color: #ffffff !important;
}

.presence-card:hover h6 {
    color: #fd7e14 !important;
}

.presence-card:hover p {
    color: #111111 !important;
}

/* Action Button */
.btn-presence-action {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-presence-action:hover {
    background: linear-gradient(135deg, #e06b0b 0%, #e0a800 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.35) !important;
}