:root {

  --blue1: #13294b;
  --blue2: #174a96;
  --blue3: #397de3;
  --white: #fff;
  --offWhite: #f7f7f7;
  --grey3: #333;
  --rad1: 1.5rem;
}

body {
  font-family: Calibri, sans-serif;
  background: var(--offWhite);
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 2.5rem;
  color: var(--blue2);
  
}
h2 {
  font-size: 1.5rem;
  
}
p {
  font-size: 1rem;
  color: var(--grey3);
}
ul {
  color: var(--grey3);
}

/* Animation Settings for Index Header */

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes transformDown {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideRight {
  from {
    transform: translateX(-5px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideLeft {
  from {
    transform: translateX(5px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes scaleUp {
  from {
    transform: scale(100%);
  }
  to {
    transform: scale(105%);
  }
}

/*-- navigation card --*/

.navCard {
  margin: auto;
  display: grid;
  padding: 2rem 5vw;
  max-width: 1400px;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  animation: fadin 10s;
}
.card {
  height: 6rem;
  padding: 2rem 1rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.5s ease-in-out;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--rad1);
  cursor: pointer;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(60, 72, 88, 0.18);
}
.card:hover:before {
  opacity: 1;
  rotate: y 180deg;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  z-index: 0;
  transition: 1s;
}
.card:hover img {
  scale: 1.2;
}
.card .card-info {
  position: relative;
  z-index: 3;
  color: #fff;
  transform: translateY(15px);
  transition: 0.5s all;
  padding-left: 1.1rem;
}
.card .card-info h2 {
  color: #fff;
}
.card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(220deg, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 1));
  z-index: 1;
}
@media (max-width: 1000px) {
  .navCard {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .navCard {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 700px) {
  .sectionHeader {
    width: 100%;
    padding: 2%;
    line-height: 40px;
  }

  .navCard {
    margin: auto;
    margin-top: 2%;
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: space-around;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .card {
    width: 90%;
    height: 4rem;
    padding: 1.5rem 1rem;
    background: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.5);
    transition: 0.5s ease-in-out;
  }
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  .card .card-info {
    position: relative;
    z-index: 3;
    color: #fff;
    opacity: 1;
    transform: translateY(30px);
    transition: 0.5s all;
    padding-left: 1rem;
    padding-bottom: 1.5rem;
  }
  .card .card-info h1 {
    margin: 0;
  }
}

/*-- feature ---*/

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #f7f7f7; /*#f7f9fa*/
  padding: 2rem 5vw;
  border-radius: 2rem;
  /*box-shadow: 0 4px 32px rgba(60, 72, 88, 0.07);*/
  margin: auto auto 2rem auto;
  max-width: 1400px;
  animation:
    fadein 2s,
    slideRight 2s;
}
.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2vw;
}
.feature-label {
  font-size: 1rem;
  color: var(--blue2);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.feature-title {
  font-size: 2.5rem;
  font-weight: 700
    ;
  color: var(--blue2);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.feature-desc {
  font-size: 1.2rem;
  color: var(--grey3);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.feature-desc i {
  color: var(--blue3);
}
.feature-desc b {
  color: var(--blue2);
}
.feature-media {
  display: flex;
  justify-content: right;
  align-items: center;
}
.feature-video {
  width: 100%;
  max-width: 700px;
  border-radius: var(--rad1);
  background: #eef2f5;
  box-shadow: 0 4px 24px rgba(60, 72, 88, 0.13);
  object-fit: cover;
  aspect-ratio: 16/9;
}
.feature-media iframe {
  width: 100%;
  max-width: 700px;
  border-radius: 1.5rem;
  background: #eef2f5;
  box-shadow: 0 4px 24px rgba(60, 72, 88, 0.13);
  object-fit: cover;
  aspect-ratio: 16/9;
}
/*.feature-btn {
  max-width: 12rem;
  display: inline-block;
  padding: 0.75em 1em;
  background: var(--blue2);
  color: #fff;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(60, 72, 88, 0.09);
  transition: 1s;
  text-align: center;
  background: var(--blue2);
}
.feature-btn:hover {
  background: #397de3;
}
*/
.feature-actions {
  display: inline;
  gap: 2rem;
  margin-top: 2px;
  flex-wrap: wrap;
}
.feature-btn {
  display: inline-block;
  margin: 0 0 0 18px;
  padding: 13px 32px;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .5s;
  box-shadow: 0 2px 12px rgba(32,88,166,0.10);
  letter-spacing: 0.03em;
}
.feature-btn-primary {
  margin: 0 auto 0 0;
  background: var(--blue2);
  color: #fff;
  border: none;
}
.feature-btn-primary:hover {
  background: var(--blue3);
  color: #fff;
}
.feature-btn-secondary {
  background: rgba(23,74,150,0.4);
  color: var(--white);
  border: 1.6px solid var(--blue3);
}
.feature-btn-secondary:hover {
  background: var(--blue3);
  color: var(--white);
}
/* Responsive for mobile/tablet */
@media (max-width: 900px) {
  .feature-section {
    grid-template-columns: 1fr;
    padding: 2rem 3vw;
    gap: 2rem;
  }
  .feature-content {
    padding-right: 0;
    margin-bottom: 1.5rem;
  }
  .feature-media {
    margin-top: 0;
  }
}

.changing-feature-word {
  display: inline-block;
  transition: none;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}
.changing-feature-word.fadeout {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.36s, transform 0.44s cubic-bezier(.7,1.6,.58,1);
}
.changing-feature-word.fadein {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.36s, transform 0.52s cubic-bezier(.7,1.6,.58,1);
}

/*-- info cards --*/

.card-titles {
  max-width: 1400px;
  margin: auto;
  margin-bottom: 2rem;
}
.card-titles p {
  color: #333;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 1.1rem;
}
.info-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 14px rgba(32, 88, 166, 0.09);
  border: 2px solid #e1eaf7;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 370px;
  min-width: 260px;
  overflow: hidden;
  margin: 0 auto;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.info-card:hover {
  box-shadow: 0 6px 26px rgba(32, 88, 166, 0.17);
  border-color: #b2c9ef;
}
.info-card:hover img{
  scale: 1.2;
}
.info-card-image {
  width: 100%;
  height: 170px;
  background: #e8f1fc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.info-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 1s;
}
.info-card-content {
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.info-card-title {
  color: var(--blue2);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}
.info-card-desc {
  font-size: 1.1rem;
  color: #333;
  opacity: 0.97;
  margin: 0 0 4px 0;
  flex: 1;
}
.info-card-desc li {
  margin-left: 1rem;
  font-size: 1.1rem;
}
.info-card-desc strong {
  color: var(--blue2);
}
.info-card-link {
  display: inline-block;
  color: var(--blue3);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 4px;
  border-radius: 32px;
  padding: 7px 18px;
  border: 1.6px solid var(--blue3);
  background: #f7faff;
  transition:
    background 0.16s,
    color 0.16s;
}
.info-card-link:hover {
  background: var(--blue3);
  color: #fff;
}
/* Grid utility for multiple cards */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}
/* Responsive */
@media (max-width: 700px) {
  .card-titles {
    max-width: 90vw;
  }
  .info-card {
    max-width: 90vw;
  }
  .info-card-image {
    height: 120px;
  }
}

/*-- video library (reusable) --*/

.video-library-section {
  max-width: 1400px;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.video-library {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.video-library-player {
  flex: 1 1 480px;
  min-width: 330px;
  max-width: 980px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 14px rgba(32, 88, 166, 0.09);
  border: 2px solid #e1eaf7;
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.video-library-player video {
  width: 100%;
  border-radius: 1rem;
  background: #333;
  margin-bottom: 10px;
  box-shadow: 0 1px 16px #2058a633;
}
.video-library-main-title {
  font-size: 1.5rem;
  color: var(--blue2);
  font-weight: 700;
  margin-bottom: 4px;
}
.video-library-main-desc {
  font-size: 1.1rem;
  color: #333;
  opacity: 0.92;
  margin-bottom: 0;
}
.video-library-thumbs {
  flex: 0 0 220px;
  min-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  max-height: 500px;
  overflow-y: auto;
}
.video-thumb {
  background: #e8f1fc;
  border: 2px solid #e1eaf7;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 330px;
  padding: 7px 8px;
  cursor: pointer;
  transition:
    border-color 0.13s,
    box-shadow 0.13s;
  box-shadow: 0 1px 5px rgba(32, 88, 166, 0.04);
  font-weight: 700;
  color: var(--blue2);
  outline: none;
}
.video-thumb.active,
.video-thumb:focus {
  border-color: var(--blue3);
  box-shadow: 0 2px 8px #2291ff22;
  background: #fff;
}
.video-thumb img {
  width: 70px;
  height: 37px;
  border-radius: 6px;
  object-fit: cover;
  background: #bbb;
  flex-shrink: 0;
}
.video-thumb span {
  font-size: 1.2rem;
  color: var(--blue3);
}

@media (max-width: 900px) {
  .video-library {
    width: 90vw;
    margin: auto;
    flex-direction: column;
    gap: 2rem;
  }
  .video-library-thumbs {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 0;
    max-height: unset;
  }
  .video-thumb {
    width: 330px;
    min-width: 80px;
    padding: 4px 3px;
  }
}

/*-------divider------*/

.divider {
  width: 90%;
  max-width: 1400px;
  border: none;
  border-top: 2px solid #c0d0ee55;
  margin: 2rem auto 2rem auto;
}

/*------index------*/

.index-sectionHeader {
  padding: 2rem 5vw;
  width: 100%;
  max-width: 1400px;
  margin: auto auto auto auto;
  animation:
    fadein 1s,
    slideRight 1s;
}
.index-sectionHeader h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #13294b;
}
.index-sectionHeader p {
  font-size: 1.2rem;
  max-width: 60%;
}

/*------qualifications------*/

.qualifications-section {
  padding: 2rem 5vw;
  margin: auto;
  max-width: 1400px;
  margin-bottom: 4rem;
}
.qualifications-header {
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.qualifications-title {
  color: #2155a4;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.qualifications-desc {
  color: #3c4858;
  font-size: 1.2rem;
  line-height: 1.5;
}
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.qualification-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(60, 72, 88, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.qualification-card:hover {
  box-shadow: 0 6px 24px rgba(60, 72, 88, 0.14);
}
.qualification-img {
  width: 100%;
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
  border-radius: 0.7rem;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60, 72, 88, 0.04);
}
.qualification-desc {
  font-size: 1.1rem;
  color: #3c4858;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .qualifications-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/*------about------*/

/*------careers------*/

.careers-section {
  padding: 0 5vw;
  padding-bottom: 2rem;
  width: 90%;
  max-width: 1400px;
  margin: auto auto auto auto;
  animation:
    fadein 1s,
    slideRight 1s;
}
.careers-title {
  font-size: 4.5rem;
  font-weight: bold;
  color: var(--blue2);
  text-align: left;
}
.careers-sub-title {
  font-size: 2rem;
  color: var(--blue2);
}
.careers-section p {
  font-size: 1.2rem;
  line-height: 1.5rem;
}
.careers-section hr {
  width: 100%;
}
.info {
  display: none;
}
.info.active {
  display: block;
}
.bambooHR {
  padding: 2rem 0 4rem 0;
}

/*------technical manuals------*/

/*------training development------*/

/*------product support------*/

/*------3d simulations------*/

/*------news feed------*/

.news-section {
  padding: 2rem 5vw;
  background: #f7f9fa;
  max-width: 1400px;
  margin: auto;
  animation:
    fadein 1s,
    slideRight 1s;
}
.news-section hr {
  width: 100%;
  margin-bottom: 4rem;
}
.news-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #23263b;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.news-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 340px;
  transition: box-shadow 0.2s;
  animation: fadin 2s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(60, 72, 88, 0.18);
}
.news-media {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  background: #eef2f5;
}
.news-meta {
  font-size: 0.9rem;
  color: #798094;
  margin: 1rem;
  margin-bottom: 0;
}
.news-content {
  padding: 1rem;
  flex: 1;
}
.news-content h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--blue2);
}
.news-content p {
  color: #51566c;
  font-size: 1rem;
  line-height: 1.5;
}
.news-media-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eef2f5;
}
.news-media {
  width: auto;
  max-width: 100%;
  max-height: 100%; /* adjust as needed for your layout */
  object-fit: contain; /* ensures full image is visible, not cropped */
  background: #eef2f5;
  display: block;
  margin: 0 auto;
}
.news-card .news-media-wrap:empty {
  display: none;
}
.news-meta a {
  margin-left: .4rem;
  color: var(--white);
  background-color: var(--blue2);
  text-decoration: none;
  border-radius: 32px;
  padding: 4px 8px 4px 8px;
}
.news-content a:hover {
  background-color: var(--blue3);
}

/*------community-------*/

.community-section {
  padding: 2rem 5vw;
  width: 90%;
  max-width: 1400px;
  margin: auto auto 4rem auto;
  animation:
    fadein 1s,
    slideRight 1s;
}
.community-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #13294b;
  text-align: left;
}
.community-section p {
  font-size: 1.2rem;
  padding-bottom: 2rem;
}
.community-section hr {
  width: 100%;
  margin-bottom: 4rem;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.community-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 130px;
  transition: box-shadow 0.2s;
}
.community-card:hover {
  box-shadow: 0 8px 24px rgba(60, 72, 88, 0.16);
}
.community-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

/*------contact------*/

.contact-section {
  padding: 2rem 5vw;
  max-width: 1400px;
  margin: auto auto 4rem auto;
  animation:
    fadein 1s,
    slideRight 1s;
}
.contact-section hr {
  width: 100%;
  margin-bottom: 2rem;
}
.contact-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #13294b;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 2rem;
  align-items: flex;
}
.contact-card {
  display: flex;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.2rem 2rem;
  flex-direction: column;
  justify-content: center;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.contact-info-block p {
  font-size: 1.2rem;
}
.contact-icon {
  min-width: 28px;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--blue2);
}
.contact-link {
  color: #397de3;
  text-decoration: none;
  font-weight: bold;
}
.contact-link:hover {
  text-decoration: underline;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  font-size: 1.1rem;
  border: 1px solid #d1d6e1;
  border-radius: 3px;
  outline: none;
  background: #fafbfc;
  color: #397de3;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #397de3;
}
.contact-form textarea {
  resize: vertical;
}
.contact-submit {
  align-self: flex-start;
  padding: 0.75em 2.2em;
  border: 1px solid #397de3;
  border-radius: 32px;
  background: #fff;
  color: #397de3;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.contact-submit:hover {
  background: #397de3;
  color: #fff;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .contact-card {
    padding: 1.2rem;
  }
  .contact-info {
    margin-bottom: 2rem;
  }
}

/*------request a quote form------*/

.quote-card {
  background: linear-gradient(45deg, #13294b, #2058a6);
  border-radius: 1.5rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-link:hover {
  text-decoration: underline;
}
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
::placeholder {
  color: lightgrey;
}
.quote-form input,
.quote-form textarea {
  padding: 0.9rem 1rem;
  font-size: 1.1rem;
  border: 1.6px solid #397de3;
  border-radius: 32px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: border-color 0.2s;
}
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: #fff;
}
.quote-form textarea {
  resize: vertical;
}
.quote-submit {
  background: rgba(255, 255, 255, 0.07);
  align-self: flex-start;
  padding: 0.75em 2.2em;
  border: 1.6px solid #397de3;
  border-radius: 32px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.4s;
}
.quote-submit:hover {
  background: #397de3;
  color: #fff;
}

@media (max-width: 900px) {
  .quote-card {
    padding: 1.2rem;
  }
  .quote-info {
    margin-bottom: 2rem;
  }
}

select {
  padding: 0.9rem 1rem;
  width: 100%;
  height: 3.5rem;
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1.6px solid #397de3;
  border-radius: 32px;

  /* Customize the arrow (optional) */
  appearance: menulist-button;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='8' height='13' viewBox='0 0 8 13'><polygon points='0,8 4,13 8,8' style='fill: #000'/><polygon points='4,0 0,5 8,5' style='fill: #000'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 25px; /* Add padding to make space for the arrow */
}
select option {
  color: #fff;
  background-color: var(--blue2);
  border-radius: none;
}
/* Styling the dropdown picker */
::picker(select) {
  border: none;
}

/* Styling options within the picker */
option {
  display: flex;
  justify-content: flex-start;
  border: none;
  padding: 10px;
  transition: 0.4s;
}

/* blog */

.blog-section {
  max-width: 1400px;
  margin: 64px auto 48px auto;
  padding: 0 18px;
}

.blog-title {
  color: var(--blue2);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  display: inline-block;
  padding-bottom: 1px;
}

.blog-grid {
  display: grid;
  width: 30%;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
}

.blog-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 14px rgba(32,88,166,0.09);
  border: 2px solid #e1eaf7;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.blog-card:hover {
  box-shadow: 0 6px 26px rgba(32,88,166,0.15);
  border-color: #b2c9ef;
}

.blog-card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e8f1fc;
  display: block;
}

.blog-card-body {
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.blog-card-heading {
  color: var(--blue2);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.blog-card-meta {
  font-size: 1rem;
  color: var(--blue3);
  font-weight: 700;
  margin-bottom: 2px;
  opacity: 0.83;
}

.blog-card-excerpt {
  font-size: 1.1rem;
  color: #222;
  opacity: 0.97;
  margin: 0 0 8px 0;
  flex: 1;
}

.blog-card-link {
  color: var(--blue3);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
  margin-top: 5px;
  border-radius: 32px;
  padding: 7px 18px;
  border: 1.4px solid var(--blue3);
  background: #f7faff;
  transition: background 0.16s, color 0.16s;
  align-self: flex-start;
}

.blog-card-link:hover {
  background: var(--blue3);
  color: #fff;
}

@media (max-width: 700px) {
  .blog-title { font-size: 1.1rem; }
  .blog-card-img img { height: 120px; }
  .blog-card-body { padding: 12px 7px 11px 9px; }
}

/* blog posts */
.blogpost-hero {
  max-width: 700px;
  margin: 2rem auto 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.blogpost-hero-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 2px 14px rgba(32,88,166,0.10);
  background: #e8f1fc;
}
.blogpost-meta {
  font-size: 1.1rem;
  color: var(--blue3);
  font-weight: 600;
  display: flex;
  gap: 19px;
  opacity: 0.85;
  margin-top: 6px;
}
.blogpost-title {
  font-size: 2.5rem;
  color: var(--blue2);
  font-weight: 900;
  line-height: ;
  margin-top: 0;
  margin-bottom: 0;
}

.blogpost-body {
  max-width: 700px;
  margin: 1rem auto 1rem auto;
  padding: 0 18px;
  font-size: 1.2rem;
  color: var(--blue1);
  line-height: 1.6;
}
.blogpost-body h2 {
  color: var(--blue2);
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 12px;
  font-weight: 800;
}
.blogpost-body ul {
  margin: 0 0 0 24px;
  padding: 0 0 0 18px;
  color: var(--blue2);
}
.blogpost-body li {
  margin-bottom: 11px;
  font-size: 1rem;
  color: var(--blue2);
}
.blogpost-body blockquote {
  background: #e8f1fc;
  color: #2058a6;
  border-left: 5px solid #2291ff;
  margin: 34px 0 34px 0;
  padding: 20px 30px 16px 19px;
  border-radius: 10px;
  font-style: italic;
  font-size: 1.05rem;
  box-shadow: 0 1px 8px #2058a611;
}
.blogpost-quote-author {
  display: block;
  margin-top: 7px;
  color: #2291ff;
  font-style: normal;
  font-size: 0.96rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .blogpost-title { font-size: 1.25rem; }
  .blogpost-hero-img { max-height: 180px; }
  .blogpost-body { font-size: 1.01rem; }
}


/* Call to Action */

.cta-card {
  width: 100%;
  max-width: 700px;
  margin: 4rem auto 4rem auto;
  padding: 32px 28px 28px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(32, 88, 166, 0.1);
  border: 2px solid #2058a6;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  /* Optional: animated border accent */
  overflow: hidden;
}
.cta-content h2 {
  color: #2058a6;
  font-size: 1.6rem;
  margin: 0 0 8px 0;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.cta-content p {
  font-size: 1.11rem;
  color: #18314c;
  margin-bottom: 12px;
  margin-top: 0;
}
.cta-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue2);
  border: none;
  border-radius: 22px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(32, 88, 166, 0.11);
}
.cta-btn:hover {
  background: #397de3 100%;
  box-shadow: 0 4px 18px rgba(32, 88, 166, 0.18);
}

/* Responsive */
@media (max-width: 600px) {
  .cta-card {
    max-width: 90%;
    padding: 22px 8px 18px 8px;
  }
  .cta-content h2 {
    font-size: 1.18rem;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}

.cta-corner {
  position: fixed;
  bottom: 28px;
  right: 32px;
  z-index: 999;
  background: #fff;
  border: 2.5px solid #2058a6;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(32, 88, 166, 0.13);
  padding: 26px 30px 24px 30px;
  max-width: 340px;
  width: 94vw;
  display: none;
  align-items: flex-start;
  animation: cta-fadein 0.7s;
  font-family: inherit;
}

@keyframes cta-fadein {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cta-corner-content {
  width: 100%;
  position: relative;
}
.cta-corner h3 {
  color: #2058a6;
  font-size: 1.19rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
}
.cta-corner p {
  margin: 0 0 13px 0;
  color: #18314c;
  font-size: 1.05rem;
}
.cta-corner-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue2) 55%, #397de3 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 30px;
  text-decoration: none;
  box-shadow: 0 1px 10px rgba(32, 88, 166, 0.1);
  transition:
    background 1s,
    box-shadow 0.18s;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.cta-corner-btn:hover {
  background: linear-gradient(90deg, var(--blue2) 35%, #397de3 100%);
  box-shadow: 0 3px 16px rgba(32, 88, 166, 0.18);
}
.cta-corner-close {
  position: absolute;
  top: 7px;
  right: 10px;
  border: none;
  background: transparent;
  color: #2058a6;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.44;
  transition: opacity 0.18s;
  z-index: 2;
  padding: 0;
}
.cta-corner-close:hover {
  opacity: 1;
}

@media (max-width: 700px) {
  .cta-corner {
    right: 10px;
    left: 10px;
    max-width: 98vw;
    padding: 15px 12px 14px 16px;
    border-radius: 14px;
  }
  .cta-corner h3 {
    font-size: 1.08rem;
  }
  .cta-corner-btn {
    font-size: 0.96rem;
    padding: 9px 0;
    width: 100%;
    text-align: center;
  }
}
