:root {
  --slide-speed: 0.8s;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --bg-dark: #0f0026;
  --accent-dblue: #1c2541;
  --accent-blue: #1c5e74;
  --bg-white: #fcfcfc;
  --bg-gray: #a8b0c0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

/* loader */
/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

#loader img.logo {
  display: inline-block;
  width: 120px;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  animation: loader-pulse 2.5s ease-in-out infinite;
}

@keyframes loader-pulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
    /* Optional: subtle brightness shift adds depth */
  }

  50% {
    transform: scale(1.1);
    /* 1.1 is often smoother/more subtle than 1.2 */
    filter: brightness(1.05);
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}


/* 1. SHOW custom scrollbar on Desktop and iPad (Screens wider than 600px) */
@media screen and (min-width: 601px) {
  ::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-white);
  }

  ::-webkit-scrollbar-thumb {
    background: #1e6091;
    border-radius: 0px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #184e77;
  }
}

/* 2. HIDE scrollbar on Mobile (Screens 600px and narrower) */
@media screen and (max-width: 600px) {
  ::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
  }

  html,
  body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
  }
}

/* Update your existing body/html block to this */
html {
  overflow-x: hidden;
  overflow-y: auto;
  /* Let the browser decide when to scroll */
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* 📱 Mobile Fix */
@media (max-width: 768px) {
  body {
    /* background-attachment: scroll; fixed causes issues on mobile */
    background-position: center;
  }
}



/* HERO HEADER - ROOT VARIABLE SYNC */
.hero-header {
  width: 100%;
  padding: 120px 5% 80px 5%;
  background-color: var(--bg-dark);
  /* Using #0f0026 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
}

.hero-decorative-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-bottom: 12px;
}

.hero-header h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--bg-white);
  /* Using #fcfcfc */
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--bg-gray);
  /* Using #a8b0c0 */
  margin-top: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
}



/* Base style for all dots (pseudo-elements) */
.dot::before,
.dot::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  /* This ensures the pulse animation is smooth */
  animation: dotPulse 2s ease-in-out infinite;
}

/* TOP DOTS (Pulse First) */
.black-orange::before {
  background: var(--bg-white);
  top: -8px;
  animation-delay: 0s;
}

.orange-white::before {
  background: var(--accent-blue);
  top: -8px;
  animation-delay: 0s;
}

/* BOTTOM DOTS (Pulse Second) */
.black-orange::after {
  background: var(--accent-blue);
  top: 8px;
  animation-delay: 1s;
  /* Delayed by 1s for the staggered effect */
}

.orange-white::after {
  background: var(--bg-gray);
  top: 8px;
  animation-delay: 1s;
  /* Delayed by 1s */
}


/* DOTS ANIMATION */
@keyframes dotPulse {

  0%,
  100% {
    transform: scale(0.5);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  position: relative;
}


@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 2.2rem;
  }

  .hero-header {
    padding: 80px 20px;
  }
}

/* CONTACT SECTION  */

.contact-section {
  padding: 100px 10%;
  background: #f2f1ef;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #777;
}

.contact-info h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--sec-bg-color);
}

.description {
  margin-bottom: 40px;
  line-height: 1.6;
  color: #555;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-item h4 {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 16px;
}

.info-item p {
  color: #555;
  font-size: 14px;
}

.num-link {
  color: inherit;
  /* Keeps the text color matching your footer theme */
  text-decoration: none;
  /* Removes the default underline */
  transition: color 0.3s ease;
}

.num-link:hover {
  color: var(--accent-blue);
  /* Changes color on hover to show it's interactive */
  text-decoration: none;
}

.icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--sec-bg-color);
  color: var(--text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
}

.icon:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
  /* cursor: pointer; */
}



/* RIGHT SIDE */
.contact-right {
  flex: 1;
  max-width: 600px;
  width: 100%;
  min-width: 320px;
  background: #f2f2f2;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}



/* Ensure padding doesn't break width on small screens */
@media (max-width: 480px) {
  .contact-right {
    padding: 20px;
  }
}

.contact-right h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--accent-dblue);
}

/* FORM STRUCTURE */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
  width: 100%;
}

/* SHARED INPUT STYLES */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  background: transparent;
  transition: 0.3s ease;
  box-sizing: border-box;
  resize: none;
}

/* SELECT SPECIFIC OVERRIDE */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: #333;
  background-color: transparent;
}

/* FONT AWESOME ICON STYLING */
.select-wrapper i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  /* Essential: clicks pass through to the select box */
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-dblue);
  box-shadow: 0 0 15px rgba(0, 38, 255, 0.2);
  animation: pulse-border 2s infinite;
}


@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* FLOATING LABELS */
.form-group label {
  position: absolute;
  top: 14px;
  left: 15px;
  font-size: 0.9rem;
  color: #888;
  pointer-events: none;
  transition: 0.3s ease;
  background: #f2f2f2;
  padding: 0 5px;
}

/* ANIMATION TRIGGER */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:valid+label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  color: var(--accent-dblue);
  font-weight: bold;
}

/* SUBMIT BUTTON */
.contact-right .contact-form .contact-btn {
  padding: 15px;
  background: var(--bg-dark);
  border: 2px solid transparent;
  border-radius: 4px;
  color: var(--bg-white);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-right .contact-form .contact-btn:hover {
  border-color: var(--bg-dark);
  background: var(--bg-white);
  color: var(--bg-dark);
}



/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-heading,
  .contact-right {
    min-width: 100%;
  }
}

/* Hide hint by default */
.input-hint {
  display: none;
  font-size: 12px;
  color: red;
  margin-top: 5px;
}

/* Show hint when the input is focused */
input:focus~.input-hint {
  display: block;
}