/* Hero Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slide Background */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Animated Background Overlay */
.animated-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    animation: bgOverlayAnimation 10s infinite alternate;
}

@keyframes bgOverlayAnimation {
    0% {
        background: rgba(0, 0, 0, 0.5);
    }

    50% {
        background: rgba(0, 0, 0, 0.3);
    }

    100% {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.swiper-slide-active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Description */
.hero-description {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.swiper-slide-active .hero-description {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.swiper-slide-active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styling */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: #007bff;
    color: #fff;
}

.hero-btn-primary:hover {
    background: #0056b3;
}

.hero-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: #fff;
    transition: width 0.3s ease;
}

/* Custom Pagination */
.customised-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.flickity-page-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot:hover,
.dot.is-selected {
    background: #fff;
}

.modern-services-area .item::before {
    background: #1363a1;
}

.modern-services-area .item .icon i {
    color: #1363a1;
}

.home-sections .section-title {
    color: #1363a1;
}

/* Gradient Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.bg-gradient-primary {
    background: linear-gradient(45deg, #007bff, #00bcd4);
}

.bg-gradient-success {
    background: linear-gradient(45deg, #28a745, #17a2b8);
}

.bg-gradient-warning {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
}

/* Hover Glow Effect */
.hover-glow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.hover-glow:hover .card-overlay {
    opacity: 1;
}

/* Card Styling */
.card {
    position: relative;
    z-index: 1;
    background: transparent;
}

.card-body {
    z-index: 2;
}

.text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Partners */

.square-holder {
    padding: 30px;
    border: 1px solid #cecece;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #f1f1f1;
    min-height: 200px;
}

.square-holder img {
    max-width: 100%;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.square-holder:hover img {
    filter: none;
}
