:root {
    --gold: #d4af37;
    --dark: #101216;
    --light: #f5f5f5;
    --gray: #666;
}

                    #logo {
  display: inline-block;
  margin: 15px; /* margin: 20px was off */
  float: left;
  height: 40px;
  width: auto; /* correct proportions to specified height */
  /* border-radius: 80%; makes it a circle */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #252525;
    line-height: 1.7;
}

/* HEADER */
header {
    background: var(--dark);
    color: white;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: var(--gold);
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover,
nav a.active {
    color: var(--gold);
}

/* HERO BANNER */
.hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 7%;

    background:
        linear-gradient(
            rgba(0,0,0,.8),
            rgba(0,0,0,.7)
        ),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85")
        center/cover no-repeat;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.gold-line {
    width: 70px;
    height: 4px;
    background: var(--gold);
    margin: 18px auto;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gold);
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover {
    background: #b99624;
}

/* GENERAL SECTIONS */
section {
    padding: 70px 7%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-title p {
    color: var(--gray);
}

/* INTRODUCTION */
.intro {
    text-align: center;
}

.intro p {
    max-width: 850px;
    margin: auto;
    color: #555;
}

/* TRAINING COURSES */
.courses {
    background: var(--light);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: white;
    border: 1px solid #e3e3e3;
    border-bottom: 4px solid var(--gold);
    padding: 28px;
    transition: transform .2s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.course-card h3 {
    color: var(--dark);
    font-size: 21px;
    margin-bottom: 12px;
}

.course-card p {
    color: #555;
    margin-bottom: 15px;
}

.course-card ul {
    padding-left: 20px;
    margin-bottom: 22px;
}

.course-card li {
    margin-bottom: 6px;
}

.course-label {
    display: inline-block;
    padding: 4px 10px;
    background: #f7edc7;
    color: #574410;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
}

/* LEARNING PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    text-align: center;
    padding: 25px 18px;
    border: 1px solid #e5e5e5;
}

.number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    font-size: 22px;
    font-weight: bold;
}

.process-card h3 {
    margin-bottom: 10px;
}

/* BENEFITS */
.benefits {
    background: var(--dark);
    color: white;
    text-align: center;
}

.benefits .section-title h2 {
    color: white;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

.benefit p {
    color: #ddd;
}

/* ENROLLMENT */
.enrollment {
    background: var(--gold);
    text-align: center;
}

.enrollment h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.enrollment p {
    max-width: 750px;
    margin: 0 auto 22px;
}

.enrollment .btn {
    background: var(--dark);
    color: white;
}

.enrollment .btn:hover {
    background: #333;
}

/* TRAINING INQUIRY FORM */
.inquiry-section {
    background: white;
}

.inquiry-form {
    max-width: 750px;
    margin: auto;
    padding: 35px;
    background: var(--light);
    border-top: 4px solid var(--gold);
}

.inquiry-form h2 {
    margin-bottom: 10px;
    color: var(--dark);
}

.inquiry-form > p {
    margin-bottom: 25px;
    color: var(--gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background: white;
    font: inherit;
    border-radius: 3px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: white;
    padding: 35px 7%;
    text-align: center;
}

footer p {
    color: #ccc;
    margin-top: 8px;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    margin: 0 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header {
        justify-content: center;
        text-align: center;
    }

    nav {
        justify-content: center;
        gap: 13px;
    }

    .course-grid,
    .process-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 6%;
    }

    .inquiry-form {
        padding: 24px 18px;
    }

    .section-title h2,
    .enrollment h2 {
        font-size: 27px;
    }
}