/* =========================
   CSS RESET
========================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   ROOT VARIABLES
========================= */

:root {

    /* COLORS */
    --primary-color: #008753;
    --secondary-color: #d4a017;

    --text-dark: #111111;
    --text-light: #ffffff;
    --text-gray: #555555;

    --background-light: #ffffff;
    --background-gray: #f7f7f7;

    --border-color: #e5e5e5;

    /* GRADIENTS */
    --primary-gradient: linear-gradient(135deg, #00a86b,#008753);

    /* TYPOGRAPHY */
    --font-family: Arial, sans-serif;

    /* SPACING */
    --section-padding: 100px 0;

    /* CONTAINER */
    --container-width: 1200px;

    /* BORDER RADIUS */
    --border-radius: 8px;

    /* SHADOW */
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* TRANSITIONS */
    --transition: all 0.3s ease;
}

/* =========================
   HTML
========================= */

html {
    scroll-behavior: smooth;
}

/* =========================
   BODY
========================= */

body {
    font-family: var(--font-family);
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;

    /* FIXED HEADER SPACING */
    padding-top: 90px;
}

/* =========================
   IMAGES
========================= */

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* =========================
   LINKS
========================= */

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   LISTS
========================= */

ul {
    list-style: none;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* =========================
   SECTION SPACING
========================= */

section {
    padding: var(--section-padding);
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--text-gray);
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

/* PRIMARY BUTTON */

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* SECONDARY BUTTON */

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-heading p {
    max-width: 700px;
    margin: 0 auto;
}

/* =========================
   GRID UTILITIES
========================= */

.grid {
    display: grid;
    gap: 2rem;
}

/* =========================
   CARD STYLES
========================= */

.card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

/* =========================
   INPUTS
========================= */

input,
textarea,
button {
    font-family: inherit;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--primary-color);
}

/* =========================
   SPACING UTILITIES
========================= */

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* =========================
   TEXT UTILITIES
========================= */

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

/* =========================
   BACKGROUND UTILITIES
========================= */

.bg-light {
    background-color: var(--background-light);
}

.bg-gray {
    background-color: var(--background-gray);
}


/* =========================
   ANIMATIONS
========================= */

/* HIDDEN STATE */

.hidden-animation {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* SHOW STATE */

.show-animation {
    opacity: 1;
    transform: translateY(0);
}

/* SECTION FADE */

.section-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}