/* Import Google Fonts */
/* Import Google Fonts: using Poppins for headings and Lato for body text */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Lato:wght@400;700&display=swap');

/* Global styles */
body {
    /* Use Lato as the primary body font for a modern, friendly feel */
    font-family: 'Lato', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #2d3748;
}
a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 500;
}
a:hover {
    text-decoration: underline;
}

/* Header bar */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
header h1 {
    margin: 0;
    font-size: 28px;
    color: #e25a00;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

/* Logo inside header */
.logo {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

header nav a {
    margin-left: 25px;
}

/* Hero video */
/* Hero section: supports video background or fallback image */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 360px;
    background-size: cover;
    background-position: center;
}
.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 0 15px;
}
.hero .overlay h2 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}
.hero .overlay p {
    font-size: 20px;
    max-width: 800px;
    line-height: 1.6;
    font-weight: 400;
}

/* Main container */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Card component */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Typography tweaks for headings */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

/* Form styles */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
input[type=text],
input[type=password],
input[type=number],
input[type=date],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fdfdfd;
}
textarea {
    resize: vertical;
    min-height: 120px;
}
input[type=submit] {
    background-color: #e25a00;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
input[type=submit]:hover {
    background-color: #c44700;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}
th {
    background-color: #f7fafc;
    text-align: left;
}
.error {
    color: #e53e3e;
    margin-bottom: 15px;
}