body {
    background-color: #f9fafb !important;
}

#page, #page-wrapper {
    background-color: #f9fafb !important;
}



/* =============================== 
   Breadcrumb + Header Cleanup (HIT Home Page Only)
 =============================== */ 

/* Hide breadcrumb and page header elements */

.path-local-hit_home .page-breadcrumb,
.path-local-hit_home .page-header-headings, 
.path-local-hit_home .page-context-header, 
.path-local-hit_home #page-header { 
    display: none; 
    visibility: hidden; 
    height: 0; 
    margin: 0; 
    padding: 0; 
    overflow: hidden;
 }


 /* Remove leftover spacing above hero section */
.path-local-hit_home #page, 
.path-local-hit_home #region-main { 
margin-top: 0; 
padding-top: 0; 
}



/* ===============================
   ? FULL WIDTH LAYOUT FIX (HIT HOME ONLY)
   Removes big side spaces on desktop
   =============================== */

/* Allow main Moodle content to stretch full width */
.path-local-hit_home #page.drawers .main-inner,
.path-local-hit_home #page-wrapper,
.path-local-hit_home #page {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Override Bootstrap container width restriction */
.path-local-hit_home .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Remove inner content padding limits */
.path-local-hit_home #region-main-box,
.path-local-hit_home #region-main {
    max-width: 100% !important;
}

/* Optional: make hero + sections truly edge-to-edge */
.path-local-hit_home .hero-section,
.path-local-hit_home .manuals-section,
.path-local-hit_home section {
    width: 100%;
}




/* ===============================
   HERO SECTION (Full Cover + Blur + Responsive)
   =============================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 10vh; /* full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 1rem;
  background-size: cover; /* keeps image proportionate */
  background-position: centre; /* centers the image */
}

/* Highlight text in hero h1 */
.highlight-gold {
    color: gold; /* or use #FFD700 for exact gold */
}

/* Background image setup */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: none;
  transform: scale(1.05); /* enlarge slightly so blur edges aren't visible */
  z-index: 1;
}

/* Dark overlay for contrast */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

/* Hero content (text + button) */
.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-section p {
  color: #f2f2f2;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
/* Gold Filled Button (Login) */
.btn-outline-light {
  background-color: #FFD700;   /* gold fill */
  color: #000;                 /* black text */
  border: 2px solid #FFD700;   /* gold border */
  border-radius: 8px;          /* rounded corners */
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.btn-outline-light:hover {
  background-color: #e6c200;   /* darker gold on hover */
  border-color: #e6c200;
  color: #000;                 /* keep readable text */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
/* OUTLINED HERO BUTTON (View Programs) */
.btn-hero-outline {
  background-color: transparent;        /* see-through */
  color: #FFD700;                        /* gold text */
  border: 2px solid #FFD700;             /* gold border */
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 22px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.btn-hero-outline:hover {
  background-color: #FFD700;             /* gold fill on hover */
  color: #000;                           /* readable black text */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}


/* Smooth transition into cards */
section.py-5:first-of-type {
  margin-top: -20px;
  position: relative;
  z-index: 4;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 1rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}



/* ===============================
   QUICK ACCESS CARD DESIGN
   =============================== */
.quick-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    border-top: 6px solid #FFD700; /* GOLD top bar */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: auto;
    margin-bottom: 3rem; 
}

/* Gold circular icon */
.icon-circle {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.8rem;
    color: #FFD700;
}

/* Card Title (Step Name Equivalent) */
.quick-card h6 {
    font-weight: 700;
    color: #1a237e;   /* Deep blue */
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

/* Optional description style (if you add descriptions later) */
.quick-card p {
    color: #444;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

/* Hover effect */
.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


/* ===== MANUALS SECTION ===== */

.manuals-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    background: #f9fafb;
}

/* CARD */

.manual-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    padding: 40px;
    border-radius: 15px;

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

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.manual-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* TEXT */

.manual-text {
    flex: 1;
}

.manual-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.manual-text p {
    margin: 10px 0 20px;
    color: #555;
    line-height: 1.5;
}

/* BUTTON */

.download-btn {
    display: inline-block;
    background: #c8102e; /* HIT Red */
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.download-btn:hover {
    background: #a30d24;
    transform: translateY(-1px);
}

/* IMAGE CIRCLE */

.manual-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: url('/local/hit_home/assets/manuals_background.png') center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;
}

.manual-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== TABLET / MOBILE ===== */

@media (max-width: 768px){

    .manual-card{
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .manual-image{
        width: 140px;
        height: 140px;
        margin-top: 15px;
    }

    .manual-image img{
        width: 110px;
        height: 110px;
    }

}

/* ===== SMALL PHONES ===== */

@media (max-width: 480px){

    .manuals-section{
        gap: 25px;
        padding: 40px 15px;
    }

    .manual-text h3{
        font-size: 20px;
    }

}




/* Program SECTION TITLES */

/* FULL-WIDTH BANNER SECTION */
.programs-banner {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
}
/* TITLE */
.programs-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

/* SUBTITLE */
.programs-subtitle {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.9;  /*softer look */
    margin-bottom: 30px;
}

/* BUTTON STYLE */
.btn-view-programs {
    background-color: #ffd33b;     /* Gold */
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.btn-view-programs:hover {
    background-color: #e5b928;
    transform: translateY(-2px);
}


/* SCHOOL HEADER BAR */
.school-header {
    background: #2d2c87; /* Purple */
    color: white;
    padding: 12px 18px;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    border-bottom: 4px solid #d1a437; /* Gold underline */
}

/* SCHOOL BODY */
.school-body {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 25px;
}

/* PROGRAM ITEM */
.program-item h6 {
    margin-bottom: 4px;
    font-size: 15px;
}

.program-badge {
    background: #f0f0f0;
    color: #363636;
    font-size: 10px;
    border-radius: 4px;
    padding: 3px 6px;
    display: inline-block;
    margin-bottom: 5px;
}

.duration-text {
    color: #777;
    font-size: 12px;
    margin: 0;
}


/* ================= CUSTOM HIT FOOTER CARDS ================= */
.custom-hit-footer {
    background-color: #1a1a1a;
    color: #f1f1f1;
    font-family: Arial, sans-serif;
    padding: 30px 15px;
    text-align: center;
}

/* Row container for cards */
.custom-hit-footer .footer-row {
    display: flex;
    flex-wrap: wrap;       /* allows wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Each card/column */
.custom-hit-footer .footer-col {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    flex: 1 1 250px;       /* responsive width */
    max-width: 300px;
    text-align: left;
    color: #f1f1f1;
}

/* Card titles */
.custom-hit-footer .footer-col h6 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Lists inside cards */
.custom-hit-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-hit-footer .footer-col ul li {
    margin-bottom: 8px;
}

.custom-hit-footer .footer-col a {
    color: #ffd700;
    text-decoration: none;
}

.custom-hit-footer .footer-col a:hover {
    text-decoration: underline;
}

/* Footer bottom text */
.custom-hit-footer .footer-bottom {
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-hit-footer .footer-row {
        flex-direction: column;
        align-items: center;
    }
    .custom-hit-footer .footer-col {
        max-width: 100%;
    }
}

