* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/bricks.png);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.header a {
  text-decoration: none;
}

@import url("https://fonts.googleapis.com/css2?family=Monoton&family=Poppins:wght@100;200;300;400;600;700&display=swap");

.bottom-overlay {
  position: relative;
  bottom: 0;
  left: 10%;
  padding-bottom: 60px;
  transform: translateX(-50%);
  width: auto; /* Allows proportional scaling */
  max-width: 100%; /* Prevents overflow */
  height: 140px; /* Increase height */
  object-fit: contain; /* Ensures full image is visible */
  z-index: 20;
  pointer-events: auto;
}

.image-box{
  align-items: left;
  justify-content: left;
  text-align: left;
  padding-bottom: 5px;
  margin-top: 80px;
  z-index: 1;
}

a {
  text-decoration: none;
}

@media (max-width: 700px) {
  .bottom-overlay {
    height: 150px; /* Adjust size for mobile */
  }
}

nav {
  display: flex;
  padding: 2% 4%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 320px;
}
.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: #e9f40f;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover::after {
  width: 100%;
}
nav .fa {
  display: none;
}

.text-box {
  max-width: 500px;
  margin: 100px auto 0;
  margin-top: 100px;
  margin-bottom: 0;
  text-align: center;
}

.image-row,
.image-item,
.caption,
.custom-paragraph {
  margin: 0;
  padding: 0;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: -20px;
}

.image-item {
  text-align: center;
  margin: 0;
  padding: 0;
}

.image-item img {
  width: 100px;
  height: 150p;
  border-radius: 10px;
}

.caption {
  font-size: 16px !important;
  color: gold !important;
  margin-top: 8px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.custom-paragraph {
  max-width: 500px;
  font-size: 18px;
  font-style: italic;
  margin: 0 auto;
  text-align: left;
  margin-top: 0;
  padding-top: 0;
  line-height: 1.4; /* Optional: controls spacing between lines */
}

#slide-panel {
  position: fixed;
  text-align: left;
  top: 0;
  left: -300px; /* hidden to the left */
  width: 300px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* black transparent */
  color: white;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  transition: left 0.3s ease;
  z-index: 1000;
}

#slide-panel h2 {
  font-weight: 200;
}

#gold {
  color: gold;
}

#slide-panel.open {
  left: 0;
}

#slide-panel h2 {
  margin-top: 5px;
}

.note {
  position: relative;
  display: inline-block;
}

.note::after {
  content: "𝄢"; /* Unicode for bass clef */
  font-family: Arial, sans-serif; /* Use a suitable font */
  position: absolute;
  left: 36px; /* Adjust position behind "n" */
  top: 0;
  color: #36abf4; /* Faded color */
  font-size: 1.2em; /* Adjust size as needed */
  z-index: -1; /* Places it behind the letter */
}

.text-box p {
  margin: 20px 0 40px;
  font-size: 14px;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 1s;
}

.hero-btn:hover {
  border: 1px solid #36abf4;
  background: linear-gradient(to right, #3a0fe7, #000000);
}

@media (max-width: 700px) {
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: fixed;
    background: #f44336;
    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;
  }
}

/*---------- services --------*/

.button-container {
  text-align: center; /* Keep buttons aligned */
  margin-top: -30px; /* Ensures button stays at the bottom */
}
.services {
  width: 100%;
  background-image: url(images/studiochair.jpg);
  margin-top: -50px;
  top: 0;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 50px;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.tagline-text {
  font-size: 20px;
  color: #36abf4 !important;
}

.services h1 {
  margin-top: -20px;
  padding-top: -50px;
}

.sub-header h1 {
  font-size: 62px;
  background: linear-gradient(90deg, #a2d4f7, #36abf4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
}

.services p {
  color: white;
  padding-bottom: 30px;
}
h1 {
  font-size: 30px;
  font-weight: 600;
  color: #f0f0f0;
}
p {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

/* Make <p> directly after <h1> black */
h1 + p {
  color: black;
}

/* Ensure <p> inside .services-col remains white */
.services-col p {
  color: white;
}

.row {
  display: flex;
  justify-content: center; /* Centers the columns horizontally */
  gap: 20px; /* Adds spacing between columns */
  padding-top: 10px;
}

.services-col {
  width: 400px; /* Adjust width as needed */
  min-height: 280px; /* Maintain height consistency */
  background: linear-gradient(45deg, #3a009e, #000000);
  border-radius: 10px;
  padding: 20px 15px;
  box-sizing: border-box;
  transition: 0.5s;
  text-align: left; /* Ensure content stays centered */
}

.services-page .sub-header {
  height: 75vh; /* or increase slightly from 50vh */
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/dallascolor.jpg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.services-col p .services-col img {
  width: 502px;
  height: 711px;
  object-fit: cover; /* Fits the whole image inside without cropping */
  background-color: #000; /* Adds a background if the image doesn't fill the space */
}

h3 {
  text-align: center;
  font-weight: 600;
  color: #fff;
  margin: 10px 0;
  padding-top: 5px;
  padding-bottom: 10px;
}

.services-col h3,
.services-col p {
  margin-bottom: 10px; /* Reduce spacing between text and button */
  color: white;
}

.services-col:hover {
  box-shadow: 0 0 40px 2px rgba(125, 192, 240, 0.4);
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* -----Contract Display-------- */
#contract-display h2 {
  color: red;
}

/*---------------- campus ----------------*/

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.campus-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.campus-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.campus h1 {
  color: #009e60; /* Shamrock Green */
  text-shadow: 3px 3px 5px rgba(9, 14, 12, 0.7); /* X-offset, Y-offset, Blur, Opacity */
  opacity: 0.9; /* Adjust transparency */
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  transition: 0.5s;
}
.layer:hover {
  background: rgba(226, 0, 0, 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;
}

/*-------------- Facilities ----------------*/

.facility {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.facility h1 {
  color: #000000;
}
.facility-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.facility-col img {
  width: 100%; /* Ensures images scale within their container */
  max-width: 300px; /* Limits image size on larger screens */
  height: 285px; /* Keeps all images the same height */
  object-fit: cover; /* Ensures images fill the space without distortion */
  border-radius: 10px;
}

/* Adjust for smaller screens */
@media (max-width: 700px) {
  .facility-col img {
    max-width: 100%; /* Allows images to scale down */
    height: auto; /* Adjusts height proportionally */
  }
}
.facility-col p {
  padding: 0;
  color: #000000;
}
.facility-col h3 {
  color: #000000;
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
  padding-left: 40px;
}

.lottie-wrapper {
  margin-top: 30px;
}

/*---------------- 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: #090505;
  padding: 25px;
  cursor: pointer;
  display: flex;
}
.testimonial-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonials h1 {
  color: #000;
}

.testimonial-col p {
  padding: 0;
}
.testimonial-col h3 {
  margin-top: 15px;
  text-align: left;
}

@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/papershapes.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;
  }
}

/*--------------Footer---------------*/

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}

.icons .fa {
  color: #4020cf;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}
.fa-heart-o {
  color: #f44336;
}

/*--------------- 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/Dallas.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}
.sub-header h1 {
  margin-top: 100px;
}
.about-us {
  width: 80%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}
.about-col h1 {
  padding-top: 0;
  color: #000;
}
.about-col p {
  padding: 15px 0 25px;
}

.hero-btn.red-btn {
  border: 1px solid #5c36f4;
  background: transparent;
  color: #240502;
}
.hero-btn.red-btn:hover {
  border: 1px solid #f44336;
  background: #150706;
  color: #fff;
}
.hero-btn.red-btn::after {
  background: #9836f4;
}
.hero-btn.red-btn::before {
  background: #f44336;
}
.content-image {
  flex-basis: 50%;
}
.about-col img {
  width: 100%;
}

/*---------- Blog Page -------------*/

.blog-content {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}
.blog-left {
  flex-basis: 65%;
}
.blog-right {
  flex-basis: 32%;
}
.blog-left img {
  width: 100%;
}
.blog-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}
.blog-left p {
  color: #999;
  padding: 0;
}

.blog-right h3 {
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-bottom: 20px;
}
.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment-box h3 {
  text-align: left;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
}
.comment-form button {
  margin: 10px 0;
}

@media (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

/*------- 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: #1c0ab7;
  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;
}

.footer-link {
  text-decoration: none;
  color: #777;
}
