/*
Theme Name: DalTech
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: IT Solution & Technology HTML Template
Version: 1.0.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

Main Style file-> assets/css/main.css 

All the SCSS File in SCSS Folder of Assets Folder. You can read the doc file also for better understand.

// BASIC
@import 'basic';

// MIXIN
@import 'variables';

// TYPOGRAPHY
@import 'typography';

// MIX
@import 'mix';

// HELPER
@import 'helper';

// ICON FONTS
@import 'icon';

// ANIMATION
@import 'animation';

// Button 
@import 'btn';

// Colors 
@import 'colors';

// Preloader 
@import 'preloader';

/* ----------------------------------
    Template Section Styles
 ------------------------------------*/

 /* // Menu - Header Section 
 @import 'header';
 
 // Hero Slide - Section 
 @import 'hero';
 
 // Section Title - Heading 
 @import 'section';
 
 // About - Section 
 @import 'about';
 
 // Features - Section 
 @import 'features';
 
 // services - Section 
 @import 'services';
 
 // testimonial - Section 
 @import 'testimonial';
 
 // Portfolio - Cases - Section 
 @import 'project';
 
 // Price Table - Section 
 @import 'price';
 
 // Call To Action - Section 
 @import 'cta';
 
 // Content Block - Section 
 @import 'contentblock';
 
 // team - Section 
 @import 'team';
 
 // funfact - Section 
 @import 'funfact';
 
 // Download - Section 
 @import 'carousel';
 
 // FAQ - Section 
 @import 'faq';
 
 // Blog - Section 
 @import 'blog';
 
 // Contact Us - Section 
 @import 'contact';
 
// footer - Section 
@import 'footer';n facts */

/* ========== 证书展示区域样式 ========== */
.certificates-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

/* 证书展示标题样式 */
.certificates-section .section-title h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.certificates-section .section-title h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.certificates-section .section-title p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式标题样式 */
@media (max-width: 768px) {
    .certificates-section .section-title h3 {
        font-size: 28px;
    }
    
    .certificates-section .section-title p {
        font-size: 14px;
        padding: 0 20px;
    }
}

.certificate-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.certificate-item:hover {
    transform: translateY(-8px);
    border-color: var(--theme);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.certificate-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--theme);
}

.certificate-header h4 {
    color: var(--theme);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certificate-header i {
    font-size: 1.6rem;
    color: var(--theme2);
}

.certificate-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.certificate-image {
    text-align: center;
}

.certificate-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-image img:hover {
    transform: scale(1.02);
}

.certificate-info {
    background: rgba(255, 107, 53, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--theme);
}

.certificate-info p {
    margin-bottom: 10px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.certificate-info p:last-child {
    margin-bottom: 0;
}

.certificate-info strong {
    color: var(--theme);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .certificates-section {
        padding: 30px 20px;
    }
    
    .certificate-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .certificate-header h4 {
        font-size: 1.2rem;
    }
    
    .certificate-content {
        gap: 15px;
    }
    
    .certificate-info {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .certificates-section {
        padding: 20px 15px;
    }
    
    .certificate-item {
        padding: 15px;
    }
    
    .certificate-header h4 {
        font-size: 1.1rem;
    }
    
    .certificate-info p {
        font-size: 0.9rem;
    }
}

/* 证书轮播样式 - 参考品牌展示区 */
.certificates-carousel-active {
    position: relative;
}

.certificates-carousel-active .certificate-image {
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    margin: 0 10px;
}

.certificates-carousel-active .certificate-image:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.certificates-carousel-active .certificate-image img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certificates-carousel-active .certificate-image:hover img {
    transform: scale(1.05);
}

/* Slick轮播样式调整 */
.certificates-carousel-active .slick-slide {
    margin: 0 10px;
}

.certificates-carousel-active .slick-list {
    margin: 0 -10px;
}

/* 响应式证书展示 */
@media (max-width: 768px) {
    .certificates-carousel-active .certificate-image {
        padding: 15px;
        margin: 0 5px;
    }
    
    .certificates-carousel-active .certificate-image img {
        height: 200px;
        object-fit: contain;
    }
    
    .certificates-carousel-active .slick-slide {
        margin: 0 5px;
    }
    
    .certificates-carousel-active .slick-list {
        margin: 0 -5px;
    }
}

@media (max-width: 575px) {
    .certificates-carousel-active .certificate-image {
        padding: 10px;
    }
    
    .certificates-carousel-active .certificate-image img {
        height: 220px;
    }
}

.certificate-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.certificate-info {
    width: 100%;
    flex: 1;
}

.certificate-info p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.certificate-info strong {
    color: #333;
    font-weight: 600;
}

/* Slick轮播指示器样式 */
.certificates-dots {
    text-align: center;
    margin-top: 30px;
}

.certificates-dots li {
    display: inline-block;
    margin: 0 5px;
}

.certificates-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0;
    padding: 0;
}

.certificates-dots li.slick-active button {
    background: #ff6b35;
}

/* 轮播响应式设计 */
@media (max-width: 768px) {
    .certificates-carousel-active .certificate-item {
        width: 100%; /* 移动端单列显示 */
        flex: 0 0 100%;
        padding: 10px;
    }
    
    .certificate-header h5 {
        font-size: 16px;
    }
    
    .certificate-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .certificate-image img {
        max-width: 100%;
        height: auto;
    }
}

/* 证书放大查看模态框样式 */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #ff6b35;
    text-decoration: none;
}

#modalTitle {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 响应式模态框 */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    #modalTitle {
        font-size: 20px;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
}

/* ========== 视频展示区域样式 ========== */
.video-section {
    background: #f8f9fa;
    position: relative;
}

.video-wrapper .section-title span {
    color: #ff6b35;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-wrapper .section-title h2 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.video-wrapper .section-title p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.video-container {
    max-width: 780px;
    margin: 0 auto;
}

.video-thumbnail {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); */
    /* background: #fff; */
}

.video-thumbnail:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.video-thumbnail video {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.video-thumbnail:hover video {
    transform: scale(1.05);
}


.video-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-info h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.video-info p {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.video-duration {
    color: #ff6b35;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 107, 53, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}


/* 响应式设计 */
@media (max-width: 768px) {
    .video-wrapper .section-title h2 {
        font-size: 28px;
    }
    
    .video-wrapper .section-title p {
        font-size: 16px;
    }
    
    .video-thumbnail {
        padding: 20px;
    }
    
    .video-thumbnail video {
        height: 200px;
    }
    
    .video-info {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px;
    }
    
    .video-info h5 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 12px;
    }
    
}

@media (max-width: 480px) {
    .video-thumbnail {
        padding: 15px;
    }
    
    .video-thumbnail video {
        height: 160px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-info h5 {
        font-size: 14px;
    }
    
    .video-info p {
        font-size: 11px;
    }
}

/* ========== 关于我们视频模态框样式 ========== */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: videoModalSlideIn 0.4s ease-out;
}

@keyframes videoModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.video-close:hover,
.video-close:focus {
    color: #ff6b35;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-description {
    text-align: center;
    padding: 0 20px;
}

.video-description h4 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.video-description p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式模态框 */
@media (max-width: 768px) {
    .video-modal-content {
        padding: 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .video-description h4 {
        font-size: 22px;
    }
    
    .video-description p {
        font-size: 14px;
    }
    
    .video-close {
        top: 15px;
        right: 20px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        padding: 15px;
        width: 95%;
        max-height: 80vh;
    }
    
    .video-description h4 {
        font-size: 20px;
    }
    
    .video-description p {
        font-size: 13px;
    }
}


