:root {
    --slate-blue: #1e3a5f;
    --slate-dark: #0d1b2a;
    --carbon: #2d2d2d;
    --light-grey: #f4f5f7;
    --white: #ffffff;
    --safety-orange: #ff6b35;
    --safety-orange-dark: #e55a2b;
    --industrial-yellow: #f5a623;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled,
.navbar.pages {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--safety-orange), var(--industrial-yellow));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.logo-text {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--safety-orange);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--safety-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--safety-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.85rem;
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--slate-dark);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.92), rgba(30, 58, 95, 0.85));
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255,255,255,0.02) 100px,
            rgba(255,255,255,0.02) 101px
        );
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 0.9rem;
    position: relative;
}

.breadcrumb a {
    color: var(--safety-orange);
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255,255,255,0.02) 100px,
            rgba(255,255,255,0.02) 101px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(255,255,255,0.02) 100px,
            rgba(255,255,255,0.02) 101px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--safety-orange);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--safety-orange);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta .btn {
    font-size: 1.1rem;
    padding: 18px 36px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--safety-orange);
}

.hero-stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.section-grey {
    background: var(--light-grey);
}

.section-dark {
    background: var(--slate-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--safety-orange);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--slate-dark);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-desc {
    color: rgba(255,255,255,0.7);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--safety-orange);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--slate-blue), var(--slate-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--safety-orange);
    transform: scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--slate-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--safety-orange);
    font-weight: 600;
    margin-top: 16px;
    transition: gap 0.3s ease;
}

.service-card .btn-link:hover {
    gap: 12px;
}

/* Service Detail Page */
.service-detail {
    padding: 80px 0;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-row:nth-child(even) {
    direction: rtl;
}

.service-detail-row:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 1.8rem;
    color: var(--slate-dark);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-detail-content li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
}

.service-detail-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--safety-orange);
    border-radius: 50%;
}

.service-detail-content li::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 0.7rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--safety-orange);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--safety-orange), var(--industrial-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sector-card {
    position: relative;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.3) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.sector-card:hover::before {
    background: linear-gradient(to top, rgba(255, 107, 53, 0.9) 0%, rgba(255, 107, 53, 0.5) 100%);
}

.sector-card:hover img {
    transform: scale(1.1);
}

.sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.sector-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.sector-card:hover .sector-icon {
    background: var(--white);
}

.sector-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.sector-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 4px;
}

.sector-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--slate-blue) 0%, var(--slate-dark) 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,107,53,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--safety-orange);
}

.contact-item-text {
    color: var(--white);
}

.contact-item-text strong {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--slate-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--carbon);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--slate-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

.form-success {
    display: none;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    text-align: center;
    margin-top: 16px;
}

.form-error {
    display: none;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    text-align: center;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--carbon);
    padding: 60px 0 30px;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

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

.footer-links a:hover {
    color: var(--safety-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--slate-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.92), rgba(30, 58, 95, 0.85));
}

.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--slate-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--slate-dark);
    margin: 16px 0 8px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid,
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-row {
        grid-template-columns: 1fr;
    }

    .service-detail-row:nth-child(even) {
        direction: ltr;
    }

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

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }
}
