/* Custom Hero Section Styles */
.hero-custom-section {
    width: 100%;
    background-color: #f4f5f7;
    padding: 20px 0;
    box-sizing: border-box;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 3fr 1fr; /* বামে ৩ অংশ, ডানে ১ অংশ */
    }
}

/* Left Column Styling */
.left-hero-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0; /* Swiper overflow ফিক্স */
}

.slider-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-wrapper:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hd-hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hd-hero-swiper .swiper-wrapper {
    display: flex;
    box-sizing: content-box;
}

.hd-hero-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hd-hero-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slider-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* স্লাইডারে হোভার করলে জুম ইফেক্ট */
.swiper-slide:hover .hero-slider-img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .hero-slider-img {
        height: 220px;
        object-fit: contain;
        background-color: #000;
    }
}

/* Arrow Navigation Override for Swiper */
.slider-arrow {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.hd-hero-swiper:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:after {
    font-size: 16px !important;
    font-weight: bold;
}

.slider-arrow:hover {
    background: #027474 !important;
    transform: scale(1.1);
}

/* Pagination Dots Customization */
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #027474 !important;
    width: 22px !important;
    border-radius: 4px !important;
    opacity: 1;
}

/* Ticker Bar Styling */
.ticker-wrapper {
    background: linear-gradient(135deg, #027474, #0f172a);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(2, 116, 116, 0.25);
    overflow: hidden;
    border-left: 4px solid #ec4899;
}

.ticker-wrapper marquee {
    display: block;
    width: 100%;
}

/* Right Column: Certificate Card Styling */
.right-hero-column {
    display: flex;
    height: 100%;
}

.certificate-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-3px);
}

.certificate-img-box {
    width: 100%;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px;
    background: #fafafa;
    box-sizing: border-box;
}

.cert-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.certificate-img-box:hover .cert-img {
    transform: scale(1.02);
}

.certificate-btn-wrapper {
    margin-top: 15px;
}

.view-cert-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #027474, #015252);
    color: #ffffff;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(2, 116, 116, 0.25);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.view-cert-btn:hover {
    background: linear-gradient(135deg, #015252, #003636);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 116, 116, 0.35);
    transform: translateY(-2px);
}