/* Case Study Index Page Styles */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --cyan: #22d3ee;
    --orange: #f97316;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    padding: 200px 0 120px;
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('../image/service/Clients-Who-Trust-Us-(Image2).jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.92) 0%,
        rgba(51, 65, 85, 0.88) 50%,
        rgba(30, 41, 59, 0.92) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #60a5fa;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.hero-section h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.breadcrumb:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    font-weight: 600;
    color: var(--cyan);
}

/* ===========================
   INTRO SECTION
   =========================== */
.casestudy-intro-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.intro-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.intro-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.intro-image-wrapper:hover .intro-image {
    transform: scale(1.05);
}

.intro-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

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

.intro-badge .badge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-badge .badge-icon i {
    font-size: 1.3rem;
    color: white;
}

.intro-badge .badge-content {
    display: flex;
    flex-direction: column;
}

.intro-badge .badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.intro-badge .badge-text {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.intro-content {
    padding-left: 30px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.label-line {
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.label-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.intro-feature:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15);
}

.intro-feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

.intro-feature span {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

/* ===========================
   CASE STUDY GRID SECTION
   =========================== */
.casestudy-grid-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.casestudy-grid {
    margin-top: 40px;
}

.casestudy-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.4s ease;
    height: 100%;
}

.casestudy-card:hover {
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-10px);
}

.casestudy-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.casestudy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.casestudy-card:hover .casestudy-image img {
    transform: scale(1.1);
}

.casestudy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(34, 211, 238, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casestudy-card:hover .casestudy-overlay {
    opacity: 1;
}

.view-btn {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-btn:hover {
    transform: scale(1.1);
    background: var(--dark);
    color: white;
}

.casestudy-content {
    padding: 30px;
    position: relative;
}

.casestudy-number {
    position: absolute;
    top: -25px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.1);
    line-height: 1;
}

.casestudy-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.casestudy-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.casestudy-title a:hover {
    color: var(--primary);
}

.casestudy-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.casestudy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 15px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.casestudy-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.casestudy-link:hover {
    gap: 15px;
    color: var(--primary-dark);
}

.casestudy-link i {
    transition: transform 0.3s;
}

.casestudy-link:hover i {
    transform: translateX(5px);
}

/* ===========================
   WHY CHOOSE SECTION
   =========================== */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.why-features {
    margin-top: 30px;
}

.why-feature {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.why-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    transform: translateX(10px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 1.5rem;
    color: white;
}

.why-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.why-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
    margin-top: 5px;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: url('../image/service/Clients-Who-Trust-Us-(Image2).jpg') center/cover no-repeat;
    color: white;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(51, 65, 85, 0.90) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 992px) {
    .hero-section {
        padding: 160px 0 100px;
    }

    .casestudy-intro-section,
    .casestudy-grid-section,
    .why-choose-section,
    .cta-section {
        padding: 80px 0;
    }

    .intro-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 80px;
    }

    .why-stats {
        grid-template-columns: 1fr;
    }

    .why-feature {
        flex-direction: column;
        text-align: center;
    }

    .why-icon {
        margin: 0 auto;
    }

    .cta-title {
        font-size: 1.8rem;
    }

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

@media (max-width: 576px) {
    .hero-section {
        padding: 120px 0 60px;
    }

    .casestudy-content {
        padding: 20px;
    }

    .casestudy-number {
        font-size: 3rem;
        top: -20px;
        right: 20px;
    }

    .stat-card {
        padding: 20px;
    }
}
