@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --dark-one: #333;
  --dark-two: #7a7a7a;
  --main-color: #FDDA0D;
  --light-one: #fff;
  --light-two: #f9fafb;
  --light-three: #f6f7fb;
}

/* Genral Styles */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

.container {
  position: relative;
  z-index: 5;
  max-width: 92rem;
  padding: 0 4rem;
  margin: 0 auto;
}

/* Header Section */
.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-content: center;
}

.text {
  font-size: 1.25rem;
  color: var(--dark-two);
  line-height: 1.6;
}

.column-1 {
  margin-right: 1.5rem;
}

.column-2 {
  margin-left: 1.5rem;
}

.image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.z-index {
  position: relative;
  z-index: 2;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
}

.overlay .shape {
  width: initial;
  opacity: 0.13;
  position: absolute;
}

.overlay.overlay-lg .shape {
  height: 55px;
}

.overlay.overlay-lg .shape.wave {
  height: initial;
  width: 88px;
}

.overlay.overlay-lg .shape.xshape {
  height: 38px;
}

.overlay.overlay-sm .shape {
  filter: brightness(0) invert(1);
  opacity: 0.15;
  height: 40px;
}

.overlay.overlay-sm .shape.wave {
  height: initial;
  width: 70px;
}

.overlay.overlay-sm .shape.xshape {
  height: 30px;
}

.points {
  opacity: 0.3;
  position: absolute;
}
.section {
  padding: 7rem 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.title {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  line-height: 1;
  font-size: 2.8rem;
  margin-bottom: 0.6rem;
}

.title:before {
  content: attr(data-title);
  display: block;
  margin-bottom: 0.4rem;
  color: var(--main-color);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.title:after {
  content: "";
  position: absolute;
  width: 90px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--main-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-header .text {
  max-width: 600px;
  margin: 0 auto;
}

.title-sm {
  color: var(--dark-one);
  font-weight: 600;
  font-size: 1.6rem;
}

.points-sq {
  width: 210px;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background-color: var(--main-color);
  color: var(--light-one);
  border-radius: 2rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background-color: #6b44e0;
}

.btn.small {
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
} 

header {
  width: 100%;
  background-color: var(--light-three);
  overflow: hidden;
  position: relative;
}
/* Work Experience */
.work-experience {
  padding:0px 15px;
  margin-top: 50px;
  background-color: #ffffff;
}
.work-experience .section-title {
  margin-bottom: 50px;
}
.work-experience .section-title h1{
  font-size: 35px;
  text-transform: uppercase;
  display: inline-block;
  font-weight: 700px;
  columns: #f8dada;
  position:relative;
}

.work-experience .section-title h1:before{
  content: '';
  left:0;
  position : absolute;
  right:30px;
  height:3px;
  background-color: #febd01;
  margin-top: 5px;
  bottom: 0px;
}
.work-experience .company{
  border: 1px solid #eeeeee;
  box-shadow: 0 5px 2px #febd01;
  padding:20px; 
  width:1100px;
  margin-bottom: 80px;
  display: inline-block;
}
.work-experience .company h5{
text-align: right;
margin-top: -20px;
}

@media (max-width: 768px) {
  .work-experience {
    margin-top: 30px;
    padding: 0px 10px;
  }

  .work-experience .section-title h1 {
    font-size: 28px;
  }

  .work-experience .section-title h1:before {
    right: 10px;
  }

  .work-experience .company {
    padding: 15px;
    margin-bottom: 50px;
    width: 100%;
  }

  .work-experience .company h5 {
    text-align: left;
    font-size: 14px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .work-experience {
    padding: 0px 5px;
  }

  .work-experience .section-title h1 {
    font-size: 24px;
  }

  .work-experience .company {
    padding: 10px;
    margin-bottom: 30px;
  }

  .work-experience .company h5 {
    font-size: 12px;
  }
}

/* Navigation Bar */
nav {
  width: 100%;
  position: relative;
  z-index: 50;
}

nav .container {
  display: flex;
  justify-content: space-between;
  height: 6rem;
  align-items: center;
}

.logo {
  width: 80px;
  display: flex;
  align-items: center;
}

.links ul {
  display: flex;
}

.links a {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  color: var(--dark-one);
  font-size: 1.05rem;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  transition: 0.3s;
}

.links a.active {
  background-color: var(--main-color);
  color: var(--light-one);
  border-radius: 2rem;
  font-size: 1rem;
  padding: 0.9rem 2.1rem;
  margin-left: 1rem;
}

.links a:hover {
  color: var(--main-color);
}

.links a.active:hover {
  color: var(--light-one);
  background-color: #6b44e0;
}

.hamburger-menu {
  width: 2.7rem;
  height: 3rem;
  z-index: 100;
  position: relative;
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu .bar {
  position: relative;
  width: 2.1rem;
  height: 3px;
  border-radius: 3px;
  background-color: var(--dark-one);
  transition: 0.5s;
}

.bar:before,
.bar:after {
  content: "";
  position: absolute;
  width: 2.1rem;
  height: 3px;
  border-radius: 3px;
  background-color: var(--dark-one);
  transition: 0.5s;
}

.bar:before {
  transform: translateY(-9px);
}

.bar:after {
  transform: translateY(9px);
}

nav.open .hamburger-menu .bar {
  background-color: transparent;
  transform: rotate(360deg);
}

nav.open .hamburger-menu .bar:before {
  transform: translateY(0) rotate(45deg);
  background-color: var(--light-one);
}

nav.open .hamburger-menu .bar:after {
  transform: translateY(0) rotate(-45deg);
  background-color: var(--light-one);
}

nav.open .links {
  transform: translateX(0);
}

.header-content .container.grid-2 {
  grid-template-columns: 2.5fr 3.5fr;
  min-height: calc(100vh - 6rem);
  padding-bottom: 2.5rem;
  text-align: left;
}

.header-title {
  font-size: 3.8rem;
  line-height: 0.8;
  color: var(--dark-one);
}
@media (max-width: 768px) {
  .header-title {
    font-size: 1.25rem;
  }
}


.header-content .text {
  margin: 2.15rem 0;
}

.header-content .image .img-element {
  max-width: 750px;
}

header .points1 {
  width: 420px;
  bottom: -75px;
  left: -150px;
}

header .points2 {
  width: 70%;
  top: 65%;
  left: 71%;
}

header .square {
  right: 68%;
  top: 71%;
}

header .triangle {
  right: 7%;
  bottom: 75%;
}

header .xshape {
  right: 4%;
  bottom: 50%;
}

header .half-circle1 {
  left: 50%;
  bottom: 82%;
}

header .half-circle2 {
  left: 5%;
  top: 67%;
}

header .wave1 {
  bottom: 75%;
  left: 20%;
}

header .wave2 {
  bottom: 8%;
  right: 55%;
}

header .circle {
  left: 38%;
  bottom: 63%;
}

.letters {
  position: absolute;
  width: 13.5%;
  top: -5px;
  left: 15px;
  opacity: 0.06;
}

/* Testimonials */

.testimonials {
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
}
.testimonials .section-title{
  margin-bottom: 50px;
}
.testimonials .section-title h1{
  font-size: 35px;
  text-transform: uppercase;
  display: inline-block;
  font-weight: 700px;
  columns: #f8dada;
  position:relative;
}

.testimonials .section-title h1:before{
  content: '';
  left:0;
  position : absolute;
  right:30px;
  height:3px;
  background-color: #febd01;
  margin-top: 5px;
  bottom: 0px;
}

.testimonials .carousel-inner {
    /* max-width: 700px; */
    /* max-height: 500px; */
    /* align-items: center; */
}

/* Footer Section */
.footer {
    background-color: #222;
    padding: 6rem 0;
  }
  
  .footer .grid-4 {
    display: grid;
    grid-template-columns: 3.5fr 2fr 2fr 3fr;
  }
  
  .grid-4-col {
    padding: 0 1.7rem;
  }
  
  .footer .title-sm {
    color: #fafafa;
    margin-bottom: 0.9rem;
  }
  
  .footer .text {
    color: #aaa;
  }
  
  .footer-links a {
    color: #888;
    font-size: 1.25rem;
    display: inline-block;
    margin-bottom: 0.4rem;
    transition: 0.3s;
  }
  
  .footer-links a:hover {
    color: var(--main-color);
  }
  
  .footer-input-wrap {
    display: grid;
    grid-template-columns: auto 50px;
    width: 100%;
    height: 50px;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 1.2rem;
  }
  
  .footer-input {
    background: #373737;
    color: #FFF;
    outline: none;
    border: none;
    padding: 0 1.5rem;
    font-size: 1.1rem;
    transition: 0.3s;
  }
  
  .input-arrow {
    color: #fff;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    transition: 0.3s;
  }
  
  .input-arrow:hover {
    background-color: #FDDA0D;
  }
  
  .focus {
    background: #fff;
  }
  
  .bottom-footer {
    margin-top: 5.5rem;
    padding: 0 1.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .copyright .text {
    color: #7b7b7b;
    font-size: 1.2rem;
    display: inline-block;
    text-align: center;
  }
  
  .copyright .text span {
    color: var(--main-color);
    cursor: pointer;
  }
  
  .followme-wrap {
    display: flex;
  }
  
  .followme {
    display: flex;
    align-items: center;
  }
  
  .followme h3 {
    color: #7b7b7b;
    font-weight: 500;
    font-size: 1.3rem;
  }
  
  .followme .footer-line {
    width: 60px;
    height: 2px;
    background-color: #7b7b7b;
    margin: 0 1.2rem;
    display: inline-block;
  }
  
  .social-media a {
    color: #7b7b7b;
    font-size: 1.3rem;
    margin-right: 0.4rem;
    transition: 0.3s;
  }
  
  .social-media a:hover {
    color: var(--main-color);
  }
  
  .back-btn-wrap {
    position: relative;
    margin-left: 2.5rem;
  }
  
  .back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    width: 55px;
    background-color: var(--main-color);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    position: relative;
    z-index: 2;
  }
  
  .back-btn:hover {
    background-color: #e0dd44;
  }
  
  .back-btn-wrap:before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #fff;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    border-radius: 50%;
    opacity: 0.08;
    animation: scale 1.2s ease-out infinite 1s;
  }

.testimonial-slider {
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.testimonial {
    border: 3px solid #febd01;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    flex: 0 0 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    background-color: white;
    box-sizing: border-box;
}

.rating {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.description {
    font-size: 1em;
    margin-bottom: 10px;
    line-height: 1.5;
}

.name {
    font-weight: bold;
    margin-bottom: 5px;
}

.designation {
    font-style: italic;
    color: grey;
}

@media (max-width: 600px) {
    .testimonial {
        flex: 0 0 200px;
    }
}

/* Styling for the banner */
.banner {
  background-color: #FDDA0D;
  padding: 10px;
  border-bottom: 2px solid black;
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 50px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Styling for the link and moving content */
.banner-content {
  position: absolute;
  white-space: nowrap;
  color: black;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 0 20px;
  animation: move-content 10s linear infinite;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Styling for the icon image */
.banner-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  animation: rotate-icon 2s linear infinite;
}

/* Hover effect to change text color */
.banner-content:hover .banner-text {
  color: white;
}

/* Keyframe animation for moving content */
@keyframes move-content {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

/* Keyframe animation to rotate the icon */
@keyframes rotate-icon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .links a {
    display: inline-block;
    padding: 0.25rem 0.3rem;
    color: var(--dark-one);
    font-size: 0.50rem;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    transition: 0.3s;
  }
  .links a.active {
    display: inline-block;
    color: var(--dark-one);
    margin-left: 10%;
    font-size: 0.50rem;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    transition: 0.3s;
    padding: 10px 10px;
  }

}

/* Responsive Adjustments */
@media only screen and (max-width: 768px) {
  .footer {
    padding: 4rem 1rem;
  }

  .footer .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media only screen and (max-width: 540px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer .title-sm {
    font-size: 1.2rem;
  }

  .footer .text,
  .footer-links a,
  .copyright .text {
    font-size: 1rem;
  }

  .bottom-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .back-btn-wrap {
    margin-left: 0;
  }

  .followme-wrap {
    justify-content: center;
  }
}
