/* =====================================================
   CLOVER INFORMATICS
   MAIN WEBSITE STYLESHEET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.7;
    color: #252525;
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =====================================================
   BRAND COLORS
===================================================== */

:root {
    --clover-blue: #352879;
    --clover-dark-blue: #28205f;
    --clover-red: #e3342f;
    --clover-light-red: #f5eeee;
    --clover-green: #3b9b50;
    --white: #ffffff;
    --dark: #202020;
    --grey: #666666;
    --light-grey: #f6f6f8;
    --border: #e5e5e5;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.logo-link {
    display: block;
    flex-shrink: 0;
}

.logo {
    width: 245px;
    height: auto;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    transition: 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--clover-blue);
}

.main-nav .nav-enquiry {
    background: var(--clover-red);
    color: var(--white);
    padding: 11px 18px;
    border-radius: 6px;
}

.main-nav .nav-enquiry:hover {
    background: var(--clover-blue);
    color: var(--white);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--clover-blue);
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    background:
        linear-gradient(
            135deg,
            #f7f5fb 0%,
            #ffffff 55%,
            #fdf5f5 100%
        );

    padding: 90px 0;
}

.section-heading {
    max-width: 850px;
}

.section-label {
    display: inline-block;
    color: var(--clover-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.hero-section h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    color: var(--clover-blue);
    margin-bottom: 22px;
}

.hero-section h1 span {
    color: var(--clover-red);
}

.hero-section p {
    max-width: 780px;
    font-size: 18px;
    color: var(--grey);
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    color: var(--clover-blue);
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--grey);
    max-width: 750px;
}


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

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--clover-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--clover-red);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--clover-blue);
}

.btn-light:hover {
    background: #eeeeee;
}

.btn-red {
    background: var(--clover-red);
    color: var(--white);
}

.btn-red:hover {
    background: #c52621;
}

.center-button {
    text-align: center;
    margin-top: 40px;
}


/* =====================================================
   ABOUT GRID
===================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--grey);
    margin-bottom: 18px;
}

.about-text .btn {
    margin-top: 15px;
}


/* =====================================================
   HIGHLIGHT BOX
===================================================== */

.about-highlight {
    background: var(--clover-blue);
    color: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(53, 40, 121, 0.15);
}

.about-highlight h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: var(--clover-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.highlight-item h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
}


/* =====================================================
   COURSES
===================================================== */

.courses-section {
    background: var(--light-grey);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--clover-blue);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.course-number {
    color: var(--clover-red);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 15px;
}

.course-card h3 {
    color: var(--clover-blue);
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.course-card p {
    color: var(--grey);
    font-size: 14px;
    margin-bottom: 20px;
}

.course-card a {
    color: var(--clover-red);
    font-size: 14px;
    font-weight: 700;
}

.course-card a:hover {
    color: var(--clover-blue);
}


/* =====================================================
   WHY CLOVER
===================================================== */

.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
}

.why-icon {
    width: 45px;
    height: 45px;
    background: var(--clover-light-red);
    color: var(--clover-red);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
}

.why-card h3 {
    color: var(--clover-blue);
    font-size: 18px;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--grey);
    font-size: 14px;
}


/* =====================================================
   LOCAL SECTION
===================================================== */

.local-section {
    background: #f8f7fb;
}

.local-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: start;
}

.local-grid h2 {
    font-size: 36px;
    line-height: 1.25;
    color: var(--clover-blue);
    margin-bottom: 20px;
}

.local-grid p {
    color: var(--grey);
    margin-bottom: 16px;
}

.local-box {
    background: var(--clover-blue);
    color: var(--white);
    border-radius: 12px;
    padding: 35px;
}

.local-box h3 {
    font-size: 23px;
    margin-bottom: 20px;
}

.local-box ul {
    list-style: none;
}

.local-box li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.local-box li::before {
    content: "✓";
    color: #8fd19e;
    font-weight: bold;
    margin-right: 10px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    background: var(--clover-blue);
    color: var(--white);
    padding: 75px 0;
    text-align: center;
}

.cta-content {
    max-width: 850px;
}

.cta-section span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ddd7ff;
}

.cta-section h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin: 12px 0 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background: #17143a;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0;
}

.footer-logo {
    width: 210px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #f06a65 !important;
    font-weight: 700;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-column > a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 9px;
}

.footer-column > a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info {
    background: var(--clover-blue);
    color: var(--white);
    padding: 35px;
    border-radius: 12px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--clover-blue);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .header-container {
        min-height: 75px;
    }

    .logo {
        width: 190px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 75px;
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        padding: 12px 5px;
    }

    .main-nav .nav-enquiry {
        text-align: center;
        margin-top: 8px;
    }

    .hero-section {
        padding: 65px 0;
    }

    .section {
        padding: 60px 0;
    }

    .about-grid,
    .local-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .logo {
        width: 175px;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .local-grid h2 {
        font-size: 28px;
    }

    .about-highlight,
    .local-box,
    .contact-info,
    .contact-form {
        padding: 25px;
    }

}


/* =====================================================
   BREADCRUMB
===================================================== */

.breadcrumb-section {
    background: #f6f5fa;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    font-size: 13px;
    color: #666666;
}

.breadcrumb a {
    color: #352879;
    font-weight: 600;
}

.breadcrumb span {
    margin: 0 7px;
    color: #999999;
}


/* =====================================================
   FAQ
===================================================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #352879;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: #e3342f;
    font-size: 22px;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.header-logo {
    width: 210px;
    height: auto;
    display: block;
}


/* =========================================
   COMMON HEADER
========================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.header-inner {
    max-width: 1200px;
    height: 82px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 205px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    display: block;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #171717;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s ease;
}

.main-nav a:hover {
    color: #372c82;
}

.main-nav a.active {
    color: #372c82;
}


/* Enquire button */

.enquire-btn {
    background: #e93632;
    color: #ffffff !important;
    padding: 12px 19px;
    border-radius: 6px;
}

.enquire-btn:hover {
    background: #c92d2a;
}


.faq-item p {
    padding: 0 24px 20px;
    color: #666666;
    font-size: 14px;
    margin: 0;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

/* =====================================================
   FINAL SITE-WIDE NORMALIZATION
   One header, one logo asset, one footer treatment
===================================================== */

.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  width: 92%;
  max-width: 1200px;
  min-height: 90px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo {
  width: 210px !important;
  height: auto !important;
  max-height: 72px;
  object-fit: contain;
  display: block;
  filter: none !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  color: #171717;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: #352879;
}

.nav-enquiry {
  background: #e93632;
  color: #fff !important;
  padding: 12px 19px;
  border-radius: 6px;
}

.nav-enquiry:hover {
  background: #c92d2a;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: #171717;
}

.site-footer {
  background: #17143a;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 0;
}

.footer-logo {
  width: 210px !important;
  height: auto !important;
  max-height: 72px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  filter: none !important;
  background: #fff;
  border-radius: 6px;
  padding: 5px 8px;
  box-sizing: border-box;
}

.footer-column > a:first-child {
  text-decoration: none;
}

.footer-column > a:not(:first-child) {
  display: block;
}

.related-training-links {
  padding: 45px 0;
  background: #fafafa;
}

.related-training-links h2 {
  margin-bottom: 12px;
}

.related-training-links p {
  margin: 0;
  line-height: 1.8;
}

.related-training-links a {
  color: #352879;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 82px;
  }

  .main-nav {
    gap: 15px;
  }

  .site-logo {
    width: 195px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 75px;
  }

  .site-logo {
    width: 180px !important;
    max-height: 62px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    padding: 11px 5px;
  }

  .nav-enquiry {
    text-align: center;
    margin-top: 7px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    width: 90%;
  }

  .site-logo {
    width: 165px !important;
  }
}


/* =====================================================
   PAGE LAYOUT & TYPOGRAPHY NORMALIZATION
   Keeps inner content readable instead of stretching
   across the full browser width.
===================================================== */

.page-hero,
.content-section,
.light-section,
.breadcrumb-section,
.related-training-links {
  width: 100%;
}

.page-hero {
  background: linear-gradient(135deg, #f7f5fb 0%, #ffffff 58%, #fdf5f5 100%);
  padding: 68px 0 64px;
}

.page-hero .container,
.content-section .container,
.light-section .container,
.breadcrumb-section .container,
.related-training-links .container,
.cta-section .container {
  width: min(1100px, 90%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  color: var(--clover-blue);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
}

.eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--clover-red);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero-text {
  max-width: 760px;
  color: var(--grey);
  font-size: 18px;
  line-height: 1.75;
}

.content-section,
.light-section {
  padding: 70px 0;
}

.light-section {
  background: #f8f7fb;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--clover-blue);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  margin: 0 0 13px;
  font-weight: 800;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--grey);
  line-height: 1.75;
}

.content-text {
  max-width: 900px;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.8;
}

.content-text p {
  margin: 0 0 16px;
}

.two-column-section,
.two-column-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 55px;
  align-items: start;
}

.two-column-section h2,
.two-column-content h2 {
  color: var(--clover-blue);
  line-height: 1.25;
  margin-bottom: 15px;
}

.info-box {
  background: #ffffff;
  border: 1px solid #e2e0ea;
  border-top: 4px solid var(--clover-red);
  border-radius: 10px;
  padding: 28px 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,.04);
}

.info-box h3 {
  color: var(--clover-blue);
  font-size: 20px;
  margin-bottom: 15px;
}

.info-box ul {
  padding-left: 20px;
}

.info-box li {
  margin: 8px 0;
  color: #555;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.card-grid .course-card,
.card-grid .feature-card {
  height: 100%;
  min-width: 0;
}

.card-grid .course-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
}

.card-grid .course-card h3,
.card-grid .feature-card h3 {
  color: var(--clover-blue);
  margin: 0 0 12px;
  line-height: 1.3;
}

.card-grid .course-card p,
.card-grid .feature-card p {
  color: #666;
  line-height: 1.7;
}

.card-grid .course-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--clover-red);
  font-weight: 700;
}

.feature-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 26px;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-left: 4px solid var(--clover-blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 14px;
}

.faq-item h3 {
  color: var(--clover-blue);
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 9px;
}

.faq-item p {
  padding: 0;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 25px;
}

.primary-button,
.secondary-button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-button {
  background: var(--clover-red);
  color: #fff;
}

.secondary-button {
  background: var(--clover-blue);
  color: #fff;
}

.course-hero {
  background: linear-gradient(135deg, #f7f5fb, #fff);
  padding: 68px 0;
}

.course-hero .container,
.course-section .container,
.course-section-alt .container,
.course-cta .container {
  width: min(1100px, 90%);
  margin: auto;
}

.course-hero h1 {
  color: var(--clover-blue);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.15;
  max-width: 900px;
  margin: 10px 0 16px;
}

.course-label,
.section-tag {
  color: var(--clover-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.course-hero-content {
  max-width: 900px;
}

.course-section,
.course-section-alt {
  padding: 65px 0;
}

.course-section-alt {
  background: #f8f7fb;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.check-list {
  padding-left: 20px;
}

.check-list li {
  margin: 8px 0;
}

.course-cta {
  background: var(--clover-blue);
  color: #fff;
  padding: 65px 0;
  text-align: center;
}

.course-cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.course-cta p {
  color: rgba(255,255,255,.82);
  max-width: 750px;
  margin: 0 auto 22px;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-section,
  .two-column-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 650px) {
  .page-hero,
  .content-section,
  .light-section,
  .course-hero,
  .course-section,
  .course-section-alt {
    padding: 50px 0;
  }

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

  .page-hero .container,
  .content-section .container,
  .light-section .container,
  .course-hero .container,
  .course-section .container,
  .course-section-alt .container,
  .course-cta .container {
    width: 90%;
  }
}


/* =====================================================
   FINAL FOOTER / RESPONSIVE FIX
   Checked across all site pages
===================================================== */
.site-footer .container.footer-grid {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.site-footer .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
    gap: 28px;
    padding: 34px 0 30px;
    align-items: start;
}

.site-footer .footer-column {
    min-width: 0;
}

.site-footer .footer-column p,
.site-footer .footer-column a {
    overflow-wrap: anywhere;
    word-break: normal;
}

.site-footer .footer-logo {
    width: 190px !important;
    max-width: 100%;
    margin-bottom: 14px;
}

.site-footer .footer-column h3 {
    margin-bottom: 14px;
}

.site-footer .footer-column > a {
    margin-bottom: 7px;
}

.site-footer .footer-bottom {
    padding: 14px 0;
}

@media (max-width: 1050px) and (min-width: 769px) {
    .site-footer .footer-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
        gap: 22px;
    }

    .site-footer .footer-logo {
        width: 175px !important;
    }

    .site-footer .footer-column p,
    .site-footer .footer-column > a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0 26px;
    }
}
