/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navigation */
nav {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

nav a {
    display: inline-block;
    margin-right: 2rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 0.25rem;
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    nav h1 {
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
    }

    nav a {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Main Content */
main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #555;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.hero h3 {
    color: #999;
    margin-bottom: 1.5rem;
}

/* Forms */
form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
button,
input[type="submit"] {
    background-color: #0066cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover,
input[type="submit"]:hover {
    background-color: #0052a3;
}

button:active,
input[type="submit"]:active {
    background-color: #003d7a;
}

button:disabled,
input[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Cards */
.card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.card h2 {
    margin-top: 0;
}

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

/* Lists */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: #999;
    margin: 0 0.5rem;
}

footer a:hover {
    color: #555;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

thead {
    background-color: #f5f5f5;
}

th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

tr:hover {
    background-color: #fafafa;
}


/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    form {
        padding: 1.5rem;
    }

    .hero {
        padding: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Font Awesome Icons 
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

.fa:hover {
  opacity: 0.7;
}

/* Facebook 
.fa-instagram {
  background: #c74815;
  color: white;
}