/*

Highway Template

https://templatemo.com/tm-520-highway

*/

* {
  box-sizing: border-box;
}

body {
  font-family: 'Kanit', sans-serif;
  background: transparent;
}

.quote-form-section {
  background: transparent;
  padding: 170px 0 30px;
}

.quote-form-wrap {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(13,61,102,0.14);
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
  padding: 30px 28px;
}

.quote-form-header {
  text-align: center;
  margin-bottom: 24px;
}

.quote-form {
  width: 100%;
}

.quote-row {
  margin-bottom: 20px;
}

.quote-row.two-col {
  display: flex;
  gap: 24px;
}

.quote-field {
  width: 100%;
}

.quote-row.two-col .quote-field {
  flex: 1;
}

.quote-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
  font-weight: 500;
  color: #0d3d66;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  border: 1px solid rgba(13,61,102,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  color: #123a58;
  padding: 12px 14px;
  font-size: 1.6rem;
  outline: none;
}

.quote-field input:focus,
.quote-field textarea:focus {
  border-color: rgba(13,61,102,0.6);
  box-shadow: 0 0 0 3px rgba(13,61,102,0.08);
}

.otp-field-wrap,
.otp-verify-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.otp-field-wrap input,
.otp-verify-wrap input {
  flex: 1;
}

.otp-btn,
.verify-btn,
.quote-send-btn,
.quote-cancel-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.otp-btn,
.verify-btn {
  background: #0d3d66;
  color: #fff;
  min-width: 110px;
}

.otp-btn:hover,
.verify-btn:hover {
  background: #0a2d4f;
}

.quote-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.quote-send-btn {
  background: #0d3d66;
  color: #fff;
  min-width: 120px;
}

.quote-cancel-btn {
  background: #dfeaf5;
  color: #0d3d66;
  min-width: 120px;
}

.quote-send-btn:hover {
  background: #0a2d4f;
}

.quote-cancel-btn:hover {
  background: #d2e1f2;
}

.contact-offices {
  background: transparent;
  padding: 110px 0 50px;
}

.section-title,
.office-title {
  margin: 0 0 40px;
  text-align: center;
  color: #0d3d66;
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.office-stack + .office-stack {
  margin-top: 30px;
}

.office-card {
  display: flex;
  align-items: stretch;
  min-height: 295px;
  background: #0d3d66;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(14, 42, 62, 0.12);
}

.office-map {
  flex: 1.32;
  width: 100%;
  min-height: 295px;
  border: 0;
  filter: grayscale(0.15) contrast(1.08) saturate(0.9);
}

.office-details {
  flex: 0.8;
  background: linear-gradient(180deg, #0d3d66 0%, #0b3257 100%);
  color: #fff;
  padding: 28px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.office-details h3 {
  margin: 0 0 18px;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.38);
}

.office-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.office-address .icon {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-top: 3px;
}

.office-address address {
  margin: 0;
  font-style: normal;
  line-height: 1.8;
  font-size: 2rem;
  color: rgba(255,255,255,0.95);
}

footer {
  background: rgba(13, 61, 102, 0.95);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 10px 0;
}

.footer-copy-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: auto;
}

.footer-copy-right {
  align-items: center;
  text-align: center;
}

.footer-content p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 1.4rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-whatsapp,
.footer-instagram,
.footer-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-whatsapp {
  color: #25D366;
  background: #fff;
}

.footer-instagram {
  color: #E1306C;
  background: #fff;
}

.footer-email {
  color: #EA4335;
  background: #fff;
}

.footer-whatsapp:hover,
.footer-instagram:hover,
.footer-email:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}

@media (max-width: 991px) {
  .office-card {
    flex-direction: column;
  }

  .office-map {
    min-height: 260px;
  }

  .office-details {
    padding: 24px 18px 20px;
  }
}

@media (max-width: 767px) {
  .contact-offices {
    padding-top: 135px;
  }

  .office-title {
    font-size: 2.4rem;
  }

  .office-details h3 {
    font-size: 2rem;
  }

  nav {
    height: 58px;
    min-height: 58px;
    padding: 0 10px 0 8px;
  }

  nav .logo {
    padding-left: 0;
    gap: 6px;
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
    overflow: hidden;
    line-height: 1;
  }

  nav .logo a {
    font-size: clamp(1.15rem, 3.8vw, 1.55rem);
    letter-spacing: 0.15px;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 800;
  }

  nav .logo em {
    font-weight: 800;
  }

  .nav-logo-img,
  nav .logo img {
    width: 28px;
    margin-right: 0;
    flex-shrink: 0;
  }

  .menu-icon {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    flex-shrink: 0;
    padding: 0;
  }

  .overlay-menu {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    right: auto;
    padding: 48px 18px 24px;
    box-shadow: -2px 0 16px rgba(0,0,0,0.22);
    transform: translateX(100%);
  }

  .overlay-menu.open {
    transform: translateX(0);
  }

  .overlay-menu .overlay-header {
    padding: 8px 8px 0;
  }

  .overlay-menu ul {
    margin-top: 28px;
  }

  .overlay-menu ul li {
    padding: 12px 0;
  }

  .overlay-menu ul li a {
    font-size: 1.8rem;
  }

  #video-container {
    height: 72vh;
    min-height: 420px;
  }

  #video-container video,
  .video-overlay {
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #video-container .video-content {
    padding-top: 72px;
  }

  #video-container .video-content .inner {
    justify-content: center;
    padding: 0 18px;
    align-items: center;
  }

  #video-container .video-content .inner p {
    font-size: clamp(1.2rem, 3.5vw, 1.7rem);
    line-height: 1.35;
    padding: 0 10px;
  }
}

body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.9);
}
/* Add a thumb */
body::-webkit-scrollbar-thumb {
    background: rgba(250, 250, 250, 0.5);
}

body, html {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
}


.page-heading {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.page-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  filter: grayscale(1) brightness(1.08) blur(1px);
  transform: scale(1.05);
  z-index: 0;
}

body.about-page .page-heading {
  background-image: url(../img/about_bg.png);
}

body.about-page .page-heading::before {
  background-image: url(../img/about_bg.png);
}

body.services-page .page-heading {
  background-image: url(../img/heading_bg.png);
}

body.services-page .page-heading::before {
  background-image: url(../img/heading_bg.png);
  filter: blur(2px) brightness(0.9);
}

.page-heading .heading-content {
  position: relative;
  z-index: 1;
}

.page-heading .heading-content h1 {
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  background-color: rgba(250,250,250,0.1);
  display: inline-block;
  margin-bottom: 0;
  margin-top: 220px;
  padding: 20px 60px;
}

.page-heading .heading-content em {
  font-style: normal;
  font-weight: 200;
}



/* Nav Bar */

nav .logo {
  display: flex;
  align-items: center;
  padding-left: 8px;
  gap: 8px;
  margin: 0;
  line-height: 1;
}

nav .logo a {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  line-height: 1;
  font-weight: 800;
}

/* nav logo image */
.nav-logo-img,
nav .logo img {
  width: 32px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}

nav .logo em {
  font-style: normal;
  font-weight: 500;
}

nav.nav-blue .logo a,
nav.nav-blue .logo em,
nav.nav-blue .panel-logo a,
nav.nav-blue .panel-logo em {
  color: #0d3d66;
}

nav.nav-blue .menu-icon {
  border-color: #0d3d66;
}

nav.nav-blue .menu-icon svg rect {
  fill: #0d3d66;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
  padding-right: 8px;
}

.nav-links a {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

nav {
  /* default: transparent header for most pages */
  background: rgba(250,250,250,0.0);
  height: 54px;
  min-height: 54px;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 300;
  box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 6px;
  box-sizing: border-box;
}

/* About page matches homepage styling */
.about-page nav,
.services-page nav,
.contact-page nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(13, 61, 102, 0.12);
  box-shadow: 0px 1px 0px rgba(13, 61, 102, 0.08);
}

.about-page nav .logo a,
.about-page nav .logo em {
  color: #0d3d66;
}

.about-page nav .nav-links a,
.services-page nav .nav-links a,
.contact-page nav .nav-links a {
  color: #0d3d66;
}

.about-page .menu-icon {
  border: 1px solid #0d3d66;
}

.about-page .menu-icon svg rect {
  fill: #0d3d66;
}

.about-page nav.nav-blue .logo a,
.services-page nav.nav-blue .logo a,
.about-page nav.nav-blue .logo em,
.services-page nav.nav-blue .logo em {
  color: #0d3d66;
}

.about-page nav.nav-blue .menu-icon,
.services-page nav.nav-blue .menu-icon {
  border-color: #0d3d66;
}

.about-page nav.nav-blue .menu-icon svg rect,
.services-page nav.nav-blue .menu-icon svg rect {
  fill: #0d3d66;
}

.contact-page nav .logo a {
  color: #0d3d66;
}

.contact-page .menu-icon {
  border: 1px solid #0d3d66;
}

.contact-page .menu-icon svg rect {
  fill: #0d3d66;
}

.clients-section {
  padding: 20px 0 50px;
  background: rgba(255, 255, 255, 0.04);
}

.clients-header {
  text-align: center;
  margin-bottom: 18px;
}

.clients-header h2 {
  color: #0d3d66;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}

.clients-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.clients-viewport {
  position: relative;
  overflow: hidden;
  flex: 1;
  height: 120px;
  border: 1px solid rgba(13, 61, 102, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px rgba(13, 61, 102, 0.08);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  height: 100%;
  padding: 14px 10px;
  will-change: transform;
  animation: clients-marquee 20s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes clients-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

.clients-set {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  height: 100%;
}

.clients-set img {
  height: 72px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.1) contrast(1.05);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
}

.clients-nav {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #0d3d66;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(13, 61, 102, 0.18);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.clients-nav:hover {
  transform: scale(1.05);
  opacity: 1;
}

@media (max-width: 767px) {
  .clients-header h2 {
    font-size: 2rem;
  }

  .clients-viewport {
    height: 100px;
  }

  .clients-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .clients-set img {
    height: 58px;
    max-width: 130px;
    padding: 8px 10px;
  }
}

.menu-icon {
  display: none !important;
}

.overlay-menu {
  display: none !important;
}

@media (max-width: 767px) {
  nav {
    height: 64px;
    padding: 0 8px 0 6px;
  }

  .nav-links {
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding-right: 4px;
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  nav {
    height: 58px;
    padding: 0 6px 0 4px;
  }

  nav .logo {
    max-width: 48%;
    min-width: 0;
  }

  nav .logo a {
    font-size: 0.96rem;
    letter-spacing: 0.08px;
  }

  .nav-links {
    gap: 6px 7px;
    padding-right: 2px;
  }

  .nav-links a {
    font-size: 0.56rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 360px) {
  nav {
    height: 54px;
    padding: 0 4px 0 2px;
  }

  nav .logo {
    max-width: 44%;
  }

  nav .logo a {
    font-size: 0.82rem;
    letter-spacing: 0.04px;
  }

  .nav-links {
    gap: 4px 5px;
  }

  .nav-links a {
    font-size: 0.48rem;
    letter-spacing: 0.02em;
  }
}



#video-container  {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  z-index: 1;
  background: #0c233f;
}

#video-container video,
.video-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#video-container .video-overlay {
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  width: 100%;
}

#video-container .video-content {
  z-index: 99999;
  position: absolute;
  height: 100%;
  width: 100%;
}

#video-container .video-content .inner {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
}

#video-container .video-content .inner h1 {
  font-size: 64px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 600;
  text-align: center;
}

#video-container .video-content .inner em {
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 767px) {
  #video-container .video-content .inner h1 {
    font-size: clamp(2.2rem, 7vw, 4rem) !important;
    line-height: 0.96 !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  #video-container .video-content .inner p {
    font-size: clamp(1.1rem, 3.5vw, 1.8rem);
    line-height: 1.35;
    letter-spacing: 0.8px;
    padding: 0 18px;
  }
}

@media (max-width: 520px) {
  #video-container .video-content .inner h1 {
    font-size: clamp(1.5rem, 7.2vw, 2.3rem) !important;
    white-space: nowrap !important;
    letter-spacing: 0.1px !important;
    line-height: 0.98 !important;
  }

  #video-container .video-content .inner p {
    font-size: clamp(0.8rem, 3.7vw, 1.1rem);
    letter-spacing: 0.35px;
    padding: 0 12px;
    line-height: 1.4;
  }
}

@media (max-width: 360px) {
  #video-container .video-content .inner h1 {
    font-size: clamp(1.3rem, 7vw, 1.8rem) !important;
    letter-spacing: 0.08px !important;
  }

  #video-container .video-content .inner p {
    font-size: 0.72rem;
    letter-spacing: 0.2px;
    padding: 0 8px;
  }
}

@media (max-width: 520px) {
  .page-heading {
    min-height: 130px;
    padding-top: 16px;
  }

  .page-heading .heading-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    line-height: 1.1;
  }

  .services,
  .vision-mission,
  .more-about-us,
  .contact-offices {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .about-us-panel,
  .more-about-us .content.founder-content-box,
  .founder-content-box {
    padding: 18px 14px;
  }

  .about-us-panel h2,
  .founder-text-wrap h2 {
    font-size: 2.1rem;
  }

  .office-card {
    padding: 12px;
  }

  .office-details h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 360px) {
  .page-heading {
    min-height: 118px;
    padding-top: 10px;
  }

  .page-heading .heading-content h1 {
    font-size: clamp(1.5rem, 7vw, 2.1rem);
  }

  .services,
  .vision-mission,
  .more-about-us,
  .contact-offices {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .about-us-panel h2,
  .founder-text-wrap h2 {
    font-size: 1.8rem;
  }
}

#video-container .video-content .inner p {
  color: #fff;
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 0px 30px;
}

#video-container .video-content .inner a {
  color: #fff;
  text-decoration: underline;
}

#video-container .video-content .inner .scroll-icon {
  margin-top: 45px;
}

.full-screen-portfolio .container-fluid,
.full-screen-portfolio .col-md-4, .col-md-8 {
  padding-left: 0px;
  padding-right: 0px;
}


.portfolio-item img {
  width: 100%;
  overflow: hidden;
}

.portfolio-item .thumb {
  position: relative;
}


.portfolio-item .hover-effect .hover-content {
    position: absolute;
    text-align: left;
    width: 100%;
    bottom: 0;
    left: 0;
}


.full-screen-portfolio .portfolio-item h1 {
  position: relative;
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  padding-left: 20px;
  line-height: 15px;
  transform: translateY(25px);
  transition: .5s ease-in-out;
  letter-spacing: 0.5px;
 }

 .full-screen-portfolio .portfolio-item em {
  font-style: normal;
  font-weight: 200;
 }

.full-screen-portfolio .portfolio-item:hover h1 {
  transform: translateY(0);
 }

.full-screen-portfolio .portfolio-item p {
  padding-left: 20px;
  font-weight: 300!important;
  letter-spacing: 0.5px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: .5s ease-in-out;
  text-transform: uppercase;
 }

 .full-screen-portfolio .portfolio-item {
 text-align: center;
 line-height: 150%;
 text-transform: lowercase;
 cursor: pointer;
}

.full-screen-portfolio .portfolio-item:hover p {
  opacity: 1;
  transform: translateY(0);
 }




.popup-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 300;
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
}

.popup-icon button {
  background-color: transparent;
  outline: none;
  border: none;
}

.modal-btn img {
  width: 60px;
  height: 60px;
}

.whatsapp-confirm {
  display: none;
  position: relative;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(13,61,102,0.12);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  padding: 10px 14px;
  min-width: 170px;
}

.whatsapp-confirm.open {
  display: block;
}

.whatsapp-confirm .whatsapp-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.whatsapp-confirm .whatsapp-link-btn:hover {
  color: #fff;
  text-decoration: none;
  background: #1ebc5a;
}

/* Modal */
.modal {
  background-color: rgba(0,0,0,.95);
  display: none;
  overflow: auto;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: all 0.6s;
  overflow: scroll;
}

.modal::-webkit-scrollbar {
  display: none;
}

/* Modal Content */
.modal-content {
  text-align: center;
  position: relative;
  top: 0;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
}
.modal-animated-in {
  animation: totop-in .6s ease;
}
.modal-animated-out {
  animation: totop-out .6s ease forwards;
}
.modal-header {
  border-bottom: none;
}
.modal-header h3 {
  color: #fff;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 64px;
  margin-top: 5%;
  border-bottom: none;
  margin-bottom: 20px;
}

.modal-header em {
  font-style: normal;
  font-weight: 200;
}

.modal-content .close-btn {
  position: absolute;
  z-index: 99999999;
  color: #fff;
  right: 38px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
}

.modal-body {
  text-align: center;
  margin: 0 auto;
}

.modal-body input {
  border-radius: 5px;
  padding-left: 15px;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  background-color: rgba(250, 250, 250, 0.15);
  outline: none;
  border: none;
  box-shadow: none;
  line-height: 40px;
  height: 40px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.modal-body textarea {
  border-radius: 5px;
  padding-left: 15px;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 200;
  color: #fff;
  background-color: rgba(250, 250, 250, 0.15);
  outline: none;
  border: none;
  box-shadow: none;
  height: 165px;
  max-height: 220px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  margin-bottom: 25px;
}

.modal-body button {
  border-radius: 0px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  background-color: transparent;
  color: #fff;
  letter-spacing: 2px;
  border-bottom: 3px solid #fff;
  display: inline-block;
  padding: 0px 0px 3px 0px;
  transition: all 0.5s;
  border-top: none;
  border-right: none;
  border-left: none;
}

.modal-body button:hover {
  color: rgba(250,250,250,0.5);
  border-color: rgba(250,250,250,0.5);
  outline: none;
}

/* Keyframes */
@keyframes totop-in {
  0% {
    top: 600px;
    opacity: 0;
  }
  100% {
    top: 0%;
    opacity: 1;
  }  
}

@keyframes totop-out {
  0% {
    top: 0px;
    opacity: 1;
  }
  100% {
    top: -100%;
    opacity: 0;
  }  
}



footer {
  width: 100%;
  background-color: #313131;
  height: auto;
  padding: 30px 0;
}

footer .row {
  align-items: center;
}

footer p {
  text-align: center;
  color: #fff;
  font-weight: 200;
  font-size: 13px;
  margin: 0;
  letter-spacing: 0.5px;
}

footer h4 {
  color: #fff;
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
}

footer address {
  color: #d1d1d1;
  font-style: normal;
  font-size: 13px;
  line-height: 1.4;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
  color: #aaa;
}



.masonry-portfolio .container-fluid {
  padding-right: 0px;
  padding-left: 0px;
}

.masonry .col-md-4, .masonry .col-md-8 {
  padding-right: 0px;
  padding-left: 0px;
}

.masonry {
  width: 100%;
  background-color: transparent;
  position: relative;
}

.masonry .item {
  display: inline-block;
  float: left;
}

.masonry .first-item {
  margin-bottom: -0.5px;
}

.masonry .last-item {
  float: left;
}

.masonry .item img {
  width: 100%;
  overflow-y: hidden;
}

.masonry .item .thumb {
  position: relative;
}

.masonry .item .hover-effect .hover-content {
    position: absolute;
    text-align: left;
    width: 100%;
    bottom: 5px;
    left: 0;
}


.masonry .item h1 {
  position: relative;
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  padding-left: 20px;
  line-height: 15px;
  transform: translateY(25px);
  transition: .5s ease-in-out;
  letter-spacing: 0.5px;
 }

.masonry .item em {
  font-style: normal;
  font-weight: 200;
 }

.masonry .item:hover h1 {
  transform: translateY(0);
 }

.masonry .item p {
  padding-left: 20px;
  font-weight: 300!important;
  letter-spacing: 0.5px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: .5s ease-in-out;
  text-transform: uppercase;
 }

.masonry .item {
 text-align: center;
 line-height: 150%;
 text-transform: lowercase;
 cursor: pointer;
}

.masonry .item:hover p {
  opacity: 1;
  transform: translateY(0);
 }




.grid-portfolio {
  padding: 65px 0px;
  background-color: #232323;
}

.grid-portfolio .portfolio-item {
  margin: 15px 0px;
}

.portfolio-item .hover-effect .hover-content {
    position: absolute;
    text-align: left;
    width: 100%;
    bottom: 5px;
    left: 0;
}


.grid-portfolio .portfolio-item h1 {
  position: relative;
  font-size: 22px;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  padding-left: 20px;
  line-height: 15px;
  transform: translateY(25px);
  transition: .5s ease-in-out;
  letter-spacing: 0.5px;
 }

 .grid-portfolio .portfolio-item em {
  font-style: normal;
  font-weight: 200;
 }

.grid-portfolio .portfolio-item:hover h1 {
  transform: translateY(0);
 }

.grid-portfolio .portfolio-item p {
  padding-left: 20px;
  font-weight: 300!important;
  letter-spacing: 0.5px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: .5s ease-in-out;
  text-transform: uppercase;
 }

.grid-portfolio .portfolio-item:hover p {
  opacity: 1;
  transform: translateY(0);
 }

 .grid-portfolio .load-more-button {
  margin-top: 15px;
 }

 .grid-portfolio .load-more-button a {
  width: 100%;
  height: 80px;
  display: inline-block;
  text-align: center;
  line-height: 80px;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  color: #fff;
  background-color: #313131;
  transition: all 0.5s;
 }

 .grid-portfolio .load-more-button a:hover {
  color: rgba(250,250,250,0.5);
 }

 .services {
  background-color: #f4f8fc;
  padding: 65px 0px;
 }

 .services .container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
 }

 .services [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
 }

 .services .service-item {
  margin: 0;
  padding: 20px;
  text-align: center;
  transition: all 0.5s;
  background: #ffffff;
  border: 1px solid rgba(13,61,102,0.12);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
 }

  .services .service-item:hover {
    background-color: #f7fbff;
  }

 .services .service-item .icon {
  width: 50px;
  height: 50px;
  text-align: center;
  display: inline-block;
  line-height: 50px;
  margin: 0 auto;
 }

.services .service-item .icon img {
  max-width: 100%;
}

.services .service-item .text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

.services .service-item h4 {
  margin-top: 20px;
  color: #0d3d66;
  font-size: 20px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-weight: 500;
  min-height: 52px;
}

.services .service-item p {
  color: #123a58;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  margin-bottom: 0;
}

.vision-mission {
  background: linear-gradient(180deg, #f5f5f5 0%, #efefef 100%);
  padding: 70px 0 60px;
}

.vision-mission .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.vision-mission .section-title h2 {
  color: #0d3d66;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
}

.vision-mission-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.vision-card {
  flex: 1 1 320px;
  max-width: 460px;
  background: linear-gradient(145deg, #ffffff, #f2f2f2);
  border: 1px solid rgba(13,61,102,0.12);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease forwards;
}

.vision-card:nth-child(2) {
  animation-delay: 0.15s;
}

.vision-card .card-label {
  display: block;
  font-size: 22px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #0d3d66;
  margin-bottom: 8px;
}

.vision-card h3 {
  color: #111111;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 10px;
}

.vision-card p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 24px;
  margin: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.more-about-us {
  background: #f4f8fc;
  padding: 90px 0px;
  width: 100%;
  text-align: center;
}

.more-about-us .content {
  background: #ffffff;
  border: 1px solid rgba(13,61,102,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  text-align: center;
  padding: 40px 35px;
  color: #123a58;
  border-radius: 16px;
}

.more-about-us .content h2 {
  margin-top: 0px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: #0b3d6d;
}

.more-about-us .content span {
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  color: #2563a8;
}

.more-about-us .content p {
  color: #33516b;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  text-align: justify;
}

.more-about-us .content .simple-btn {
  margin-top: 30px;
}

.more-about-us .content .simple-btn a {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  background-color: transparent;
  color: #fff;
  letter-spacing: 2px;
  border-bottom: 3px solid #fff;
  padding-bottom: 3px;
  text-decoration: none;
  transition: all 0.5s;
}

.more-about-us .content .simple-btn a:hover {
  opacity: 0.5;
}

.more-about-us .about-us-layout {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  row-gap: 20px;
}

.more-about-us [class*="col-"] {
  display: flex;
}

@media (max-width: 767px) {
  .more-about-us .about-us-layout {
    row-gap: 22px;
  }
}

.about-us-panel {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  height: 100%;
  width: 100%;
  margin: 0;
}

.about-us-panel h2 {
  margin-top: 0;
  font-size: 3.2rem;
  font-weight: 700;
  color: #0d3d66;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-us-panel h3 {
  font-size: 20px;
  font-weight: 600;
  color: #e8f6ff;
  margin: 22px 0 10px;
}

.about-us-panel p,
.about-us-panel li {
  color: #123a58;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  text-align: justify;
}

.about-us-panel ul {
  padding-left: 18px;
  margin: 0;
}

.about-us-panel li {
  margin-bottom: 10px;
}

.more-about-us .content.founder-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
  border: 1px solid rgba(13,61,102,0.12);
  width: 100%;
  margin: 0;
  text-align: center;
}

.founder-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
  border: 1px solid rgba(13,61,102,0.12);
  width: 100%;
  margin: 0;
}

.founder-photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px 0 8px;
  width: 100%;
}

.founder-photo-wrap img {
  display: block;
  width: 140px;
  max-width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid rgba(13,76,138,0.16);
  box-shadow: 0 8px 16px rgba(11,61,109,0.16);
}

.founder-text-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.founder-text-wrap h2 {
  margin: 0 0 12px;
  text-align: center;
  color: #0d3d66;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.founder-text-wrap span {
  font-size: 13px;  
}

.founder-text-wrap p {
  font-size: 13px;
  line-height: 10px;
  margin-bottom: 8px;
}

.founder-section {
  padding: 80px 0px;
  background-color: #f7f7f7;
}

.founder-image-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.founder-image-box img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.founder-content {
  padding-left: 20px;
}

.founder-content h2 {
  margin-top: 0px;
  font-size: 32px;
  font-weight: 300;
  color: #232323;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.founder-content span {
  display: inline-block;
  font-size: 16px;
  color: #777;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.founder-content p {
  color: #555;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
}



.pricing-tables {
  padding: 65px 0px;
  background-color: #232323;
}

.pricing-tables .table-item {
  padding: 60px 0px;
  margin: 15px 0px;
  text-align: center;
  background-color: #313131;
}

.pricing-tables .table-item h4 {
  margin-top: 0px;
  font-size: 36px;
  font-weight: 200;
  color: #f4dd5b;
  letter-spacing: 0.5px;
}

.pricing-tables .table-item span {
  font-size: 17px;
  display: inline-block;
  color: #aaa;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  border-bottom: 1px solid #414141;
  width: 100%;
  padding-bottom: 40px;
}

.pricing-tables .table-item ul {
  list-style: none;
  padding: 0;
  margin-top: 35px;
}

.pricing-tables .table-item ul li {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 15px 0px;
}

.pricing-tables .table-item .simple-btn {
  margin-top: 40px;
  padding-bottom: 10px;
}

.pricing-tables .table-item .simple-btn a {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  background-color: transparent;
  color: #f4dd5b;
  letter-spacing: 2px;
  border-bottom: 3px solid #f4dd5b;
  padding-bottom: 3px;
  text-decoration: none;
  transition: all 0.5s;
}

.pricing-tables .table-item .simple-btn a:hover {
  opacity: 0.5;
}

.pricing-tables .premium-item {
  background-color: #f4dd5b;
}

.pricing-tables .premium-item h4, .pricing-tables .premium-item span, .pricing-tables .premium-item ul li, .pricing-tables .premium-item .simple-btn a {
  color: #232323;
  border-color: #232323;
}



.blog-entries {
  padding: 80px 0px;
  background-color: #232323;
}


.blog-entries .blog-posts {
  margin-right: 30px;
}


.blog-post {
  border-bottom: 1px solid #414141;
  padding-bottom: 65px;
  margin-bottom: 60px;
}

.blog-post img {
  width: 100%;
  overflow-y: hidden;
}

.blog-post .text-content {
  margin-top: 30px;
}

.blog-post .text-content span {
  font-size: 16px;
  font-weight: 200;
  color: #fff;
  letter-spacing: 0.5px;
}

.blog-post .text-content span a {
  color: #f4dd5b;
  text-decoration: none;
}

.blog-post .text-content h2 {
  margin-top: 5px;
  font-size: 36px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  font-weight: 300;
}

.blog-post .text-content p {
  color: #bbb;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  margin-top: 20px;
}

.blog-post .text-content .simple-btn {
  margin-top: 25px;
}

.blog-post .text-content .simple-btn a {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  background-color: transparent;
  color: #fff;
  letter-spacing: 2px;
  border-bottom: 3px solid #fff;
  padding-bottom: 3px;
  text-decoration: none;
  transition: all 0.5s;
}

.blog-post .text-content .simple-btn a:hover {
  opacity: 0.5;
}

.blog-entries .page-number {
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-entries .page-number li {
  display: inline-block;
  margin-right: 3px;
}

.blog-entries .page-number li:last-child {
  margin-right: 0px;
}

.blog-entries .page-number li.active a {
  color: #232323;
  background-color: #fff;
}

.blog-entries .page-number li.active a:hover {
  opacity: 1;
}

.blog-entries .page-number li a {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  width: 50px;
  height: 50px;
  display: inline-block;
  line-height: 50px;
  text-align: center;
  background-color: #414141;
  transition: all 0.5s;
}

.blog-entries .page-number li a:hover {
  opacity: 0.5;
}

.single-blog-post {
  margin-right: 30px;
}

.single-blog-post img {
  width: 100%;
  overflow-y: hidden;
}

.single-blog-post .text-content {
  margin-top: 20px;
}

.single-blog-post .text-content span {
  font-size: 16px;
  font-weight: 200;
  color: #fff;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #414141;
  padding-bottom: 25px;
  display: inline-block;
  width: 100%;
  margin-bottom: 0px;
}

.single-blog-post .text-content span a {
  color: #f4dd5b;
  text-decoration: none;
}

.single-blog-post .text-content h2 {
  margin-top: 0px;
  font-size: 36px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  font-weight: 300;
}

.single-blog-post .text-content p {
  color: #bbb;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.single-blog-post .tags-share {
  border-top: 1px solid #414141;
  border-bottom: 1px solid #414141;
  padding: 8px 0px 10px 0px;
}

.single-blog-post .tags-share ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.single-blog-post .tags-share ul li:first-child {
  color: #fff;
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 0.5px;
}

.single-blog-post .tags-share ul li {
  display: inline-block;
  color: #fff;
}

.single-blog-post .tags-share ul li a {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 0.5px;
  color: #f4dd5b;
  text-decoration: none;
  transition: all 0.5s;
}

.single-blog-post .tags-share ul li a:hover {
  opacity: 0.5;
}

.single-blog-post .tags-share .share {
  text-align: right;
}

.blog-entries .search input {
  background-color: rgba(250,250,250,0.1);
  width: 100%;
  height: 50px;
  line-height: 50px;
  padding-left: 15px;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  border-radius: 0px;
  outline: none;
  border: none;
}

.sidebar-heding h2 {
  font-size: 20px;
  text-transform: capitalize;
  color: #fff;
  margin-top: 40px;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #414141;
  margin-bottom: 20px;
}

.archives ul, .categories ul {
  margin-top: -5px;
  padding: 0;
  list-style: none;
}

.archives ul li, .categories ul li {
  margin-bottom: 12px; 
}

.archives ul li:last-child, .categories ul li:last-child {
  margin-bottom: 0px; 
}

.archives ul li a, .categories ul li a {
  font-size: 15px;
  font-weight: 200;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.5s;
}


.archives ul li a:hover, .categories ul li a:hover {
  opacity: 0.5;
}

.recent-posts ul {
  padding: 0;
  list-style: none;
}

.recent-posts ul li {
  margin-bottom: 15px;
}

.recent-posts ul a {
  text-decoration: none;
}

.recent-posts ul li img {
  display: inline-block;
  max-width: 100%;
  margin-right: 15px;
}

.recent-posts ul li .text {
  display: inline-block;
}

.recent-posts ul li h6 {
  margin-bottom: 5px;
  padding-top: 0px;
  margin-top: 0px;
  display: block;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.5px;
}

.recent-posts ul li span {
  display: inline-block;
  font-size: 14px;
  font-weight: 200;
  color: #f4dd5b;
}


.latest-gallery ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.latest-gallery ul li {
  display: inline-block;
  max-width: 59px;
  overflow-y: hidden;
  margin-bottom: 3px;
  margin-right: 1px;
}

.latest-gallery ul li:nth-child(4){
  margin-right: 0px;
}

.latest-gallery ul li:nth-child(8){
  margin-right: 0px;
}

.latest-gallery ul li img {
  width: 100%;
  transition: all 0.5s;
}

.latest-gallery ul li img:hover {
  cursor: pointer;
  opacity: 0.5;
}




@media (max-width: 530px) {

  .modal-header h3 {
    margin-top: 15%;
  }

  .modal-body input {
    width: 100%;
  }

  .modal-body textarea {
    width: 100%;
  }

  .modal-content {
    padding-bottom: 40px;
  }

  .grid-portfolio {
    padding: 0px 0px;
  }

  .grid-portfolio .portfolio-item {
    margin: 30px 0px;
  }

  .grid-portfolio .load-more-button {
    padding-bottom: 30px;
  }

  .more-about-us .content {
    padding: 60px 30px;
  }

}


@media (max-width: 992px) {

  .blog-entries .blog-posts {
    margin-right: 0px;
  }

  .single-blog-post {
    margin-right: 0px;
    margin-bottom: 80px;
  }

  .blog-entries .page-number {
    margin-bottom: 80px;
  }

  .single-blog-post .tags-share .tags {
    text-align: center;
  }

  .single-blog-post .tags-share .share {
    text-align: center;
  }

}