/* assets/css/style.css */
:root {
    --primary-color: #0056b3; /* Deep Blue */
    --secondary-color: #28a745; /* Green */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Nav */
header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg'); /* Add a background image or remove url for solid color */
    background-color: var(--dark-color);
    color: var(--white);
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover { background: #218838; }

/* Sections */
.section-padding { padding: 60px 0; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }
.card h3 { color: var(--primary-color); margin-bottom: 10px; }
.card i { font-size: 2rem; color: var(--secondary-color); margin-bottom: 15px; display: block; text-align: center; }

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--white);
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Form */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 30px 0;
    margin-top: auto;
    text-align: center;
}

/* Responsive */
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
    }
    
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; }
    .menu-toggle { display: block; }
}