@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #004b8d;
    --primary-dark: #003666;
    --secondary: #00843d;
    --secondary-light: #e6f3eb;
    --accent: #ffc20e;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
    box-shadow: var(--shadow);
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

header.scrolled nav ul li a {
    color: var(--text-dark);
}

nav ul li a:hover {
    color: var(--accent);
}

.cta-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-btn:hover {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 75, 141, 0.6), rgba(0, 0, 0, 0.7)), url('nsc_hero_safety_industrial_1773320079034.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 2px border var(--white);
    transition: var(--transition);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 194, 14, 0.3);
}

/* Services */
.services {
    padding: 100px 5%;
}

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

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

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

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 5px solid transparent;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

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

.service-card i,
.service-card h3,
.service-card p {
    padding: 0 2rem;
}

.service-card p {
    padding-bottom: 3rem;
    color: var(--text-light);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--secondary);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Info Section */
.info-section {
    padding: 100px 5%;
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.info-text {
    flex: 1;
    min-width: 300px;
}

.info-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-image {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats */
.stats {
    padding: 60px 5%;
    background: var(--primary);
    color: var(--white);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 5% 20px;
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-links h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-links ul li a:hover {
    color: var(--accent);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    nav {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}