/*
  Block Components CSS
  Styles for page builder block layouts
*/

/* ============================================
   Hero About Section Block
   ============================================ */
.hero-about-section {
    background-color: #fff;
    padding: 80px 0;
}

.hero-images-wrapper {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px;
}

.hero-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-1 {
    flex: 0 0 45%;
    margin-top: 40px;
}

.hero-img-2 {
    flex: 0 0 50%;
}

.hero-about-content {
    padding-left: 30px;
}

.hero-label {
    display: inline-block;
    color: #1977cc;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-heading {
    font-size: 42px;
    font-weight: 700;
    color: #0c142e;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .hero-heading {
        font-size: 32px;
    }

    .hero-about-content {
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 575px) {
    .hero-heading {
        font-size: 28px;
    }
}

.hero-desc {
    color: #5a6a85;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.hero-features {
    margin-bottom: 30px;
}

.feature-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #0c142e;
    font-size: 14px;
    font-weight: 500;
}

.feature-check-list li i {
    color: #1977cc;
    font-size: 12px;
    margin-top: 4px;
}

.hero-cta .theme-btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   Contact Bar Section Block
   ============================================ */
.contact-bar-section {
    background: linear-gradient(135deg, #0c142e 0%, #0a1845 100%);
    padding: 25px 0;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.contact-bar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(25, 119, 204, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-bar-icon i {
    color: #4a9eff;
    font-size: 20px;
}

.contact-bar-content h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.contact-bar-content p {
    color: #8899b5;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 991px) {
    .contact-bar-item {
        margin-bottom: 20px;
        justify-content: flex-start;
    }
}

/* ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âng gÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ch giÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¯a cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡c section */
@media (min-width: 992px) {
    .contact-bar-section .col-lg-4:not(:last-child) .contact-bar-item {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        padding-right: 20px;
        margin-right: -1px;
    }
}

/* ============================================
   Features Section Block
   ============================================ */
.features-section {
    background-color: #eef3f8;
}

.features-section .section-title {
    margin-bottom: 40px;
}

.features-section .section-label {
    display: block;
    color: var(--theme);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.features-section .section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a2b4a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.features-section .section-desc {
    font-size: 16px;
    color: #5a6a85;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.feature-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    text-align: left;
    border: none;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: auto;
    height: auto;
    line-height: 1;
    text-align: left;
    background: transparent;
    border-radius: 0;
    color: var(--theme);
    font-size: 48px;
    margin: 0 0 20px 0;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: none;
}

.feature-icon::before {
    display: none;
}

.feature-icon i {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #1977cc;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: none;
}

.feature-card:hover .feature-icon i {
    color: #0d5ca3;
}

/* Feature icon with image */
.feature-icon-img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.feature-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a2b4a;
}

.feature-card p {
    color: #5a6a85;
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.feature-more {
    margin-top: auto;
}

.feature-more .plus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #d0d7e2;
    color: #5a6a85;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0;
    overflow: hidden;
}

.feature-more .plus-btn i {
    font-size: 12px;
    transition: all 0.3s ease;
}

.feature-more .plus-btn .plus-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
    color: #1977cc;
    transition: all 0.3s ease;
    margin-left: 0;
}

.feature-card:hover .plus-btn {
    width: auto;
    height: 32px;
    padding: 0 14px;
    border-radius: 16px;
    border-color: #1977cc;
    background: rgba(25, 119, 204, 0.03);
    gap: 6px;
}

.feature-card:hover .plus-btn i {
    color: #1977cc;
}

.feature-card:hover .plus-btn .plus-text {
    max-width: 100px;
    opacity: 1;
    margin-left: 0;
}

/* ============================================
   Testimonial Section Block
   ============================================ */
.testimonial-section {
    background-color: var(--bg);
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
}

.testimonial-card .quote-icon {
    color: var(--theme);
    font-size: 40px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .rating {
    margin-bottom: 20px;
}

.testimonial-card .rating i {
    color: #ddd;
    font-size: 16px;
    margin-right: 3px;
}

.testimonial-card .rating i.active {
    color: var(--ratting);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--theme);
}

.author-info h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--header);
}

.author-info span {
    font-size: 14px;
    color: var(--text);
}

/* ============================================
   Team Section Block
   ============================================ */
.team-section {
    background-color: var(--white);
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    position: relative;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--white);
    color: var(--header);
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--theme);
    color: var(--white);
}

.team-info {
    padding: 25px 20px;
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--header);
}

.team-info span {
    color: var(--theme);
    font-size: 14px;
}

/* ============================================
   Pricing Section Block
   ============================================ */
.pricing-section {
    background-color: var(--bg);
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--border);
    transition: all 0.3s ease;
}

.pricing-card:hover::before,
.pricing-card.popular::before {
    background: linear-gradient(90deg, var(--theme) 0%, var(--theme2) 100%);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--theme);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--theme);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--header);
}

.pricing-header .price {
    font-size: 30px;
    font-weight: 700;
    color: var(--theme);
}

.pricing-header .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text);
    font-size: 15px;
}

.pricing-features li i {
    color: var(--theme);
    margin-right: 10px;
}

/* ============================================
   Stats Counter Section Block
   ============================================ */
.stats-section {
    background-color: var(--header);
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.stats-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 20, 46, 0.85);
    z-index: 1;
}

.stats-section .container {
    z-index: 2;
}

.stat-card {
    padding: 30px;
    text-align: center;
}

.stat-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--theme);
    font-size: 28px;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 50px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    font-size: 30px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CTA Section Block
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--theme2) 0%, var(--theme) 100%);
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cta-section .container {
    z-index: 2;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .cta-title {
        font-size: 32px;
    }
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .theme-btn.style-2 {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-buttons .theme-btn.style-2:hover {
    background: var(--white);
    color: var(--header);
}

/* ============================================
   FAQ Section Block
   ============================================ */
.faq-section {
    background-color: var(--white);
}

.faq-section .accordion-item {
    border: 1px solid var(--border);
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-size: 18px;
    font-weight: 600;
    color: var(--header);
    padding: 20px 25px;
    background: var(--white);
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--bg);
    color: var(--theme);
}

.faq-section .accordion-button::after {
    background-size: 16px;
}

.faq-section .accordion-body {
    padding: 20px 25px;
    color: var(--text);
    line-height: 1.8;
    background: var(--bg);
}

/* ============================================
   Gallery Section Block
   ============================================ */
.gallery-section {
    background-color: var(--white);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--white);
    transform: scale(0);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-caption {
    text-align: center;
    padding: 15px;
    background: var(--white);
    color: var(--header);
    font-size: 14px;
}

/* ============================================
   Contact Info Section Block
   ============================================ */
.contact-info-section {
    background-color: #f8fafc;
}

.contact-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.contact-info-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.contact-info-item i {
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.contact-info-item:hover i {
    background: #3b82f6;
    color: #fff;
}

.contact-info-item h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #9ca3af;
}

.contact-info-item p {
    color: #1f2937;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.contact-info-item a {
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-info-item a:hover {
    color: #3b82f6;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.zalo {
    background: #0068ff;
    font-size: 12px;
    font-weight: 600;
}

.social-icon:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991px) {
    .hero-section {
        min-height: 400px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .contact-map {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .theme-btn.style-2 {
        margin-left: 0 !important;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .theme-btn.style-2 {
        margin-left: 0 !important;
    }
}

/* ============================================
   Section Padding
   ============================================ */
.section-padding {
    padding: 40px 0;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 45px 0;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding: 0;
    }
}

/* ============================================
   Category Layout 1: Featured News Item
   ============================================ */
.newsItem-featured {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.newsItem-featured .img {
    border-radius: 12px;
    overflow: hidden;
}

.newsItem-featured .img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.newsItem-featured .img:hover img {
    transform: scale(1.03);
}

.newsItem-featured .newsItem-content {
    padding: 20px 10px;
}

.newsItem-featured .newsItem-content h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1a2b4a;
}

.newsItem-featured .newsItem-content h1 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.newsItem-featured .newsItem-content h1 a:hover {
    color: var(--theme, #1977cc);
}

.newsItem-featured .metaDate {
    color: #e74c3c;
    font-size: 13px;
    margin-bottom: 12px;
}

.newsItem-featured .newsDescription {
    color: #5a6a85;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .newsItem-featured .newsItem-content {
        padding: 20px 0;
    }

    .newsItem-featured .newsItem-content h1 {
        font-size: 20px;
    }
}

/* News Card Style */
.newsItem-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsItem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.newsItem-card .img {
    overflow: hidden;
}

.newsItem-card .img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.newsItem-card:hover .img img {
    transform: scale(1.05);
}

.newsItem-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.newsItem-card-content h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #1a2b4a;
}

.newsItem-card-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.newsItem-card-content h2 a:hover {
    color: var(--theme, #1977cc);
}

.newsItem-card-content .metaDate {
    color: #e74c3c;
    font-size: 12px;
    margin-bottom: 10px;
}

.newsItem-card-content .newsDescription {
    color: #5a6a85;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-readmore {
    display: inline;
    padding: 6px 16px;
    background: transparent;
    color: #179333;
    border: 1px solid #179333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: 30%;
}

.btn-readmore:hover {
    background: #179333;
    color: #fff;
}

/* Category Description */
.category-description {
    color: #5a6a85;
    font-size: 15px;
    line-height: 1.8;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

/* ============================================
   Fix class position-relative
   ============================================ */
.position-relative {
    position: relative;
}

/* ============================================
   Slideshow Layout 4: Fullscreen Ken Burns
   ============================================ */
.hero-fullscreen-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-fullscreen-slider {
    width: 100%;
    height: 100%;
}

.hero-fullscreen-slide {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease infinite;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-fullscreen-content {
    position: relative;
    z-index: 10;
    color: #fff;
}

.hero-fullscreen-content .hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-fullscreen-content .hero-desc {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    color: #fff;
}

.hero-fullscreen-content .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--theme, #1977cc);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-fullscreen-content .hero-btn:hover {
    background: #fff;
    color: var(--theme, #1977cc);
}

/* Navigation Arrows - Centered vertically */
.hero-nav-center {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 50;
    pointer-events: none;
}

.hero-nav-center .hero-nav-prev,
.hero-nav-center .hero-nav-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.hero-nav-center .hero-nav-prev:hover,
.hero-nav-center .hero-nav-next:hover {
    background: var(--theme, #1977cc);
}

/* Dots Pagination - Centered at bottom */
.hero-dots-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 100;
    display: flex;
    gap: 10px;
    justify-content: center;
    bottom: 30px !important;
}

.hero-dots-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .hero-fullscreen-content .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .hero-fullscreen-section {
        height: auto;
        min-height: 350px;
    }

    .hero-fullscreen-content .hero-title {
        font-size: 32px;
    }

    .hero-dots-pagination {
        bottom: 20px;
    }
}

/* ============================================
   Slideshow Layout 5: Split Hero
   ============================================ */
.hero-split-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-split-slider {
    width: 100%;
    height: 100%;
}

.hero-split-slide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    min-height: 90vh;
    padding: 60px;
}

.hero-split-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 60px;
}

.hero-split-inner {
    max-width: 540px;
    margin-left: auto;
}

.hero-split-content .hero-label {
    display: inline-block;
    background: linear-gradient(90deg, var(--theme, #1977cc) 0%, var(--theme2, #0d5ca3) 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-split-content .hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4a;
    margin-bottom: 20px;
}

.hero-split-content .hero-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #5a6a85;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-block;
    background: var(--theme, #1977cc);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    background: #0d5ca3;
    color: #fff;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #1a2b4a;
    padding: 14px 30px;
    border: 2px solid #d0d7e2;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    border-color: var(--theme, #1977cc);
    color: var(--theme, #1977cc);
}

.hero-split-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--theme, #1977cc);
    border-radius: 50%;
    opacity: 0.3;
}

.hero-split-pagination {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-split-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d0d7e2;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-split-pagination .swiper-pagination-bullet-active {
    height: 40px;
    border-radius: 6px;
    background: var(--theme, #1977cc);
}

.hero-slide-counter {
    position: absolute;
    left: 50px;
    bottom: 50px;
    z-index: 20;
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4a;
}

.hero-slide-counter .current {
    color: var(--theme, #1977cc);
    font-size: 28px;
}

.hero-slide-counter .separator {
    margin: 0 8px;
    color: #d0d7e2;
}

@media (max-width: 991px) {
    .hero-split-slide {
        padding: 40px 20px;
    }

    .hero-split-content,
    .hero-split-image {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 20px;
    }

    .hero-split-content {
        order: 2;
        text-align: center;
    }

    .hero-split-inner {
        margin: 0 auto;
    }

    .hero-split-image {
        order: 1;
    }

    .hero-split-content .hero-title {
        font-size: 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-split-pagination {
        right: 20px;
    }
}

/* ============================================
   Slideshow Layout 6: Gallery with Thumbs
   ============================================ */
.hero-gallery-section {
    position: relative;
    background: #0c142e;
}

.hero-gallery-main {
    width: 100%;
    height: 70vh;
    min-height: 500px;
}

.hero-gallery-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 20, 46, 0.9) 0%, rgba(12, 20, 46, 0.3) 50%, transparent 100%);
}

.hero-gallery-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.hero-gallery-content .hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #fff;
}

.hero-gallery-content .hero-desc {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 25px;
    color: #fff;
}

.hero-gallery-content .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-gallery-content .hero-btn:hover {
    color: var(--theme, #1977cc);
}

.hero-gallery-content .hero-btn i {
    transition: transform 0.3s ease;
}

.hero-gallery-content .hero-btn:hover i {
    transform: translateX(5px);
}

.hero-gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
    pointer-events: none;
}

.hero-gallery-prev,
.hero-gallery-next {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.hero-gallery-prev:hover,
.hero-gallery-next:hover {
    background: var(--theme, #1977cc);
}

.hero-gallery-thumbs-wrapper {
    background: #0c142e;
    padding: 25px 0;
    position: relative;
    z-index: 10;
}

.hero-gallery-thumbs {
    width: 100%;
}

.thumb-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumb-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.thumb-number {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

.hero-gallery-thumbs .swiper-slide-thumb-active .thumb-item {
    border-color: var(--theme, #1977cc);
}

.hero-gallery-thumbs .swiper-slide-thumb-active .thumb-overlay {
    opacity: 0;
}

@media (max-width: 991px) {
    .hero-gallery-content .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .hero-gallery-main {
        height: 50vh;
        min-height: 400px;
    }

    .hero-gallery-content {
        bottom: 40px;
    }

    .hero-gallery-content .hero-title {
        font-size: 26px;
    }

    .hero-gallery-nav {
        padding: 0 15px;
    }

    .hero-gallery-prev,
    .hero-gallery-next {
        width: 45px;
        height: 45px;
    }

    .thumb-item img {
        height: 60px;
    }
}

.section-title h2 {
    font-size: 30px;
}

.service-title2 h2 {
    color: #333;
}

/* ============================================
   Video Loader
   ============================================ */
.video-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-loader .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: video-spin 1s linear infinite;
}

@keyframes video-spin {
    to {
        transform: rotate(360deg);
    }
}

.video-containerbox {
    position: relative;
}

.video-containerbox iframe {
    position: relative;
    z-index: 5;
}

/* Video background container - dark loading state */
.pvideo-background {
    position: relative;
}

.pvideo-background .video-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.pvideo-background .video-loader .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: video-spin 1s linear infinite;
}

@media (max-width: 575px) {
    .section-padding {
        padding: 30px 0;
    }
    section.feature-benefit.section.section-padding.fix {
        padding: 0;
    }
}
