/* Case Study Detail 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);
}

/* ===========================
   CLIENT OVERVIEW SECTION
   =========================== */
.client-overview-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.client-overview-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg 8s ease-in-out infinite;
}

.client-overview-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg 8s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    min-height: 280px;
    transition: all 0.5s ease;
    animation: fadeInLeft 0.8s ease-out;
}

.client-logo-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.client-logo {
    max-width: 100%;
    width: 220px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.client-logo-wrapper:hover .client-logo {
    transform: scale(1.05);
}

/* Client card — vertical layout with logo + meta */
.client-logo-wrapper {
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.client-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.client-meta h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.client-meta span {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.client-meta span i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Icon placeholder for clients without logos */
.client-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    transition: all 0.5s ease;
    animation: iconPulse 3s ease-in-out infinite;
}

.client-icon-placeholder i {
    font-size: 3rem;
    color: white;
}

.client-logo-wrapper:hover .client-icon-placeholder {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.35);
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25); }
    50% { box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4); }
}

.client-info {
    padding-left: 30px;
    animation: fadeInRight 0.8s ease-out;
}

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

/* Animated highlight items */
.service-highlights .highlight-item {
    animation: fadeInUp 0.6s ease-out backwards;
}
.service-highlights .highlight-item:nth-child(1) { animation-delay: 0.1s; }
.service-highlights .highlight-item:nth-child(2) { animation-delay: 0.15s; }
.service-highlights .highlight-item:nth-child(3) { animation-delay: 0.2s; }
.service-highlights .highlight-item:nth-child(4) { animation-delay: 0.25s; }
.service-highlights .highlight-item:nth-child(5) { animation-delay: 0.3s; }
.service-highlights .highlight-item:nth-child(6) { animation-delay: 0.35s; }
.service-highlights .highlight-item:nth-child(7) { animation-delay: 0.4s; }
.service-highlights .highlight-item:nth-child(8) { animation-delay: 0.45s; }

.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(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 30px;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.5;
}

.highlight-bold {
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.highlight-bold i {
    color: var(--orange);
}

.highlight-bold span {
    font-weight: 600;
}

/* ===========================
   MODULES SECTION
   =========================== */
.modules-section {
    padding: 100px 0;
    background: white;
}

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

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

.module-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    height: 100%;
    transition: all 0.4s ease;
}

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

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

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

.module-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.module-content p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: 10px;
}

.research-content {
    margin-top: 50px;
}

.research-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.research-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--orange);
}

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

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

.research-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.research-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.research-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.research-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.research-item i {
    color: var(--primary);
    font-size: 1rem;
}

.research-item span {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

/* ===========================
   RESULTS SECTION
   =========================== */
.results-section {
    padding: 100px 0;
    background: white;
}

.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;
}

.results-grid {
    margin-top: 50px;
}

.result-card {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.4s ease;
    height: 100%;
}

.result-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
    transform: translateY(-8px);
}

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

.result-icon i {
    font-size: 2rem;
    color: white;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 10px;
}

.result-number::after {
    content: '%';
    font-size: 2rem;
    color: var(--primary);
}

.result-card:nth-child(3) .result-number::after {
    content: '+';
}

.result-card:nth-child(4) .result-number::after {
    content: '%';
}

.result-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
}

/* ===========================
   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;
    }

    .client-overview-section,
    .modules-section,
    .research-section,
    .results-section,
    .cta-section {
        padding: 80px 0;
    }

    .client-info {
        padding-left: 0;
        margin-top: 40px;
    }
}

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

    .module-card {
        flex-direction: column;
        text-align: center;
    }

    .module-icon {
        margin: 0 auto;
    }

    .research-header {
        flex-direction: column;
        text-align: center;
    }

    .research-items {
        grid-template-columns: 1fr;
    }

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

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

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

    .client-logo-wrapper {
        padding: 20px;
    }

    .client-logo {
        max-width: 150px;
    }

    .highlight-item {
        padding: 10px 15px;
    }

    .research-card {
        padding: 25px 20px;
    }

    .result-card {
        padding: 30px 20px;
    }

    .result-number {
        font-size: 2.5rem;
    }
}
