:root {
  --primary-dark: #031246;
  --primary-medium: #05314f;
  --primary-light: #3a8fd4;
  --white: #fff;
  /* header-section */
  --primary-color: #031246;
  --secondary-color: #05314f;
  --accent-color: #4a90e2;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--primary-dark);
}

.cursor-pointer {
  cursor: pointer;
}
/* =========================
   HEADER & NAVBAR STYLES START
========================= */

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  overflow-x: hidden;
  padding-top: 80px; /* To account for fixed navbar */
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

/* Custom hamburger to cross animation */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 23px;
  height: 18px;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.navbar-toggler span:nth-child(1) {
  top: 0;
}

.navbar-toggler span:nth-child(2) {
  top: 10px;
}

.navbar-toggler span:nth-child(3) {
  top: 20px;
}

/* When navbar is expanded (cross icon) */
.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  left: -30px;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Mobile menu styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }

  .nav-item {
    margin: 10px 0;
  }
}

/* =========================
   HEADER & NAVBAR STYLES END
========================= */

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 100%
  );
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-primary-custom {
  background-color: var(--primary-light);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background-color: var(--white);
  color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-light);
}

.services-section {
  background-color: #f8f9fa;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.service-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.other-service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: none;
  height: 100%;
}

.other-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.other-service-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 15px;
}

.other-service-title {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* service-webdev-form */

/* Floating Form Container */
.float-form {
  background: transparent;
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

@media screen and (max-width: 992px) {
  .hero-title-section {
    padding-top: 40px;
  }
  .float-form {
    min-height: 0;
  }
}

.form-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 40px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatXY 4s ease-in-out infinite;
}

/* Border Animation */
.form-container span:nth-child(1),
.form-container span:nth-child(2),
.form-container span:nth-child(3),
.form-container span:nth-child(4) {
  position: absolute;
  background: linear-gradient(
    45deg,
    #ff0055,
    #ff9900,
    #ffee00,
    #33ff00,
    #00ffee,
    #3300ff,
    #ff00ff,
    #ff0055
  );
}

.form-container span:nth-child(1),
.form-container span:nth-child(3) {
  height: 4px;
  width: 100%;
}

.form-container span:nth-child(1) {
  top: 0;
  left: 0;
  animation: animate1 2s linear infinite;
}

.form-container span:nth-child(3) {
  bottom: 0;
  left: 0;
  animation: animate3 2s linear infinite;
}

.form-container span:nth-child(2),
.form-container span:nth-child(4) {
  width: 4px;
  height: 100%;
}

.form-container span:nth-child(2) {
  top: 0;
  right: 0;
  animation: animate2 2s linear infinite;
  animation-delay: 1s;
}

.form-container span:nth-child(4) {
  top: 0;
  left: 0;
  animation: animate4 2s linear infinite;
  animation-delay: 1s;
}

/* Keyframes */
@keyframes animate1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes animate2 {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes animate3 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes animate4 {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Hover Effect */
.form-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Floating Animation X & Y Axis */
@keyframes floatXY {
  0% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(5px, -5px);
  }
  50% {
    transform: translate(-5px, 5px);
  }
  75% {
    transform: translate(5px, 5px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  color: #333;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

/* Smooth input and select focus */
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.6);
  border-color: #ff0055;
  transition: all 0.3s ease;
}

/* =========================
   FOOTER STYLES START
========================= */

/* Footer-section */

.site-footer {
  background-color: #031246;
  color: #fff;
  padding: 40px 0 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #4dabf7;
}

.footer-links {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0;
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: #4dabf7;
}

.social-links > a {
  text-decoration: none;
  color: #fff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item svg {
  color: #4dabf7;
  width: 16px;
  height: 16px;
}

.hiring-text {
  margin-bottom: 15px;
  color: #ccc;
}

.hiring-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.role-btn,
.apply-all-btn {
  background-color: transparent;
  border: 1px solid #4dabf7;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 12px;
}

.role-btn:hover,
.apply-all-btn:hover {
  background-color: #4dabf7;
}

.apply-all-btn {
  background-color: #4dabf7;
  padding: 8px 16px;
  font-size: 14px;
}

.apply-all-btn:hover {
  background-color: #3a8fd4;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    min-width: 100%;
  }
}

/* =========================
   FOOTER STYLES END
========================= */

/* bottom-form-section */

/* Form section (CSS) */
* {
  box-sizing: border-box;
}

.contact-form-section {
  /* max-width: 560px; */
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.contact-form {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(12, 12, 20, 0.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
}

.form-title {
  margin: 0 0 14px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  text-align: left;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.875rem;
  color: #374151;
}

.form-input {
  height: 44px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}

/* Make select match inputs */
.form-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

/* Focus states */
.form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

/* Submit button */
.btn-submit {
  display: inline-block;
  min-width: 120px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}

.btn-submit:active {
  transform: translateY(1px);
}
.btn-submit:focus {
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

/* Layout for larger screens: two-column (Name + Email side-by-side) */
@media (min-width: 700px) {
  .contact-form {
    padding: 24px;
  }

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* If you want the name/email to sit side-by-side, wrap their .form-row in a .two-col container */
}

/* Small spacing tweak for compact mobile */
@media (max-width: 420px) {
  .contact-form {
    padding: 16px;
  }
  .form-input {
    height: 42px;
  }
}

@media screen and (max-width: 1025px) {
  .client_card {
    text-align: center;
  }
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp_float {
  position: fixed;
  width: 30px;
  height: 30px;
  margin: 0;
  bottom: 50px;
  left: 50px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.whatsapp_float:hover {
  transform: scale(1.3);
}

.whatsapp_float img {
  width: 35px;
  height: 35px;
}
