html, body, * {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #232a37;
}

.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.53,.19,.08,.98), transform 0.7s cubic-bezier(.53,.19,.08,.98);
}

.animate-in.visible {
  opacity: 1;
  transform: none;
}


/* HEADER */
header {
  background-color: #fff;
  color: #232a37;
  padding: 13px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  flex-wrap: wrap;
}

.header-left,
.header-right {
  position: relative;
  z-index: 2;
}


.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 0;
  text-decoration: none;
}

.header-left:hover {
  cursor: pointer;
}

.header-left .logo,
.header-left .company-name {
  pointer-events: none;
}

.logo {
  height: 35px;
  width: auto;
  margin-left: .8rem;
}

.header-right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  color: #0033FF;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
  font-size: 15px;
  padding-top: 2px;
}

.header-link:hover {
  opacity: 0.75;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: #0033FF;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: color 0.18s;
}

.dropdown-toggle:hover,
.dropdown:focus-within .dropdown-toggle {
  color: #001e94;
  background: none;
  text-decoration: none;
  outline: none;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s cubic-bezier(.46, .03, .52, .96);
  width: 14px;
  height: 14px;
  vertical-align: middle;
  background: url("data:image/svg+xml;utf8,<svg width='12' height='12' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 8.5L10 13L14.5 8.5' stroke='%230033ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
}

.dropdown:hover .dropdown-arrow,
.dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.19s, transform 0.22s;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 150px;
  background: linear-gradient(120deg, #f7faff 85%, #e7ebfb 100%);
  border-radius: 10px;
  box-shadow: 0 8px 28px 0 rgba(54, 92, 233, 0.10), 0 2px 10px 0 rgba(0, 0, 0, 0.03);
  z-index: 1001;
  padding: 7px 0;
  border: 1px solid #f0f4fa;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 22px 12px 18px;
  color: #1933aa;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.19s;
  text-decoration: none;
  display: block;
  border-radius: 7px;
  letter-spacing: 0.03em;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, #f5f8ff, #e1eaff 100%);
  color: #0033ff;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .logo {
    height: 26px;
  }

  header {
    padding: 10px 6px;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 48px;
  }

  .header-left,
  .header-right {
    flex-shrink: 0;
  }

  .company-name {
    font-size: 16px;
    padding-top: 2px;
  }

  .header-right {
    gap: 8px;
    margin-top: 0;
    margin-right: 0;
  }

  .header-link {
    font-size: 13px;
    padding: 4px 6px;
  }
}

@media (max-width: 600px) {
  .dropdown-menu {
    min-width: 150px;
    font-size: 14px;
    padding: 6px 0;
    left: 0;
    right: auto;
  }

  .dropdown-item {
    font-size: 13px;
    padding: 10px 15px 10px 11px;
  }
}

@media (max-width: 400px) {
  .logo {
    height: 25px;
  }

  header {
    padding: 5px 2vw;
  }

  .company-name {
    font-size: 13px;
  }

  .header-link {
    font-size: 11px;
    padding: 3px 2px;
  }
}


/* CONTACT PAGE STYLES */
.contact-section {
  width: 100%;
  background-color: #fff;
  margin-bottom: 2rem;
  margin-top: 4rem;
  box-sizing: border-box;
  overflow: visible;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  overflow: visible;
}

.form-wrapper {
  margin-top: 2rem;
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
  max-width: 430px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow-x: hidden;
  
}

@media (max-width: 650px) {
  .form-wrapper {
    max-width: 100vw;
    padding: 1.2rem 0.8rem;
    border-radius: 0.6rem;
  }
  .contact-section {
    margin-top: 1.5rem;
    padding-bottom: .2rem;
  }
}

@media (max-width: 400px) {
  .form-wrapper {
    padding: 0.65rem 0.18rem;
  }
}


/* Stack every field vertically */
.form-row {
  display: block !important;
  margin-bottom: 0;
  gap: 0 !important;
}
.form-group {
  width: 100%;
  min-width: 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-title {
  color: #0033ff;
  font-size: 2.1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem; 
}

.form-title span {
  margin-right: 0.3rem;
  color: #9d8a8a;
}

.form { width: 100%; }

.input {
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0 1rem;
  font-family: "Gilroy-Medium", sans-serif;
  font-size: 1rem;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}

.input-error { border-color: #e74c3c; }
.form-error {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 0.5rem;
  color: #666;
}

.form-section { margin-bottom: 1.5rem; }
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .checkbox-group {
    flex-direction: column;
    gap: 0.4rem;
  }
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}
.static-recaptcha {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #555;
}
@media (max-width: 600px) {
  .static-recaptcha {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
.recaptcha-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.submit-btn {
  background-color: #0033FF;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 51, 255, 0.2);
}

.submit-btn:hover {
  background-color: #001e94;
  box-shadow: 0 4px 14px rgba(0, 51, 255, 0.25);
}


.success-message {
  color: green;
  margin-top: 1.5rem;
  font-weight: 500;
  font-size: 1rem;
}




/* Responsive Styles */


/* CONTACT */
/* --- Contact Section Container --- */
.classic-contact-section {
  background: #f4f4f4;
  margin: 0;                /* flush to the left edge */
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  border-bottom: 1px solid #ccc;
  padding: 17px 24px;
}

/* --- Column & Heading --- */
.contact-col {
  max-width: 270px;
  text-align: left;
}
.contact-col h3 {
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #194a6a;
  margin-bottom: 20px;
  /* text-transform: uppercase; */
  padding-left: 13px;       /* match link padding below */
}

/* --- List, Items & Line-Height --- */
.contact-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}
.contact-col li {
  margin-bottom: 10px;
  font-size: .9rem;
  font-weight: 400;
}

/* --- Links & Sliding Bar --- */
.contact-col a {
  position: relative;
  display: inline-block;
  padding-left: 12px;  
   padding-right: 6px; 
  gap: 1px;   
  color: #194a6a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  overflow: hidden;
}

.contact-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-12px);
  width: 12px;              /* smaller bar */
  height: 2px;
  background: #f4a100;
  transition: transform 0.35s ease;
  z-index: 1;
}

.contact-col a span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.35s ease;
}

/* --- Hover: slide in bar & push text --- */
.contact-col a:hover::before,
.contact-col a:focus::before {
  transform: translateY(-50%) translateX(0);
}
.contact-col a:hover span,
.contact-col a:focus span {
  transform: translateX(6px);  /* exactly bar width */
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .classic-contact-section {
    flex-direction: column;
    gap: 26px;
    padding: 15px 4vw 15px 4vw;
    
  }
}


/* FOOTER */
.site-footer {
  background: #f4f4f4;
  color: #666;
  border-top: 1px solid #e0e0e0;
  font-size: 0.84rem;
  font-family: system-ui, Arial, sans-serif;
  padding: 17px 0px;
  width: 100%;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  gap: 36px;
  /* Add left and right padding for all screens */
  margin-left: 2.5rem;
}

.footer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-trademark {
  color: #7d7d7d;
  line-height: 1.85;
  font-size: 0.92em;
  font-weight: 400;
}


@media (max-width: 750px) {
  .footer-content {
    padding: 0 18px 0 18px;
    gap: 18px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

}

@media (max-width: 540px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-left: .3rem;
  }

  .footer-info {
    gap: 5px;
  }

  .site-footer {
    font-size: 0.81rem;
    padding: 0px 1vw;
  }
}

@media (max-width: 400px) {
  .site-footer {
    font-size: 0.78rem;
    padding: 0px 1vw;
  }

  .footer-content {
    margin-left: .3rem;
  }
}


.modal-overlay {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35, 42, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 51, 255, 0.11), 0 2px 10px rgba(0,0,0,0.06);
  padding: 2.6rem 2.2rem 2.2rem 2.2rem;
  text-align: center;
  max-width: 350px;
  width: 90vw;
  border: 2.5px solid #0033FF;
  position: relative;
}

.modal-icon {
  font-size: 2.5rem;
  color: #0033FF;
  margin-bottom: 0.7rem;
}

.modal-content h2 {
  color: #0033FF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin: 0 0 0.4rem 0;
  letter-spacing: -1px;
}

.modal-content p {
  color: #232a37;
  margin-bottom: 1.3rem;
}

.modal-close-btn {
  background-color: #fff;
  color: #0033ff;
  padding: 16px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s, color 0.3s;
  border: 2px solid transparent;
    box-shadow: 0 1.7px 12px #0033ff21;
}
.modal-close-btn:hover {
  background: linear-gradient(225deg, #d4af37 0%, #fff8dc 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
  border-color: #d4af37;
}
