/* ROOT VARIABLES */
:root {
    --bg-color: #ffffff;
    /* White Background */
    --card-bg: #ffffff;
    --border-color: #eaeaea;
    --text-primary: #000000;
    --text-secondary: #555555;

    /* Strong Minimalist Colors */
    --neon-blue: #0056b3;
    /* Darker blue for white bg visibility */
    --neon-green: #008a4b;
    /* Darker green */
    --neon-red: #d32f2f;
    /* Darker red */

    --nav-bg: #000000;
    /* Black Header */
    --nav-text: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.text-blue {
    color: var(--neon-blue);
}

.text-green {
    color: var(--neon-green);
}

.text-red {
    color: var(--neon-red);
}

/* LAYOUT UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    /* Increased padding */
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid #222;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
    max-width: 250px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nav-text);
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* HERO SECTION */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: #fff;
    /* White background */
    text-align: center;
}

/* Hero split layout */
/* Hero split layout - CHANGED TO CENTERED */
.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    /* Constrain width for better readability */
}

.hero-content {
    width: 100%;
}

.hero-image {
    display: none;
    /* Ensure image is hidden if present */
}

@media (max-width: 768px) {
    .hero .container {
        padding: 0 20px;
    }
}


/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    /* Slightly sharper corner for professional feel */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 1px solid #ccc;
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: #000;
    background: #f9f9f9;
}

/* STATS */
.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .stats-container {
        justify-content: center;
    }
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #000;
    display: inline-block;
}

.stat-item span {
    font-size: 1.5rem;
    color: var(--neon-blue);
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* CARDS */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);

    /* Alignment Fixes */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    text-align: center;
    /* Center text */
    height: 100%;
    /* Equal height in grid */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.card img.card-img {
    height: 180px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
    background: #fafafa;
    padding: 20px;
}


/* FOOTER */
footer {
    border-top: 1px solid #eee;
    background: #f9f9f9;
    padding-top: 60px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #000;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: #000;
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: var(--text-secondary);
}

.social-links a:hover {
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #888;
}

/* ANIMATION UTILS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .nav-links.nav-active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero .container {
        display: block;
    }
}

/* Form Alignment Override */
.contact-form {
    width: 100%;
    text-align: left;
}

.contact-form .form-group {
    width: 100%;
    align-items: flex-start;
}

.contact-form button {
    margin-top: 10px;
}