main{
	padding-top: 40px;
}
/* About Gallery Section (3 images side by side) */
.about-gallery-row {
	display: flex;
	gap: 32px;
	justify-content: center;
	align-items: center;
	margin: 24px 0;
} #gallerycolor{
	    background-color: rgba(33,40,57,0.7);

}


.about-gallery-image {
	width: 55vh;
	height: 280px;
	object-fit: cover;
	border-radius: 9px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	background: #222;
}

.registrations-section{
	padding: 40px 20px;
	padding-bottom: 100px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	background-color: rgba(33,40,57,0.7);
	text-align: center;
	align-content: center;
} .registrations-section button{
	margin: 20px;
} .registrations-section a{
	text-decoration: none;
	color: inherit;
	transition: color 0.2s;
} .registrations-section a:hover{
	color: #0079a8;
}

@media (max-width: 900px) {
	.registrations-section{
		padding: 20px 20px;
	}
	.registrations-section button{
		width: 75%;
		margin: 12px 0;
	}
}

/* Modular About Sections */
.about-section-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.about-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  padding-top: 25px;
  text-align: center;
  font-family: inherit;
  margin: 0;
}

#sectionreverse {
  flex-direction: row-reverse;
}

.about-section-image {
  border-radius: 10px;
  flex: 0 0 clamp(300px, 50%, 65vh);
  width: clamp(300px, 50%, 65vh);
  height: 400px;
  object-fit: cover;
  overflow: hidden;
  
}

.about-section-text, .about-section.text-only p {
  flex: 1;
  min-width: 0;
  font-size: 1.5rem;
  color: #e0e8f8;
  font-family: 'Calibri';
  line-height: 1.7;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.about-section-text ul {
  text-align: left;
}

.reqtext {
  border-spacing: 20px;
  width: calc(100% + 30px);
  background-color: #10194244;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.3);
  border-radius: 12px;
  position: relative;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-sizing: border-box;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  font-family: 'Calibri';
}

.about-section-text .about-cta1 {
  margin-top: 6px;
  align-self: flex-start;
  width: calc(100% + 30px);
  box-sizing: border-box;
  
}

.about-section.text-only .about-section-content,
.about-section.text-only .about-section-text {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  
}


/* Medium to large screens: 50/50 split */
@media (min-width: 1001px) and (max-width: 1400px) {
  .about-section-content {
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: nowrap;
  }
  .about-section-image {
    flex: 0 0 48%;
	width: 55vh;
    
  }
  .about-section-text {
    flex: 0 0 48%;
    min-width: 400px;
  }
  .reqtext {
    min-width: 380px;
    padding: 18px 24px;
  }
}

@media (min-width: 1001px) and (max-width: 1200px) {
  .about-section-text { 
    min-width: 350px; 
  }
  .reqtext { 
    min-width: 330px; 
    font-size: 1.4rem; 
  }
}

@media (min-width: 1401px) {
  .about-section-image { 
    width: 65vh; 
    flex: 0 0 65vh; 
  }
}

/* At 1070px and below: stack layout */
@media (max-width: 1070px) {
  .about-section-content { 
    flex-direction: column; 
    gap: 24px; 
    align-items: center; 
  }
  .about-section-image { 
    width: min(90vw, 600px);
    flex: 0 0 auto; 
    align-self: center; 
  }
  .about-section-text { 
    width: min(90vw, 600px); 
    align-items: center; 
    text-align: center; 
  }
  .reqtext { 
    width: 100%; 
  }
  .about-section-text .about-cta1 { 
    width: 100%; 
    align-self: center; 
  }
  .about-gallery-row {
    flex-direction: column;
    gap: 20px;
  }
  .about-gallery-image {
    width: min(90vw, 500px);
    height: 250px;
  }
}

@media (max-width: 600px) {
  .about-section-image,
  .about-section-text {
    width: 95vw;
  }
  .reqtext {
    padding: 12px 16px;
    font-size: 1.3rem;
  }
  .about-section-text {
    font-size: 1.3rem;
  }
  .about-gallery-image {
    width: 95vw;
    height: 200px;
  }
}


.navbar-container {
	width: 100vw;
	background-color: #ffffff; /* Change to any color you like */
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	z-index: 3000; /* ensure it sits above other content */}

/* Reset and page background */
* { box-sizing: border-box; }
body {
	margin: 0;
	padding: 0;
	background: #1a1424;  
	color: #fff; /* default text color on blue */
	min-height: 100vh;
	overflow-x: hidden; /* prevent small scrollbar from pushing edges */
}




.navbar{
	align-items: center;
	justify-content: flex-end;
	display: flex;
	position: fixed;
	top: 0;
	left: 0;    /* pin to left edge */
	right: 0;   /* pin to right edge so it always reaches the scrollbar */
	background-color: #212839;
	width: auto; /* let left/right determine sizing to avoid 100% width issues */
	height: var(--navbar-height);
	padding-left: 204px; /* reserve space for the absolutely positioned brand */
	z-index: 3000;
}

/* navbar brand (square logo on the left) */
.navbar-brand { position: absolute; left: 20px; top: 0; bottom: 0; display: flex; align-items: center; }
.navbar-brand img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; display: block; }

.navbar ul {
	white-space: nowrap;
	font-size: clamp(0.8rem, 0.9rem, 1rem);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
	margin-left: auto;
}

/* Mobile navbar styles (second navbar) */
.navbar-mobile-container { display: none; }
.navbar-mobile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: #212839;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 4000;
}
.navbar-mobile-brand img { width: 44px; height: 44px; object-fit: cover; }
.hamburger-btn {
	background: transparent;
	border: 0;
	width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	cursor: pointer;
}
.hamburger-line {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 3px 0;
	border-radius: 2px;
}

.mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 320px;
	max-width: 92%;
	background: linear-gradient(180deg,#0f1b26,#16232b);
	box-shadow: -12px 0 40px rgba(0,0,0,0.6);
	transform: translateX(100%);
	transition: transform 320ms cubic-bezier(.2,.9,.3,1);
	z-index: 4500;
	padding: 20px;
	overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mobile-close { background: transparent; border: 0; color: #fff; font-size: 1.25rem; float: right; cursor: pointer; }
.mobile-menu-list { list-style: none; margin: 22px 0 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu-list a, .mobile-menu-list button { color: #fff; text-decoration: none; font-size: 1.1rem; padding: 12px 8px; display: block; border: 0; background: transparent; text-align: left; }
.mobile-menu-list .mobile-dropdown { border-top: 1px solid rgba(255,255,255,0.03); padding-top: 8px; }
.mobile-dropdown .mobile-submenu { display: none; list-style: none; padding-left: 12px; margin-top: 6px; }
.mobile-dropdown.open .mobile-submenu { display: block; }
.mobile-register { background: #0079a8; padding: 10px 14px; border-radius: 8px; text-align: center; display: inline-block; }

/* Responsive toggles: show mobile navbar on small screens, hide desktop nav */
@media (max-width: 1100px) {
	.navbar { display: none !important; }
	.navbar-container { display: none !important; }
	.navbar-mobile-container { display: block; }
	/* ensure page sections aren't hidden behind fixed mobile header */
	.page-section { padding-top: 84px; }

}
@media (max-width: 1300px) {
	#application-button{
		white-space: nowrap;
	}
	.navbar ul a{
	white-space: nowrap;
	font-size: 1.3rem;
	margin: 12px 0px;
    
} .about-gallery-image{
	width: 50vw;
	height: 50vh;
}

}

.smallnavbartitle{
	font-size: 2rem;
	font-weight: 700;
	color: white;
	margin: 0;
	text-decoration: none !important;
}
.mobile-menu-list{
	font-family: 'Calibri';
}

.navbar li {
    padding: 30px 30px;
    color: rgb(255, 255, 255);
    cursor: pointer;
}

.navbar a{
    color: rgb(255, 255, 255);
    text-decoration: none;
	font-size: x-large;
    font-family: 'calibri';
}

.navbar li:hover a {
    color: #0079a8; 
    transition: color 0.2s;
} 

.navbar li.dropdown {
    position: relative;
} .navbar .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: #212839;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    z-index: 4000;
	transition: opacity 0.3s ease;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.navbar li.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
} .navbar .dropdown-menu li {
    padding: 16px 24px;
    color: #fff;
    white-space: nowrap;
}

.navbar .dropdown-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: large;
    font-family: 'calibri';
} .navbar .dropdown-menu li a:hover {
    color: #0079a8;
}

#nobutton {
	cursor: default;
} #insidebutton{
	text-decoration: none;
	color: inherit
}
#application-button {
	color: #fff;
	padding: 10px 18px;
	border: 3px solid;
	border-radius: 8px;
	border-color: white;
	font-size: 1.2rem;
	font-family: 'calibri';
	cursor: pointer;
	transition: background-color 0.2s;
} #application-button:hover{
	background-color: #0079a8;
}

/* Buttons used inside About sections (clear, readable, accessible) */
.about-cta {
	display: inline-block;
	background-color: #ffffff; /* white background for max contrast on dark sections */
	color: #0b2540; /* dark text to keep contrast */
	border: 0;
	padding: 12px 22px;
	border-radius: 10px;
	font-size: 1.05rem;
	font-weight: 700;
	font-family: 'calibri';
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
	margin-top: 12px;
}
.about-cta1 {
	display: inline-block;
	background-color: #ffffff; /* white background for max contrast on dark sections */
	color: #0b2540; /* dark text to keep contrast */
	border: 0;
	padding: 12px 22px;
	border-radius: 10px;
	font-size: 1.05rem;
	font-weight: 700;
	font-family: 'calibri';
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.about-cta1:hover, .about-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}


@media (max-width: 900px) {
	.about-cta1 { width: 100%; padding: 14px 18px; font-size: 1.05rem; }
}

.committee-banner {
	width: 100vw;
	height: 90vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 0;
}

.committee-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 121, 168, 0.45); /* blue overlay, adjust opacity as needed */
    z-index: 1;
}

.committee-banner::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(180deg, rgba(33,40,57,0.7) 0%, rgba(33,40,57,0.2) 100%);
	z-index: 1;
}

.committee-banner-content {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 100%;
	padding: 48px 0;
}

.committee-chairs {
	max-width: 900px;
	margin: 48px auto 0 auto;
	padding: 0 24px;
}

.committee-chairs-list {
	padding-bottom: 100px;
	display: flex;
	gap: 48px;
	justify-content: center; /* center bubbles horizontally */
	flex-wrap: wrap;
	margin-top: 24px;
}

#committee-page{
	background-color: rgba(33,40,57,0.7);
}

.chair-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(33,40,57,0.7);
	border-radius: 12px;
	padding: 5px 24px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.10);
	min-width: 160px;
	max-width: 200px;
	min-height: 380px;
	max-height: 460px;
	border: 5px solid #0079a8;
	transition: transform 0.18s cubic-bezier(.2,.9,.3,1), box-shadow 0.18s cubic-bezier(.2,.9,.3,1);
}

.chair-profile:hover {
	transform: translateY(-8px) scale(1.04);
	box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}


.chair-photo {
	margin-top: 10px;
	width: 160px;
	height: 75%;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 12px;
	background: #fff;
}

.chair-name {
	font-size: 1.15rem;
	font-weight: 600;
	color: #e0e8f8;
	text-align: center;
	margin-top: 4px;
}

.team-role {
	text-align: center;
    font-size: 1.1rem;
    color: rgba(224,232,248,0.85);
    font-weight: 400;
    margin-top: 6px;
} 

/* Team styles: duplicate of committee styles for consistency */
.team-chairs {
	max-width: 900px;
	margin: 48px auto 0 auto;
	padding: 0 24px;
}

.team-chairs-list {
	padding-bottom: 100px;
	display: flex;
	gap: 48px;
	justify-content: center; /* center team bubbles too */
	flex-wrap: wrap;
	margin-top: 24px;
}

.team-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(33,40,57,0.7);
	border-radius: 12px;
	padding: 5px 24px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.10);
	min-width: 180px;
	max-width: 220px;
	min-height: 400px;
	max-height: 480px;
	border: 5px solid #0079a8;
	transition: transform 0.18s cubic-bezier(.2,.9,.3,1), box-shadow 0.18s cubic-bezier(.2,.9,.3,1);
}

.team-profile:hover {
	transform: translateY(-8px) scale(1.04);
	box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.team-photo {
	margin-top: 10px;
	width: 160px;
	height: 75%;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 12px;
	background: #fff;
}

.team-name {
	font-size: 1.15rem;
	font-weight: 600;
	color: #e0e8f8;
	text-align: center;
	margin-top: 4px;
}

.committee-subheading {
	font-size: 2.5rem;
	font-weight: 500;
	color: #e0e8f8;
	margin: 0;
	z-index: 2;
}

.committee-description{
	max-width: 900px;
	margin: 48px auto 0 auto;
	padding: 0 24px;
}

.committee-section-title {
	font-size: 1.7rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
}

.committee-section-text {
	font-size: 1.1rem;
	color: #e0e8f8;
	line-height: 1.7;
	margin-bottom: 0;
}

/*Default text*/
p, h1, h2, h3, h4, h5, h6 {
	font-family: 'Calibri';
	color: white;
	font-size: large;
}

/* Hero headings: place h1 and h2 side-by-side on wide screens, stack on small screens */
.hero {
	display: flex;
	align-items: baseline; /* align the text bottoms (or use center) */
	gap: 1rem; /* space between h1 and h2 */
	flex-wrap: wrap; /* allow wrapping on narrow viewports */
}

.hero h1 {
	margin: 0;
	font-size: 2.25rem;
	line-height: 1;
}

.hero h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 400;
	color: #444;
}

.hero-bg {
    position: absolute;
    inset: 0;                /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover;       /* cover and crop as needed */
    object-position: center; /* change if you want different focal point */
    z-index: -1;     
	filter: blur(0px);        /* keep content above the image */
} 

/* Responsive: on very small screens, make headings stack and increase spacing */
@media (max-width: 480px) {
	.hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
	.hero h1 { font-size: 1.75rem; }
	.hero h2 { font-size: 1rem; }
}

/* Optional: visually group the hero area */
.hero p { margin-top: 0.5rem; }




.hero-section {
	overflow: hidden;	
	min-height: 100vh;
	max-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100vw; /* span the full viewport width */
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.hero-center {
	display: flex;
	flex-direction: column;
	align-items: center; /* center title and countdown horizontally */
	gap: 22px;
	text-align: center;
} 

/* semi-transparent bubble behind hero content */
.hero-center {
	position: relative; /* create stacking context for pseudo element */
	z-index: 2; /* ensure content sits above the hero-bg and overlay */
}

.hero-center::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: 100%;
	background: rgba(33, 33, 33, 0.39	); /* semi-transparent grey */
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.274);
	z-index: 1; /* behind .hero-center children */
}

/* Ensure children inside hero-center are above the bubble */
.hero-center > * { position: relative; z-index: 3; }

@media (max-width: 720px) {
	.hero-center::before {
		top: -6px;
		width: calc(100% - 24px);
		height: calc(100% + 12px);
		border-radius: 12px;
	}
}

.title-box {
	offset: 0px 20px	;
	padding: 26px 36px;
	border-radius: 8px;
	display: inline-block;
	color: #ffffff;
	z-index: 2;
}

.title-box h1 {
	color: #ffffff;
	font-family: 'Calibri';
	margin: 0;
	/* make the main title much larger, scale with viewport */
	font-size: clamp(4rem, 6vw, 5rem);
	font-weight: 800;
	line-height: 1;
	z-index: 50 !important;
}

.countdown {
	font-family: 'Calibri';
	margin-top: 40px;
	font-weight: 800;
	font-size: clamp(2rem, 2vw, 3rem);
	padding: 10px 18px;
	/*border: 5px solid rgb(6, 48, 64); /* red box */
	border-radius: 6px;
	display: inline-block;
	color: #ffffff;
	border: 5px solid #3981bb;
	border-radius: 18px;
}
/* Date of event in red main page */
.event-dates {
	margin-left: 15px;
	margin-right: 15px;
	color: white; /* red */
	font-weight: 800;
	text-align: center;
	font-size: clamp(2.2rem, 3vw, 2.5rem);
	color: #ffffff;
}

/* Divider */
.page-bottom-divider {
	width: 100%;
	height: 0px;
	background: #000000;
	margin: 0;
	position: relative;
	overflow: hidden;
}

.general-title {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0vh 1rem; 
}
.committee-title {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0vh 1rem; 
	font-size: 3.5rem;
}
#committees123{
	padding-top: 2rem;
	padding-bottom: 1rem;
	font-size: xx-large;
	color: #ffffff;
}
.general-title h1 {
	padding-top: 5px;
	margin: 0;
	font-weight: 500;
	font-size: 2vw;
	color: #ffffff; /* dark text for readability */
	line-height: 1;
}

.general-title-committee {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0vh 1rem; 
}
.general-title-committee h1 {
	padding-top: 5px;
	margin: 0;
	font-weight: 400;
	font-size: 2.4vw;
	color: #ffffff; /* dark text for readability */
	line-height: 1;
}

/* Sponsors grid: 5 square frames, equally spaced and responsive */
.sponsors-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4rem;
	max-width: 1600px;
	margin: 1rem auto 0.5rem auto; 
	align-items: start;
	padding: 0 0.5rem;
}
.sponsor-frame {
	background: transparent; 
	width: 7rem;
	/* make squares: use aspect-ratio where available */
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	min-height: 10vh;	
}
.sponsor-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* crop/cover the square */
	display: block;
}

/* Responsive: collapse to fewer columns on narrow screens */
@media (max-width: 1100px) {
	.sponsors-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.sponsors-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 420px) {
	.sponsors-grid { grid-template-columns: 1fr; }
}

.below-area p { max-width: 900px; margin: 0 auto; font-size: 1.05rem; }

/* --- Reusable section & title styles --- */
.page-section {
	padding: 28px 0;
	padding-top: 30px;
}
@media (max-width: 900px) {
	.page-section { padding-top: 80px; }
	.sponsor-frame{
		min-height: 10vh;
	} .sponsors-grid{
		grid-template-columns: repeat(2, 1fr);
		padding:20px;
		gap: 3rem;
	}
}

.section-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}.section-container2 {
	align-items: center	;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-title {
	padding-top:25px;
	font-family: 'Calibri', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	color: #ffffff;
	font-weight: 700;
	margin: 0 0 12px 0;
	line-height: 1.2;
	padding-bottom: 15px;
}
.team-section-title {
	text-align: center;
	font-family: 'Calibri', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	color: #ffffff;
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	line-height: 1.2;
}

/* smaller subtitle variant */
.section-subtitle {
	font-size: 1rem;
	font-weight: 500;
	color: #d7e6f2;
	margin: 0 0 18px 0;
}

/* make the page mobile-friendly: scale down paddings, stack columns */
@media (max-width: 900px) {
	.section-title { font-size: 1.35rem; }
	.committee-title { font-size: 2rem; }
	.committee-banner { min-height: 40vh; }
	.committee-banner-content { padding: 24px 12px; }
	.committee-chairs-list { gap: 16px; justify-content: center; }
	.chair-profile { min-width: 140px; max-width: 180px; }
	.chair-photo { width: 110px; height: 110px; }
	.mun-stage { height: 45vh; }

	/* Mobile: reduce navbar left padding so page content isn't visually shifted
	   and make committee/team containers span full width and center properly */
	.navbar { padding-left: 16px; }
	:root { --navbar-height: 80px; }
	.committee-chairs, .team-chairs { padding: 0; max-width: 100%; }
	.committee-chairs-list, .team-chairs-list { width: 100%; padding-left: 0; padding-right: 0; justify-content: center; }
}

@media (max-width: 420px) {
	.section-title { font-size: 1.15rem; }
	.section-container { padding: 0 12px; }
	.committee-banner { min-height: 30vh; }
}
/* Committees grid and boxes */

.committees {
	max-width: 1100px;
	margin: 0 auto 4rem auto;
	padding: 0 1rem;
}

.location-title {
	font-family: 'Calibri';
	color: #ffffff;
	font-size: 2rem;
	font-weight: 700;
	padding-bottom: 35px;
	line-height: 1.2;
	text-align: center;
}

#nmap {
	max-width: 800px;
	width: 30vw;
	height: 50vh;
	border: none;
	border-radius: 15px;
	margin: 0;
	box-sizing: border-box;
} 
@media (max-width: 900px) {

	#nmap {
		align-self: center;
		/*order: 2;*/
		width: 80vw;
		height: 400px;
		margin-right: 0;
	}
	
}
.section-divider {
	opacity: 0.2;
	width: 100%;
	height: 1px;
	background: rgba(216, 0, 0, 0.2);
	margin: 0;
	position: relative;
	overflow: hidden;
	margin-bottom: 15px;
	margin-top: 40px;
}

.site-footer {
    width: 100vw;
    background: #1a1424;
    color: #fff;
    padding: 32px 0 16px 0;
    font-size: 1rem;
    padding-top: 48px;
	padding-bottom: 100px;
} 

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-credits {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.footer-columns {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-section {
    min-width: 180px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s, font-weight 0.2s;
}

.site-footer a:hover {
    font-weight: 700;
    color: #0079a8;
}

@media (max-width: 700px) {
    .footer-columns {
        flex-direction: column;
        gap: 24px;
    }
    .footer-section {
        min-width: unset;
    }
}


@media (max-width: 900px) {
	.title-box { transform: none; padding: 14px 16px; }
	.title-box h1 { font-size: 4rem; }
	.countdown { font-size: 1rem; margin-left: 0; }
	/* Reset large viewport offsets on small screens */
	.title-box { margin-top: 8vh; margin-left: 4vw; }
	.countdown { margin-left: 0; font-size: 1.5rem; padding: 6px 10px; border-width: 4px; }
}


/* COMMITTEES SECTION */

.committees-page {
	background: #003950; /* subtle light-blue background for contrast */
	color: #ffffff;
	height: 100vh; 
	position: relative;
}

/* First committees section (grid of cards) */
.Committees-first-page {
	background: #06263a;
	position: relative;
	padding-top: 120px; /* keep clear of fixed navbar */
	padding-bottom: 40px;
	z-index: 1; /* ensure above anything behind */
}

.Committees-first-page .committees-grid { position: relative; z-index: 1; }
/* Committees card grid */
.committees-grid {
	max-width: 1200px;
	margin: 2rem auto 3rem;
	padding: 0 1rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.committee-card {
	display: flex;
	flex-direction: column;
	background: #2f3545;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(0,0,0,0.18);
	overflow: hidden;
	position: relative; /* needed for overlay pseudo-element */
	transition: transform .18s ease, box-shadow .18s ease;
}
.committee-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.28); }
.committee-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.committee-card img { position: relative; z-index: 0; }
.committee-card .card-body { position: relative; z-index: 2; }

/* translucent color overlay that sits above the image but below the body text */
.committee-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 260px; /* matches the image height */
	pointer-events: none;
	z-index: 1;
	transition: background-color 160ms ease;
}
.committee-card:hover::before {
	background: rgba(0, 121, 168, 0.30);
}

@media (max-width: 980px) {
	/* if image height changes at smaller sizes, keep overlay proportional */
	.committee-card::before { height: 220px; }
}
.committee-card .card-body { padding: 1.25rem 1.5rem 1.5rem; }
.committee-card .card-body h3 { margin: 0 0 .75rem 0; font-size: 1.05rem; letter-spacing: 0.6px; text-transform: uppercase; text-align: center; }
.committee-card .card-body hr { border: none; height: 1px; background: rgba(255,255,255,0.25); margin: .6rem 0 1rem 0; }
.committee-card .card-body p { margin: 0 0 1.25rem 0; color: rgba(255,255,255,0.92); }


/* Center the seventh card on its own row */
.committees-grid .committee-card.single { grid-column: 2 / span 1; }

@media (max-width: 980px) {
	.committees-grid { grid-template-columns: repeat(2, 1fr); }
	.committees-grid .committee-card.single { grid-column: 1 / -1; justify-self: center; width: min(520px, 100%); }
}
@media (max-width: 640px) {
	.committees-grid { grid-template-columns: 1fr; }
}

.container {
  position: relative;
  width: 600px;
  height: 600px;
}

#bulletpointsreq p{
	color: #ffffff;
	font-size: 1.5rem;
	font-family: 'Calibri';
	margin: 5px -25px;
}

.about-section {
  background: transparent;              /* keep page bg showing; set a color if needed */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  max-width: 100%;
  padding: 32px 12%;
  background: #14213D;
  gap: 18px;
  margin-top: 0 !important;
  padding-bottom: 80px;
}
.about-grid {
  --icon-size: clamp(50px, 10vw, 5em);
  --gap: clamp(16px, 40vw, 20vh);

  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 6 across */
  gap: var(--gap);
  align-items: start;
  justify-items: center;
}
.stat-icon {

  margin: 0 auto;
  display: grid;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  background-color: #ffffff67; /* default green bg, overridden by color classes */ 	
}
.stat-icon img {
  display: block;
  position: static;     /* don't offset from centering */
  align-self: center;
  justify-self: center;
  margin: 0;
}
.stat-icon .emoji {
  font-size: clamp(22px, 3vw, 30px);
}
.emoji {
  font-size: 2rem;                  /* change size here */
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  font-family: "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
}
.stat-value {
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.75rem);
  line-height: 1;
  padding-top: 15px;
  padding-bottom: 10px;
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  font-weight: 600;
  font-size: clamp(0.6rem, 1.2vw, 0.9rem);
}
.stat-section-title {
  position:relative;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 20px;
  font-family: inherit;
}
.stat-item.c1 .stat-icon { background: #e80079; } /* pink */
.stat-item.c2 .stat-icon { background: #0a5cff; } /* blue */
.stat-item.c3 .stat-icon { background: #8b17ff; } /* purple */
.stat-item.c4 .stat-icon { background: #09a247; } /* green */
.stat-item.c5 .stat-icon { background: #ff8a00; } /* orange */



.light-blue-area { margin-bottom: 0; }
.light-blue-area + .about-section { margin-top: 0 !important; }



.extrainfo-section {
	background: #1a1424; /* subtle light-blue background for contrast */
	color: #ffffff;
	padding: 20px;
}
.extrainfophoto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70px;
}

.hyperlink1 {
	color: white;
	text-decoration: none;
	transition: color 0.2s;
} .hyperlink1:hover {
	color: #00acee;
}

.light-blue-area {
  background-color: #14213D;
  color: #ffffff;
  width: 100%;
  padding: 40px 0 60px; /* reduced bottom padding */
  overflow: hidden;
  background-blend-mode: darken;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: inherit; /* matches button font */
}

/* --- Carousel --- */
.mun-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88vw;
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

.mun-carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.mun-slide {
  height: auto;
  display: grid;
  grid-template-columns: 54% 46%;
  gap: 2.8rem;
  align-items: center;
  flex: 0 0 100%;
  padding: 10px 20px 0; /* reduced bottom padding */
  box-sizing: border-box;
}

.mun-slide:not(.active) {
  display: none;
}

/* --- Text side --- */
.mun-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.mun-content p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 750px;
  font-family: 'Calibri'; /* match button font */
}

/* --- Buttons --- */
.mun-buttons {
  display: flex;
  gap: 1.2rem;
}

.mun-join-btn,
.mun-req-btn {
  flex: 1;
  background: #0078d4;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 16px 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  min-width: 260px;
  max-width: 300px;
}

.mun-join-btn:hover,
.mun-req-btn:hover {
  background: #005fa3;
  transform: translateY(-2px);
}




/* General image rules for landscape slides */
.mun-image img {
  object-fit: cover;
  border-radius: 10px;
  display: block;
  display: flex;
  justify-content: center;
  width: 90%;
  height: 50vh;
}
.mun-carousel-track .mun-slide:first-child .mun-image img {
  width: 90%;
  height: 55vh;
  object-fit: cover; /* or contain */
  display: block;
}


/* --- Arrows --- */
.mun-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Hover animation for arrows */
.mun-arrow:hover {
  background: rgba(255,255,255,0.45);
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.15) rotate(5deg);
}
.aboutpraguetitle {
	font-size: 2.5rem;
	padding-top: 20px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
}

.mun-arrow.left { left: 20px; }
.mun-arrow.right { right: 20px; }

/* --- Responsive layout --- */
@media (max-width: 1200px) {
  .mun-carousel {
    width: 90vw;
    padding: 0 40px;
  }
  .mun-slide {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .mun-content p {
    max-width: 620px;
  }
}

@media (max-width: 900px) {
  .mun-slide {
    grid-template-columns: 1fr;
  }
  .mun-image {
    order: 2;
    margin-top: 1.5rem;
    display: flex;              /* ADD: make it a flex container */
    justify-content: center;    /* ADD: center the image horizontally */
    align-items: center; 
  }
  .mun-buttons  {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .mun-image img {
    aspect-ratio: 16 / 9;
    align-self: center;         /* ADD: ensure image centers within flex container */
  }
  .mun-join-btn,
  .mun-req-btn {
    width: 90%;
    text-align: center;
  }
  .mun-carousel {
    padding: 0 20px;
    width: 95vw;
  }
  .mun-arrow.left { left: 8px; }
  .mun-arrow.right { right: 8px; }
}

@media (max-width: 900px) {
  .section-title {
    font-size: 2rem;
  }
  .mun-content p {
	text-align: center;
    font-size: 1rem;
  }
  .mun-image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
@media (min-width: 1500px) {
  .mun-content p {
    font-size: 1.5rem;
  }
}
.about-section:has(#nmap) .about-section-text p {
  font-size: 1.3rem;   /* adjust to taste */
  line-height: 1.6;
}
#bulletpointsreq .reqtext :is(p, li) {
  font-size: 1.3rem !important;   /* !important to beat the inline font-size on #bulletpointsreq */
  line-height: 1.6;
  font-family: 'Calibri', system-ui, sans-serif;
}
