/*
========================================
  GYTICAL VENTURES LTD
  Main Stylesheet - gvl.css
========================================
*/

/*---------------------------------------
  CUSTOM PROPERTIES
-----------------------------------------*/

:root {
  --white-color: #ffffff;
  --primary-color: #ffc107;
  --section-bg-color: #f9f9f9;
  --dark-color: #000000;
  --grey-color: #fcfeff;
  --text-secondary-white-color: rgba(255, 255, 255, 0.98);
  --title-color: #565758;
  --p-color: #717275;

  --gvl-blue: #4472c4;
  --gvl-dark-blue: #1f4e79;
  --gvl-navy: #142b50;
  --gvl-yellow: #ffc000;
  --gvl-teal: #087f7b;
  --gvl-light-bg: #f5f7fa;
  --gvl-grey-bg: #f7f9fb;

  --body-font-family: 'Noto Sans JP', sans-serif;

  --h1-font-size: 72px;
  --h2-font-size: 42px;
  --h3-font-size: 36px;
  --h4-font-size: 32px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --copyright-text-font-size: 14px;
  --custom-link-font-size: 12px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}


/*---------------------------------------
  GLOBAL
-----------------------------------------*/

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  position: relative;
  background: var(--white-color);
  font-family: var(--body-font-family);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}


/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}


/*---------------------------------------
  COMMON LINKS
-----------------------------------------*/

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.custom-link::after {
  content: "";
  position: absolute;
  left: auto;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-link:hover::after {
  left: 0;
  right: auto;
  width: 100%;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}


/*---------------------------------------
  HERO
-----------------------------------------*/

.hero {
  position: relative;
  overflow: hidden;
}

.videoWrapper {
  position: relative;
  z-index: -100;
  height: 0;
  padding-bottom: 56.25%;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, #000, transparent 90%);
}

.heroText {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9;
  width: 85%;
  text-align: center;
  transform: translate(-50%, -50%);
}


/*---------------------------------------
  NAVIGATION
-----------------------------------------*/

.navbar {
  position: relative;
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-brand:hover {
  color: var(--gvl-blue);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
}

.navbar-nav .nav-link::after {
  content: "\f140";
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  font-family: bootstrap-icons;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  transform: translateY(0);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus,
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}


/*---------------------------------------
  NAVBAR TOGGLER
-----------------------------------------*/

.navbar-toggler {
  width: 30px;
  height: 35px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 2px;
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--dark-color);
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease;
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  ABOUT
-----------------------------------------*/

#about {
  margin-top: 0 !important;
  padding-top: 30px !important;
}

#about .row {
  margin-bottom: 0;
}


/*---------------------------------------
  ABOUT + TEAM ROW
-----------------------------------------*/

/*
   The important part:
   Both columns stretch to the same height.
*/

.about-team-row {
  display: flex;
  align-items: stretch;
  margin-left: 45px;
  margin-right: 45px;
}

/* Both Bootstrap columns stretch */
.about-team-row > .col-lg-6 {
  display: flex;
  align-items: stretch;
}

/*---------------------------------------
  ABOUT US LEFT COLUMN
-----------------------------------------*/

.about-team-row > .col-lg-6.bg-dark {
  width: 50%;
  display: flex;
  align-items: stretch;
}

/* The inner About Us container fills the column */
.about-team-row > .col-lg-6.bg-dark > .d-flex {
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  TEAM CAROUSEL RIGHT COLUMN
-----------------------------------------*/

.about-team-row > .col-lg-6.p-0 {
  width: 50%;
  padding: 0 !important;
  display: flex;
}

#myCarousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#myCarousel .carousel-inner {
  width: 100%;
  height: 100%;
}

#myCarousel .carousel-item {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Team image fills entire right column */
.about-image,
.team-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 475px;
  max-height: 635px;
  object-fit: cover;
}


/*---------------------------------------
  TEAM MEMBER INFORMATION
-----------------------------------------*/

.team-thumb {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 5;

  width: 65%;
  padding: 22px 32px 32px;

  background: var(--white-color);
}


/*---------------------------------------
  TEAM CAROUSEL CONTROLS
-----------------------------------------*/

.carousel-control-next,
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
  z-index: 10;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 100px;
  background-color: var(--dark-color);
  background-size: 50% 50%;
}


/*---------------------------------------
  PORTFOLIO
-----------------------------------------*/

.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

.portfolio-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.image-popup:hover .portfolio-image {
  transform: scale(1.02);
}


/*---------------------------------------
  SERVICES
-----------------------------------------*/

.services-section {
  padding: 50px 5%;
  overflow: hidden;
  background: var(--gvl-grey-bg);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: auto;
}

.service-column {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--white-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-title {
  position: relative;
  z-index: 5;
  padding: 15px;
  background: var(--gvl-blue);
  color: var(--white-color);
  text-align: center;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
}

.service-scroll {
  height: 440px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gvl-navy) #f1f1f1;
}

.service-scroll::-webkit-scrollbar {
  width: 6px;
}

.service-scroll::-webkit-scrollbar-thumb {
  background: var(--gvl-navy);
  border-radius: 10px;
}

.service-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.service-item {
  padding: 15px 5px;
  border-bottom: 1px solid #ddd;
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.service-item::before {
  content: "✓";
  margin-right: 10px;
  color: var(--gvl-yellow);
  font-weight: bold;
}


/*---------------------------------------
  NEWS & EVENTS
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.news-thumb {
  position: relative;
}

.news-category {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  display: inline-block;
  padding: 4px 12px;
  background: var(--white-color);
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  display: inline-block;
  color: var(--title-color);
}

.news-title-link:hover {
  color: var(--dark-color);
}

.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  position: relative;
  z-index: 1;
  display: inline-block;
  height: 100%;
  overflow: hidden;
  padding-bottom: 4px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.news-image-hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: -1;
  width: 0;
  height: 4px;
  background: #198754;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  right: auto;
  left: 0;
  z-index: 9;
  width: 100%;
}

.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-news-image {
  width: 100%;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}


/*---------------------------------------
  SECTION
-----------------------------------------*/

.section-padding {
  padding-top: 0;
  padding-bottom: 0;
}


/*---------------------------------------
  CONTACT
-----------------------------------------*/

.gytical-contact-section {
  padding: 70px 0;
  background: var(--gvl-light-bg);
}

.gytical-contact-title {
  margin-bottom: 15px;
  color: var(--gvl-blue);
  font-size: 36px;
  font-weight: 700;
}

.gytical-contact-subtitle {
  margin-bottom: 35px;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

.gytical-contact-info {
  min-height: 100%;
  padding: 40px;
  background: var(--gvl-blue);
  color: var(--white-color);
}

.gytical-contact-info h4 {
  margin-bottom: 25px;
  color: var(--white-color);
  font-size: 24px;
}

.gytical-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.gytical-contact-item i {
  min-width: 25px;
  margin-right: 15px;
  color: var(--gvl-yellow);
  font-size: 22px;
}

.gytical-contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: #000000;
  font-size: 15px;
}

.gytical-contact-item a,
.gytical-contact-item span {
  color: var(--white-color);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
}

.gytical-contact-item a:hover {
  color: var(--gvl-yellow);
}

.gytical-contact-form {
  padding: 40px;
  background: var(--white-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.gytical-contact-form h4 {
  margin-bottom: 25px;
  color: var(--gvl-blue);
  font-size: 24px;
}

.gytical-form-control {
  width: 100%;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  outline: none;
  font-size: 15px;
}

.gytical-form-control:focus {
  border-color: var(--gvl-blue);
}

textarea.gytical-form-control {
  min-height: 140px;
  resize: vertical;
}

.gytical-submit-btn {
  padding: 13px 30px;
  border: none;
  background: var(--gvl-blue);
  color: var(--white-color);
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.gytical-submit-btn:hover {
  background: var(--gvl-dark-blue);
}

.gytical-map {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 30px;
}

.gytical-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}


/*---------------------------------------
  EXISTING TEMPLATE CONTACT STYLES
-----------------------------------------*/

.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 0;
  font-weight: var(--font-weight-normal);
}

.contact-form button[type='submit'] {
  padding: 16px;
  border: none;
  border-radius: 100px;
  background: var(--dark-color);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}


/*---------------------------------------
  SOCIAL ICONS
-----------------------------------------*/

.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
  vertical-align: top;
}

.social-icon-link {
  display: inline-block;
  margin-top: 4px;
  margin-right: 15px;
  margin-bottom: 4px;
  color: var(--gvl-yellow);
  font-size: 1rem;
  vertical-align: top;
}

.social-icon-link:hover {
  color: var(--white-color);
}


/*---------------------------------------
  SITE FOOTER
-----------------------------------------*/

.site-footer {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  background-color: var(--gvl-blue);
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}


/*---------------------------------------
  RESPONSIVE - LARGE DESKTOP
-----------------------------------------*/

@media screen and (min-width: 992px) {

  .hero {
    height: 80vh;
  }

  .custom-video,
  .news-detail-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }

}


/*---------------------------------------
  VERY LARGE DESKTOP
-----------------------------------------*/

@media screen and (min-width: 1600px) {

  .news-two-column {
    min-height: 232.5px;
  }

}


/*---------------------------------------
  TABLET
-----------------------------------------*/

@media screen and (max-width: 1000px) {

  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }

}


/*---------------------------------------
  TABLET / SMALL DESKTOP
-----------------------------------------*/

@media screen and (max-width: 991px) {

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }

  #about {
    padding-top: 30px !important;
    padding-bottom: 15px !important;
  }

  #about .about-team-row {
    margin-top: 20px !important;
  }

  /*
    IMPORTANT:
    At tablet size the two columns become
    stacked vertically instead of side-by-side.
  */

  .about-team-row {
    display: block;
    margin-left: 20px;
    margin-right: 20px;
  }

  .about-team-row > .col-lg-6 {
    display: block;
    width: 100%;
  }

  .about-team-row > .col-lg-6.bg-dark {
    width: 100%;
  }

  .about-team-row > .col-lg-6.p-0 {
    width: 100%;
  }

  /* Reset carousel height when stacked */
  #myCarousel {
    width: 100%;
    height: auto;
  }

  #myCarousel .carousel-inner {
    height: auto;
  }

  #myCarousel .carousel-item {
    height: auto;
  }

  #myCarousel .team-image {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }

  .team-thumb {
    left: 0;
    right: auto;
    width: auto;
  }

}


/*---------------------------------------
  MOBILE
-----------------------------------------*/

@media screen and (max-width: 767px) {

  .news-detail-title {
    font-size: 36px;
  }

  .services-section {
    padding: 40px 15px;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .service-column {
    height: 400px;
  }

  .service-scroll {
    height: 340px;
  }

  .about-team-row {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .about-team-row > .col-lg-6 {
    width: 100%;
    display: block;
  }

  #myCarousel {
    height: auto;
  }

  #myCarousel .carousel-inner,
  #myCarousel .carousel-item {
    height: auto;
  }

  #myCarousel .team-image {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }

  .team-thumb {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
  }

  .gytical-contact-section {
    padding: 45px 15px;
  }

  .gytical-contact-info,
  .gytical-contact-form {
    padding: 25px;
  }

  .gytical-contact-title {
    font-size: 30px;
  }

}


/*---------------------------------------
  SMALL MOBILE
-----------------------------------------*/

@media screen and (max-width: 360px) {

  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }

}


/*---------------------------------------
  VERY SMALL MOBILE
-----------------------------------------*/

@media screen and (max-width: 359px) {

  .news-detail-title {
    font-size: 22px;
  }

}