/* ============================================
   SERVICE DETAIL PAGES - COMPLETE STYLESHEET
   Version: 1.0
   For individual service pages
   ============================================ */

/* ============================================
   SERVICE HERO SECTION
   ============================================ */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.service-tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICE OVERVIEW SECTION
   ============================================ */
.service-overview {
    padding: 80px 0;
background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%23ffffff' stroke-width='0.2' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cuse fill='%23fcfcfc' href='%23s' y='2'/%3E%3Cuse fill='%23fcfcfc' href='%23s' x='1' y='2'/%3E%3Cuse fill='%23fafafa' href='%23s' x='2' y='2'/%3E%3Cuse fill='%23fafafa' href='%23s'/%3E%3Cuse fill='%23f7f7f7' href='%23s' x='2'/%3E%3Cuse fill='%23f7f7f7' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23f5f5f5'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23f5f5f5'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23f2f2f2'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23ffffff'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23efefef'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(30.25) translate(-966.94 -725.21)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
background-attachment: fixed;
background-size: cover;    
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.overview-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2.5rem;
}

.stat-box {
    background: var(--light-color);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-box p {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.overview-image {
    position: sticky;
    top: 100px;
}

.overview-image .image-placeholder {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 100px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.overview-image i {
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   TECHNOLOGIES / PLATFORMS SECTION
   ============================================ */
.technologies-section {
    padding: 80px 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.tech-category {
    background: var(--light-color);
    padding: 35px;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.tech-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.tech-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tech-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-category ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
    transition: all 0.3s;
}

.tech-category ul li:last-child {
    border-bottom: none;
}

.tech-category ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tech-category ul li:hover {
    padding-left: 30px;
    color: var(--primary-color);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
    padding: 80px 0;
    background: var(--light-color);
}

.features-grid-service {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-box {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-box p {
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* ============================================
   OUR PROCESS / TIMELINE SECTION - PERFECT VERSION
   ============================================ */
.our-process {
    padding: 80px 0;
    background: white;
}

.our-process .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.our-process .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Each Timeline Item */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Connecting Line Between Numbers - FIXED POSITION */
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 39px; /* Exactly center of 80px number (40px - 1px for 2px line width) */
    top: 90px; /* Starts below the number circle */
    width: 2px;
    height: calc(100% - 40px); /* Extends to next number */
    background: linear-gradient(
        to bottom,
        rgba(102, 126, 234, 0.8) 0%,
        rgba(102, 126, 234, 0.4) 50%,
        rgba(102, 126, 234, 0.2) 100%
    );
    z-index: 0;
}

/* Number Circle - FIXED SIZE & POSITION */
.timeline-number {
    /* Force exact size */
    min-width: 80px;
    max-width: 80px;
    width: 80px;
    min-height: 80px;
    max-height: 80px;
    height: 80px;
    
    /* Prevent shrinking */
    flex-shrink: 0;
    flex-grow: 0;
    
    /* Visual styles */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
    
    /* Center the number text */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Text styles */
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    
    /* Layering */
    position: relative;
    z-index: 2;
    
    /* Animation */
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

/* Content Area - FULL WIDTH */
.timeline-content {
    flex: 1; /* Takes all remaining space */
    width: 100%; /* Ensures full width */
    min-width: 0; /* Allows flex to work properly */
    padding-top: 5px; /* Aligns with top of number */
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
}

.timeline-content p {
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    font-size: 1.05rem;
}

/* Different Colors for Each Number */
.timeline-item:nth-child(1) .timeline-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.timeline-item:nth-child(2) .timeline-number {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.timeline-item:nth-child(3) .timeline-number {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.timeline-item:nth-child(4) .timeline-number {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.timeline-item:nth-child(5) .timeline-number {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.timeline-item:nth-child(6) .timeline-number {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* ============================================
   RESPONSIVE TIMELINE
   ============================================ */

@media (max-width: 768px) {
    .our-process {
        padding: 60px 0;
    }

    .our-process .section-title {
        font-size: 2rem;
    }

    .process-timeline {
        padding: 10px;
    }

    .timeline-item {
        gap: 20px;
        margin-bottom: 40px;
    }

    /* Line position for smaller numbers */
    .timeline-item:not(:last-child)::before {
        left: 29px; /* Center of 60px number */
        top: 70px;
    }

    /* Smaller number circle */
    .timeline-number {
        min-width: 60px;
        max-width: 60px;
        width: 60px;
        min-height: 60px;
        max-height: 60px;
        height: 60px;
        font-size: 1.5rem;
        border: 3px solid #ffffff;
    }

    .timeline-content {
        padding-top: 3px;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .our-process {
        padding: 50px 0;
    }

    .our-process .section-title {
        font-size: 1.8rem;
    }

    .our-process .section-subtitle {
        font-size: 1rem;
    }

    .process-timeline {
        padding: 5px;
    }

    .timeline-item {
        gap: 15px;
        margin-bottom: 35px;
    }

    /* Line position for smallest numbers */
    .timeline-item:not(:last-child)::before {
        left: 24px; /* Center of 50px number */
        top: 58px;
        width: 2px;
    }

    /* Smallest number circle */
    .timeline-number {
        min-width: 50px;
        max-width: 50px;
        width: 50px;
        min-height: 50px;
        max-height: 50px;
        height: 50px;
        font-size: 1.3rem;
        border: 2px solid #ffffff;
    }

    .timeline-content {
        padding-top: 2px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}


/* ============================================
   WHAT'S INCLUDED SECTION
   ============================================ */
.whats-included {
    padding: 80px 0;
    background: var(--light-color);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.included-item {
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.included-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.included-item i {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.included-item h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--light-color);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--dark-color);
    font-weight: 600;
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    line-height: 1.8;
    color: var(--text-color);
}

/* ============================================
   SERVICE CTA SECTION
   ============================================ */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.service-cta .container {
    position: relative;
    z-index: 1;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PRICING TABLES (OPTIONAL)
   ============================================ */
.pricing-section {
    padding: 80px 0;
    background: var(--light-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--success-color);
}

/* ============================================
   CASE STUDIES / PORTFOLIO (OPTIONAL)
   ============================================ */
.case-studies {
    padding: 80px 0;
    background: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.case-item {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 250px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.case-content p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.case-tag {
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* ============================================
   BENEFITS / ADVANTAGES SECTION
   ============================================ */
.benefits-section {
    padding: 80px 0;
    background: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-item h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.benefit-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   COMPARISON TABLE (OPTIONAL)
   ============================================ */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-table {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
}

.comparison-table td i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.comparison-table tr:hover {
    background: var(--light-color);
}

/* ============================================
   CALL TO ACTION BOXES
   ============================================ */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin: 60px 0;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .overview-image {
        position: static;
        margin-top: 40px;
    }

    .overview-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .features-grid-service {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0 40px;
    }

    .service-hero h1 {
        font-size: 2rem;
    }

    .service-tagline {
        font-size: 1.1rem;
    }

    .overview-content h2 {
        font-size: 2rem;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .features-grid-service {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .timeline-item:not(:last-child)::before {
        left: 30px;
        top: 60px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }

    .pricing-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .comparison-table {
        overflow-x: auto;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .cta-box h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .service-overview,
    .why-choose,
    .our-process,
    .whats-included,
    .faq-section,
    .service-cta,
    .technologies-section,
    .pricing-section,
    .case-studies,
    .benefits-section,
    .comparison-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .overview-image {
        display: none;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .feature-box {
        padding: 25px;
    }

    .tech-category {
        padding: 25px;
    }

    .service-cta h2 {
        font-size: 2rem;
    }

    .service-cta p {
        font-size: 1.05rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 30px 20px;
        margin: 40px 0;
    }
}

/* ============================================
   PRINT STYLES (OPTIONAL)
   ============================================ */
@media print {
    .service-hero,
    .service-cta,
    .breadcrumb,
    .cta-buttons {
        display: none;
    }

    .overview-grid,
    .features-grid-service,
    .tech-grid {
        display: block;
    }

    .overview-content,
    .feature-box,
    .tech-category {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */
.faq-question:focus,
.included-item:focus,
.feature-box:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================
   CUSTOM SCROLLBAR (OPTIONAL)
   ============================================ */
.faq-answer::-webkit-scrollbar {
    width: 8px;
}

.faq-answer::-webkit-scrollbar-track {
    background: var(--light-color);
}

.faq-answer::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.faq-answer::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ============================================
   LOADING STATES (OPTIONAL)
   ============================================ */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background: var(--light-color);
}

.bg-white {
    background: white;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.rounded {
    border-radius: 10px;
}

.rounded-full {
    border-radius: 50%;
}

/* ============================================
   END OF SERVICE PAGE STYLESHEET
   ============================================ */