:root {
  --clr-darkbg: #000000;
  --clr-purpleaccent: #8f6efb;
  --clr-darkpurple: #241c3c;
  --clr-lighttext: #e8e8e8;
  --clr-mutedtext: #a0a0a0;
  --transition-smoothe: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==================== Global Styles ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #8f6efb;
  color: var(--clr-lighttext);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==================== Navbar Section ==================== */
.navbar-contactpage {
  background-color: rgba(12, 13, 17, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143, 110, 251, 0.2);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-brand-customlogo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--clr-purpleaccent), #b794f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.nav-link-customstyle {
  color: var(--clr-lighttext) !important;
  margin: 0 0.8rem;
  position: relative;
  font-weight: 500;
  transition: var(--transition-smoothe);
}

.nav-link-customstyle::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-purpleaccent);
  transition: var(--transition-smoothe);
}

.nav-link-customstyle:hover::after {
  width: 100%;
}

.nav-link-customstyle:hover {
  color: var(--clr-purpleaccent) !important;
}

/* ==================== Hero Section ==================== */
.hero-containerrrr {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem;
}

.hero-containerrrr::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(143, 110, 251, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatingGlowHero 8s ease-in-out infinite;
}

.hero-containerrrr::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(36, 28, 60, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatingGlowHero 10s ease-in-out infinite reverse;
}

@keyframes floatingGlowHero {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

.hero-content-wrapprrr {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  animation: slideInHeroContent 0.8s ease-out;
}

@keyframes slideInHeroContent {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-heading-customlrg {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--clr-lighttext) 0%,
    var(--clr-purpleaccent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 15px;
  letter-spacing: -1px;
}

.hero-subtext-customgray {
  font-size: 1.1rem;
  color: var(--clr-mutedtext);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: slideInHeroContent 0.8s ease-out 0.1s backwards;
}

.hero-button-ctagroup {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInHeroContent 0.8s ease-out 0.2s backwards;
}

/* ==================== Custom Buttons ==================== */
.btn-purpleglow {
  background: linear-gradient(135deg, var(--clr-purpleaccent) 0%, #b794f6 100%);
  border: none;
  color: white;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-smoothe);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(143, 110, 251, 0.3);
}

.btn-purpleglow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smoothe);
}

.btn-purpleglow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(143, 110, 251, 0.5);
  color: white;
}

.btn-purpleglow:hover::before {
  left: 100%;
}

.btn-outlinepurple {
  background: transparent;
  border: 2px solid var(--clr-purpleaccent);
  color: var(--clr-purpleaccent);
  padding: 0.8rem 2.3rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-smoothe);
  position: relative;
  overflow: hidden;
}

.btn-outlinepurple::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--clr-purpleaccent);
  transition: var(--transition-smoothe);
  z-index: -1;
}

.btn-outlinepurple:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(143, 110, 251, 0.3);
}

.btn-outlinepurple:hover::before {
  left: 0;
}

/* ==================== Contact Form Section ==================== */
.contact-section-mainwrapper {
  padding: 10rem 0rem 0rem 1rem;
  position: relative;
  z-index: 1;
}

.contact-containerrr {
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading-customstyle {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeInUpCustom 0.8s ease-out;
}

@keyframes fadeInUpCustom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading-customstyle h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-heading-customstyle h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-purpleaccent), transparent);
  border-radius: 2px;
}

.section-heading-customstyle p {
  color: var(--clr-mutedtext);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* ==================== Contact Grid Layout ==================== */
.contact-grid-layouttrr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.contact-card-custombox {
  background: rgba(36, 28, 60, 0.4);
  border: 1px solid rgba(143, 110, 251, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smoothe);
  position: relative;
  overflow: hidden;
  animation: slideInUpCustom 0.8s ease-out;
  animation-fill-mode: both;
}

.contact-card-custombox:nth-child(1) {
  animation-delay: 0.1s;
}

.contact-card-custombox:nth-child(2) {
  animation-delay: 0.2s;
}

.contact-card-custombox:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideInUpCustom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card-custombox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(143, 110, 251, 0.1), transparent);
  opacity: 0;
  transition: var(--transition-smoothe);
}

.contact-card-custombox:hover {
  border-color: rgba(143, 110, 251, 0.5);
  transform: translateY(-10px);
  background: rgba(36, 28, 60, 0.6);
  box-shadow: 0 20px 50px rgba(143, 110, 251, 0.1);
}

.contact-card-custombox:hover::before {
  opacity: 1;
}

.card-icon-customstylee {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--clr-purpleaccent), #b794f6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  transition: var(--transition-smoothe);
}

.contact-card-custombox:hover .card-icon-customstylee {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(143, 110, 251, 0.3);
}

.card-title-customtextt {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--clr-lighttext);
}

.card-description-customtext {
  color: var(--clr-mutedtext);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link-customstyle {
  color: var(--clr-purpleaccent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smoothe);
  display: inline-flex;
  pointer-events: auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 20px;
}

.card-link-customstyle:hover {
  color: #b794f6;
  transform: translateX(5px);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
  .hero-containerrrr {
    min-height: 70vh;
    padding: 1rem;
  }

  .hero-heading-customlrg {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-button-ctagroup {
    gap: 1rem;
  }

  .btn-purpleglow,
  .btn-outlinepurple {
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
  }

  .contact-section-mainwrapper {
    padding: 3rem 1rem;
  }

  .contact-grid-layouttrr {
    gap: 1.5rem;
  }

  .form-wrapper-customlayout {
    padding: 2rem;
  }

  .form-wrapper-customlayout h3 {
    font-size: 1.5rem;
  }

  .footer-content-wraperr {
    gap: 1.5rem;
  }
}

/* ==================== Scroll Animation ==================== */
.scroll-reveal-customanim {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smoothe);
}

.scroll-reveal-customanim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Loading State ==================== */
.loading-spinner-custom {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spinCustom 0.8s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spinCustom {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== Success Message ==================== */
.success-message-customnotif {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  padding: 1.3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  animation: slideInRightCustom 0.5s ease-out;
  z-index: 9999;
}

@keyframes slideInRightCustom {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.error-message-customnotif {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: white;
  padding: 1.3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
  animation: slideInRightCustom 0.5s ease-out;
  z-index: 9999;
}
