:root {
  --color-primary: #e89b00; /* was #fe8702 — logo gold, less neon */
  --color-secondary: #1a3a5c; /* was #054cdc — unified navy from logo */
  --color-third: #1ea8c8; /* was #55c2c3 — true logo cyan */
  --primary-hover: #f0b733; /* was #f7ae40 — lighter gold for hover */
  --color-fourth: #1a3a5c; /* was #1d2959 — now same as secondary */
  --fourth-hover: #1d4a6e; /* was #255784 — mid-navy */
}
body {
  font-family:
    "montserratregular", "latoblack", Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  line-height: 1.8rem;
  color: #898fa1;
  font-size: 15px;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  justify-self: center;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-fourth);
  text-transform: uppercase;
}
.title-sm {
  font-size: 16px;
  letter-spacing: 1px;
}
a {
  font-weight: 700;
  transition: all 0.4s ease;
}
img {
  width: 100%;
}
small {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
}
section {
  padding-top: 80px;
  padding-bottom: 100px;
}
.logo-text {
  max-width: 250px;
  height: auto;
}
/* navbar style start */
.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f2f6fa;
}
.navbar,
.nav-link {
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 300;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}
.navbar-light .navbar-nav .nav-link.active {
  color: var(--color-primary);
}

/* main nav */
.main-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  margin-right: 1rem;
}
.main-nav li {
  list-style: none;
}
.main-nav li a {
  position: relative;
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  display: inline-block;
  padding: 2px 10px;
  color: #2196f3;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-size: 16px;
  overflow: hidden;
  transition: 0.2s;
}
.navbar-nav .nav-link {
  padding: 2px 10px;
  font-weight: 500;
}
.main-nav li a:hover {
  border-radius: 1px;
  color: var(--hover-fourth);
  box-shadow:
    0 0 2px #fe8702,
    0 0 10px #fe8702,
    0 0 12px #fe8702;
  margin: 0 10px;
  transition-delay: 0.9s;
}
.main-nav li a span {
  position: absolute;
  display: block;
}
.main-nav li a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fe8702);
}
.main-nav li a:hover span:nth-child(1) {
  left: 100%;
  transition: 0.9s;
}
.main-nav li a span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #fe8702);
}
.main-nav li a:hover span:nth-child(3) {
  right: 100%;
  transition: 0.9s;
  transition-delay: 0.4s;
}
.main-nav li a span:nth-child(2) {
  top: -100%;
  right: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #fe8702);
}
.main-nav li a:hover span:nth-child(2) {
  top: 100%;
  transition: 0.9s;
  transition-delay: 0.15s;
}
.main-nav li a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #fe8702);
}
.main-nav li a:hover span:nth-child(4) {
  bottom: 100%;
  transition: 0.9s;
  transition-delay: 0.65s;
}

#home {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;

  margin-top: 3.5rem;
  display: flex;
  align-items: center;
}
#services {
  padding: 30px 0 100px;
}
/* down is slogan's style */
/* center the blockquote in the page */
.blockquote-wrapper {
  display: flex;
  /* height: 100vh; */
  padding: 0 20px;
}

/* Blockquote main style */
.blockquote {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: var(--color-fourth);
  padding: 30px 0;
  width: 100%;
  max-width: 500px;
  z-index: 1;
  margin: 2px auto;
  align-self: center;
  border-top: solid 1px;
  border-bottom: solid 1px;
}

/* Blockquote header */
#slogan {
  padding-top: 0;
}
.blockquote h1 {
  text-transform: none;
  position: relative;
  color: var(--color-primary);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

/* Blockquote right double quotes */
.blockquote:after {
  position: absolute;
  content: "”";
  color: var(--color-primary);
  font-size: 10rem;
  line-height: 0;
  bottom: -43px;
  right: 30px;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
  .blockquote h1 {
    font-size: 60px;
  }
}

/* Blockquote subheader */
.blockquote h2 {
  text-transform: none;
  position: relative;
  color: var(--color-fourth);
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1;
  margin: 0;
  padding-top: 20px;
  z-index: 1;
}

.blockquote-wrapper {
  -webkit-animation-name: slogan-show;
  -webkit-animation-duration: 2s;
  animation: slogan-show 3s linear;
}

@keyframes slogan-show {
  from {
    visibility: hidden;
    opacity: 0%;
    transform: translateX(100%);
  }
  to {
    visibility: visible;
    opacity: 100%;
    transform: translateX(0);
  }
}
.containerList ul {
  margin: 10px 0 5px;
  list-style-type: none;
  display: inline-block;
  width: 200px;
  text-align: left;
  padding: 0;
}
.containerList ul li {
  box-sizing: border-box;
  color: var(--color-fourth);
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  justify-content: start;
  align-items: center;
  width: 225px;
}
#other-services .containerList ul li i {
  color: var(--color-primary);
  display: inline-block;
  height: 16px;
  margin-right: 2px;
}

.carousel-item {
  position: relative;
  top: 0;
  /* height: 100vh; */
  min-height: 300px;
}
.carousel-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 0;
  border-radius: 2%;
  max-width: 600px;
}
.carousel-caption h1 {
  color: #000;
  font-size: 35px;
  letter-spacing: 2px;
  /* margin-top: 25px; */
  text-transform: uppercase;
}
.carousel-caption p {
  color: #000;
  max-width: 75%;
  line-height: 1.6;
  font-size: 18px;
  text-align: center;
}
.carousel-inner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.btn {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 12px 28px;
  border-radius: 4px;
}
.btn-brand {
  color: white;
  background-color: var(--color-primary);
  border-radius: 5px;
}
.btn-brand:hover {
  background-color: var(--primary-hover);
  color: #fff;
}
.section-intro {
  text-align: center;
  margin-bottom: 60px;
}

.hline {
  width: 120px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 16px auto 0;
}
.icon-box,
.icon-info {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  flex: none;
  /* if the item is shrinking when increasing margin, add flex:none; */
}
#myBtn .icon-box {
  display: inline;
  padding: 0;
  margin: 0;
  font-size: 20px;
}
.icon-info {
  color: var(--color-primary);
  background-color: #fff;
  font-size: 40px;
  text-align: center;
}
.feature {
  margin-bottom: 12px;
}
.feature .icon-box {
  margin-left: 16px;
  margin-right: 10px;
}
.feature .icon-box,
.info-box {
  width: 34px;
  height: 34px;
  border-radius: 100px;
  font-size: 24px;
}
.works-member {
  background-color: #1a3a5c;
}
.works-member .hline {
  width: 70px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 16px auto;
}
.works-member .works-member-img img,
.works-member .works-member-img .social-icons {
  transition: all 0.4s ease;
}
.works-member,
.works-member-img {
  position: relative;
  overflow: hidden;
}
.works-member .works-member-img .social-icons {
  width: 100%;
  height: 60px;
  background: var(--color-primary);
  position: absolute;
  bottom: -60px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.works-member .works-member-img .social-icons a {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 24px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  text-decoration: none;
  margin-left: 4px;
  margin-right: 4px;
}
.works-member.even {
  background-color: #1d4a6e;
}

.works-member .works-member-img .social-icons a:hover {
  color: var(--color-primary);
  background-color: #fff;
}

.works-member-img:hover .works-member-img {
  transform: translateY(-60px);
  transition: all 0.4s ease;
}
.works-img {
  width: 350px;
  height: 450px;
}
.review .stars {
  color: var(--color-primary);
}
.review p {
  margin: 30px auto;
  max-width: 700px;
  font-style: italic;
}
#testimonials img {
  width: 65px;
  height: 65px;
  border-radius: 100%;
}
#testimonials .nav-pills .nav-link.active img {
  transform: scale(1.3);
  transition: all 0.6s ease;
}
#clients img {
  height: 80px;
  width: auto;
}
form .form-control {
  border-radius: 0;
}
form .form-control:hover {
  box-shadow: none;
  border-color: var(--primary-hover);
}
.form input[type="text"],
.form input[type="email"],
.form #Message {
  border-radius: 5px;
}
#cta,
#info .container-md {
  background-color: var(--color-primary);
}
#info .container-md {
  padding: 30px 0;
}
#info {
  margin: 0;
  padding: 50px 0;
}
#our-works {
  border-top: 5px solid var(--color-primary);
  background-color: #1a3a5c;
  position: relative;
}
#our-works > span {
  text-shadow: 0 0 10px #000;
  font-size: 350%;
  color: #fff;
  text-align: center;
  font-weight: 600;
  border-radius: 5px;
  padding: 0.6rem 0.4rem;
  overflow-y: hidden;
  display: block;
  margin: 2rem auto 1rem;
}
.sample-work-video {
  max-height: 450px;
  width: auto;
  object-fit: fill;
  border: 1px solid #fff;
}
.sample-work-img {
  width: auto;
  height: 300px;
  max-height: 600px;
  /* overflow-x: hidden; */
  /* box-shadow: 0 0 5px 0.1px var(--color-third); */
  border: 1px solid #fff;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--color-primary);
  color: #fff;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  font-size: 18px;
  justify-content: center;
}
#myBtn:hover {
  background-color: var(--primary-hover);
}
footer {
  background: linear-gradient(to top, #1a3a5c, #1d4a6e);
  color: #fff;
}
.footer-top {
  padding: 40px 20px 30px;
}
.footer--address {
  margin-top: 4px;
  line-height: 125%;
}
.footer-top .logo-text {
  max-width: 300px;
}
.footer-top h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 32px;
  font-weight: 100;
  color: #fff;
}
.footer-top #contact-us a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}
.footer-top .form {
  background-color: #1a62f1;
  box-shadow: 0 0 10px #1d2959;
  border-radius: 7px;
  padding: 20px 8px 5px;
  color: #fff;
}

.footer-tpp .form [input]:hover,
.footer-tpp .form [input]:focus {
  background-color: var(--color-primary);
}
.footer-top .form-label {
  margin-bottom: 0;
}
.footer-bottom {
  text-align: center;
  padding: 10px 5px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.37);
  background: url("../img/cubic-bg.png") repeat 0 0;
  animation: 10s linear 0s normal none infinite animate;
}

footer .social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 35px;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 2px 1px 0 1px;
}

footer .social-icons a:hover {
  font-weight: bold;
  transform: scale(1.2);
  border: 2px solid #fff;
  color: #fff;
}
footer .social-icons a:last-child:hover {
  background: #d42f7f;
}
footer .social-icons a:first-child:hover {
  background: #3b5998;
}

@media only screen and (min-width: 700px) {
  .navbar-nav {
    text-align: center;
  }
  .carousel-caption a {
    padding: 10px 15px;
  }
}
@media (max-width: 960px) {
  .sample-work-img:hover {
    transform: none !important;
  }
  .sample-work-video {
    max-width: 650px;
  }

  .feature .icon-box {
    margin-left: 0;
    margin-right: 10px;
  }
}
@media (max-width: 768px) {
  div.container-fluid .logo-img {
    width: 180px;
  }

  .blockquote {
    margin: 30px auto;
  }
  .section-intro {
    margin-bottom: 0;
  }
  .carousel-inner {
    display: flex;
  }
  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    clear: both;
    display: table;
    content: "";
  }
  .carousel-caption h1 {
    font-size: 20px;
  }
  .carousel-caption p {
    font-size: 14px;
    line-height: 115%;
    min-width: 80vw;
  }
  section {
    padding-bottom: 0;
  }
  .footer-bottom {
    padding: 0 5px;
  }
  .footer-bottom p {
    display: inline-block;
    margin: 0 auto;
    padding: 0 auto;
  }
  .sample-work-video {
    max-width: 500px;
  }
  .feature {
    margin: 20px 0;
  }
  #contact-us {
    text-align: center;
  }
}
@media (max-width: 500px) {
  #contact-us {
    margin-top: 60px;
  }
  .blockquote {
    margin: 2px auto 20px;
    transform: scale(0.7);
  }

  .feature {
    margin: 10px 0;
  }
  #our-works > span {
    margin: 1rem 0 0.5rem;
    font-size: 2.5rem;
  }
  .sample-work-img {
    width: auto;
    max-width: 85vw;
  }
  .sample-work-video {
    max-width: 400px;
  }
  .navbar-toggler-icon {
    width: 30px;
  }
}
@media only screen and (min-width: 468px) and (max-width: 991px) {
  .carousel-caption p {
    line-height: 135%;
    font-size: 1rem;
  }
}
@media (max-width: 400px) {
  .blockquote {
    z-index: 20;
    margin: -20px auto 20px;
    transform: scale(0.7);
  }

  .carousel-caption {
    top: 30%;
  }

  .sample-work-video {
    max-width: 80vw;
  }
  .carousel-caption p {
    max-width: 90%;
  }
}

@media (max-width: 300px) {
  div.container-fluid .logo-img {
    width: 100px;
  }
  #contact-us a,
  #contact-us p {
    font-size: 0.9rem;
  }
  #contact-us h3 {
    font-size: 1.9rem;
  }
  .navbar-toggler {
    width: 30px;
    height: 30px;
    font-size: 1rem !important;
    padding: 0 !important;
  }
  .navbar-toggler-icon {
    /* font-size: 12px !important; */
    width: 1rem !important;
    height: 1rem !important;
  }
}

/* Form container card */
.footer-top .form {
  background-color: #1d4a6e; /* was #1a62f1 — now mid-navy */
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
  border-radius: 7px;
  padding: 20px 8px 5px;
  color: #fff;
  border-top: 3px solid #e89b00; /* gold accent line on top */
}

/* Labels */
.footer-top .form .form-label span {
  color: #1ea8c8; /* cyan labels — ties to logo */
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* Input fields */
.form input[type="text"],
.form input[type="email"],
.form #Message {
  background-color: #1a3a5c; /* dark navy input bg */
  border: 1px solid #1ea8c8; /* cyan border */
  border-radius: 5px;
  color: #fff;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Input placeholder text */
.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Input focus state */
.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form #Message:focus {
  background-color: #1a3a5c;
  border-color: #e89b00; /* gold on focus */
  box-shadow: 0 0 0 3px rgba(232, 155, 0, 0.2);
  color: #fff;
  outline: none;
}

/* Input hover */
.form input[type="text"]:hover,
.form input[type="email"]:hover,
.form #Message:hover {
  border-color: #f0b733;
}

/* Submit button */
.btn-brand {
  background-color: #e89b00;
  color: #fff;
  border: none;
  width: 100%;
  letter-spacing: 1px;
}
.btn-brand:hover {
  background-color: #f0b733;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 155, 0, 0.35);
}
