/* RESET - KEEP AS IS FOR CONSISTENCY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES - INTRODUCE A UNIQUE, SOFTER COLOR PALETTE */
:root {
    /* Teal/Emerald inspired by the original, but softer and more vibrant */
    --primary: #34aa8a; /* Soft Teal/Mint Green */
    --secondary: #2c3e50; /* Deep Charcoal Blue */
    --accent: #e74c3c; /* Striking Accent Red for buttons/highlights */
    --light: #f4f6f9; /* Off-White/Light Gray for sections */
    --dark: #333333; /* Dark Gray for main text */
    --white: #ffffff;
    
    /* Global Transitions and Shadows */
    --transition-fast: 0.3s ease-in-out;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* GLOBAL */
body {
    /* Use a slightly more modern font stack */
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.7; /* Slightly more space for readability */
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll on smaller devices */
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: var(--secondary); /* Headers stand out with the dark secondary color */
}

.container {
    width: 92%; /* Slightly wider */
    max-width: 1200px; /* Increased max-width */
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: var(--white);
    border-bottom: none; /* Remove simple border for a more modern look */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Add subtle shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0; /* Slightly more padding for a "loftier" feel */
}

.logo {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 800; /* Bolder logo */
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem; /* Increased spacing */
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    transition: color var(--transition-fast);
}

/* Underline effect on hover */
.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--primary);
    transition: width var(--transition-fast) ease;
    -webkit-transition: width var(--transition-fast) ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover:after {
    width: 100%;
    left: 0;
    background: var(--primary);
}

.nav-links .btn {
    background: var(--accent); /* Use the striking accent color */
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px; /* Softer rounded corners */
    transition: background var(--transition-fast), transform 0.1s;
    box-shadow: var(--shadow-subtle);
}

.nav-links .btn:hover {
    background: #c0392b; /* Slightly darker accent on hover */
    transform: translateY(-2px); /* Slight lift on hover */
    color: var(--white); /* Ensure text stays white on hover */
}

/* HERO */
.hero {
    /* Maintain the original look but with a better overlay */
    background: linear-gradient(
        rgba(44, 62, 80, 0.7), /* Use secondary color for darker overlay */
        rgba(44, 62, 80, 0.7)
    ), url('https://testing.eye360protection.co.za/DSC_2043.JPG');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0; /* More vertical space for impact */
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem; /* Larger, bolder heading */
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.15rem; /* Larger sub-text */
    max-width: 800px;
    margin: auto;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* BUTTONS */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.8rem; /* Larger, more substantial buttons */
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
    background: #2b8e73; /* Slightly darker on hover */
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: var(--shadow-subtle);
}

.btn-light:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* SECTIONS */
.section {
    padding: 6rem 0; /* More vertical rhythm */
}

.light-bg {
    background: var(--light);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    font-weight: 800;
}

.section-title + p { /* Styling the description right after the title */
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-text {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Slightly wider min-width */
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem; /* More internal space */
    border-radius: 12px; /* Nicer rounded corners */
    box-shadow: var(--shadow-subtle);
    border-left: 5px solid var(--primary); /* Subtle accent line */
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px); /* Lift the card on hover */
}

.card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* IMPACT */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: center;
    gap: 2rem;
    padding: 3rem 0;
}

.impact-item h3 {
    font-size: 3rem; /* Larger numbers */
    color: var(--accent); /* Use the accent color for the key stats */
    font-weight: 900;
}

.impact-item p {
    color: var(--secondary);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* CTA - Call to Action */
.cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 5rem 0; /* More padding */
    background-image: linear-gradient(135deg, var(--primary), #2b8e73); /* Gradient background */
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta .btn-light {
    margin-top: 1.5rem;
}

/* FOOTER */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2.5rem 0; /* More padding */
    font-size: 0.9rem;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--white);
}

/* RESPONSIVE */