/* ====== Base Reset and Font ====== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;

}

.container, #student-support, #contact .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* ====== Navigation ====== */
nav {
	height: 80px;
	background: #ffde21;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 3rem calc((100vw - 900px) /2);
}

.logo {
	color: #000;
	font-size: 1.5rem;
	font-weight: bold;
	font-style: italic;
	padding: 0 2rem;
}

nav a {
	text-decoration: none;
	color: #000;
	padding: 0 1.5rem;
}

nav a:hover {
  color: #555;
  transform: translateY(-2px);
}

/* ====== Hero Section ====== */
.hero-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  height: 95vh;
  padding: 0;
}

.column-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Ensures the image fills the box and crops if needed */
  border-radius: 0;
}

/* Move text to the right and make text white for readability */
.column-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: left;
  color: #000;
  width: 100%;
  height: 100%;
  background: transparent;
  padding-right: 3rem;
  padding-left: 2rem;
}

.column-left h1, .column-left p {
  color: #000;
}

.hero {
  background: #ffde21;
  min-height: 95vh;
}

.centered-section {
  background-color: #fff;
  padding: 40px 0;
  text-align: center;
  margin: 0 auto;
}

.content-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.centered-section h2 {
  color: #ffd600;
  font-size: 2.15rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.centered-section p {
  font-size: 1.15rem;
  margin-bottom: 15px;
  color: #363636;
}


button {
	padding: 1rem 3rem;
	font-size: 1rem;
	border: none;
	color: #ffde21;
	background: #000;
	cursor: pointer;
	border-radius: 50px;
}

button:hover {
	background: #fff;
	color: #000;
}

/* ====== Responsive Hero ====== */
@media screen and (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  .column-right, .column-left {
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
  }
}

/* Responsive gallery for mobile devices */
@media screen and (max-width: 768px) {
  .gallery {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  .gallery h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .gallery-row,
  .gallery-row.reverse {
    flex-direction: column;
    margin: 1.5em 0;
    gap: 1em;
  }

  .gallery-row img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .gallery-row .desc {
    flex: 1;
    font-size: 1rem;
    text-align: center;
    padding: 1rem 0;
  }

  .desc {
    border-bottom: 1.5px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }
}


/* ====== Page Background ====== */
.page {
	background: #ffde21;
}

/* ====== Success/Error Colors ====== */
:root {
	--clr-success: green;
	--clr-error: red;
}

/* ====== Input Field Outlines ====== */
input[type="text"],
input[type="email"] {
	outline: 3px solid hsl(203, 30%, 26%);
}

input:not(:placeholder-shown):valid {
	outline-color: var(--clr-success);
}

input:not(:placeholder-shown):invalid {
	outline-color: var(--clr-error);
}

/* ====== Success Message ====== */
.success-message {
	margin: 50px auto;
	padding: 30px;
	max-width: 400px;
	background: #e6ffe6;
	border: 1px solid #b3ffb3;
	border-radius: 8px;
	text-align: center;
}

.success-message button {
	margin-top: 20px;
	padding: 10px 24px;
	background: #04AA6D;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.success-message button:hover {
	background: #037a4a;
}

/* ====== Gallery ====== */
.gallery {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	font-style: italic;
}

.gallery-row {
	display: flex;
	align-items: center;
	margin: 2em 0;
	gap: 2em;
}

.gallery-row img {
	width: 200px;
	height: auto;
	border-radius: 8px;
}

.gallery-row .desc {
	flex: 1;
	font-size: 1.1em;
}

.gallery-row.reverse {
	flex-direction: row-reverse;
}

.desc {
	border-bottom: 1.5px solid #ccc;
	padding-bottom: 16px;
	margin-bottom: 24px;
}

/* ========================================================= */
/* ================= CONTACT FORM STYLES =================== */
/* ========================================================= */

#contact .container {
	max-width: 500px;
	margin: 40px auto;
	padding: 32px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	font-family: inherit;
}

#contact form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	letter-spacing: 0.5px;
}

#contact form input[type="text"],
#contact form input[type="email"],
#contact form textarea {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 20px;
	border: 1.5px solid #d6d6d6;
	border-radius: 6px;
	background: #f9f9f9;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	resize: none;
}

#contact form input[type="text"]:focus,
#contact form input[type="email"]:focus,
#contact form textarea:focus {
	border-color: #4f8cff;
	box-shadow: 0 0 0 2px rgba(79,140,255,0.08);
	outline: none;
	background: #fff;
}

#contact form textarea {
	height: 100px;
	min-height: 80px;
	max-height: 300px;
}

#contact form input[type="submit"] {
	background: #ffde21; /* bright yellow */
	color: #000;         /* black text for contrast */
	border: none;
	border-radius: 6px;
	padding: 12px 0;
	width: 100%;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s;
	letter-spacing: 1px;
}

#contact form input[type="submit"]:hover {
	background: #e6c917; /* slightly darker yellow on hover */
}


/* Responsive adjustments for contact form */
@media (max-width: 600px) {
	#contact .container {
		padding: 18px 8px;
	}
	#contact form input[type="submit"] {
		font-size: 1rem;
	}
}

.gallery h1 {
	margin-bottom: 1rem;
	font-size: 3rem;
	text-align: center;
}

.page h1 {
	margin-bottom: 1rem;
	font-size: 2rem;
	text-align: center;
}

#student-support {
  background-color: #ffffff;
  padding: 3rem 1rem;
  margin: 2rem auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  color: #222;
  font-size: 1.1rem;
  line-height: 1.6;
}


#student-support h2 {
  color: #ffde21;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
}

#student-support p {
  margin-bottom: 1.2rem;
}

#student-support strong {
  color: #c79f00;
}

