html,
body {
  overflow-x: hidden;
}


@font-face {
  font-family: 'Font Awesome 6 Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/fa-brands-400.woff2") format("woff2"),
    url("../fonts/fa-brands-400.ttf") format("truetype");
}


@font-face {
  font-family: 'Font Awesome 6 Pro';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/fa-solid-900.woff2') format('woff2'),
    url('../fonts/fa-solid-900.woff') format('woff');
}

.fas {
  font-family: "Font Awesome 6 Pro";
  /* or "Font Awesome 6 Solid" */
  font-weight: 900;
}

/* Default is dark mode */
body {
  background-color: #121212;
  color: #ffffff;
}

.light-mode {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Light mode for contact section */
.light-mode .contact-form input,
.light-mode .contact-form textarea {
  color: #000 !important;
  border-color: #000 !important;
}

.light-mode .contact-form input::placeholder,
.light-mode .contact-form textarea::placeholder {
  color: #000 !important;
}

.light-mode .contact-form button {
  background-color: transparent;
  color: #000 !important;
  border-color: #000 !important;
}

.light-mode .contact-form button:hover {
  background-color: #000 !important;
  color: #fff !important;
}

#theme-toggle {
  background-color: #121212 !important;
  color: #ffffff !important;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

#theme-toggle:hover {
  background-color: #1e1e1e !important;
}

/* Default dark mode styles (already in your CSS) */
.contact-form input,
.contact-form textarea {
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
}

/* ✅ Light mode override */
body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  color: #000000 !important;
  border-color: #000000 !important;
}

/* Placeholder color in light mode */
body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder {
  color: #555555 !important;
}

body.light-mode input:-webkit-autofill,
body.light-mode input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000000 !important;
}

body.light-mode .stay-dark {
  background-color: #000 !important;
  color: #fff !important;
}

/* Keep modal header and paragraph text white */
body.light-mode .stay-dark h4,
body.light-mode .stay-dark p,
body.light-mode .stay-dark .modal-title {
  color: #fff !important;
}

/* Keep white border and text for close button */
body.light-mode .stay-dark .btn-close {
  filter: invert(1);
  /* ensures visibility on white themes */
}

/* Prevent color changes in light mode for scroll percentage */
body.light-mode .stay-dark {
  background-color: #000 !important;
  color: #000 !important;
}

/* Optional: Target span inside if needed */
body.light-mode .stay-dark span {
  color: #000 !important;
}

@media (max-width: 991px) {
  .theme-text {
    font-size: 3.0rem;
    /* Adjust size as needed */
  }
}

/* Prevent footer/nav color change */
footer,
header {
  background-color: #000 !important;
  color: #fff !important;
}

footer *,
header * {
  color: #fff !important;
}

/* Default (Dark Mode) */
.theme-text {
  color: #ffffff;
}

/* Light Mode override */
body.light-mode .theme-text {
  color: #000000;
}

/* Default (dark mode) */
.theme-toggle-section {
  background-color: #121212;
  color: #ffffff;
}

/* Light mode override */
body.light-mode .theme-toggle-section {
  background-color: #ffffff;
  color: #000000;
}

/* Update specific child text elements */
body.light-mode .theme-toggle-section h5,
body.light-mode .theme-toggle-section p,
body.light-mode .theme-toggle-section a {
  color: #000000 !important;
}

body.light-mode .theme-toggle-section i {
  color: #000000 !important;
}

.about-banner {
  background-image: url(img/trion1c.jpg);
  /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  height: 300px;
  /* Adjust as needed */
  position: relative;
}

.about-banner h1 {
  font-size: 3rem;
  z-index: 2;
}

/* Optional: add overlay if needed */
.about-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
  z-index: 1;
}

.contact-section {
  /* background-color: #fff; */
  padding: 60px 0;
}

.contact-form input,
.contact-form textarea {
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff;
  /* White placeholder text */
  opacity: 1;
  /* Make sure it's fully visible */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: #ffffff;
  /* Keep border white on focus */
}

input,
textarea {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
}

input::placeholder,
textarea::placeholder {
  color: #ffffff !important;
  opacity: 0.7;
  /* slightly dimmed */
}

/* Autofill overrides for Chrome/Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s !important;
}


.contact-form button {
  background-color: transparent;
  color: #fff;
  font-weight: bold;
  border-radius: 0;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

.contact-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-info-section {
  background-color: #121212;
  color: #fff;
}

.contact-info-section i {
  color: white;
}

.icon-heading {
  display: flex;
  align-items: center;
  color: white;
  gap: 10px;
  margin-bottom: 10px;
}