/* ===========================
   BBC Bitesize-inspired styles
   =========================== */

/* --- Palette / variables (BBC Bitesize inspired) --- */
:root {
  --bb-blue: #1D70B8;        /* Primary blue */
  --bb-dark-blue: #003688;   /* Dark blue */
  --bb-light-blue: #5694CA;  /* Light blue */
  --bb-green: #00703C;       /* Green */
  --bb-yellow: #FFDD00;      /* Yellow */
  --bb-orange: #F47738;      /* Orange */
  --bb-red: #D4351C;         /* Red */
  --bb-purple: #4C2C92;      /* Purple */
  
  --bg: #F3F2F1;            /* Light gray background */
  --card: #FFFFFF;           /* White cards */
  --text: #0B0C0C;           /* Almost black text */
  --muted: #505A5F;          /* Muted text */
  --stroke: #B1B4B6;         /* Border color */
  
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(11,12,12,0.1);
  --shadow-md: 0 4px 12px rgba(11,12,12,0.15);
  --transition: 320ms cubic-bezier(.2,.9,.3,1);
}

/* --- Reset / base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  padding-top: 70px; /* Updated for new header height */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* container */
.container { width: 92%; max-width: 1180px; margin: 0 auto; padding: 0 14px; }

/* utility */
.muted { color: var(--muted); }
.sr-only { 
  position: absolute; 
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0,0,0,0); 
  white-space: nowrap; 
  border: 0; 
}

/* ===========================
   Improved Header Styles
   =========================== */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  display: flex;
  align-items: center;
  z-index: 1200;
  background: white;
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 2px 8px rgba(11,12,12,0.1);
  transition: transform 0.35s cubic-bezier(.215,.61,.355,1);
  padding: 0 5%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  z-index: 1202; /* Above mobile menu */
}

.logo-mark {
  width: 60px;
  height: 60px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: white;
  font-weight: 800;
  overflow: hidden;
  transition: transform var(--transition);
}

.logo-mark:hover {
  transform: scale(1.02);
}

.logo-img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  display: block;
  background-color: none;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-list a {
  padding: 8px 14px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
  position: relative;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--bb-blue);
  background: rgba(29, 112, 184, 0.1);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--bb-blue);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-list a:hover::after {
  width: 70%;
}

/* Actions */
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: translateY(1px); }
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}
.btn:hover::after {
  animation: ripple 1s ease-out;
}
@keyframes ripple {
  0% { transform: scale(0, 0); opacity: 1; }
  20% { transform: scale(20, 20); opacity: 1; }
  100% { transform: scale(50, 50); opacity: 0; }
}

.btn-primary {
  background: var(--bb-blue);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--bb-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  /* background: transparent; */
  border: 2px solid var(--bb-blue);
  color: var(--bb-blue);
  padding: 8px 16px;

  
}
.fab{
  
  image-resolution: 100px;
  margin: auto;
  object-fit: fill;
  font-size: 25px;
  text-align: left;
  align-self: center;
  width: 180px;
  margin-right: 0px;
  margin: 0px;
  padding: 0px;
  display: inline-block;
  gap: 0px;
}

  .fab2{
    text-align: left;

    display: inline-block;
    margin: 0px;
    padding: 5px;
    padding-left: 15%;
    gap: 0px;
    position: absolute;
  }


.btn-ghost:hover {
  background: rgba(29, 112, 184, 0.1);
  transform: translateY(-2px);
}

.pill { 
  border-radius: 999px; 
  padding: 12px 24px; 
}
.pill.primary { 
  background: var(--bb-blue); 
  color: white; 
}
.pill.alt { 
  background: white; 
  color: var(--bb-blue); 
  border: 2px solid var(--bb-blue); 
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--bb-blue);
  cursor: pointer;
  z-index: 1202;
  padding: 8px;
  border-radius: 4px;
  transition: background-color var(--transition);
}

.nav-toggle:hover {
  background: rgba(29, 112, 184, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-list {
    gap: 2px;
  }
  
  .nav-list a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 880px) {
  .site-header {
    padding: 0 20px;
  }
  
  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1201;
  }
  
  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list a {
    padding: 12px 16px;
    margin: 4px 0;
    text-align: center;
    font-size: 1.1rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .actions {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 15px;
  }
  
  .logo-mark {
    width: 40px;
    height: 40px;
  }
}

/* Hero Section */
.hero { 
  padding: 80px 0 60px; 
  position: relative;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: float 12s infinite ease-in-out;
}
.shape-1 {
  width: 120px;
  height: 120px;
  background: var(--bb-blue);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.shape-2 {
  width: 80px;
  height: 80px;
  background: var(--bb-yellow);
  top: 20%;
  right: 10%;
  animation-delay: -4s;
}
.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--bb-green);
  bottom: 15%;
  left: 15%;
  animation-delay: -8s;
}
.shape-4 {
  width: 60px;
  height: 60px;
  background: var(--bb-orange);
  bottom: 25%;
  right: 5%;
  animation-delay: -2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}
.hero-inner { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  align-items: center; 
}
.hero-content { max-width: 600px; }
.label { 
  display: inline-block; 
  padding: 8px 16px; 
  border-radius: 4px; 
  background: var(--bb-yellow); 
  font-weight: 800; 
  color: var(--text);
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.hero-title { 
  font-size: 48px; 
  line-height: 1.1; 
  margin: 16px 0; 
  color: var(--text); 
  font-weight: 800; 
  letter-spacing: -0.5px;
}
.lead { 
  color: var(--muted); 
  font-size: 1.1rem; 
  margin-bottom: 32px; 
  font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero illustration */
.css-illustration { 
  width: 100%; 
  height: 300px; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bitesize-circle, .bitesize-square, .bitesize-triangle {
  position: absolute;
  border-radius: 50%;
  animation: bounce 8s infinite ease-in-out;
}
.bitesize-circle:nth-child(1) {
  width: 120px;
  height: 120px;
  background: var(--bb-blue);
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.bitesize-circle:nth-child(2) {
  width: 80px;
  height: 80px;
  background: var(--bb-yellow);
  top: 50%;
  right: 20%;
  animation-delay: -2s;
}
.bitesize-square {
  width: 100px;
  height: 100px;
  background: var(--bb-green);
  border-radius: 16px;
  bottom: 20%;
  left: 30%;
  animation-delay: -4s;
}
.bitesize-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86.6px solid var(--bb-orange);
  background: transparent;
  top: 30%;
  right: 30%;
  animation-delay: -6s;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Sections */
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { 
  font-size: 36px; 
  font-weight: 800; 
  color: var(--bb-blue); 
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--bb-yellow);
  border-radius: 2px;
}
.section-header p { 
  color: var(--muted); 
  max-width: 760px; 
  margin: 0 auto; 
  font-size: 1.1rem;
}

/* About grid */
.about-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  align-items: center; 
}
.about-panel { 
  background: white; 
  padding: 32px; 
  border-radius: var(--radius-lg); 
  border-left: 5px solid var(--bb-blue);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.bullets { 
  margin-top: 20px; 
  list-style: none; 
  color: var(--muted); 
  font-weight: 500;
}
.bullets li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bullets i {
  color: var(--bb-green);
  font-size: 1.2rem;
}
.about-art { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg, var(--bb-blue), var(--bb-purple)); 
  border-radius: var(--radius-lg); 
  padding: 40px; 
  color: white;
  height: 100%;
  transition: transform var(--transition);
}
.about-art:hover {
  transform: scale(1.02);
}
.about-art-inner .big { 
  font-weight: 800; 
  font-size: 24px; 
  margin-bottom: 12px;
}
.about-art-inner .meta { 
  opacity: 0.9; 
  font-weight: 500;
}

/* Services grid */
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px; 
}
.service-card { 
  background: white; 
  border-radius: var(--radius-lg); 
  padding: 32px 24px; 
  box-shadow: var(--shadow-sm); 
  border-top: 4px solid var(--bb-blue);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card:hover { 
  transform: translateY(-10px); 
  box-shadow: var(--shadow-md);
}
.service-icon { 
  width: 80px; 
  height: 80px; 
  border-radius: 16px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 28px; 
  background: linear-gradient(135deg, var(--bb-blue), var(--bb-purple)); 
  color: white; 
  margin: 0 auto 20px; 
  box-shadow: 0 8px 16px rgba(29, 112, 184, 0.2);
  transition: transform var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}
.service-card h3 { 
  font-size: 1.2rem; 
  color: var(--bb-blue); 
  margin-bottom: 12px; 
  text-align: center;
}
.service-hover-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--bb-blue), var(--bb-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover .service-hover-effect {
  transform: scaleX(1);
}

/* Stats */
.stats { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 24px; 
  margin-bottom: 40px; 
}
.stat-box { 
  background: white; 
  padding: 24px; 
  border-radius: var(--radius-lg); 
  text-align: center; 
  box-shadow: var(--shadow-sm); 
  border: 1px solid var(--stroke);
  transition: transform var(--transition);
}
.stat-box:hover {
  transform: translateY(-5px);
}
.stat-number { 
  font-weight: 800; 
  font-size: 42px; 
  color: var(--bb-blue); 
  min-height: 1.2em; 
  display: inline-block;
}

/* Testimonials */
.testimonials { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; 
  margin-top: 40px;
}
.testimonial { 
  background: white; 
  padding: 24px; 
  border-radius: var(--radius-lg); 
  box-shadow: var(--shadow-sm); 
  position: relative;
  border: 1px solid var(--stroke);
  transition: transform var(--transition);
}
.testimonial:hover {
  transform: translateY(-5px);
}
.testimonial::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 60px;
  color: var(--bb-blue);
  opacity: 0.2;
  font-family: Georgia, serif;
}
.author-avatar { 
  width: 60px; 
  height: 60px; 
  border-radius: 12px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg, var(--bb-blue), var(--bb-purple)); 
  color: white; 
  font-weight: 800;
  margin-right: 16px;
}

/* Involve grid */
.involve-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px; 
}
.involve-card { 
  background: white; 
  padding: 32px 24px; 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--stroke); 
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.involve-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.large-icon { 
  font-size: 48px; 
  margin-bottom: 20px; 
  color: var(--bb-blue);
  transition: transform var(--transition);
}
.involve-card:hover .large-icon {
  transform: scale(1.1);
}

/* Sponsors Section */
.sponsors-section {
  background: linear-gradient(135deg, rgba(29, 112, 184, 0.03), rgba(76, 44, 146, 0.03));
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px; /* Reduced from 60px for better spacing */
  align-items: center;
  justify-items: center; /* Center logos in their grid cells */
  margin-bottom: 50px;
}

.sponsor-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Take full width of grid cell */
  height: 150px; /* Fixed height for all sponsor containers */
  padding: 15px; /* Add some padding */
}

.sponsor-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: all var(--transition);
  border-radius: 4px;
}

.sponsor-logo {
  max-width: 120%;
  max-height: 120px; /* Limit maximum height */
  width: auto; /* Maintain aspect ratio */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensure entire image fits without distortion */
  filter: grayscale(0%);
  opacity: 0.9;
  transition: all var(--transition);
}

.sponsor-link:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15));
}

.sponsor-link:hover .sponsor-logo {
  filter: grayscale(30%);
  opacity: 1;
}

/* Team Section */
.team-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px; 
}
.team-member { 
  display: flex; 
  flex-direction: column;
  gap: 20px; 
  padding: 24px; 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--stroke); 
  background: white; 
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  text-align: center;
}
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.member-art { 
  width: 120px; 
  height: 120px; 
  border-radius: 50%; 
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid var(--bb-light-blue);
  box-shadow: 0 4px 12px rgba(29, 112, 184, 0.2);
}
.member-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.team-member:hover .member-art img {
  transform: scale(1.05);
}
.member-bio h3 {
  color: var(--bb-blue);
  margin-bottom: 8px;
}

/* Contact grid */
.contact-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
}
.contact-info { 
  background: white; 
  padding: 32px; 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--stroke); 
  box-shadow: var(--shadow-sm);
  height: 280px;
}
.contact-row { 
  display: flex; 
  gap: 16px; 
  align-items: flex-start; 
  margin-bottom: 24px; 
}
.contact-icon { 
  width: 60px; 
  height: 60px; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg, var(--bb-blue), var(--bb-purple)); 
  color: white; 
  font-weight: 800; 
  font-size: 24px;
  flex-shrink: 0;
}

/* Contact form */
.contact-form { 
  background: white; 
  padding: 32px; 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--stroke); 
  box-shadow: var(--shadow-sm);
}
.contact-form label { 
  display: block; 
  font-weight: 700; 
  margin-bottom: 8px;
  color: var(--bb-blue);
}
.contact-form input, .contact-form textarea { 
  padding: 12px 16px; 
  border-radius: 4px; 
  border: 2px solid var(--stroke); 
  width: 100%; 
  font-size: 1rem; 
  margin-bottom: 20px;
  transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--bb-blue);
  box-shadow: 0 0 0 3px rgba(29, 112, 184, 0.2);
}
.form-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}
.form-grid .full { grid-column: 1 / -1; }
.form-actions { text-align: right; }
.form-status { margin-top: 16px; }

/* FAQ */
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item { 
  border-bottom: 1px solid var(--stroke); 
  padding: 20px 0;
  transition: background-color var(--transition);
}
.faq-item:hover {
  background: rgba(29, 112, 184, 0.05);
  border-radius: 8px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}
.faq-question { 
  width: 100%; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  background: transparent; 
  border: none; 
  padding: 8px 0; 
  cursor: pointer; 
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bb-blue);
}
.faq-answer { 
  display: none; 
  padding-top: 16px; 
  color: var(--muted);
  font-weight: 500;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

/* Footer */
.site-footer { 
  background: white; 
  padding: 60px 0 32px; 
  border-top: 1px solid var(--stroke);
}
.footer-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 40px; 
  margin-bottom: 40px;
}
.footer-links { 
  list-style: none; 
  padding: 0; 
  margin-top: 16px; 
}
.footer-links a { 
  color: var(--muted); 
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: var(--bb-blue);
  transform: translateX(5px);
}
.copyright { 
  text-align: center; 
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
}

/* Animations: reveal & gloss */
.animate-on-scroll { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: opacity .7s cubic-bezier(.215,.61,.355,1), transform .7s cubic-bezier(.215,.61,.355,1);
}
.animate-on-scroll.revealed { 
  opacity: 1; 
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .section { padding: 60px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .services-grid, .involve-grid, .team-grid { grid-template-columns: 1fr; }
}
    /* Hero Section with Rotating Background */
    .hero {
      position: relative;
      height: 85vh;
      min-height: 600px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-carousel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .carousel-slide.active {
      opacity: 1;
    }

    .carousel-slide::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 3;
      width: 92%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 14px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .text-container {
      position: relative;
      padding: 40px;
    }

    .triangle-background {
      position: absolute;
      top: -20px;
      left: -40px;
      width: 110%;
      height: 120%;
      background: linear-gradient(135deg, var(--bb-blue), var(--bb-purple));
      clip-path: polygon(0 0, 100% 0, 0 100%);
      border-radius: 0 0 0 20px;
      z-index: -1;
      opacity: 0.92;
      box-shadow: var(--shadow-md);
    }

    .label {
      display: inline-block;
      padding: 8px 16px;
      border-radius: 4px;
      background: var(--bb-yellow);
      font-weight: 800;
      color: var(--text);
      margin-bottom: 16px;
    }

    .hero-title {
      font-size: 48px;
      line-height: 1.1;
      margin: 16px 0;
      color: white;
      font-weight: 800;
      letter-spacing: -0.5px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .lead {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.1rem;
      margin-bottom: 32px;
      font-weight: 500;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 24px;
      border-radius: 4px;
      font-weight: 700;
      cursor: pointer;
      border: none;
      transition: all var(--transition);
      text-decoration: none;
      color: inherit;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: var(--bb-blue);
      color: white;
      box-shadow: var(--shadow-sm);
    }

    .btn-primary:hover {
      background: var(--bb-dark-blue);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .pill {
      border-radius: 999px;
      padding: 12px 24px;
    }

    .pill.primary {
      background: var(--bb-blue);
      color: white;
    }

    .pill.alt {
      background: white;
      color: var(--bb-blue);
      border: 2px solid var(--bb-blue);
    }

    .carousel-indicators {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 4;
    }

    .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .indicator.active {
      background: white;
      transform: scale(1.2);
    }

    /* Responsive adjustments */
    @media (max-width: 1020px) {
      .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
      }
      
      .hero-title {
        font-size: 36px;
      }
      
      .triangle-background {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        opacity: 0.85;
      }
    }

    @media (max-width: 768px) {
      .hero {
        height: 75vh;
        min-height: 500px;
      }
      
      .hero-title {
        font-size: 32px;
      }
      
      .text-container {
        padding: 30px 20px;
      }
      
      .hero-actions {
        flex-direction: column;
        align-items: center;
      }
    }

    @media (max-width: 480px) {
      .hero {
        height: 70vh;
        min-height: 450px;
      }
      
      .hero-title {
        font-size: 28px;
      }
      
      .lead {
        font-size: 1rem;
      }
    }
    * Hero Section with Enhanced Design */
    .hero {
      position: relative;
      height: 85vh;
      min-height: 600px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-carousel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .carousel-slide.active {
      opacity: 1;
    }

    .carousel-slide::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 3;
      width: 92%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 14px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .text-container {
      position: relative;
      padding: 50px 40px;
      z-index: 2;
    }

    /* New Fluid Background Shape */
    .fluid-background {
      position: absolute;
      top: -30px;
      left: -30px;
      right: -30px;
      bottom: -30px;
      background: linear-gradient(135deg, var(--bb-blue), var(--bb-purple));
      border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
      z-index: -1;
      opacity: 0.92;
      box-shadow: var(--shadow-md);
      animation: morphing 15s infinite ease-in-out;
      overflow: hidden;
    }

    .fluid-background::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
      opacity: 0.3;
      animation: shimmer 8s infinite linear;
    }

    @keyframes morphing {
      0% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
      33% { border-radius: 50% 40% 60% 50% / 40% 60% 40% 60%; }
      66% { border-radius: 60% 40% 40% 60% / 40% 50% 50% 40%; }
      100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .label {
      display: inline-block;
      padding: 8px 16px;
      border-radius: 4px;
      background: var(--bb-yellow);
      font-weight: 800;
      color: var(--text);
      margin-bottom: 16px;
      position: relative;
      z-index: 2;
    }

    .hero-title {
      font-size: 48px;
      line-height: 1.1;
      margin: 16px 0;
      color: white;
      font-weight: 800;
      letter-spacing: -0.5px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
      position: relative;
      z-index: 2;
    }

    .lead {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.1rem;
      margin-bottom: 32px;
      font-weight: 500;
      position: relative;
      z-index: 2;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      position: relative;
      z-index: 2;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 24px;
      border-radius: 4px;
      font-weight: 700;
      cursor: pointer;
      border: none;
      transition: all var(--transition);
      text-decoration: none;
      color: inherit;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: var(--bb-blue);
      color: white;
      box-shadow: var(--shadow-sm);
    }

    .btn-primary:hover {
      background: var(--bb-dark-blue);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .pill {
      border-radius: 999px;
      padding: 12px 24px;
    }

    .pill.primary {
      background: var(--bb-blue);
      color: white;
    }

    .pill.alt {
      background: white;
      color: var(--bb-blue);
      border: 2px solid var(--bb-blue);
    }

    .carousel-indicators {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 4;
    }

    .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .indicator.active {
      background: white;
      transform: scale(1.2);
    }

    /* Responsive adjustments */
    @media (max-width: 1020px) {
      .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
      }
      
      .hero-title {
        font-size: 36px;
      }
      
      .fluid-background {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        animation: morphing 12s infinite ease-in-out;
      }
    }

    @media (max-width: 768px) {
      .hero {
        height: 75vh;
        min-height: 500px;
      }
      
      .hero-title {
        font-size: 32px;
      }
      
      .text-container {
        padding: 40px 20px;
      }
      
      .hero-actions {
        flex-direction: column;
        align-items: center;
      }
      
      .fluid-background {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
        animation: morphing 10s infinite ease-in-out;
      }
    }

    @media (max-width: 480px) {
      .hero {
        height: 70vh;
        min-height: 450px;
      }
      
      .hero-title {
        font-size: 28px;
      }
      
      .lead {
        font-size: 1rem;
      }
      
      .fluid-background {
        border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
        animation: morphing 8s infinite ease-in-out;
      }
    }
    
@media (max-width: 880px) {
  
  /* Make logo larger on mobile */
  .logo-mark {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 480px) {
  
  
  .logo-mark {
    width: 60px;
    height: 60px;
  }
  
  
}

