
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5B6CFF;
    --primary-dark: #4A5CE8;
    --accent: #FF6B6B;
    --accent-dark: #E85B5B;
    --background: #FAFAFA;
    --text-primary: #1C1C2E;
    --text-secondary: #6B7280;
    --white: #FFFFFF;
}

body {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(91, 108, 255, 0.3);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.logo-text h1 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: -2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-dropdown-content a:hover {
    background: rgba(91, 108, 255, 0.05);
}

.nav-dropdown-content a p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.nav-dropdown-content a p:last-child {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cta-button {
    padding: 0.625rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(91, 108, 255, 0.3);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    padding-top: 6rem;
}

section {
    padding: 6rem 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero/Intro Section */
.intro {
    padding-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(91, 108, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.intro h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.intro h1 .highlight {
    color: var(--primary);
}

.intro p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 42rem;
    line-height: 1.7;
}

/* Services Grid */
.services-header {
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 42rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-learn-more {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    margin: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(91, 108, 255, 0.2) 0%, var(--primary) 50%, rgba(91, 108, 255, 0.2) 100%);
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.timeline-step {
    text-align: center;
}

.timeline-icon {
    width: 128px;
    height: 128px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(91, 108, 255, 0.3);
    position: relative;
}

.timeline-icon-inner {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.timeline-number {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.timeline-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.timeline-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Industry Cards */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: linear-gradient(135deg, #f9fafb 0%, white 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.5s ease;
}

.industry-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.industry-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.industry-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industry-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 12px;
    height: 12px;
}

.industry-feature span {
    font-weight: 500;
}

/* Safety Section */
.safety-section {
    background: white;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.safety-content {
    max-width: 600px;
}

.safety-badge {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent);
}

.safety-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.safety-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.safety-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.safety-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.safety-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(91, 108, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-check svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.safety-item span {
    font-weight: 500;
}

.safety-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.safety-stat-card {
    border-radius: 16px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.safety-stat-card svg {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.safety-stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.safety-stat-card p {
    opacity: 0.9;
}

.safety-stat-card.full-width {
    grid-column: 1 / -1;
}

/* Global Section */
.global-section {
    background: var(--text-primary);
    color: white;
    margin: 6rem 0;
}

.global-header {
    text-align: center;
    margin-bottom: 4rem;
}

.global-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.global-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.global-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 42rem;
    margin: 0 auto;
}

.global-map {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.global-stat {
    text-align: center;
}

.global-stat svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.global-stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.global-stat p {
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Page Styles */
.contact-info-section {
    background: white;
    padding: 6rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    background: linear-gradient(135deg, #f9fafb 0%, white 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.5s ease;
}

.contact-info-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(91, 108, 255, 0.3);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    max-width: 56rem;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 128px;
}

.submit-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(91, 108, 255, 0.3);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.success-message {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #bbf7d0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 8rem;
}

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

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
}

.footer-logo-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 28rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 4rem 1.5rem 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    nav.mobile-active {
        left: 0;
    }

    nav > a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f4f6;
        font-size: 1rem;
        font-weight: 500;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f4f6;
        font-size: 1rem;
        font-weight: 500;
    }

    .nav-dropdown > a::after {
        content: '▼';
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active > a::after {
        transform: rotate(180deg);
    }

    .nav-dropdown-content {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        box-shadow: none;
        background: #f9fafb;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-dropdown.active .nav-dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .nav-dropdown-content a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        color: var(--text-secondary);
        border-bottom: none;
    }

    .nav-dropdown-content a:hover {
        color: var(--primary);
        background: rgba(91, 108, 255, 0.05);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-close {
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        background: white;
        border: none;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
        stroke: var(--text-primary);
    }

    .services-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        display: none;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
