/* Andy Bells CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* The scroll button */
::-webkit-scrollbar-thumb {
  background-color: #00d7bb;
  border-radius: 3px;
}

/* The scrollbar */
::-webkit-scrollbar-track {
  background-color: #313741;
}

::-webkit-scrollbar {
  width: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

body {
  font-family: "Baloo Chettan 2", sans-serif;
  font-weight: 400;
  background-color: #f1f1f1;
  letter-spacing: 0.4px;
  line-height: 26px;
  overflow-x: hidden;
}

.btn-primary {
  background-color: #283655 !important;
  border: 0;
  padding: 12px 18px;
  font-size: 1.2rem;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: #283655c9 !important;
}

/* HEADER */
.header-top {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  padding-block: 1.25rem;
  width: 100%;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.header-top.fixtopmenu {
  background-color: #283655;
  padding-block: 10px;
  -webkit-box-shadow: 0 3px 5px 1px rgba(40, 54, 85, 0.5);
  box-shadow: 0 3px 5px 1px rgba(40, 54, 85, 0.5);
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.header-social-icons {
  display: flex;
}

.header-social-icons a {
  color: #fff;
  display: block;
  font-size: 1.25rem;
  margin-right: 2rem;
  transition: all 0.3s ease-in-out;
}

.header-social-icons a:hover {
  color: #b3cde0;
}

.menu-btn {
  cursor: pointer;
  float: right;
  margin-top: -4px;
  text-align: right;
  width: 30px;
}

.menu-btn span {
  background-color: #fff;
  display: inline-block;
  position: relative;
  width: 25px;
  height: 2px;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  background-color: #fff;
  position: absolute;
  right: 0;
  bottom: 5px;
  margin-block: 2px;
  width: 30px;
  height: 2px;
}

.menu-btn span::before {
  top: 5px;
}

/* Header navigation */
.off-canvas-menu {
  background-color: #000;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 0;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  width: 100%;
  visibility: hidden;
}

.off-canvas-menu.active {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

nav.main-menu ul {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

nav.main-menu ul li {
  display: block;
  margin-bottom: 25px;
}

nav.main-menu ul li a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

nav.main-menu ul li a:hover {
  color: #b3cde0;
}

.menu-close-btn {
  background-color: transparent;
  background-image: url("../img/cross.png");
  background-position: center;
  background-size: cover;
  border: none;
  position: absolute;
  top: 30px;
  right: 50px;
  height: 40px;
  width: 40px;
}
/* HEADER END */

.hero-area {
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 100vh;
}

@media (min-width: 1200px) {
  .hero-area {
    height: auto;
  }
}

.hero-area::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.75);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 70px;
  height: inherit;
}

.hero-content h1 {
  font-size: 3rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4.3rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 5.3rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  .hero-content p {
    font-size: 1.4rem;
  }
}

.hero-content span {
  font-family: cursive;
  font-size: 1.2rem;
}

.hero-image {
  display: none;
}

@media (min-width: 1200px) {
  .hero-image {
    display: block;
  }
}

/* Common CSS */
.section-padding {
  padding-block: 40px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-block: 80px;
  }
}

.section-title {
  color: #283655;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 85px;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.8125rem;
  }
}
/* Common CSS End */

/* ==== About Area CSS Start ==== */
@media (min-width: 1100px) {
  #about-area img {
    display: none;
  }
}

.about-content p {
  color: #283655;
  font-size: 1.1rem;
  font-weight: 300;
  margin-block: 20px;
}

.skills {
  background-color: #fff;
  -webkit-box-shadow: 6px 6px 12px rgba(46, 61, 73, 0.2);
  box-shadow: 6px 6px 12px rgba(46, 61, 73, 0.2);
  width: 100%;
}

.skill-item {
  border-bottom: 1px solid rgba(40, 54, 85, 0.3);
  color: #283655;
  font-size: 1.05rem;
  line-height: 1.5rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  padding: 1rem;
}
/* ==== About Area CSS End ==== */

/* Timeline CSS */
.timeline-container {
  margin-left: 10px;
  margin-top: 45px;
  position: relative;
}

.timeline-container::before {
  content: "";
  border: 2px solid #b3cde0;
  border-radius: 50%;
  color: #b3cde0;
  font-family: "fontAwesome";
  font-size: 1.5625rem;
  left: 20px;
  line-height: 65px;
  position: absolute;
  text-align: center;
  top: -70px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 70px;
}

@media (min-width: 992px) {
  .timeline-container::before {
    left: 50%;
  }
}

.cd-timeline {
  position: relative;
  padding-block: 100px;
}

.cd-timeline::before {
  content: "";
  background-color: #b3cde0;
  position: absolute;
  top: 0;
  left: 18px;
  width: 2px;
  height: 100%;
}

@media (min-width: 992px) {
  .cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline::after {
  content: "";
  background-color: #00d7bb;
  border-radius: 50%;
  margin-left: -10px;
  position: absolute;
  bottom: 0;
  left: 18.5px;
  width: 20px;
  height: 20px;
}

@media (min-width: 992px) {
  .cd-timeline::after {
    left: 48.85%;
    margin-left: 0;
  }
}

.cd-timeline-block {
  position: relative;
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  .cd-timeline-block {
    margin-bottom: 150px;
  }
}

.cd-timeline-block:last-child {
  margin-bottom: 0;
}

.cd-timeline-block:nth-child(2n) .cd-timeline-content {
  flex-direction: row-reverse;
}

@media (min-width: 992px) {
  .cd-timeline-block:nth-child(2n) .cd-heading,
  .cd-description {
    margin-left: 150px;
  }

  .cd-timeline-block:nth-child(2n) .cd-description {
    margin-left: 0;
  }
}

.cd-timeline-img {
  background-color: #283655;
  border: 2px solid #b3cde0;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  left: 20px;
  z-index: 1;
  margin-left: -17.5px;
  height: 35px;
  width: 35px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (min-width: 992px) {
  .cd-timeline-img {
    top: 20px;
    left: 50%;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

.cd-timeline-img span.dot {
  background-color: #b3cde0;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
}

.cd-timeline-content {
  border-radius: 0.25em;
  margin-left: 60px;
  padding-top: 10px;
  position: relative;
}

@media (min-width: 992px) {
  .cd-timeline-content {
    display: flex;
    margin-left: 0;
  }
}

.cd-timeline-content h3 {
  color: #b3cde0;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .cd-timeline-content h3 {
    font-size: 1.875rem;
  }
}

.cd-timeline-content p {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .cd-timeline-content p {
    margin: 0;
  }
}

.cd-timeline-content p span {
  font-weight: 500;
}

.cd-description {
  color: #fff;
  font-size: 1rem;
}

.cd-description li {
  padding-left: 0.3rem;
  margin-left: 0.75rem;
}

@media (min-width: 992px) {
  .cd-description li {
    padding-left: 0.625rem;
    margin-left: 1.25rem;
  }
}

.cd-description li:not(:last-child) {
  margin-bottom: 10px;
}

.cd-description li::marker {
  content: "- ";
}

@media (min-width: 992px) {
  .cd-description li::marker {
    content: "\f05c";
    font-family: "FontAwesome";
  }
}

.cd-heading,
.cd-description {
  flex: 1;
}
/* End Timeline CSS */

#experience-area {
  background-color: #283655;
}

#experience-area .section-title {
  margin-bottom: 110px;
}

.experience-content::before {
  content: "\f0b1";
}

/* ==== Skill Area CSS Start ==== */
.skill-area-bottom {
  margin-bottom: 20px;
}

.skill-bottom-content {
  display: grid;
  align-items: center;
  gap: 23px;
}

@media (min-width: 768px) {
  .skill-bottom-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .skill-bottom-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.single-skill-bottom {
  background-color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

@media (min-width: 768px) {
  .single-skill-bottom {
    padding: 23px;
  }
}

.single-skill-bottom img {
  width: 60px;
}

.single-skill-bottom h2 {
  color: #000;
  font-size: 2.3125rem;
  font-weight: 700;
}

.single-skill-bottom h3 {
  color: #283655;
  font-size: 1.5rem;
  font-weight: 600;
  margin-block: 15px;
  text-transform: uppercase;
}

.single-skill-bottom p {
  color: #283655;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
}

@media (min-width: 992px) {
  .single-skill-bottom.sin-skill-middle {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* ==== Skill Area CSS End ==== */

/* Projects CSS */
.project-item {
  background-color: #fdfdfd;
}

@media (min-width: 768px) {
  .project-item {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .project-item:not(:last-child) {
    margin-bottom: 35px;
  }
}

.project-img {
  flex: 1;
}

.project-img img {
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.project-img img:hover {
  transform: scale(0.95);
}

.project-item:nth-child(odd) .project-img {
  order: 2;
}

/* @media (max-width: 480px) {
  .project-item:nth-child(3) .project-img {
    order: initial;
  }
} */

.project-container {
  flex: 1;
}

.project-info {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  height: 100%;
}

@media (max-width: 480px) {
  .project-info {
    padding: 23px;
  }
}

.project-heading {
  color: #283655;
  font-size: 2.125rem;
}

.project-desc {
  color: #283655;
  padding-block: 25px;
  font-size: 1.1rem;
}

@media (min-width: 1200px) {
  .project-desc {
    padding-block: 0;
  }
}
/* End Projects CSS */
.haveAproject {
  background: url("../img/have-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 3rem;
  padding: 30px;
  position: relative;
}

@media (min-width: 992px) {
  .haveAproject {
    padding: 46px 55px;
  }
}

.haveAproject::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #283655;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0.8;
}

.wantToWork-caption h2 {
  color: #fff;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 13px;
}

@media (min-width: 768px) {
  .wantToWork-caption h2 {
    font-size: 2.7rem;
  }
}

.wantToWork-caption p {
  color: #fff;
  font-size: 1.2rem;
}

.contact-icons a {
  color: #fff;
  font-size: 1.85rem;
  transition: all 0.4s ease-in-out;
}

.contact-icons a:hover {
  color: #b3cde0;
}

.contact-icons a:last-child {
  margin-left: 35px;
}

.btn-ans {
  background-color: #fff;
  position: relative;
  color: #283655;
  padding: 30px 44px;
  font-size: 1rem;
  line-height: 0;
}
/* Have Project CSS */

/* End Have Project CSS */

/* ==== Footer CSS Start ==== */
#footer-area {
  background-color: #283655;
  padding-block: 30px;
}

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

.footer-icons li a i {
  background-color: #b3cde0;
  border-radius: 50%;
  color: #283655;
  font-size: 1.25rem;
  line-height: 45px;
  height: 45px;
  text-align: center;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  vertical-align: middle;
  width: 45px;
}

.footer-icons li a i:hover {
  background-color: lightgrey;
}

.copyright-area {
  color: #b3cde0;
  font-size: 1.15rem;
  margin-top: 1.5rem;
  text-align: center;
}
/* ==== Footer CSS End ==== */

.preloader {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  z-index: 99;
}

.preloader-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 80px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222;
  border-radius: 4px;
  transform: translate(-50%, -50%);
}

#scroll {
  bottom: 25px;
  display: none;
  position: fixed;
  right: 25px;
  z-index: 999;
}

#scroll a {
  background-color: #283655;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  height: 45px;
  width: 45px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

#scroll a:hover {
  background-color: #283655d0;
}

#scroll a i {
  display: inline-block;
  font-size: 1.5625rem;
  line-height: 30px;
  padding: 6px 15px;
  text-align: center;
  vertical-align: middle;
}
