
.swiper { 
    width: 100%; 
    height: 60vh; 
    position: relative; 
    overflow: hidden; 
}

.hero-bg-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover; z-index: -1;
}

.slide-content { 
    position: relative; z-index: 10; height: 100%; 
    display: flex; flex-direction: column; 
    justify-content: center; align-items: center; 
    text-align: center; color: #ffffff; 
    background: rgba(15, 23, 42, 0.6); padding: 0 10%;
}

.slide-content h1, .h1-style { 
    font-size: 2.5rem !important; 
    font-weight: 900; 
    margin-bottom: 20px; 
    line-height: 1.3; 
}

.slide-content h1 span, .h1-style span { color: var(--brand-red); }

.about-box { 
    display: flex; align-items: center; gap: 50px; 
    padding: 80px 5%; max-width: 1250px; margin: 0 auto; 
    text-align: right; 
}

.about-text { 
    flex: 1.2; 
    position: relative; 
    padding-right: 30px; 
}

.accent-line { 
    position: absolute; 
    top: 0; 
    right: 0; 
    width: 4px; 
    height: 100%; 
    background: var(--brand-red); 
    display: block; 
}

.about-text h2 { 

    font-size: 1.6rem; 
    margin-bottom: 25px; 
    color: var(--dark-blue); 
    font-weight: 800;
}
[data-theme="dark"] .about-text h2 { color: #ffffff; }

.about-text p { 
    margin-bottom: 15px; 
    line-height: 1.9; 
    color: var(--text-gray); 
    font-size: 1.05rem; 
}

.highlight-p { 
    border-top: 1px solid var(--border-color); 
    padding-top: 15px; 
    margin-top: 20px; 
    font-weight: 700; 
    color: var(--text-main); 
}

.about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }


.cert-slider-section { 
    padding: 50px 0; 
    background-color: #f8f9fa; 
    overflow: hidden; 
    direction: ltr; 
}
[data-theme="dark"] .cert-slider-section { background-color: rgba(255,255,255,0.02); }

.slider-container { width: 100%; overflow: hidden; position: relative; }
.slider-track { display: flex; width: max-content; animation: scroll 30s linear infinite; }

.slide-item { 
    width: 180px; margin: 0 30px; flex-shrink: 0; 
    display: flex; align-items: center; justify-content: center; 
}

.slide-item img { 
    max-width: 100%; 
    opacity: 1;
    filter: none;
    transition: transform 0.3s; 
}
.slide-item:hover img { transform: scale(1.1); }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.sec-title {
    text-align: center; max-width: 800px; margin: 0 auto 50px; padding: 0 15px;
}
.sec-title h2 {
    font-size: 2rem; font-weight: 800; color: var(--dark-blue); margin-bottom: 10px;
    position: relative; display: inline-block;
}
.sec-title h2::after {
    content: ''; display: block; width: 50px; height: 3px; 
    background: var(--brand-red); margin: 8px auto 0;
}
[data-theme="dark"] .sec-title h2 { color: #ffffff; }

.grid-6 { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 25px; padding: 0 5% 60px; max-width: 1300px; margin: 0 auto;
}
.card { 
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 30px 20px; text-align: center; transition: 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--brand-red); }
.card i { font-size: 40px; color: var(--brand-red); margin-bottom: 15px; }
.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-blue);
}
[data-theme="dark"] .card h3 { color: #ffffff; }

.card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-top: 10px;
    display: block !important;
}
[data-theme="dark"] .card p { color: #cbd5e1; }
.faq-section { padding: 60px 5%; background-color: #f8fafc; }
[data-theme="dark"] .faq-section { background-color: rgba(15, 23, 42, 0.3); }

.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 10px; }

.faq-question { 
    width: 100%; padding: 20px; background: none; border: none; 
    display: flex; justify-content: space-between; align-items: center; 
    cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--text-main); 
}

.faq-answer { 
    padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.4s ease; 
    color: #475569; 
    font-size: 0.95rem; line-height: 1.7;
}
[data-theme="dark"] .faq-answer { color: #cbd5e1; }

.faq-item.active .faq-answer { padding-bottom: 20px; max-height: 300px; }
.faq-item.active .faq-question { color: var(--brand-red); }

.blog-grid { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 30px; padding: 0 5% 80px; max-width: 1300px; margin: 0 auto;
}
.blog-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 20px; }


@media (max-width: 768px) {
    .swiper { height: 50vh; } 
    .slide-content h1, .h1-style { font-size: 1.5rem !important; }
    
    .about-box { flex-direction: column; text-align: center; gap: 30px; }
    .about-text { text-align: center; } 
    .accent-line { display: none; } 
    
    .grid-6 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; padding: 0 10px 40px; }
    .card { padding: 15px 10px; }
    .card p { display: none; } 

    .blog-grid {
        display: flex !important;
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory;
        gap: 15px; 
        padding: 10px 15px 40px !important;
        
        animation: none !important; 
        transform: none !important; 
    }

    .blog-card {
        flex: 0 0 260px !important;
        scroll-snap-align: center;
        height: auto !important;
    }


    .blog-card img {
        height: 140px !important; 
    }

    .blog-content {
        padding: 12px !important; 
    }

    .blog-content h3 {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
        line-height: 1.4;
    }

    .blog-content p {
        display: none !important;
    }

    .blog-link {
        padding: 6px 15px !important;
        font-size: 0.8rem !important;
        margin-top: 5px;
    }
    
    .slide-item { width: 110px; margin: 0 10px; }
}



section {
    position: relative; 
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    

    width: 80%; 
    height: 1px;
    

    background: linear-gradient(90deg, transparent 0%, var(--brand-red) 50%, transparent 100%);
    
    opacity: 0.6; 
    z-index: 1;
}

section:last-of-type::after {
    display: none;
}