body {
    font-family: 'Sora', sans-serif;
    background-color: #F8FAFC;
}
p {
margin: 1.5rem 0 !important;
}

/* Common Data Background */
.data-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

.gradient-card-2 > *, .gradient-card-3 > * {
    position: relative;
    z-index: 2;
}

.gradient-card-2 {
    background: linear-gradient(135deg, #DC2626 0%, #7F1D1D 100%);
    position: relative;
    overflow: hidden;
}

.gradient-card-3 {
    background: linear-gradient(90deg, #172554 0%, #1E40AF 100%);
    position: relative;
    overflow: hidden;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #DC2626 0%, #7F1D1D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.arc-line {
    position: absolute;
    right: 0;
    top: 20%;
    width: 300px;
    height: 300px;
    border-left: 1px solid #CBD5E1;
    border-radius: 50% 0 0 50%;
    transform: rotate(15deg);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.smart-slider-padding {
    padding-left: 1rem;
}
@media (min-width: 640px) { .smart-slider-padding { padding-left: 1.5rem; } }
@media (min-width: 1024px) { .smart-slider-padding { padding-left: 2rem; } }

/* Tab Animations */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.tab-content.active {
    display: grid;
    opacity: 1;
}

.service-tab-btn {
    white-space: nowrap;
}
.service-tab-btn.active {
    background-color: #DC2626;
    color: white;
    border-color: #DC2626;
}

.main-view-btn {
    position: relative;
    color: #64748B;
    white-space: nowrap;
}
.main-view-btn.active {
    color: #DC2626;
    font-weight: 700;
}
.main-view-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #DC2626;
    border-radius: 3px 3px 0 0;
}

/* Mobile Category Filters */
@media (max-width: 1024px) {
    .main-view-btn {
        flex-shrink: 0;
        font-size: 0.875rem;
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 640px) {
    .main-view-btn {
        font-size: 0.75rem;
        padding-bottom: 0.375rem;
    }
}

/* Tech Pattern */
.tech-pattern {
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Partners Carousel */
@keyframes scroll-loop-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scroll-loop-left {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.logo-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    padding: 1rem 0;
}
.right-scroll {
    animation: scroll-loop-right 80s linear infinite;
    will-change: transform;
}
.left-scroll {
    animation: scroll-loop-right 80s linear infinite reverse;
    will-change: transform;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .logo-group {
        gap: 4rem;
        padding-right: 4rem;
    }
}

/* Header Dropdown */
.header-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}
.group:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tabs Fade Overlay */
.tabs-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.tabs-fade-overlay {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, #F8FAFC 20%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}
@media (min-width: 1024px) {
    .tabs-fade-overlay {
        display: none; 
    }
}

/* Mobile Sub-category Filters */
@media (max-width: 768px) {
    .tabs-container-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tabs-fade-overlay {
        display: none;
    }
    
    #subTabScrollContainer {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-tab-btn {
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .tabs-nav-container {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
}

@media (max-width: 640px) {
    .service-tab-btn {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
    }
    
    .tabs-container-wrapper .flex.gap-2 {
        position: sticky;
        right: 0;
        background: #F8FAFC;
        padding-left: 0.5rem;
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
    }
    
    .tabs-container-wrapper .flex.gap-2 button {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* FAQ Accordion Styles */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-content {
    max-height: 200px;
}
.faq-item.active .ph-caret-down {
    transform: rotate(180deg);
}

/* Module Animation */
.module-content {
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Shop Page Styles */
.shop-tab-btn {
    transition: all 0.2s;
}
.shop-tab-btn.active {
    background-color: #DC2626;
    color: white;
    border-color: #DC2626;
}

.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    transform: scale(0.95);
    transition: all 0.3s ease-in-out;
}
.modal.active .modal-content {
    transform: scale(1);
}

/* Contact & Checkout Forms */
.form-input:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    border-color: #DC2626;
}

/* --- CASE STUDIES PAGE SPECIFIC STYLES --- */
.case-tab-btn {
    white-space: nowrap;
    transition: all 0.3s ease;
}
.case-tab-btn.active {
    background-color: #DC2626;
    color: white;
    border-color: #DC2626;
}

.case-item.active {
    animation: fadeIn 0.5s ease-in-out;
}
/* Testimonial Fade Animation */
.testimonial-fade {
    transition: opacity 0.5s ease-in-out;
}
.opacity-0 {
    opacity: 0;
}
.opacity-100 {
    opacity: 1;
}
/* --- ACADEMY PAGE: APPLY MODAL --- */
.apply-modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.apply-modal.active {
    opacity: 1;
    visibility: visible;
}
.apply-modal-content {
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease-in-out;
}
.apply-modal.active .apply-modal-content {
    transform: translateY(0) scale(1);
}
/* ... Əvvəlki kodlar ... */

/* --- BLOG PAGE SPECIFIC STYLES --- */
.blog-filter-btn {
    white-space: nowrap;
    transition: all 0.3s ease;
}
.blog-filter-btn.active {
    background-color: #DC2626;
    color: white;
    border-color: #DC2626;
}

/* Blog Card Hover Effect */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
}

/* Pagination Button */
.page-btn.active {
    background-color: #DC2626;
    color: white;
    border-color: #DC2626;
}
/* ... Əvvəlki kodlar ... */

/* --- BLOG DETAIL PAGE STYLES --- */
.blog-content h2 {
    font-size: 1.875rem; /* 30px */
    font-weight: 800;
    color: #0F172A; /* slate-900 */
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.blog-content h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: #0F172A;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #334155; /* slate-700 */
    font-size: 1.125rem; /* 18px */
}

.blog-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-content blockquote {
    border-left: 4px solid #DC2626;
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #475569;
    margin: 2.5rem 0;
    background-color: #F8FAFC;
    padding: 2rem;
    border-radius: 0 1rem 1rem 0;
}

.blog-content img {
    border-radius: 1rem;
    margin: 2rem 0;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Search Modal Styles */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.search-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .search-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
}

/* Card Form Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Search Modal */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.search-modal-content {
    background-color: white;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 42rem;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.search-modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.search-modal-overlay.hidden .search-modal-content {
    transform: translateY(-20px);
}

.search-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .search-modal-overlay {
        padding-top: 4rem;
    }
    
    .search-modal-content {
        padding: 1rem;
    }
    
    .search-modal-content form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-modal-content select {
        width: 100%;
    }
}