/* services.css - Updated with Show More functionality */

/* Page Hero Section */
.page-hero {
    margin-top: 72px;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.page-hero-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
}

/* Services Detail Section */
.services-detail {
    padding: 100px 0;
}

/* Service Item Layout */
.service-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    margin-bottom: 120px;
    align-items: start;
}

.service-item.reverse {
    grid-template-columns: 1fr 400px;
}

.service-item.reverse .service-card-left {
    order: 2;
}

.service-item.reverse .service-details-right {
    order: 1;
}

/* Left Side Cards */
.service-card-left {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.service-card-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.service-card-content h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.service-tagline {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 32px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Right Side Content */
.service-details-right {
    min-width: 0;
}

.service-details-right h3 {
    font-size: 28px;
    color: #ffffff !important;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.service-details-right > p {
    color: var(--text-light) !important;
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Service Features Wrapper */
.service-features-wrapper {
    position: relative;
}

/* Standard Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.service-features li:hover {
    transform: translateX(8px);
    background: rgba(26, 54, 93, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.service-features li svg {
    flex-shrink: 0;
    color: var(--accent-color);
    width: 20px;
    height: 20px;
    margin-top: 2px;
    filter: drop-shadow(0 2px 5px rgba(100, 255, 218, 0.5));
}

.service-features li span {
    color: #ffffff !important;
    line-height: 1.6;
    font-weight: 500;
    flex: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Mobile Show More Button */
.mobile-show-more-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin: 10px 0 20px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.mobile-show-more-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
}

.mobile-show-more-btn svg {
    transition: transform 0.3s ease;
}

.mobile-show-more-btn:hover svg {
    transform: translateY(2px);
}

/* Marketing Grid Layout */
.marketing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.marketing-group {
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.marketing-group:hover {
    transform: translateY(-4px);
    background: rgba(26, 54, 93, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.marketing-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}

.marketing-group-header svg {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(100, 255, 218, 0.5));
}

.marketing-group-header span {
    font-weight: 700;
    color: #ffffff !important;
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.marketing-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-sublist li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.marketing-sublist li:last-child {
    margin-bottom: 0;
}

.marketing-sublist li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: 6px;
    top: 8px;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Service Outcome Box */
.service-outcome {
    background: rgba(17, 34, 64, 0.9);
    backdrop-filter: blur(5px);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-outcome h4 {
    font-size: 20px;
    color: #ffffff !important;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.service-outcome p {
    color: #ffffff !important;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Button Styles - FIXED for visibility */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 20px rgba(100, 255, 218, 0.4);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.6);
    border-color: var(--white);
}

.btn-white {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
    border-color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    position: relative;
}

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

.cta-title {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.cta-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 35px;
    color: #ffffff !important;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .service-item {
        gap: 40px;
    }
    
    .service-card-content {
        padding: 50px 30px;
    }
    
    .service-card-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 968px) {
    .services-detail {
        padding: 60px 0;
    }

    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .service-item.reverse .service-card-left {
        order: 1;
    }

    .service-item.reverse .service-details-right {
        order: 2;
    }

    .service-card-left {
        position: static;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .service-card-content {
        padding: 40px 28px;
    }

    .service-card-content h2 {
        font-size: 26px;
    }

    .marketing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Show More button styles for mobile */
    .service-features li.mobile-hidden {
        display: none;
    }
    
    .service-features-wrapper.expanded li.mobile-hidden {
        display: flex;
    }
    
    .mobile-show-more-btn {
        display: flex;
    }
}

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

    .page-hero-title {
        font-size: 36px;
    }

    .page-hero-subtitle {
        font-size: 18px;
    }

    .marketing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .marketing-group {
        padding: 20px;
    }
    
    .marketing-group-header span {
        font-size: 1rem;
    }
    
    .marketing-sublist li {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-text {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .service-outcome {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .service-card-content {
        padding: 32px 20px;
    }

    .service-card-content h2 {
        font-size: 24px;
    }

    .service-tagline {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .service-details-right h3 {
        font-size: 22px;
    }

    .service-details-right > p {
        font-size: 15px;
    }

    .service-features li {
        padding: 14px 16px;
        gap: 12px;
    }

    .service-features li span {
        font-size: 14px;
    }

    .service-outcome {
        padding: 20px;
    }

    .service-outcome h4 {
        font-size: 18px;
    }

    .service-outcome p {
        font-size: 14px;
    }

    .marketing-group-header {
        gap: 8px;
    }
    
    .marketing-group-header svg {
        width: 20px;
        height: 20px;
    }
    
    .marketing-group-header span {
        font-size: 0.95rem;
    }
    
    .marketing-sublist li {
        font-size: 0.85rem;
        padding-left: 18px;
        margin-bottom: 8px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .mobile-show-more-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero-title {
        font-size: 28px;
    }

    .page-hero-subtitle {
        font-size: 16px;
    }

    .service-card-content {
        padding: 24px 16px;
    }

    .service-card-content h2 {
        font-size: 20px;
    }

    .service-tagline {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .service-details-right h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .service-features li {
        padding: 12px;
        gap: 10px;
    }

    .service-features li svg {
        width: 18px;
        height: 18px;
    }

    .service-features li span {
        font-size: 13px;
    }

    .marketing-group {
        padding: 16px;
    }

    .marketing-group-header span {
        font-size: 0.9rem;
    }

    .marketing-sublist li {
        font-size: 0.8rem;
        padding-left: 16px;
    }
    
    .marketing-sublist li::before {
        width: 4px;
        height: 4px;
        top: 6px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .mobile-show-more-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

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

.service-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Focus States */
.btn:focus-visible,
.service-features li:focus-visible,
.marketing-group:focus-visible,
.mobile-show-more-btn:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .service-item,
    .marketing-group,
    .service-features li,
    .btn,
    .mobile-show-more-btn {
        animation: none;
        transition: none;
    }
}

/* Print Styles */
@media print {
    .page-hero {
        margin-top: 0;
        padding: 40px 0;
        background: none;
    }

    .page-hero-title,
    .page-hero-subtitle {
        color: black;
    }

    .service-card-left {
        position: static;
    }

    .service-card-content {
        background: none;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .btn,
    .cta-section,
    .mobile-show-more-btn {
        display: none;
    }

    /* Fix for CTA button - force white background */
.cta-section .btn-white {
    background: #ffffff !important;
    color: #0a192f !important;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-white:hover {
    background: #64ffda !important;
    color: #0a192f !important;
    border-color: #64ffda;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
}
}