html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Container for the Latest Work section */
.latest-work-section {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background-color: #fff;
  color: #fff;
}

/* Background image styling */
.blog-background-image {
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center 40%;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.image-container {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-40%, 70%); /* Moves the image so that its center aligns with bottom-left */
  z-index: 1;
  pointer-events: none;
}

.image-container img {
  width: 200px; /* Adjust size as needed */
  height: auto;
}

.landing-section {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  background-color: white;
  height: 100vh;
  max-width: 1200px;
  padding-right: 25px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.landing-section-text {
  margin-left: 40px; /* Keep your custom horizontal margin */
}

.hp-img
{
  display: none;
  height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
}

.hp-video
{
  height: 99vh;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
}

.pageBG
{
  background-image: url("../img/Website\ BG.png");
  background-size: cover;
  background-position: top center;
  width: 100vw;
}

.alt-pageBG
{
  background-image: url("../img/alt-bg.png");
  background-size: cover;
  background-position: top center;
  width: 100vw;
}

.main-heading-xl
{
  font-size: 85px;
}

.main-heading-xl small
{
  font-size: 35px;
}

.main-heading-lg
{
  font-size: 65px;
}

.main-heading
{
  font-size: 50px;
}

.main-heading-sm
{
  font-size: 40px;
}

.main-heading-xs
{
  font-size: 30px;
}


.pageBreak
{
  display: block;
  background-image: url("../img/Graphics/warpBG.png");
  background-size: cover;
  background-position: center center;
  max-width: 100vw;
  clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
}

.breakTab
{
  background-color: white;
  border-radius: 30px;
  min-height: 115px;
  padding: 20px 30px 20px 30px;
}


body{
  font-family: 'Montserrat', sans-serif;
  color: #2e2e2e;
  background-color: #fff;
}

.btn-warped {
  font-size: 20px;
  background: -webkit-linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  -webkit-background-clip: text;
  border: 2px solid;
  border-image: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab) 1;
  -webkit-text-fill-color: transparent;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: 0.3s;
}

.btn-warped:hover{
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  -webkit-text-fill-color: white;
  color: white;
  scale: 1.1;
}

.btn-white {
  font-size: 20px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: 0.3s;
  border-radius: 35px;
}

.btn-solid {
  font-size: 20px;
  background: transparent;
  border: 1px solid #2e2e2e;
  color: #2e2e2e;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: 0.3s;
  border-radius: 35px;
}

.btn-solid:hover {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  color: white;
  border: 2px solid white;
  scale: 1.1;
}

.btn-white:hover {
  background: #fff;
  color: #2e2e2e;
  border: 2px solid white;
  scale: 1.1;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.mobile-break {
  display: none;
}

.tablet-break {
  display: none;
}

.rainbowColor {
  background: -webkit-linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-section {
  font-size: 24px;
  padding-left: 500px;
  padding-right: 500px;
}

.content-section img {
  width: 100%;
  margin: auto;
}

.content-section p {
  font-size: 16px;
  display: block;
  margin-top: 35px;
}

span.cursor {
  display: inline-block;
  background-color: #2e2e2e;
  margin-left: 0.1rem;
  width: 3px;
  animation: blink 1s infinite;
}
span.cursor.typing {
  animation: none;
}

@keyframes blink {
  0%  { background-color: #2e2e2e; }
  49% { background-color: #2e2e2e; }
  50% { background-color: transparent }
  99% { background-color: transparent }
  100%  { background-color: #2e2e2e; }
}


#typetext {
  white-space:nowrap;
  margin-left: 50px !important;
}

.sectors {
  margin-bottom: 150px;
}

.sectors .col-sm-12 p{
  font-size: 14px;
  margin-top: 10px;
}

.sectors h4{
  font-size: 32px;
  margin-right: -10px;
  padding: 0px;
}

.sectors i {
  background: -webkit-linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 75px;
  width: auto;
  height: auto;
  border-radius: 0px;
  margin: 0px;
  pointer-events: none;
}

.page-footer {
  background-color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

.page-footer .content-section{
  text-align: left;
}

.page-footer .content-section {
  background-color: #fff;
  margin-top: 0px;
}

.page-footer img{
  width: 15%;
  margin: auto;
}

.page-footer ul {
  list-style: none;
  padding-left: 0px;
}


.page-footer ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #2e2e2e;
}

.contact-form label {
  font-size: 18px;
}

/*-------------Media Queries----------------*/

@media only screen and (max-width: 1980px) {
  .content-section {
    font-size: 24px;
    padding-left: 100px;
    padding-right: 100px;
    margin-top: 50px;
  }

  .main-heading-xl
  {
    font-size: 75px;
  }

  .image-container {
    transform: translate(-75%, 50%); /* Moves the image so that its center aligns with bottom-left */
  }
}

@media only screen and (max-width: 1680px) {
  .content-section {
    font-size: 24px;
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 50px;
  }

  .landing-section
  {
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  }

  .tablet-break {
    display: block;
  }

  .main-heading-xl
  {
    font-size: 65px;
  }
}

@media only screen and (max-width: 1480px) {
  .main-heading-xl
  {
    font-size: 50px;
  }

  .landing-section
  {
    max-width: 700px;
  }
}

@media only screen and (max-width: 1280px) {
  .centered-image-container
  {
    padding-top: 100px;
  }
}


@media only screen and (max-width: 990px) {
  .hp-img
  {
    display: block;
  }

  .hp-video
  {
    display: none;
  }

  .image-container {
    display: none;
  }

  .main-heading
  {
    font-size: 40px;
  }

  #contact-page-half-screen-img
  {
    display: none;
  }

}

@media only screen and (max-width: 798px) {

  .main-heading-xl
  {
    font-size: 45px;
  }

  .pageBreak
  {
    display: block;
    background-image: url("../img/Graphics/warpBG.png");
    background-size: cover;
    background-position: center center;
    max-width: 100vw;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .content-section {
    font-size: 24px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 50px;
  }

  #typetext {
    white-space:wrap;
  }

  .mobile-break {
    display: block;
  }

  .main-heading
  {
    font-size: 35px;
  }

  .centered-image-container
  {
    padding-top: 0px;
  }

}

@media only screen and (max-width: 580px) {
  .landing-section
  {
    clip-path: none;
    background-image: url("../img/Graphics/warpBG.png");
    background-size: cover;
  }

  .landing-section
  {
    padding: 0px;
  }

  .landing-section-text
  {
    background-color: white;
    width: 100%;
    padding: 35px;
    display: block;
    margin: auto;
  }

  .btn-solid 
  {
    padding: 10px;
    font-size: 16px;
    margin: 5px;
  }

  #typetext {
    white-space:nowrap;
  }

  .main-heading-sm
  {
    font-size: 25px;
  }


  .main-heading
  {
    font-size: 30px;
  }

  .main-heading-xl {
    font-size: 35px;
  }

  .main-heading-xl small {
    font-size: 21px;
    line-height: 1.2;
    display: inline-block; /* or block */
  }

}


/*-------Social Media Icons----------*/
.fa {
  padding: 10px;
  font-size: 25px;
  width: 45px;
  text-align: center;
  text-decoration: none;
  margin: 10px 5px;
  border-radius: 50%;
  transition: 0.3s;
}

.fa:hover {
    opacity: 0.7;
    text-decoration: none;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}