/* HS NET - Flat Design Style CSS */

/* CSS Variables */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
}

.logo-text {
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--gray);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    padding: 8px 16px;
    background: var(--light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--white);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--white);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-hero-small {
    padding: 140px 0 60px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--light);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid var(--light);
}

.service-detail-card:last-child {
    border-bottom: none;
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary);
}

.service-detail-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 500;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Industries */
.industries {
    padding: 80px 0;
    background: var(--light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.industry-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 14px;
    color: var(--gray);
}

/* About Page */
.about-intro {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder svg {
    width: 120px;
    height: 120px;
    color: var(--gray-light);
}

/* Mission Vision */
.mission-vision {
    padding: 80px 0;
    background: var(--light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.mv-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Values */
.values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    padding: 40px 30px;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.value-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    font-size: 15px;
}

/* Timeline */
.timeline {
    padding: 80px 0;
    background: var(--light);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.timeline-content p {
    color: var(--gray);
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--light);
    border-radius: var(--radius);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-card-content p,
.contact-card-content a {
    color: var(--gray);
    font-size: 14px;
}

.contact-card-content a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Company Info */
.company-info {
    padding: 60px 0;
    background: var(--light);
}

.company-info-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto;
}

.company-info-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

.company-details {
    display: grid;
    gap: 20px;
}

.company-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--light);
}

.company-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
}

.detail-value {
    color: var(--gray);
}

/* Legal Pages */
.legal-content {
    padding: 60px 0 100px;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--dark);
}

.legal-section p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.contact-info-legal {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 20px;
}

.contact-info-legal p {
    margin-bottom: 8px;
}

.contact-info-legal a {
    color: var(--primary);
}

.contact-info-legal a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-brand .company-name {
    color: var(--gray);
    font-size: 13px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--gray-light);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    color: var(--dark);
    font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid,
    .values-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card.reverse {
        direction: ltr;
    }
    
    .service-detail-icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .services-grid,
    .values-grid,
    .industries-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
        text-align: left;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .company-info-card {
        padding: 30px 20px;
    }
    
    .company-detail-item {
        flex-direction: column;
        gap: 4px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.service-card,
.value-card,
.industry-card,
.mv-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
