* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "canada-type-gibson", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: black;
  overflow-x: hidden;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: rgba(0, 0, 0, 0);
  cursor: pointer !important;
}
.iti__country {
  cursor: pointer !important;
}
.iti--allow-dropdown .iti__flag-container:hover {
  cursor: pointer !important;
}
.iti__flag-box,
.iti__country-name {
  margin-right: 6px;
  cursor: pointer !important;
}
.iti__dial-code {
  cursor: pointer !important;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background-color: rgba(0, 0, 0, 0);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0a1e27;
  z-index: 1000;
}

/* Fade-up Animation Styles */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.fade-up:nth-child(1) {
  transition-delay: 0.1s;
}
.fade-up:nth-child(2) {
  transition-delay: 0.2s;
}
.fade-up:nth-child(3) {
  transition-delay: 0.3s;
}
.fade-up:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-container {
  width: 90%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
}

.nav-contact-btn {
  display: inline-block;
  padding: 5px 20px;
  border: 1px solid #1d9a8a;
  border-radius: 10px 10px 0px 10px;
  background: transparent;
  color: #d2ebe7;
  font-family: "canada-type-gibson", sans-serif;
  font-size: 20px;
  font-weight: 200;
  text-decoration: none;
}

.nav-contact-btn:hover {
  background: #059a89;
  color: #fff;
  border-color: #059a89;
}

.logo img {
  width: 175px;
  height: 80px;
  cursor: pointer !important;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 75px;
  align-items: center;
}

.nav-link {
  color: #d2ebe7;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
}

.nav-link-others {
  color: #d2ebe7;
  text-decoration: none;
  font-weight: 200;
  font-size: 20px;
}

.nav-link-others::before {
  content: attr(data-text);
  font-weight: 600;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  display: block;
}

.nav-link:hover {
  color: #059a89;
}

.nav-link-others:hover {
  color: #059a89;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #1d9a8a;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.custom-placeholder::placeholder {
  color: #0a1e27;
  font-size: 15px;
  font-weight: 300;
  line-height: 160%;
  font-family: "canada-type-gibson", sans-serif;
}

.hero-section {
  height: 90vh;
  background: url("../img/contact/contact-bg.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  margin-top: 118px;
  background-color: #d0dde3;
}

.container {
  width: 88%;
  margin: 0 auto;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: rgba(0, 0, 0, 0);
}
.hero-content {
  color: black;
  max-width: 600px;
  text-align: left;
  line-height: 60px;
}

.hero-title {
  font-size: 56px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 60px;
}

.hero-sub-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 20px;
  line-height: 24px;
}

.cta-button {
  display: inline-block;
  background: #1d9a8a;
  color: #d2ebe7;
  padding: 10px 40px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  line-height: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: #168577;
  transform: translateY(-2px);
}

/* Contact Section Styles */
.contact-section {
  background-color: #fff;
  padding: 100px 0;
}

.contact-flex {
  display: flex;
  gap: 60px;
  align-items: center;
}

.contact-content {
  flex: 1;
  padding-right: 40px;
}

.contact-title {
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0a1e27;
}

.contact-description {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 20px;
  color: #0a1e27;
  font-weight: 300;
}

.contact-cta {
  margin-bottom: 20px;
}

.contact-cta h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0a1e27;
}

.contact-points {
  list-style: none;
}

.contact-points li {
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
  font-size: 16px;
  color: #0a1e27;
  line-height: 125%;
  font-weight: 300;
  letter-spacing: 0%;
}

.contact-points li::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #1d9a8a;
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
}

.form-container {
  flex: 1;
  background-color: #c5d3e0;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  width: 100%;
  margin-bottom: 24px;
}

label {
  font-family: "Canada Type Gibson", sans-serif;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #fff;
  border-radius: 18px;
  font-size: 16px;
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Custom styling for intl-tel-input */
.iti {
  width: 100%;
}

.iti__tel-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #fff;
  border-radius: 18px;
  font-size: 16px;
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iti__tel-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.iti__country-container {
  border-radius: 18px 0 0 18px;
}

.iti__selected-country {
  border-radius: 18px 0 0 18px;
  background-color: #f9fafb;
  border-right: 1px solid #d1d5db;
}

.iti__dropdown-content {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
}

.iti__country:hover {
  background-color: #f3f4f6;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer !important;
}

textarea {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.submit-btn {
  font-family: "canada-type-gibson", sans-serif !important;
  background-color: #1d9a8a;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: block;
  margin: 32px auto 0;
  min-width: 120px;
  letter-spacing: 0%;
  line-height: 100%;
}

.submit-btn:hover {
  background-color: #1d9a89cb;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Success/Error Message Styles */
.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.success-message {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.error-message {
  background-color: #1d9a8a;
  color: #fff;
  border: 1px solid #000000;
}

.footer {
  background-color: #0a1e27;
  color: #d2ebe7;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 160px;
  height: 70px;
  margin-left: -10px;
  cursor: pointer !important;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 30px;
  row-gap: 10px;
  margin-top: 20px;
  margin-bottom: 30px;
  max-width: 350px;
}

.footer-link-main {
  flex: 1 1 45%;
  max-width: 150px;
  color: #ffffff;
  font-family: "canada-type-gibson", sans-serif;
  font-size: 20px;
  text-decoration: none;
  margin-bottom: 0;
  font-weight: 500;
}

.footer-link {
  flex: 1 1 45%;
  max-width: 150px;
  color: #ffffff;
  font-family: "canada-type-gibson", sans-serif;
  font-size: 20px;
  text-decoration: none;
  margin-bottom: 0;
  font-weight: 200;
}

.footer-signup {
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
}
@media (max-width: 1100px) {
  .footer-signup {
    width: 100%;
  }
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.email-icon {
  position: absolute;
  left: 25px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 1;
}

.signup-input {
  padding: 20px 120px 20px 65px;
  border-radius: 75px;
  border: none;
  width: 100%;
  background: white;
  color: #0a1e27;
  font-family: "canada-type-gibson", sans-serif;
  font-size: 18px;
  line-height: 145%;
}

.signup-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 15px 35px;
  border-radius: 31px;
  border: none;
  background: #1d9a8a;
  color: #d2ebe7;
  cursor: pointer;
  font-weight: 600;
  font-family: "canada-type-gibson", sans-serif;
  font-size: 20px;
  white-space: nowrap;
  font-weight: 300;
  transition: background-color 0.3s ease;
}

.footer-contact {
  font-family: "canada-type-gibson", sans-serif;
  font-weight: 300;
  margin-bottom: 10px;
  font-size: 14px;
  align-content: end;
}

.footer-contact p {
  font-family: "canada-type-gibson", sans-serif;
  font-weight: 600;
  font-size: 28px;
  text-align: end;
  color: white;
  letter-spacing: -2%;
}

.custom-placeholder-f::placeholder {
  color: #0a1e27;
  font-size: 18px;
  font-family: "canada-type-gibson", sans-serif;
  font-weight: 400;
}

.signup-button:hover {
  background: #168577;
}

.mobile-bg-section {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container-mobile {
    width: 95%;
  }
  .container-mobile-2 {
    width: 100%;
  }

  .contact-points li::before {
    margin-top: 3px;
  }

  /* Navbar */
  .nav-container {
    height: 70px;
    margin: 0px 0px 0px -1px;
    width: 100%;
    padding: 0 20px;
  }

  .logo img {
    width: 120px;
    height: auto;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #0a1e27;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* Show mobile toggle button on mobile */
  .mobile-menu-toggle {
    display: flex !important;
    z-index: 1001;
  }

  /* Hamburger animation */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Hero */
  .hero-section {
    height: auto;
    padding: 20px 0 10px;
    margin-top: 70px;
    background-position: top;
    background: #d0dde3;
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-title {
    font-size: 38px;
    line-height: 40px;
    margin-bottom: 10px;
  }

  .hero-sub-title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 17px;
    margin-bottom: 0px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Contact Section */
  .contact-section {
    padding: 30px 0;
  }
  .contact-points li {
    align-items: flex-start;
  }
  .contact-flex {
    flex-direction: column;
    gap: 30px;
  }

  .contact-content {
    padding-right: 0;
  }

  .contact-title {
    font-size: 32px;
    line-height: 36px;
  }

  .contact-description {
    font-size: 16px;
    line-height: 20px;
  }

  .form-container {
    padding: 30px 20px;
    margin-top: -15px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-row {
    margin-bottom: 15px;
  }

  .form-group.full-width {
    width: 100%;
    margin-bottom: 15px;
  }
  .contact-cta {
    margin-bottom: 1px;
  }
  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-signup {
    width: 100%;
    display: none;
  }

  .signup-input {
    padding: 15px 100px 15px 50px;
    font-size: 16px;
  }

  .signup-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .footer-contact p {
    text-align: left;
    font-size: 14px;
  }
  .footer-logo {
    width: 120px;
    height: auto;
    margin: 0 auto;
    margin-left: auto;
    margin-left: -10px;
  }
  .footer-menu {
    grid-template-columns: 1fr;
    justify-items: start;
    margin-bottom: 0px;
    margin-top: 10px;
  }
  .footer-link,
  .footer-link-main {
    font-size: 16px;
  }

  .mobile-bg-section {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #d0dde3;
  }

  .mobile-bg-img {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* === Only style contact info lines inside .contact-details === */
.contact-details .contact-phone {
  display: flex;
  align-items: flex-start; /* top-align when details wrap */
  gap: 5px; /* space between label and link */
  margin: 0; /* remove default <p> margins */
}

.contact-details .contact-phone-label {
  color: #0a1e27;
  font-weight: 600;
  font-size: 18px;
  min-width: auto; /* fixed width so labels align */
  flex-shrink: 0;
}

.contact-details .contact-phone-link {
  text-decoration: none;
  color: #0a1e27 !important;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
}

.contact-phone-link a {
  color: #0a1e27 !important;
}

.form-message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.button-text {
  cursor: pointer !important;
}
