/* Updated index.css with modern styling and AI enhancements */

/* Hero section */
#hero {
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(15, 15, 15, 0.9)), url('/assets/img/mcs.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
}

/* Fix for mobile */
@media only screen and (min-width: 768px) {
    #hero {
        background-attachment: fixed !important;
    }
}

/* Updated body and sections for dark theme */
body {
    background: #0a0a0a;
    color: #ffffff;
}

.sections {
    background: #0a0a0a;
    padding: 4rem 0;
}

/* Text styling */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-top: 2rem;
    font-weight: 500;
}

.highlight {
    color: #667eea;
    font-weight: 600;
}

/* New AI badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Button styling */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Section styling */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
}

.separator {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.separator hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

/* Content text */
.content-text {
    color: #a0a0a0;
    line-height: 1.7;
}

.content-text p {
    margin-bottom: 1rem;
}

/* Image styling */
.image-wrapper {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.2);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Services list */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 15, 15, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.services-list li:hover {
    transform: translateX(10px);
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.services-list li i {
    color: #667eea;
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

.services-list li span {
    font-weight: 500;
    color: white;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.card-content {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* New AI enhancement boxes */
.ai-enhancement {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #667eea;
}

.card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card-link:hover {
    color: white;
}

.card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

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

/* Process list */
.process-list {
    margin: 3rem 0;
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.process-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.process-content {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    color: #a0a0a0;
    transition: all 0.3s ease;
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.process-item:hover .process-content {
    transform: translateX(10px);
    background: rgba(102, 126, 234, 0.1);
    color: white;
    border-color: rgba(102, 126, 234, 0.3);
}

/* Content box */
.content-box {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Feature link */
.feature-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.feature-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

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

/* Background accent */
.bg-accent {
    background: rgba(15, 15, 15, 0.8);
    position: relative;
    overflow: hidden;
}

.bg-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 0;
}

.bg-accent > * {
    position: relative;
    z-index: 1;
}

/* New AI Platform link */
.ai-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 2rem;
}

.ai-platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .process-item {
        flex-direction: column;
    }
    
    .process-number {
        margin-bottom: 1rem;
    }

    .ai-platform-link {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-item {
        margin-bottom: 2.5rem;
    }
}

/* Updated scroll to top button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

#myBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}