/* Google Fonts */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Colors - Premium Industrial Dark Theme */
    --bg-dark: #0a0a0c;
    --bg-darker: #050506;
    --bg-light: #16161a;
    --bg-lighter: #202026;
    
    --accent: #f5b927; /* Industrial Safety Yellow/Gold */
    --accent-hover: #ffca4a;
    --text-primary: #f8f8f9;
    --text-secondary: #a0a0ab;
    --text-muted: #6b6b76;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(22, 22, 26, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--bg-darker);
}

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

.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; }

/* Typography */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(245, 185, 39, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 185, 39, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 185, 39, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--bg-lighter);
    border-color: var(--text-secondary);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 10, 12, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

header.scrolled .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

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

.nav-links a {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover:not(.btn-nav) {
    color: var(--accent);
}

.btn-nav {
    padding: 10px 24px;
    background-color: var(--accent);
    color: #000 !important;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--bg-darker);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 12px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.7) 50%, rgba(5, 5, 6, 0.4) 100%);
}

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

.hero .badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(5px);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-slogan {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2.5rem;
    padding-left: 16px;
    border-left: 4px solid var(--accent);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
}

.image-card {
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.image-card img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.floating-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(20, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    max-width: 250px;
}

.floating-box h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.floating-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Services */
.services .section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 185, 39, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

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

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

.service-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content.p-full {
    padding: 32px 24px;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(245, 185, 39, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.glass-overlay {
    position: absolute;
    bottom: 24px;
    right: 24px;
    left: 24px;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.glass-overlay h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.why-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.advantages-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.advantages-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: -2px;
}

/* Mission, Vision, Values */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    padding: 40px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.mv-card:hover {
    border-color: var(--accent);
}

.mv-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.mv-card p {
    color: var(--text-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.value-item {
    background: var(--bg-lighter);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    background: var(--glass-bg);
}

.value-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Industries */
.industries-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.industries-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ind-tag {
    padding: 8px 16px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.ind-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 185, 39, 0.05);
}

.industries-image {
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.industries-image img {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Gallery Section */
.gallery .section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.gallery .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(245, 185, 39, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #000;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Full Gallery & Modal */
.pt-120 {
    padding-top: 120px;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* The Modal (background) */
.image-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity:0;} 
    to {transform:scale(1); opacity:1;}
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.cm-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    border: 1px solid var(--border-color);
}

.cm-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.cm-details p, .cm-details a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cm-details a:hover {
    color: var(--accent);
}

.glass-form {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.glass-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245, 185, 39, 0.1);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations & Responsiveness */
.reveal-up, .reveal-left, .reveal-right, .fade-up {
    opacity: 0;
    visibility: hidden;
}

.reveal-up.active {
    animation: revealUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    visibility: visible;
}
.reveal-left.active {
    animation: revealLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    visibility: visible;
}
.reveal-right.active {
    animation: revealRight 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    visibility: visible;
}
.fade-up.active {
    animation: revealUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    visibility: visible;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes revealUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes revealRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Media Queries */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid, .why-grid, .industries-container, .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-grid, .why-grid, .industries-container, .contact-grid, .mv-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .why-image {
        order: 2;
    }
    .why-content {
        order: 1;
    }
    
    .floating-box {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .advantages-list {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
}
