/*
Theme Name: SureFireTech
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  background: #0d0d0d;
  color: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 20px rgba(192, 64, 1, 0.2);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header .nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-header .nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.site-header .nav ul li a:hover {
  color: #c04001;
}

.logo-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.custom-logo-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-logo-link:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.SFTLOGO {
  height: 45px;
  width: 45px;
  margin-right: 10px;
}

.custom-logo {
  height: 45px;
  width: 45px;
}

.banner {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(to bottom, #000000 0%, #111111 100%);
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.center-logo {
  margin-bottom: 2.5rem;
  animation: logoFadeIn 1.2s ease-out;
}

.center-logo img {
  height: 180px;
  width: 180px;
  filter: drop-shadow(0 0 25px rgba(192, 64, 1, 0.5));
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.center-logo img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.banner h1 {
  font-size: 5rem;
  color: #c04001;
  letter-spacing: 2px;
}

.banner p {
  margin: 1rem 0 2rem;
  font-size: 1.3rem;
  opacity: 0.9;
}

.banner-content h1,
.banner-content p,
.banner-content .btn {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 0.9s ease forwards;
}

.banner-content h1 {
  animation-delay: 0.1s;
}

.banner-content p {
  animation-delay: 0.25s;
}

.banner-content .btn {
  animation-delay: 0.4s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 0.9rem 2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #c04001;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c04001 0%, #ff6a1f 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(192, 64, 1, 0.35);
}

.btn:hover::after {
  animation: submitGradientShift 1.5s ease infinite;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  will-change: transform, opacity, filter;
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.services-section {
  padding: 120px 20px;
  background: #141414;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #c04001;
  letter-spacing: 1px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: #1e1e1e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 34px 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease, background 0.35s ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-card::before {
  background: radial-gradient(
    140px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 106, 31, 0.75),
    rgba(192, 64, 1, 0) 60%
  );
}

.service-card::after {
  background: conic-gradient(
    from 0deg,
    rgba(192, 64, 1, 0),
    rgba(255, 106, 31, 0.85),
    rgba(192, 64, 1, 0) 70%
  );
  animation: cardGlowSpin 3.2s linear infinite;
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #c04001;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #b3b3b3;
  line-height: 1.6;
}

.service-card:hover {
  border-color: rgba(192, 64, 1, 0.4);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(192, 64, 1, 0.35),
    0 0 18px rgba(192, 64, 1, 0.35);
}

@keyframes cardGlowSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-section {
  padding: 100px 20px;
  background:
    radial-gradient(
      800px circle at 15% 20%,
      rgba(192, 64, 1, 0.18),
      transparent 55%
    ),
    linear-gradient(135deg, #0b0b0b 0%, #161616 55%, #1d0f0a 100%);
  color: #fff;
  text-align: center;
}

.contact-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #c04001;
}

.contact-intro {
  font-size: 1.1rem;
  color: #b3b3b3;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  color: #b3b3b3;
  font-size: 0.95rem;
}

.contact-form .wpcf7-form {
  text-align: left;
}

.contact-form .wpcf7-form > * {
  display: block;
  margin: 0;
}

.contact-form .wpcf7-form > * + * {
  margin-top: 22px;
}

.contact-form .wpcf7-form p {
  margin: 0;
}

.contact-form .wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  color: #b3b3b3;
  font-size: 0.95rem;
}

.contact-form .wpcf7-form-control-wrap[data-name="other-service"],
.contact-form textarea[name="other-service"] {
  display: none;
}

.contact-form .wpcf7-form textarea[name="other-service"] {
  height: 54px;
  resize: none;
}

.contact-form .wpcf7-form.cf7-show-other textarea[name="other-service"] {
  height: 54px;
}

.contact-form .wpcf7-form textarea[name="other-service"]::placeholder {
  color: #b3b3b3;
}

.contact-form .wpcf7-form.cf7-show-other
  .wpcf7-form-control-wrap[data-name="other-service"],
.contact-form .wpcf7-form.cf7-show-other textarea[name="other-service"] {
  display: block;
}

.contact-form .wpcf7-form p br {
  display: none;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 22px;
}

.contact-form .wpcf7-form-control-wrap::before {
  content: none;
}

.contact-form .cf7-field-label {
  display: block;
  margin-bottom: 8px;
  color: #b3b3b3;
  font-size: 0.95rem;
}

.contact-form .cf7-required {
  color: #ff6a1f;
  margin-left: 4px;
  display: none;
}

.contact-form
  .wpcf7-form.cf7-show-required
  .wpcf7-form-control-wrap[data-required="true"]:not(.is-filled)
  .cf7-required {
  display: inline;
}

.contact-form .wpcf7-form p {
  border: none;
  padding: 0;
}

.contact-form .hidden-fields-container {
  display: none;
}

.contact-form .wpcf7-form-control-wrap[data-name="your-message"] {
  margin-bottom: 18px;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form input[type="url"],
.contact-form .wpcf7-form select,
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, background 0.3s ease;
}

.contact-form .wpcf7-form .wpcf7-not-valid {
  border: 1px solid #ff6a1f;
  background: #2a1410;
  box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.25);
}

.contact-form .cf7-custom-select select.wpcf7-not-valid
  ~ .cf7-custom-select__trigger {
  border: 1px solid #ff6a1f;
  background: #2a1410;
  box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.25);
}

.contact-form .wpcf7-form textarea {
  resize: none;
}

.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form select:focus,
.contact-form .wpcf7-form textarea:focus {
  background: #2a2a2a;
  border: 1px solid #c04001;
}

.contact-form .wpcf7-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}

.contact-form .wpcf7-form select option {
  background: #1e1e1e;
  color: #fff;
}

.contact-form .cf7-custom-select {
  position: relative;
  width: 100%;
}

.contact-form .cf7-custom-select select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.contact-form .cf7-custom-select__trigger {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .cf7-custom-select__trigger:focus-visible {
  outline: 2px solid #c04001;
  outline-offset: 2px;
}

.contact-form .cf7-custom-select.is-open .cf7-custom-select__trigger {
  background: #2a2a2a;
  border-color: #c04001;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.contact-form .cf7-custom-select__options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 20;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.contact-form .cf7-custom-select.is-open .cf7-custom-select__options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-form .cf7-custom-select__option {
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-form .cf7-custom-select__option.is-selected {
  background: rgba(192, 64, 1, 0.2);
}

.contact-form .cf7-custom-select__option.is-active,
.contact-form .cf7-custom-select__option:hover {
  background: rgba(192, 64, 1, 0.3);
}

.contact-form .cf7-custom-select__option[data-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form .wpcf7-submit {
  width: 100%;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 25px;
  background: #c04001;
  color: #fff;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .wpcf7-submit:hover {
  background: linear-gradient(135deg, #c04001 0%, #ff6a1f 100%);
  background-size: 200% 200%;
  animation: submitGradientShift 1.5s ease infinite;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(192, 64, 1, 0.35);
}

.contact-form .wpcf7-not-valid-tip {
  color: #ff6a1f;
  font-size: 0.9rem;
  margin-top: 6px;
}

.contact-form .wpcf7-response-output {
  margin: 16px 0 0;
  border-radius: 8px;
  border-color: rgba(192, 64, 1, 0.6);
  color: #fff;
  background: rgba(192, 64, 1, 0.08);
}

.contact-form .wpcf7-response-output {
  display: none;
}

.cf7-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  max-width: 320px;
  width: calc(100vw - 48px);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(192, 64, 1, 0.65);
  background: #1e1e1e;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.cf7-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form .wpcf7-not-valid-tip {
  display: none;
}

.contact-form .wpcf7-form-control-wrap[data-name="your-email"]
  .wpcf7-not-valid-tip {
  display: block;
  color: #ff6a1f;
  font-size: 0.9rem;
  margin-top: 6px;
}

.contact-form-error {
  margin-top: 12px;
  color: #ff6a1f;
  font-size: 0.95rem;
}

.contact-form-debug {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: #b3b3b3;
  font-size: 0.9rem;
}

.contact-form-debug li {
  margin-bottom: 6px;
}

.is-hidden {
  display: none;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, background 0.3s ease;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  padding-right: 15px;
}

.contact-form select option {
  background: #1e1e1e;
  color: #fff;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger,
.custom-select__options {
  display: none;
}

body.custom-select-ready .custom-select select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

body.custom-select-ready .custom-select__trigger {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

body.custom-select-ready .custom-select__trigger:focus-visible {
  outline: 2px solid #c04001;
  outline-offset: 2px;
}

body.custom-select-ready .custom-select.is-open .custom-select__trigger {
  background: #2a2a2a;
  border-color: #c04001;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

body.custom-select-ready .custom-select__options {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 20;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

body.custom-select-ready .custom-select.is-open .custom-select__options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select__option {
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-select__option.is-selected {
  background: rgba(192, 64, 1, 0.2);
}

.custom-select__option.is-active,
.custom-select__option:hover {
  background: rgba(192, 64, 1, 0.3);
}

.custom-select__option[data-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

#message {
  resize: none;
  overflow: hidden;
}

#other-service {
  height: 54px;
  resize: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #2a2a2a;
  border: 1px solid #c04001;
}

.submit-btn {
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.submit-btn:hover {
  box-shadow: 0 8px 18px rgba(192, 64, 1, 0.35);
}

@keyframes submitGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal {
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }

  .banner-content h1,
  .banner-content p,
  .banner-content .btn {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.site-footer {
  padding: 24px 0;
  background: #0b0b0b;
  border-top: 1px solid #1f1f1f;
  color: #b3b3b3;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-contact {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #c04001;
}

.footer-sep {
  color: #5c5c5c;
}

.site-footer .SFTLOGO {
  height: 32px;
  width: 32px;
  transform: scale(1.35);
  transform-origin: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  margin-bottom: 6px;
}

.site-footer .SFTLOGO:hover {
  transform: scale(1.5);
  filter: drop-shadow(0 10px 18px rgba(192, 64, 1, 0.35));
}


.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #c04001;
}

.footer-meta {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .contact-form select,
  body.custom-select-ready .custom-select__trigger {
    font-size: 0.95rem;
    padding: 12px 14px;
    line-height: 1.2;
  }

  .banner h1 {
    font-size: 3rem;
  }

  .banner p {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 1rem;
  }

  .center-logo img {
    height: 120px;
    width: 120px;
  }
}
