/* Theme Colors */
:root {
  --mustard: #f59b35;
  --dark-blue: #003366;
  --light-blue: #66B2FF;
  --white: #ffffff;
}

/* Global Styles */
body {
  font-family: 'Questrial', sans-serif;
  background-color: var(--white);
  color: var(--dark-blue);
}


.intro-section h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;       /* Medium weight */
    font-size: 2rem;        /* Adjust for medium size */
    line-height: 1.4;       /* Optional: improves readability */
    text-align: center;     /* Optional: center alignment */
    margin-bottom: 1rem;    /* Space below heading */
}


/* Navbar */
.navbar {
  background-color: var(--dark-blue) !important;
}
.navbar .nav-link {
  color: var(--white) !important;
}
.navbar .nav-link:hover {
  color: var(--mustard) !important;
}
.logo-heading {
  color: var(--mustard);
}

/* Hero Image */
.hero-wrapper img {
  border-bottom: 5px solid var(--mustard);
}

/* Intro Section */
.intro-section {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}
.intro-section .btn {
  background-color: var(--mustard);
  color: var(--dark-blue);
  border: none;
}
.intro-section .btn:hover {
  background-color: var(--dark-blue);
  color: var(--white);
}

/* Impact Highlights */
  .highlight-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  .highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  .highlight-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .highlight-card h5 {
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.5rem;
  }
  .highlight-card p {
    font-size: 1rem;
    color: #555;
  }

  .highlight-card .icon {
  font-size: 2.5rem;
  color: var(--mustard);  /* highlight with theme color */
  margin-bottom: 1rem;
}


/* countdown */
.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px; /* spacing between boxes */
}

.countdown .time-box {
  text-align: center;
  background: #003366;   /* navy background */
  border-radius: 14px;
  padding: 18px 24px;
  min-width: 100px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.countdown .time-box:hover {
  transform: translateY(-4px);
}

.countdown .time-box span {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f4c542;  /* mustard numbers */
}

.countdown .time-box small {
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* tesatimonial */
.testimonial-section {
  background: #f4f8fc; /* soft light blue-gray */
  border-top: 4px solid #f4c542; /* mustard */
}

.testimonial-card {
  max-width: 800px;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-card p {
  font-size: 1.3rem;
  font-style: italic;
  color: #003366; /* navy */
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.testimonial-card h6 {
  font-weight: 700;
  color: #f4c542; /* mustard */
}

/* Carousel Indicators (dots) */
.carousel-indicators [data-bs-target] {
  background-color: #003366; /* navy dots */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
}

.carousel-indicators .active {
  background-color: #f4c542; /* mustard active dot */
}

.testimonial-card {
  max-width: 700px;
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-size: 1.2rem;
  font-style: italic;
  color: #003366; /* dark blue */
}

.testimonial-card h6 {
  margin-top: 1rem;
  font-weight: bold;
  color: #f59b35; /* mustard */
}

/* ---------- Clean carousel arrows (no grey boxes) ---------- */

/* Make control buttons small, centered vertically, transparent */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;       /* reasonable clickable size */
  height: 48px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Completely hide Bootstrap's boxed icon element */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none !important;
  background-image: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Add clean arrow characters using ::after on the buttons */
.carousel .carousel-control-prev::after,
.carousel .carousel-control-next::after {
  display: inline-block;
  font-size: 1.9rem;
  line-height: 1;
  color:  var(--dark-blue);   /* your theme mustard */
  text-shadow: none;
  transition: transform 0.12s ease, color 0.12s ease;
}

/* Specific arrows */
.carousel .carousel-control-prev::after { content: '‹'; } /* left */
.carousel .carousel-control-next::after { content: '›'; } /* right */

/* Slight lift and color change on hover */
.carousel .carousel-control-prev:hover::after,
.carousel .carousel-control-next:hover::after {
  transform: translateY(-2px) scale(1.06);
  color:  var(--dark-blue);
}

/* Position the controls slightly outside the card edges */
.carousel .carousel-control-prev { left: 8px !important; }
.carousel .carousel-control-next { right: 8px !important; }

/* Ensure there is no accidental background on the buttons themselves */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  background: transparent !important;
}

/* Optional: increase hit area on small screens */
@media (max-width: 576px) {
  .carousel .carousel-control-prev,
  .carousel .carousel-control-next {
    width: 56px !important;
    height: 56px !important;
  }
}

.ready-compete {
  background: var(--light-blue);
}
.impact-section {
  background: var(--light-blue);
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #003366;
  position: relative;
  display: inline-block; /* keeps underline aligned to text */
  padding-bottom: 10px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background-color: #f59b35;
}




/* Forms */
form .btn-primary {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}
form .btn-primary:hover {
  background-color: var(--mustard);
  border-color: var(--mustard);
  color: var(--dark-blue);
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
}
footer a {
  color: var(--mustard);
}
footer a:hover {
  color: var(--light-blue);
}


/* About Section */
.about-section {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}

.about-image-box {
  overflow: hidden;
}

.about-image-box img {
  object-fit: cover;
}

.about-text-box {
  background-color: var(--mustard);
  color: var(--dark-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Navbar Links */
.navbar .nav-link {
  font-family: 'Questrial', sans-serif;
  font-size: 1.1rem;   /* slightly bigger */
  font-weight: 500;    /* medium weight for better visibility */
  color: var(--white) !important;
  padding: 0.75rem 1rem; /* more clickable space */
}

.navbar .nav-link:hover {
  color: var(--mustard) !important;
}

/* Sponsorship Heading Section */
.sponsorship-heading {
  background-color: var(--mustard);
  color: var(--dark-blue);
}


.sponsorship-heading h1 {
  font-family: 'Questrial', sans-serif;
  font-size: 3rem;
  letter-spacing: 1px;
  margin: 0;
}

/* Sponsorship Tagline */
.tagline {
  display: flex;
  gap: 1.5rem;
  font-family: 'Questrial', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tagline span {
  position: relative;
}

.tagline span::after {
  content: ".";
  color: var(--dark-blue);
  font-weight: bold;
  margin-left: 2px;
}

/* Sponsorship Button Fix */
.about-text-box .btn {
  display: inline-block;   /* shrink to fit text */
  width: auto;             /* prevent full width */
  align-self: flex-start;  /* align left inside flex column */
  margin-top: 1rem;        /* little spacing above */
}

.sponsorship-tiers h3 {
  color: var(--dark-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.sponsorship-tiers ul {
  list-style-type: disc;
  padding-left: 1.2rem;
}

.sponsorship-tiers li {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1rem;
}


/* Sponsorship Section Theme */
.sponsorship-heading {
  background-color: var(--dark-blue);
}

.about-section {
  background-color: var(--light-blue);
}

.sponsorship-heading {
  background: url('../img/sponsorship-bg.jpg') center center/cover no-repeat;
  height: 300px; /* Adjust height as needed */
  position: relative;
}
.aboutus-heading {
  background: url('../img/about_us.jpg') center center/cover no-repeat;
  height: 300px; /* Adjust height as needed */
  position: relative;
}
.events-heading {
  background: url('../img/pastevents-bg.jpg') center center/cover no-repeat;
  height: 300px; /* Adjust height as needed */
  position: relative;
}
.team-heading {
  background: url('../img/team-bg.jpeg') center center/cover no-repeat;
  height: 300px; /* Adjust height as needed */
  position: relative;
}
.registration-heading {
  background: url('../img/registration-bg.jpg') center center/cover no-repeat;
  height: 300px; /* Adjust height as needed */
  position: relative;
}

.heading-shadow {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}



.about-section h2,
.sponsorship-tiers h2,
.sponsorship-tiers h3 {
  color: var(--dark-blue);
}

.about-section h4 {
  color: var(--dark-blue);
}

/* Tagline Styling */
.tagline {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--dark-blue);
}
.tagline span {
  margin-right: 15px;
  padding: 5px 12px;
  background: var(--mustard);
  color: var(--dark-blue);
  border-radius: 20px;
}

/* Sponsorship Tiers */
.tier-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tier-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-blue);
}

.tier-box ul {
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #333;
}

/* Buttons */
.btn-mustard {
  background-color: var(--mustard);
  color: var(--dark-blue);
  border: none;
  transition: 0.3s;
}
.btn-mustard:hover {
  background-color: #d9a600;
  color: #fff;
}


.sponsor-logos {
  background-color: var(--light-blue);
  overflow: hidden;
  position: relative;
}


/* Sponsor Logo Slider */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: inline-flex;
  animation: scroll 20s linear infinite;
}

.logo-track img {
  min-width: 100px; /* or logo width */
  margin-right: 20px; /* spacing if needed */
}


/* Keyframes for infinite horizontal scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




.events-subheading {
  background-color:var(--mustard);
  border-radius: 12px;
}
.section-heading {
  font-size: 2.5rem;
}
.section-subtext {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-img {
  width: 100%;
  height: 220px;   /* adjust as needed */
  object-fit: cover;
}

.event-title {
  min-height: 60px;  /* keeps them aligned */
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-intro {
  background-color: #FFCC33; /* Mustard */
  border-radius: 12px;
}
.team-intro h2 {
  font-size: 2rem;
}
.team-intro p {
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto;
}

/* Team Section Styling */
.team-member {
  height: fit-content; /* keeps box height flexible */
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.164);
  display: flex;
  flex-direction: column;
  align-items: center;
}


.team-img {
  width: 100%;       /* scale image to full box width */
  height: auto;      /* auto height, no cropping */
  
  max-height: 300px; /* optional, prevents overly tall images */
  object-fit: contain; /* ensures full image is visible */
  margin-bottom: 1rem;
}

.team-member h5,
.team-member p {
  margin: 0.25rem 0;
  text-align: center;
}

.team-section .team-member:hover {
  transform: translateY(-5px);
}

.linkedin-link {
  color: #004080; /* Dark Blue */
  transition: color 0.3s;
}
.linkedin-link:hover {
  color: #FFCC33; /* Mustard on hover */
}
.section-heading {
  font-size: 2rem;
  font-weight: bold;
}

/* Registration Page */

.registration-content h4 {
  font-weight: 600;
}
/* Registration Section */
.registration-content {
  background: #f8fbff;
}

/* Reusable registration card box */
.reg-box {
  position: relative;
  background: #fff;
  border: 2px solid #eaeaea;
  border-left: 6px solid var(--mustard);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.reg-box:hover {
  transform: translateY(-4px);
}

/* Highlighted middle box */
.reg-box.highlight {
  background: var(--mustard);
  color: var(--dark-blue);
  border-left: 6px solid var(--dark-blue);
}

.reg-box.highlight h4 {
  color: var(--dark-blue);
}

/* Headings inside */
.reg-box h4 {
  font-weight: 700;
  color: var(--dark-blue);
  border-bottom: 2px solid var(--mustard);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* Flaticon icon */
.reg-box .reg-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
}

.reg-box .reg-icon img {
  width: 100%;
  height: 100%;
}

/* Links */
.reg-box a {
  color: var(--dark-blue);
  font-weight: 600;
  text-decoration: none;
}

.reg-box a:hover {
  color: var(--mustard);
}

/* Register Now Button */
.btn-register {
  background: var(--mustard);
  color: var(--dark-blue);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 40px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-register:hover {
  background: var(--dark-blue);
  color: var(--mustard);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}


/* basic look - adapt colors/size to your QECC theme */
.go-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #0b74de; /* change to match site */
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 9999;
}

/* visible state */
.go-top.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* hover/focus */
.go-top:focus,
.go-top:hover{
  outline: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transform: translateY(-2px) scale(1.02);
}

/* make sure it doesn't interfere with smaller screens */
@media (max-width: 480px){
  .go-top{ right: 12px; bottom: 12px; width:44px; height:44px; }
}
</style>
