
:root {
  --default-font: "Roboto", system-ui, -apple-system, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --accent-color: #428bca;
  --accent-hover: #3273a8;
  --dark-bg: #263746;
}

/* ==========================================
   1. GLOBAL SCROLL & SELECTION
========================================== */
html {
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--accent-color);
  color: white;
}

/* ==========================================
   2. HEADER & NAVIGATION (JS STATES)
========================================== */
/* When the user scrolls down, main.js adds the .scrolled class to the body */
.scrolled #header {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.98);
}

/* Mobile Navigation Active State */
.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 9999;
}

.mobile-nav-active #navmenu {
  position: fixed;
  overflow: hidden;
  inset: 0;
  background: rgba(33, 37, 41, 0.8);
  transition: 0.3s;
  z-index: 9997;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-nav-active #navmenu a {
  font-size: 20px;
  color: white;
  margin: 10px 0;
}

.mobile-nav-active #navmenu a:hover,
.mobile-nav-active #navmenu a.active {
  color: var(--accent-color);
}

/* ==========================================
   3. CUSTOM ANIMATIONS
========================================== */
/* Contact Form Loading Spinner */
.email-form .loading {
  display: none;
  text-align: center;
  padding: 15px;
}

.email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: transparent;
  animation: email-form-loading 1s linear infinite;
}

@keyframes email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* WhatsApp/Telegram Floating Button Animation */
@keyframes shake-float {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

.whatsapp-float,
.telegram-float {
  animation: shake-float 1.5s infinite;
}


/* ==========================================
   4. LEGACY STYLES (Blog & Join Us)
   *These remain intact until we update 
   Blog.html and JoinUs.html to Tailwind*
========================================== */

/* Blog Banner */
.home-banner h2 {
  font-size: 52px;
  color: #fff;
  text-transform: uppercase;
  max-width: 730px;
  margin: 0 auto; 
}
.home-banner .card-img-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8), black); 
}

/* Blog Content */
.blog-content {
  background-image: url(../img/blogbg.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover; 
}
.blog-content-bckg {
  margin: 0 auto;
  padding: 70px 0;
  width: 80%;
  color: #fff; 
}
.blog-content-inner {
  color: white;
  background: #5e8eb3;
  padding: 70px;
  border-radius: 15px; 
}

/* Join Us (Job Form) */
.job {
  width: 80%;
  height: auto;
  margin: 5rem auto;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 10px 0px #666;
}
.job-form {
  margin-top: .5rem;
  width: 100%;
  flex: 50%;
  text-align: left;
}
.job-form-txt, .job-form-experience, .job-form-email, .job-form-phone {
  margin-left: 2rem;
  width: 96.5%;
  height: 40px;
  color: #000;
  border: 1px solid #bcbcbc;
  border-radius: 50px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
  font-size: 1.5rem;
}
.job-form-txtarea {
  margin-left: 2rem;
  width: 96.5%;
  height: 130px;
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  padding: 15px;
  font-size: 1.5rem;
}
.job-form-btn {
  margin-left: 2rem;
  border-radius: 5rem;
  background: white;
  border: 2px solid #6dadf1;
  font-size: 1.5rem;
  cursor: pointer;
  height: 3.5rem;
  width: 15rem;
  box-shadow: 0 .2rem .5rem rgba(0,0,0,.3);
  transition: all 0.3s ease;
}
.job-form-btn:hover {
  background: #6dadf1;
  color: white;
}

@media (max-width: 1000px){
  .job-form-txt, .job-form-experience, .job-form-email, .job-form-phone, .job-form-txtarea, .job-form-btn {
    margin-left: 1rem;
    font-size: 1rem;
  }
}