/* Case Page Styles */
.case-page {
    padding: 100px 0;
}

.case-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.case-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.case-img {
    position: relative;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: all 0.2s ease;
    filter: contrast(105%) brightness(102%);
}

.case-box:hover .case-img img {
    transform: scale(1.1);
    filter: contrast(110%) brightness(105%);
}

.case-content {
    padding: 25px;
    position: relative;
    background-color: #F5F5FD;
}

.case-cat {
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.case-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-title a:hover {
    color: #0d6efd;
}

.client-name {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.case-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: #ff4a17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-btn:hover {
    background: #0d6efd;
    color: #fff;
    transform: rotate(45deg);
}

.arrow-icon {
    font-size: 16px;
}

/* Pagination Styles */
.pagination-area {
    margin-top: 50px;
    text-align: center;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    margin: 0 5px;
    display: inline-block;
    color: #222;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #ff4a17;
    color: #fff;
}

/* Common Hero Styles */
.common-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.common-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0d6efd, #00c6ff);
    opacity: 0.9;
    z-index: -1;
}

.common-hero .heading {
    color: #fff;
}

.common-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb-menu {
    display: flex;
    justify-content: center;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: #fff;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

/* Case Details Styles */
.case-details {
    padding: 100px 0;
}

.case-details-content {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.case-thumb {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.case-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.case-thumb:hover img {
    transform: scale(1.05);
}

.case-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.case-text h2, 
.case-text h3, 
.case-text h4 {
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.project-description {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.project-description h3 {
    color: #222;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Sidebar Styles */
.case-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-info h3,
.case-category h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 25px;
    font-weight: 700;
}

.project-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.project-info ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-info .icon {
    width: 45px;
    height: 45px;
    background: #ff4a17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 18px;
}

.project-info .text {
    flex: 1;
}

.project-info .text span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.project-info .text p {
    font-size: 16px;
    color: #222;
    font-weight: 600;
    margin: 0;
}

.case-category {
    margin-top: 40px;
}

.case-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-category ul li {
    margin-bottom: 15px;
}

.case-category ul li:last-child {
    margin-bottom: 0;
}

.case-category ul li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.case-category ul li a:hover {
    color: #ff4a17;
    padding-left: 5px;
}

.case-category ul li a i {
    margin-right: 10px;
    color: #ff4a17;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .case-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .case-details {
        padding: 60px 0;
    }
    
    .case-details-content,
    .case-sidebar {
        padding: 20px;
    }
    
    .project-info h3,
    .case-category h3 {
        font-size: 20px;
    }
} 