/* ----------------------------------

Template Name: Business Gamer pro - Personal Portfolio Template
Author: validtheme
Description:
Version: 1.0

Main Font    : Barlow
Main Color   : #2667FF

-------------------------------------

[Typography]

Body copy:    15px 'Barlow', sans-serif
Header:     36px 'Barlow', sans-serif
Input, textarea:  16px 'Barlow', sans-serif
Sidebar heading:  22px 'Barlow', sans-serif

>>> TABLE OF CONTENTS:
=======================
        
    01. Template default css
        - Animations
        - General
        - Section Title
        - Video Button
        - Typography
        - Tables
        - Forms
        - Buttons
        - Pagination
        - Colors
        - Accordion
        - Tabs
    02. Preloader
    03 Navbar
        - Navbar Default
        - Navbar box
        - Navbar Sticky
        - Side Navbar
    04. Home Page
        - Dark Version
        - Light Version
    05. Services
        - Service Single
	06. About
    07. Project
        - Project Single
    08. Skill
    09. Experience
    10. Education
    12. Faq
    13. Progress
    14. Brand / Partner
    15. Pricing
    16. Blog
        - Single
    17. Error 404
    18. Footer
    19. PHP Contact Form
    20. Others

*/

/*
** Project Preview Card Styles
*/
.gallery-style-one .info .preview-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0.8;
}

.gallery-style-one .info h4 {
    margin-bottom: 5px;
}

.mfp-iframe-holder .mfp-content {
    max-width: 90% !important;
    height: 90% !important;
}

.mfp-iframe-scaler {
    padding-top: 56.25%;
    /* Default 16:9 */
}

/* For full website view in modal */
.mfp-iframe-scaler iframe {
    background: #fff;
}

/* ===================================================
   Industries We Work For - Slider Section
   =================================================== */
.industries-area {
    position: relative;
    overflow: hidden;
}

.industries-area .site-heading h3.title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.industries-area .site-heading p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-top: 10px;
}

.industries-slider-wrapper {
    position: relative;
    padding: 0 50px;
    margin-top: 40px;
}

/* Swiper base for industries */
.industries-swiper {
    width: 100%;
    padding-bottom: 55px !important;
}

/* Industry Card */
.industry-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(38, 103, 255, 0.25);
    border-color: rgba(38, 103, 255, 0.45);
}

/* Industry Image */
.industry-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.industry-card:hover .industry-img img {
    transform: scale(1.08);
}

/* Overlay icon */
.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,30,0.75) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.industry-card:hover .industry-overlay {
    opacity: 1;
}

.industry-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #2667FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(38, 103, 255, 0.5);
}

/* Card Info */
.industry-info {
    padding: 20px 22px 24px;
}

.industry-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.industry-info p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Navigation Arrows */
.industries-button-prev,
.industries-button-next {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(38, 103, 255, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 18px rgba(38, 103, 255, 0.4);
}

.industries-button-prev:hover,
.industries-button-next:hover {
    background: #2667FF;
    transform: translateY(-50%) scale(1.1);
}

.industries-button-prev {
    left: 0;
}

.industries-button-next {
    right: 0;
}

/* Pagination */
.industries-pagination {
    text-align: center;
    margin-top: 10px;
}

.industries-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    transition: background 0.3s, transform 0.3s;
}

.industries-pagination .swiper-pagination-bullet-active {
    background: #2667FF;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 991px) {
    .industries-slider-wrapper {
        padding: 0 40px;
    }
    .industries-area .site-heading h3.title {
        font-size: 28px;
    }
}

/* ===================================================
   Banner h2 replacement styling
   =================================================== */
.banner-h2-to-p {
    font-size: 36px;
    margin-bottom: 25px !important;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Barlow', sans-serif; /* Explicitly use theme font */
    letter-spacing: 0;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    padding-top: 2px;
    background: rgba(255, 255, 255, 0.1);
    padding-right: 20px;
    color: #ffffff !important;
    margin-top: 0;
}

.bg-dark .banner-h2-to-p {
    background: transparent;
    color: #ffffff;
}

.banner-h2-to-p b {
    font-weight: 600;
    color: #ffae00;
}

@media only screen and (max-width: 767px) {
    .banner-h2-to-p {
        font-size: 24px;
        margin-bottom: 15px !important;
        padding-right: 15px;
    }
}

/* ===================================================
   Mind Map - Compact Screen-Fit Layout
   =================================================== */
.mindmap-section {
    position: relative;
    overflow: hidden;
}

.mindmap-section .site-heading .sub-title,
.mindmap-section .site-heading .title {
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.mindmap-section .site-heading .sub-title {
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    .mindmap-section .site-heading .sub-title {
        margin-bottom: 15px;
    }
}

.mindmap-section .default-padding {
    padding-bottom: 40px;
}

/* Wrapper */
.mindmap-wrapper {
    position: relative;
    width: 100%;
    height: 520px; /* Increased for desktop */
    margin: 0 auto;
}

.mm-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ---- Center Node ---- */
.mm-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.mm-center-box {
    background: rgba(255,255,255,0.07);
    border: 2.5px solid #e91e63;
    border-radius: 18px;
    padding: 18px 28px;
    text-align: center;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 40px rgba(233,30,99,0.15), 0 0 80px rgba(233,30,99,0.06);
    position: relative;
    z-index: 2;
    min-width: 155px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mm-center-box:hover {
    transform: scale(1.07);
    box-shadow: 0 0 50px rgba(233,30,99,0.25), 0 0 100px rgba(233,30,99,0.1);
}

.mm-badge {
    display: block;
    font-size: 10px;
    color: #e91e63;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mm-center-box .mm-center-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 3px;
    line-height: 1.1;
}

.mm-center-box p {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    font-weight: 500;
}

/* Pulse */
.mm-center-pulse {
    position: absolute;
    inset: -12px;
    border-radius: 22px;
    border: 2px solid rgba(233,30,99,0.2);
    z-index: 1;
    animation: mmPulse 2.8s ease-in-out infinite;
}

@keyframes mmPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.18); opacity: 0; }
}

/* ---- Branch Nodes ---- */
.mm-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px 16px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    white-space: nowrap;
}

.mm-vis .mm-node { opacity: 1; animation: mmFloating 6s ease-in-out infinite; }
.mm-vis .mm-n0 { transition-delay: 0.1s; animation-delay: 0.2s; }
.mm-vis .mm-n1 { transition-delay: 0.2s; animation-delay: 0.7s; }
.mm-vis .mm-n2 { transition-delay: 0.3s; animation-delay: 1.2s; }
.mm-vis .mm-n3 { transition-delay: 0.4s; animation-delay: 0.4s; }
.mm-vis .mm-n4 { transition-delay: 0.5s; animation-delay: 1.5s; }
.mm-vis .mm-n5 { transition-delay: 0.6s; animation-delay: 0.8s; }
.mm-vis .mm-n6 { transition-delay: 0.7s; animation-delay: 1.1s; }
.mm-vis .mm-n7 { transition-delay: 0.8s; animation-delay: 0.3s; }

@keyframes mmFloating {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-12px); }
}

.mm-node:hover {
    transform: translate(-50%, -50%) translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    border-color: var(--nc);
}

.mm-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--nc, #2667FF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mm-node:hover .mm-icon {
    transform: scale(1.12);
}

.mm-icon i {
    color: #fff;
    font-size: 15px;
}

.mm-node span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 991px) {
    .mindmap-wrapper {
        height: 380px;
    }
    .mm-center-box {
        min-width: 130px;
        padding: 14px 20px;
    }
    .mm-center-box .mm-center-title {
        font-size: 20px;
    }
    .mm-node {
        padding: 8px 12px;
        gap: 8px;
    }
    .mm-icon {
        width: 30px;
        height: 30px;
    }
    .mm-icon i {
        font-size: 13px;
    }
    .mm-node span {
        font-size: 12px;
    }
}

/* Mobile - Same radial design, just scaled down */
@media (max-width: 767px) {
    .mindmap-wrapper {
        height: 340px; /* Keep mobile height exactly the same */
    }

    .mm-center-box {
        min-width: 110px;
        padding: 12px 16px;
    }

    .mm-badge {
        font-size: 8px;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }

    .mm-center-box .mm-center-title {
        font-size: 16px;
    }

    .mm-center-box p {
        font-size: 10px;
    }

    .mm-center-pulse {
        inset: -8px;
        border-radius: 18px;
    }

    .mm-node {
        padding: 6px 10px;
        gap: 6px;
        border-radius: 9px;
    }

    .mm-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }

    .mm-icon i {
        font-size: 11px;
    }

    .mm-node span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .mindmap-wrapper {
        height: 300px;
    }

    .mm-center-box {
        min-width: 90px;
        padding: 10px 12px;
    }

    .mm-center-box .mm-center-title {
        font-size: 14px;
    }

    .mm-center-box p {
        font-size: 9px;
    }

    .mm-node {
        padding: 5px 8px;
        gap: 5px;
        border-radius: 8px;
    }

    .mm-icon {
        width: 22px;
        height: 22px;
        border-radius: 5px;
    }

    .mm-icon i {
        font-size: 10px;
    }

    .mm-node span {
        font-size: 10px;
    }
}
