/* 
   Bollington Training Institute - Home Page Styles
*/

/* HERO */
.hero { position: relative; height: 420px; overflow: hidden; background: #1a1a3e; }
.hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; display: block; }
.hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.hero-dots span.active { background: white; }

/* TAGLINE */
.tagline-bar { background: var(--white); padding: 28px 0; border-bottom: 1px solid var(--border); }
.tagline-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tagline-bar p { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 16px; max-width: 600px; line-height: 1.4; }

/* COURSES */
.courses-section { padding: 52px 0 60px; background: var(--white); }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.25s, transform 0.2s; background: white; }
.course-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.course-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.course-card .card-body { padding: 18px 20px; }
.course-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 10px; line-height: 1.3; }
.course-card p { font-size: 12.5px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }

/* LOWER COURSES */
.courses-section-lower { padding: 0 0 60px; background: var(--white); }
.courses-grid-lower { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card-large { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.25s, transform 0.2s; background: white; padding: 0; }
.course-card-large:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.course-card-large img { width: 100%; height: 200px; object-fit: cover; display: block; }
.course-card-large .card-body { padding: 22px 24px; }
.course-card-large h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 12px; line-height: 1.3; }
.course-card-large p { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }

/* ABOUT SECTION (Home) */
.about-section { background: var(--navy); padding: 56px 0; text-align: center; color: white; }
.about-section h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.about-section .tagline { font-size: 13px; color: #aab4d4; margin-bottom: 22px; letter-spacing: 1px; }
.about-section p { max-width: 820px; margin: 0 auto 18px; font-size: 13.5px; line-height: 1.75; color: #d0d8ec; }
.about-values { font-family: 'Montserrat', sans-serif; font-weight: 700; color: white; font-size: 14px; margin-top: 16px; }
.about-values span { color: var(--gold); }

/* HOW TO APPLY (Home) */
.apply-section { padding: 56px 0 60px; background: white; }
.apply-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.apply-step { text-align: center; padding: 0 10px; }
.step-icon { width: 60px; height: 60px; border-radius: 50%; background: #e8eaf6; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--navy); }
.apply-step h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.apply-step p { font-size: 12.5px; color: var(--text-mid); line-height: 1.7; }

/* NEWS (Home) */
.news-section { padding: 52px 0 60px; background: var(--light-gray); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: white; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s; }
.news-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.news-card-img { position: relative; }
.news-card-img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.news-badge { position: absolute; bottom: 10px; left: 10px; background: var(--red); color: white; font-size: 11px; font-family: 'Montserrat', sans-serif; font-weight: 700; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; }
.news-card .card-body { padding: 16px 18px; }
.news-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 12px; color: var(--text-light); margin-bottom: 12px; line-height: 1.6; }
.btn-read { display: inline-block; background: var(--navy); color: white; padding: 7px 18px; border-radius: 3px; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11px; transition: background 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-read:hover { background: #c0392b; }

@media (max-width: 900px) {
  .courses-grid, .courses-grid-lower, .apply-steps, .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .courses-grid, .courses-grid-lower, .apply-steps, .news-grid { grid-template-columns: 1fr; }
  .hero { height: 250px; }
  .tagline-bar .container { flex-direction: column; text-align: center; }
}
