* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.7)),
    url(images/HomePage.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.pnotice {
  color: white;
  margin-top: 100px;
  }
nav {
  display: flex;
  padding: 2% 4%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 135px;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #5100e6;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover::after {
  width: 100%;
}
nav .fa {
  display: none;
}

/* ----tollfree---- */

.tollfree {
  text-align: center;
  width: fit-content; /* keeps it tight around the text */
  margin-left: auto; /* pushes it to the right */
  margin-right: 125px;
  font-size: 20px;
  color: dodgerblue;
  font-weight: bold; /* Makes text bold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adds drop shadow */
}

.text-box {
  margin-top: 170px;
  width: 100%;
  max-width: 800px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 20px; /* prevent text from hugging edges on small screens */
  box-sizing: border-box;
}

.text-box h1 {
  font-size: 3.2rem;
  white-space: nowrap; /* keeps it on one line unless absolutely needed */
}

.text-box p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 10px;
  color: #fff;
  text-align: left;
}

.hero-btn {
   display: block;       /* makes the button behave like a block element */
  margin: 20px auto;    /* centers horizontally and adds vertical spacing */
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s;
  width: max-content;   /* shrink width to fit content */
  cursor: pointer;
}


.slide-toggle-btn {
  position: absolute;
  top: 90%;               /* adjust to match original vertical position */
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s;
  z-index: 2001;          /* above slide panel */
  margin: 0;              /* no margin needed */
  display: inline-block;
}

.hero-btn:hover {
  background-color: #0056b3;
}

/* Optional but helpful */
*, *::before, *::after { box-sizing: border-box; }

/* Panel Styles */
.slide-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;

  /* Use dynamic viewport height; fall back to 100vh for older browsers */
  height: 100vh;
  height: 100dvh;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  z-index: 1000;

  /* Smooth GPU-accelerated slide */
  transform: translateX(-100%);
  transition: transform 0.3s ease;

  /* Scroll inside panel */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.slide-panel.open {
  transform: translateX(0);
}

/* Put the padding on an inner wrapper so the scroll area isn't reduced */
.panel-content {
  padding: 20px;
  /* Extra bottom padding so the last line can scroll fully into view,
     and account for iOS safe area if present */
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  min-height: 100%;
}

.panel-header {
  margin-top: 0;
  font-size: 24px;
  border-bottom: none;
  padding-bottom: 10px;
  margin-left: 30px;
  margin-bottom: 10px;
}

/* Adjustable Image */
.panel-image {
  width: 160px;
  height: 70px;
  display: block;
  margin: 10px auto;
}

.slide-panel .panel-text10 {
  color: white !important;
  text-align: left;
  justify-content: left;
  font-size: 11px;
  align-items: left;
}

.panel-text { color: white; }
.panel-text1 { color: yellow; }
.panel-text h4 { font-weight: normal !important; color: yellow; }
.panel-text .underline { text-decoration: underline; }

.underline { text-decoration: underline; color: white; }
a.underline { color: white; text-decoration: underline; }
a.underline:hover,
a.underline:visited,
a.underline:active { color: white; text-decoration: underline; }


@media (max-width: 700px) {
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: fixed;
    background: #5936f4;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }
  .nav-links ul {
    padding: 30px;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .text-box h1 {
    font-size: 20px;
  }
}

/*---------- course --------*/
/* General Layout */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center columns horizontally */
  align-items: stretch;
  gap: 20px; /* space between columns */
  padding: 0 20px; /* balanced padding */
  box-sizing: border-box;

}.row .course-col{
  background-color: #0056b3;
}



/* Section Container */
.course {
  text-align: center;
  padding: 40px 20px;
}

.course h1 {
  font-size: 2rem;
  margin: 50px 0 20px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.course p {
  width: 80%;
  margin: auto;
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
}

/* Column */
.course .course-col {
  background-color: rgb(14, 10, 221);
  padding: 20px;
  box-sizing: border-box;
  flex: 1 1 calc(33.333% - 40px); /* 3 columns with gap */
  max-width: calc(33.333% - 40px);
  min-width: 250px; /* allows flexibility without breaking */
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-col:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  background-color: #001f5f;
  transform: scale(1.05);
}

.course-col h3 {
  margin-top: 20px;
  color: white;
  font-weight: 600;

  text-align: center;
}

.course-col p {
  text-align: left;
  font-size: 20px;
  color: white;
}

/* Column images */
.course-col img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* center images */
  margin-top: 15px;
}

/* Override for tall screens
@media screen and (min-height: 1000px) {
  .course .course-col {
    height: 12vh;
  }
} */

h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 5px;
  padding-top: 0;
}

#getinvolved-tagline {
  font-weight: 500;
}
p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}


/* Mobile view: adjust for screens up to 768px wide */
@media screen and (max-width: 768px) {
  .course {
    padding: 20px 10px; /* less padding on mobile */
  }

  .course h1 {
    font-size: 1.5rem; /* shrink heading */
    margin: 30px 0 15px;
  }

  .course p {
    width: 100%; /* full width for readability */
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .course .course-col {
    flex: 1 1 100%;   /* stack vertically */
    max-width: 100%;
    margin-bottom: 20px; /* space between stacked blocks */
    padding: 15px;
  }

  .course-col h3 {
    font-size: 1.2rem; /* slightly smaller subheading */
  }

  .course-col p {
    font-size: 0.9rem;
  }
}

.mb-large {
  margin-bottom: 70px;
}

.indented {
  text-indent: 3ch; /* "ch" means character width, roughly equal to 3 spaces */
}

.openhand {
  display: flex;
  font-style: italic;
  font-size: 20px;
  margin-top: 200px;
  padding-top: 70px;
  justify-content: center;
}

.leaf-image {
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.7));
  width: 80px; /* or whatever size you want */
  height: auto; /* keeps proportions */
  display: block; /* allows margin auto to center */
  margin: 0 auto; /* centers the image if desired */
}


img {
  width: 300px;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-left: 20px;
}

.donateimage {
  margin-top: 25px;
  margin-left: 20px;
}

.course-col .donate-button {
  width: auto;
 display: block;        /* makes margin auto work */
margin: 50px auto 0;   /* top space, center horizontally, no extra bottom */
text-align: center;    /* keeps text centered inside the button */
}

@media (max-width: 768px) {
  .course-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/*---------------- campus ----------------*/

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.campus h1 {
  color: #2d0fb4;
  margin-top: 5px;
}
.campus-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.campus-col img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
   position: relative;
  overflow: hidden;
  height: 400px; /* or whatever fixed height you want */
}

.call-tollfree {
  font-size: 20px;
  color: #4936f4;
}
.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  transition: 0.5s;
}
.layer:hover {
  background: rgba(0, 26, 226, 0.7);
}
.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/* Mobile view: adjust for screens up to 768px wide */
@media screen and (max-width: 768px) {
  .campus {
    width: 95%;   /* reduce side margin */
    padding-top: 30px;
  }

  .campus h1 {
    font-size: 24px; /* smaller heading */
  }

  .campus-col {
    flex-basis: 100%; /* stack columns vertically */
    margin-bottom: 20px;
  }

  .campus-col img {
    height: auto; /* let image scale naturally */
    max-height: 250px; /* optional: cap the height */
  }

  .layer h3 {
    font-size: 18px; /* smaller overlay text */
  }

  .call-tollfree {
    font-size: 16px; /* smaller for phones */
  }
}


/*-------------- Facilities ----------------*/

.facility {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.facility-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.facility-col img {
  width: 100%;
  border-radius: 10px;
}
.facility-col p {
  padding: 0;
}
.facility-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}

/*---------------- testimonials ------------------*/

.testimonials {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.testimonial-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fff3f3;
  padding: 25px;
  cursor: pointer;
  display: flex;
}
.testimonial-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}
.testimonial-col p {
  padding: 0;
}
.testimonial-col h3 {
  margin-top: 15px;
  text-align: left;
}
.testimonial-col .fa {
  color: #f44336;
}

@media (max-width: 700px) {
  .testimonial-col img {
    margin-left: 0px;
    margin-right: 15px;
  }
}

/*-------- Call To Action ----------*/

.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/footer_image.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}


.cta h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}

@media (max-width: 700px) {
  .cta h1 {
    font-size: 24px;
  }
}

.cta.hero-btn{ 
 
}

  


/*--------------Footer---------------*/

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.footer img {
  display: block;
  margin: 0 auto 5px; /* less space below image */
  width: 150px;
  height: auto;
}

.footer p {
  text-align: left;
  color: #151313;
  max-width: 600px;
  margin: 0 auto;
}

.footer-text {
  max-width: 600px;
  margin: 0 auto;
  text-align: left; /* left-aligns text inside wrapper */
}

.footer h4 {
  margin-bottom: 3px;
  padding-bottom: 3px;
  margin-top: 20px;
  font-weight: 600;
}

.footer-credit {
  margin-top: 10px;
  text-align: center !important;
  font-size: 14px;
  color: #370699;
}

.icons .fa {
  color: #140a6a;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
  font-size: 20px;
}
.fa-heart-o {
  color: #4936f4;
}

.footer p {
  text-align: center;
  margin-top: 10px; /* optional spacing */
  color: black;
}

#about-us {
  margin-top: -29px;
}
/*--------------- About Us Page --------------*/

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/digital_circle.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  position: relative;
  padding: 0;
  color: #fff;
}

.sub-header h1 {
  position: absolute;
  top: 150px; /* Adjust this to move it up/down */
  left: 50%;
  transform: translateX(-50%);
}

.sub-header2 {
  height: 20vh;
  max-height: 160px;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/blueblurry.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

/* Override for tall screens */
@media screen and (min-height: 1000px) {
  .sub-header2 {
    height: 12vh;
  }
}

.sub-header3 {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/blueblurry.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.eroll.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/engineers.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  position: relative;
  padding: 0;
  color: #fff;
}

.about-us {
  width: 80%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}
.about-col h1 {
  margin-top: -14px;
  padding-top: 0;
}
.about-col p {
  padding: 15px 0 25px;
  font-size: 20px;
  color: #000;
}

.hero-btn.red-btn {
  border: 1px solid #660fd1;
  background: transparent;
  color: #660fd1;
}
.hero-btn.red-btn:hover {
  border: 1px solid #2d0fb4;
  background: #151313;
  color: #fff;
}
.hero-btn.red-btn::after {
  background: #f44336;
}
.hero-btn.red-btn::before {
  background: #f44336;
}
.content-image {
  flex-basis: 50%;
}
.about-col img {
  width: 100%;
}

/* ------Volunteer------- */
.volunteer.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/group-happy-diverse-volunteers.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  position: relative;
  padding: 0;
  color: #fff;
}

.volunteer h1 {
  position: absolute;
  top: 150px; /* Adjust this to move it up/down */
  left: 50%;
  transform: translateX(-50%);
}

.volunteer h2 {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/Dallas_Bridge.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.volunteer-tccp {
  width: 80%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}

.volunteer-col {
  flex-basis: 48%;
  padding: 30px 50px;
}
.volunteer-col h1 {
  margin-top: -14px;
  padding-top: 0;
}
.volunteer-col p {
  padding: 15px 0 25px;
  font-size: 20px;
  color: #000;
}

.volunteer-col img {
  width: 500px;
}

.phone {
  width: 100px;
}

/*---------- Partners Page -------------*/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  color: #000; /* or whatever color you want */
  text-decoration: none; /* optional: removes underline */
}

.section {
  padding: 40px 20px;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* === Section One === */
.left-column,
.right-column {
  flex: 1;
  min-width: 300px;
}
.right-column {
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontally */
  justify-content: center; /* optional: center vertically if needed */
}

.image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  margin-top: 10px;
  font-size: 14px;
  color: black;
}

.blue-box {
  background-color: #007bff;
  color: #fff;
  width: fit-content;
  margin-top: -120px;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 15px;
}

.blue-box h4 {
  text-align: left;
}

.support-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.support-list li {
  margin-bottom: 8px;
}

.support-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* aligns list with left edge of blue-box */
}

.small-input {
  width: 100px;
}

.state-input {
  width: 80px;
}

/* === Section Two === */
.form-section {
  display: flex;
  justify-content: left;
  margin-left: 260px;
  padding: 40px 20px;
  background-color: #fff;
}

.form-container {
  max-width: 400px;
  width: 100%;
  margin-left: 70px;
}

.form-container h4 {
  font-weight: bold;
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

form input,
form select {
  width: 100%;
  padding: 5px 8px;
  margin-top: 4px;
  background-color: #e6e6e6;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
  border-color: #2d0fb4;
}

.flex-row {
  display: flex;
  gap: 10px;
}

.flex-row .half {
  flex: 1;
}

.submit-button {
  margin-top: 20px;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  width: 50%;
  border-radius: 4px;
}

.submit-button:hover {
  background-color: #0056b3;
}

.success-message {
    background-color: #d4edda;   /* light green */
    color: #155724;              /* dark green text */
    border: 1px solid #c3e6cb;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;   /* light red */
    color: #721c24;              /* dark red text */
    border: 1px solid #f5c6cb;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

/* -----Enroll------ */
.enroll {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.enroll-container {
  display: flex;
  max-width: 800px;
  width: 100%;
  gap: 20px;
}

.column {
  flex: 1;
}

.left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.form-header {
  text-align: center;
  margin-bottom: 10px;
}

.note-text {
  text-align: left;
  margin-bottom: 20px;
  padding: 0 10px;
  font-size: 18px;
}

.left-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.signup-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.name-row {
  display: flex;
  gap: 10px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.full-width {
  width: 100%;
}

label {
  margin-bottom: 4px;
  font-size: 14px;
}

input,
select {
  padding: 8px;
  border: 1px solid blue;
  border-radius: 4px;
  font-size: 14px;
}

input:focus,
select:focus {
  outline: none;
  border-color: darkblue;
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px; /* Adjustable padding between form and buttons */
}

.btn {
  padding: 10px 20px;
  border: none;
  background-color: #2a5db0;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  background-color: #1d4a8c;
}

.right-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-btn.red-btn {
  border: 1px solid #660fd1;
  background: transparent;
  color: #660fd1;
}
.hero-btn.red-btn:hover {
  border: 1px solid #2d0fb4;
  background: #151313;
  color: #fff;
}
.hero-btn.red-btn::after {
  background: #f44336;
}
.hero-btn.red-btn::before {
  background: #f44336;
}
.content-image {
  flex-basis: 50%;
}

/*------- Contact Us Page ------------*/

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}
.location iframe {
  width: 100%;
}

.contact-us {
  width: 80%;
  margin: auto;
}
.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa {
  font-size: 28px;
  color: black;
  margin: 10px;
  margin-right: 30px;
}

.contact-col div p {
  padding: 0;
}
.contact-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}
.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
}
input[name="subject"] {
  margin-top: 15px; /* adjust value as needed */
}

.footer-link {
  text-decoration: none;
  color: #777;
}



