/* ==========================================
   CELLMEC PAGE - COMPLETE CSS
   Professional, Technical Design
   assets/css/cellmec.css
   ========================================== */

/* ==========================================
   PRELOADER
   ========================================== */

.cellmec-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #27306c 0%, #1a2347 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cellmec-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    max-width: 300px;
}

.preloader-spinner {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinRing 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: rgba(229, 113, 18, 0.7);
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: rgba(229, 113, 18, 0.4);
    animation-delay: 0.4s;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.preloader-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ffa94d);
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(229, 113, 18, 0.5);
}

.preloader-percentage {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.cellmec-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.cellmec-hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cellmec-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cellmec-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(39, 48, 108, 0.9) 0%,
            rgba(26, 35, 71, 0.85) 50%,
            rgba(229, 113, 18, 0.8) 100%
    );
}

.cellmec-overlay-pattern {
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(circle at 20% 50%, rgba(229, 113, 18, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(229, 113, 18, 0.1) 0%, transparent 50%);
}

.cellmec-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.cellmec-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.cellmec-hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.cellmec-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
}

.cellmec-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cellmec-breadcrumb a:hover {
    color: var(--primary);
}

.cellmec-separator {
    color: rgba(255, 255, 255, 0.4);
}

.cellmec-current {
    color: var(--white);
}

.cellmec-hero-badge {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border-radius: 50%;
    color: var(--white);
    font-size: 38px;
    margin: 0 auto 24px;
    box-shadow: 0 15px 50px rgba(229, 113, 18, 0.5);
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cellmec-page-title {
    font-size: 54px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cellmec-page-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 35px;
}

.cellmec-hero-features {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-feature-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-feature-tag:hover {
    background: rgba(229, 113, 18, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-feature-tag i {
    font-size: 16px;
    color: var(--primary);
}

/* ==========================================
   QUICK NAVIGATION
   ========================================== */

.cellmec-quick-nav {
    padding: 0;
    background: var(--white);
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quick-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.quick-nav-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.quick-nav-label i {
    color: var(--primary);
    font-size: 16px;
}

.quick-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.nav-link-item {
    padding: 8px 18px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: var(--navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   INTRODUCTION SECTION
   ========================================== */

.cellmec-introduction-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.intro-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border-radius: 50%;
    color: var(--white);
    font-size: 34px;
    margin: 0 auto 24px;
    box-shadow: 0 15px 45px rgba(229, 113, 18, 0.3);
}

.intro-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.intro-tagline {
    font-size: 17px;
    color: var(--primary);
    font-weight: 700;
    font-style: italic;
}

.intro-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content-block {
    margin-bottom: 40px;
}

.intro-paragraph {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
}

.intro-paragraph strong {
    color: var(--primary);
    font-weight: 800;
}

.intro-vision-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(229, 113, 18, 0.08), rgba(229, 113, 18, 0.04));
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    margin-bottom: 30px;
}

.vision-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
}

.vision-content {
    flex: 1;
}

.vision-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.vision-text {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.intro-strength-card {
    padding: 32px;
    background: linear-gradient(135deg, #27306c 0%, #1a2347 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.intro-strength-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 75% 25%,
            rgba(229, 113, 18, 0.15) 0%,
            transparent 60%
    );
}

.strength-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.strength-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.strength-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.strength-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================
   SERVICE SECTIONS
   ========================================== */

.cellmec-service-section {
    padding: 0 0 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, var(--white) 100%);
}

.service-header-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom: 60px;
}

.service-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(39, 48, 108, 0.88) 0%,
            rgba(26, 35, 71, 0.82) 50%,
            rgba(229, 113, 18, 0.75) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-header-content {
    text-align: center;
}

.service-badge {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border-radius: 50%;
    color: var(--white);
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 15px 45px rgba(229, 113, 18, 0.4);
}

.service-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.8px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.service-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.service-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.service-content-block {
    margin-bottom: 32px;
}

.service-paragraph {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
}

.service-quote-card {
    padding: 32px 40px;
    background: linear-gradient(135deg, #27306c 0%, #1a2347 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.service-quote-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 80% 30%,
            rgba(229, 113, 18, 0.15) 0%,
            transparent 60%
    );
}

.quote-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 113, 18, 0.2);
    border-radius: 50%;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================
   VIDEO SECTION
   ========================================== */

.service-video-wrapper {
    margin: 40px 0;
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* ==========================================
   SECTION GALLERIES
   ========================================== */

.section-gallery-wrapper {
    margin-top: 50px;
}

.gallery-header-small {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-header-small h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.section-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 10px;
}

.gallery-item-small {
    min-width: calc(33.333% - 14px);
    flex-shrink: 0;
}

.gallery-image-box {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-image-box:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-image-box:hover img {
    transform: scale(1.05);
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(39, 48, 108, 0.85) 0%,
            rgba(229, 113, 18, 0.75) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-box:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-hover-overlay i {
    font-size: 36px;
    color: var(--white);
    animation: zoomPulse 1.5s ease-in-out infinite;
}

@keyframes zoomPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gallery-controls-small {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.gallery-btn-small {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(229, 113, 18, 0.3);
}

.gallery-btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(229, 113, 18, 0.4);
}

.gallery-btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cellmec-cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 40px;
}

.cta-background {
    position: absolute;
    inset: 0;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #27306c 0%, #1a2347 100%);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 30% 50%,
            rgba(229, 113, 18, 0.2) 0%,
            transparent 70%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #d96510);
    border-radius: 50%;
    color: var(--white);
    font-size: 30px;
    margin: 0 auto 24px;
    box-shadow: 0 15px 45px rgba(229, 113, 18, 0.4);
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
}

.cta-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), #d96510);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(229, 113, 18, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(229, 113, 18, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 992px) {
    .cellmec-hero {
        height: 500px;
    }

    .cellmec-page-title {
        font-size: 44px;
    }

    .quick-nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .quick-nav-links {
        width: 100%;
    }

    .service-header-image-wrapper {
        height: 300px;
    }

    .gallery-item-small {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .cellmec-hero {
        height: 450px;
    }

    .cellmec-page-title {
        font-size: 38px;
    }

    .cellmec-page-subtitle {
        font-size: 17px;
    }

    .quick-nav-links {
        gap: 6px;
    }

    .nav-link-item {
        font-size: 12px;
        padding: 7px 14px;
    }

    .intro-title,
    .service-title {
        font-size: 32px;
    }

    .service-header-image-wrapper {
        height: 250px;
    }

    .intro-vision-card,
    .intro-strength-card {
        flex-direction: column;
        text-align: center;
    }

    .gallery-item-small {
        min-width: 100%;
    }

    .cta-card {
        padding: 50px 30px;
    }

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

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cellmec-hero {
        height: 400px;
    }

    .cellmec-page-title {
        font-size: 32px;
    }

    .cellmec-hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature-tag {
        width: 100%;
        justify-content: center;
    }

    .intro-title,
    .service-title {
        font-size: 28px;
    }

    .service-header-image-wrapper {
        height: 220px;
    }

    .cta-title {
        font-size: 26px;
    }
}