/* Service Developments Website - Home Page Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide[data-bg] {
    background-image: var(--bg-url);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(0, 180, 255, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation-delay: 0.4s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation-delay: 0.6s;
}

.hero-actions .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 180px;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--text-white);
    border-color: var(--text-white);
    transform: scale(1.2);
}

/* Latest News Section */
.latest-news-section {
    background: var(--neutral-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.featured-article {
    position: relative;
}

.card-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.featured-article:hover .card-image {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-2));
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 14px;
    color: var(--text-light);
}

.card-date {
    font-weight: 500;
}

.card-category {
    background: var(--accent-1);
    color: var(--text-white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--neutral-white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-title {
    margin-bottom: 0.5rem;
}

.news-title a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    transition: var(--transition-fast);
}

.news-title a:hover {
    color: var(--accent-1);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* AI Showcase Section */
.ai-showcase-section {
    background: linear-gradient(135deg, var(--neutral-light), rgba(0, 180, 255, 0.05));
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ai-tools-grid {
    gap: 2rem;
}

.ai-tool-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.ai-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.ai-tool-card:hover::before {
    left: 100%;
}

.ai-tool-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.tool-icon {
    margin-bottom: 1.5rem;
}

.tool-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.tool-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.tool-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: bold;
}

/* Story Section */
.story-section {
    background: var(--neutral-white);
}

.story-content {
    align-items: center;
    gap: 4rem;
}

.story-text {
    order: 1;
}

.story-image {
    order: 2;
}

.story-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.testimonial {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-1));
    color: var(--text-white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial cite {
    font-weight: 600;
    font-style: normal;
}

/* Value Section */
.value-section {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.05), var(--neutral-light));
}

.value-grid {
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
}

.value-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-white);
    box-shadow: var(--shadow-medium);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/oCmJ7yxEFBpJ.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .news-grid {
        gap: 2rem;
    }
    
    .story-content {
        gap: 2rem;
    }
    
    .ai-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-text {
        order: 2;
    }
    
    .story-image {
        order: 1;
    }
    
    .ai-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .ai-tool-card {
        padding: 1.5rem 1rem;
    }
    
    .tool-image {
        width: 60px;
        height: 60px;
    }
    
    .value-item {
        padding: 2rem 1rem;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
}

