/* --------------------------------------------------------------
   GLOBAL
-------------------------------------------------------------- */
#service-content {
  transition: opacity 0.3s ease-in-out;
}
html {
  scroll-behavior: smooth;
}
.bg-primary, 
.text-primary {
  color: #045DE8 !important;
}
.text-muted {
  color: #1a1a1a !important;
}
.nav-link.active {
  color: #045DE8 !important;
  font-weight: 600;
}

body {
  color: #1a1a1a;
  background-color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Prevent over-expansion */
@media (min-width: 1400px) {
  .container-fluid {
    max-width: 1300px;
  }
}

/* --------------------------------------------------------------
   BUTTONS
-------------------------------------------------------------- */
.btn {
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
}
.btn-primary {
  background-color: #045DE8;
  border: none;
}
.btn-primary:hover {
  background-color: #084ec1;
}
.btn-outline-primary:hover {
  background-color: #045DE8;
  color: #fff;
}

/* --------------------------------------------------------------
   ABOUT SECTION
-------------------------------------------------------------- */
.about-section {
  margin-top: 0 !important;
}
.rounded-4 {
  border-radius: 1rem !important;
}
.bg-primary-subtle {
  background-color: rgba(13, 110, 253, 0.1);
}
.shadow-sm {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* --------------------------------------------------------------
   CONTACT FORM — PERFECT ICON ALIGNMENT
-------------------------------------------------------------- */
/* --------------------------------------------------------------
   CONTACT FORM — Pixel-perfect icon alignment
-------------------------------------------------------------- */
.contact-form .position-relative {
  position: relative;
}

.contact-form .icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-52%); /* Slight offset for form-control-lg */
  color: #045DE8;
  font-size: 1.2rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

/* Input & Textarea styling */
.contact-form .form-control {
  border-radius: 10px;
  padding-left: 2.6rem;
  box-shadow: none !important;
  transition: all 0.3s ease;
  border: 1px solid #d0d7e3;
}

.contact-form .form-control:focus {
  border-color: #045DE8;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}

/* Change icon color when input is focused */
.contact-form .form-control:focus + .icon,
.contact-form .position-relative:focus-within .icon {
  color: #084ec1;
}

/* Textarea alignment */
.contact-form textarea.form-control {
  resize: none;
  min-height: 130px;
  padding-top: 1rem;
}

/* Checkbox and button spacing */
.contact-form .form-check {
  margin-bottom: 0;
}

.contact-form button[type="submit"] {
  margin-top: 0.5rem;
}



/* --------------------------------------------------------------
   FOOTER
-------------------------------------------------------------- */
/* --------------------------------------------------------------
   FOOTER — Unified Font and Link Colors
-------------------------------------------------------------- */
.footer-section {
  background-color: #0061ff;
  color: #ffffff !important; /* make all text white */
  font-family: 'Roboto', sans-serif;
}

.footer-section h3,
.footer-section h6,
.footer-section p,
.footer-section ul,
.footer-section li,
.footer-section a {
  color: #ffffff !important; /* enforce consistent white color */
}

.footer-section .footer-link {
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

/* Divider line lighter */
.footer-section hr {
  border-color: rgba(255, 255, 255, 0.25);
}

/* Social Icons */
.footer-section .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-section .social-icon:hover {
  background-color: #ffffff;
  color: #0061ff;
  transform: translateY(-3px);
}

.footer-logo {
  height: 20px;                 /* Consistent height for both images */
  width: auto;
  transition: all 0.3s ease-in-out;
}

.footer-logo:hover {
  opacity: 1;
}

/* Spacing between the two images */
.footer-section .list-unstyled li {
  margin-bottom: 12px;          /* Ensures even vertical spacing */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 767px) {
  .footer-logo {
    height: 20px;
  }
}

/* --------------------------------------------------------------
   HERO SECTION
-------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

#formSuccess {
  animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
