:root{
  /* Hero support text controls */
  --hero-support-font-size: 30px;
  --hero-support-font-weight: 500;
  --hero-support-shift-y: 37px;   /* + moves DOWN, - moves UP */

  /* Text clarity (very light shadow) */
  --hero-support-shadow-x: 0px;
  --hero-support-shadow-y: 1px;
  --hero-support-shadow-blur: 3px;
  --hero-support-shadow-color: rgba(0,0,0,0.35);

  --hero-drive-shift-x: -80px;   /* - moves LEFT, + moves RIGHT */

  /* Second section heading controls */
  --section-h2-align: center;    /* left | center | right */
  --section-h2-margin-top: 35px;
  --section-h2-margin-bottom: 20px;

  /* ############### separate footer from page content ############### */ 
  --content-section-bottom-gap: 55px;  /* increase/decrease as you like */
  --content-box-max-width: 950px;     /* adjust width of content box */
  --content-box-margin-left: 225px;      /* + moves right, - moves left */

  /* ############### BACKGROUND IMAGE POSITION ############### */
  --hero-bg-position-x: 50%;     /* Horizontal: 50% = centered */
  --hero-bg-position-y: 60px;     /* Vertical: increase to move DOWN */  
}


/* Reset */
body, html {
  margin: 0;
  padding: 0;
}

/* Remove gap below header/nav */
.site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header {
  border-bottom: 2px solid #fff;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  width: 100%;
  /*height: calc(100vh - 80px);   /* full screen minus header */
  height: 100vh;
  background: url("../images/background.jpg") no-repeat center center/cover;
  background-size: cover;
  background-position: var(--hero-bg-position-x) var(--hero-bg-position-y);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: -10px;
}

/* Punch line: Effectiveness = Quality × Acceptance */
.formula-text {
  position: absolute;
  top: 33%;              /* adjust vertical position */
  left: 25%;             /* adjust horizontal position */
  font-family: "Segoe UI", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFD700;         /* gold */
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  white-space: nowrap;
}

/* Supporting text: Quality will not survive … */
.support-text{
  transform: translateY(var(--hero-support-shift-y));
  text-align: left;
}

.support-text p{
  color: white;
  font-size: var(--hero-support-font-size);
  font-weight: var(--hero-support-font-weight);
  line-height: 1.35;

  text-shadow:
    var(--hero-support-shadow-x)
    var(--hero-support-shadow-y)
    var(--hero-support-shadow-blur)
    var(--hero-support-shadow-color);
}

.support-text .highlight-yellow{
  color: #ffd84d;                 /* warm yellow */
  font-weight: calc(var(--hero-support-font-weight) + 100);
  text-shadow:
    0px 1px 3px rgba(0,0,0,0.4);   /* slightly stronger for contrast */
}


/* Final motivational line: so, Drive the need to Succeed..! */
.final-line {
  position: absolute;
  top: 70%;              /* adjust vertical position */
  left: 30%;             /* adjust horizontal position */
  font-family: "Segoe UI", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #FFD700;
  text-align: left;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
  
  transform: translateX(var(--hero-drive-shift-x));

}
/* ================= HIGHLIGHTS ================= */
.highlight-yellow { color: #FFD700; font-weight: bold; }
.highlight-white  { color: #ffffff; font-weight: bold; }
.highlight-green  { color: #32CD32; font-weight: bold; }

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* ~~~~~~~~~~~~~~~~~~~~~ working with box beneath the image ~~~~~~~~~~~~*/

/* Section wrapper */
.content-section {
  text-align: center;
  padding: 0px 0;
  background: #ffffff;
  margin-bottom: var(--content-section-bottom-gap);
  padding-bottom: 5px;   /* prevents margin-collapsing */  
}

/* Section heading */
.content-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

/* Highlight styles */
.highlight-red {
  color: #d32f2f;
  font-weight: bold;
}
.highlight-green {
  color: #388e3c;
  font-weight: bold;
}

/* Grey content box */
.content-box {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: var(--content-box-max-width);
  margin: 0 auto;
  margin-left: var(--content-box-margin-left);
  background: #f0f0f0;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Image styling */
.content-image img {
  width: 280px;
  margin-left: 30px;
  margin-right: 100px;
  border: 2px solid #ddd;
}

/* Text styling */
.content-text {
  text-align: center;
  font-size: 1rem;
  line-height: 2.0;
  color: #444;
  margin-right: 40px;
}

.section-two h2{
  text-align: var(--section-h2-align);
  margin-top: var(--section-h2-margin-top);
  margin-bottom: var(--section-h2-margin-bottom);
}

/* ============ RESPONSIVE: MOBILE (≤767px) ============ */
@media (max-width: 767px){
  :root{
    --hero-support-shift-y: 24px;
  }
  /* Hero section */
  .hero{
    height: 60vh;
    margin-top: 0;
  }
  
  .formula-text{
    font-size: 1.8rem;
    top: 20%;
    left: 10%;
    right: 10%;
    white-space: normal;
    text-align: center;
  }
  
  .support-text p{
    font-size: 18px;
    padding: 0 15px;
  }
  
  .final-line{
    font-size: 1.6rem;
    top: auto;
    bottom: 15%;
    left: 10%;
    right: 10%;
    text-align: center;
    transform: none;
  }
  
  /* Content section */
  .content-section{
    padding: 20px 15px;
  }
  
  .content-section h2{
    font-size: 1.5rem;
  }
  
  /* Content box - stack vertically */
  .content-box{
    flex-direction: column;
    padding: 15px;
  }
  
  .content-image img{
    width: 100%;
    max-width: 250px;
    margin: 0 auto 20px;
  }
  
  .content-text{
    margin: 0;
    padding: 0 10px;
  }
}

/* ============ RESPONSIVE: TABLET (768px - 1024px) ============ */
@media (max-width: 1024px) and (min-width: 768px){
  .formula-text{
    font-size: 2.5rem;
  }
  
  .final-line{
    font-size: 2.2rem;
  }
  
  .content-box{
    padding: 20px 15px;
  }
  
  .content-image img{
    width: 220px;
    margin-left: 20px;
    margin-right: 40px;
  }
}

/* ============ RESPONSIVE: LARGE SCREENS (≥1441px) ============ */
@media (min-width: 1441px){
  .content-box{
    max-width: var(--content-box-max-width);
  }
  
  .content-section{
    max-width: 1400px;
    margin: 0 auto var(--content-section-bottom-gap);
  }
}

/* ============ IPAD FIX ============ */
@media (min-width: 768px) and (max-width: 1024px) {
  
  /* Clearer text */
  .formula-text {
    font-size: 2.8rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
  }
  
  .support-text p {
    font-size: 22px;
    font-weight: 500;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.6);
  }
  
  .final-line {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.7);
  }
  
  /* Better image quality */
  .hero {
    background-position: 50% 40%;
  }
}
