body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fffffd;
}

.container {
  text-align: center;
  padding: 20px;
}

.container img {
  max-width: 90%;
  max-height: 70vh;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto 20px auto;
}

.facebook-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #1877f2; /* Facebook blue */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.facebook-button:hover {
  background-color: #145dbf;
}

footer
{ 	margin-top:24px;
	text-align:center;
	font-size:.9rem;
	color:var(--muted); 
}

/* CSS */
.actions{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  margin-top:16px;
}
.actions .social-link img{
  display:block;
  width:40px;
  height:40px;
  transition:transform .15s ease;
}
.actions .social-link:hover img,
.actions .social-link:focus-visible img{
  transform:scale(1.08);
}
@media (pointer: coarse){
  /* slightly larger touch targets on mobile */
  .actions .social-link img{ width:48px; height:48px; }
}

/* ================================
   Russell Driver Training — Terms
   Scoped styles (won’t affect other pages)
   ===================================== */

:root{
  --red:#cc3232; 
  --amber:#e7b416; 
  --green:#2dc937;
  --ink:#111; 
  --muted:#555; 
  --bg:#f7f7f7; 
  --card:#fff; 
  --rule:#ececec;
  --radius:16px;
}

/* Reset the landing-page centering ONLY on the terms page */
body.terms{
  display:block;            /* override global body flex */
  background:var(--bg);
  min-height:100%;
}

/* Page wrapper */
.terms-wrap{
  max-width:980px;
  margin:0 auto;
  padding:28px 20px;
}

/* Card */
.terms-card{
  background:var(--card);
  border:1px solid var(--rule);
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
}

/* Header */
.terms-header{
  display:flex;
  gap:16px;
  align-items:center;
  padding:20px 24px;
  border-bottom:1px solid var(--rule);
}

.terms-logo{
  height:54px;
  width:auto;
  display:block;
}

.terms-title{
  margin:0 0 2px 0;
  font-size:26px;
  line-height:1.2;
  color:var(--ink);
}

.terms-sub{
  margin:0;
  font-size:14px;
  color:var(--muted);
}

/* Accent bar */
.terms-accent{
  height:6px; width:100%;
  background:linear-gradient(90deg, var(--red) 0 33.33%, var(--amber) 33.33% 66.66%, var(--green) 66.66% 100%);
}

/* Content */
.terms-content{ padding:24px; }
.terms-content h2{ font-size:20px; margin:28px 0 10px 0; }
.terms-content p,
.terms-content li{ font-size:16px; line-height:1.6; }
.terms-content ul{ margin:0 0 12px 0; padding-left:18px; }

.terms-intro{
  background:linear-gradient(180deg, rgba(237,237,237,.55), rgba(255,255,255,0));
  border:1px solid var(--rule);
  border-radius:12px;
  padding:16px;
  margin:16px 0 8px 0;
}

.terms-notice{
  background:rgba(45,201,55,.08);
  border-left:4px solid var(--green);
  padding:12px 14px;
  border-radius:8px;
  margin-top:14px;
  font-size:15px;
}

/* Footer (scoped) */
.terms-footer{
  padding:18px 24px;
  border-top:1px solid var(--rule);
  color:var(--muted);
  font-size:14px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}

/* Responsiveness */
@media (max-width:640px){
  .terms-title{ font-size:22px; }
  .terms-content p,
  .terms-content li{ font-size:15px; }
}

/* Print (scoped) */
@media print{
  body.terms{
    background:#fff;
  }
  .terms-wrap{
    max-width:none;
    padding:0;
  }
  .terms-card{
    border:none;
    box-shadow:none;
    border-radius:0;
  }
  .terms-header{
    border-bottom:1px solid #ddd;
  }
}

