/* Homepage Enhanced Styles */

/* General Styles */
:root {
    --primary-color: #2575fc;
    --secondary-color: #6a11cb;
    --accent-color: #4e44ce;
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    margin: 0 15px;
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a.active {
    color: var(--primary-color);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 999;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    padding: 10px 20px;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: var(--transition);
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--primary-color);
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.metrics-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 2.5rem;
}

.metric {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    min-width: 200px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.metric:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.service-metric {
    background-color: var(--bg-light);
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* AI Revolution Preview Section */
.ai-revolution-preview {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    padding: 80px 0;
}

.revolution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.revolution-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.revolution-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.revolution-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.success-factors {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.factor {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 250px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.factor:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.factor-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.factor h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.factor p {
    font-size: 0.95rem;
    margin: 0;
}

.revolution-cta {
    margin-top: 40px;
}

.revolution-cta .btn-primary {
    background-color: white;
    color: #1a2980;
}

/* Industry Solutions Section */
.industry-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 20px;
    background-color: var(--bg-white);
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-color);
}

.tab-btn:hover {
    background-color: #f0f0f0;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.industry-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.industry-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.industry-info {
    flex: 1;
    padding: 40px;
}

.industry-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.industry-info p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.industry-metrics {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.industry-metrics li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
    position: relative;
    padding-left: 30px;
}

.industry-metrics li:last-child {
    border-bottom: none;
}

.industry-metrics li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-study {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateY(-5px);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-study:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 30px;
}

.case-study-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.case-study-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.case-study-metric {
    background-color: var(--bg-light);
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

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

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .industry-content {
        flex-direction: column;
    }
    
    .industry-image {
        max-width: 100%;
    }
    
    .success-factors {
        flex-direction: column;
        align-items: center;
    }
    
    .factor {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .metric {
        min-width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .industry-info {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card, .case-study {
        padding: 20px;
    }
}
