/*-----------------------------------*\
  #main.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --rich-black-fogra-29: hsl(222, 44%, 8%);
  --middle-blue-green_40: hsla(174, 64%, 71%, 0.4);
  --midnight-green: hsl(186, 100%, 19%);
  --midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --verdigris: hsl(182, 100%, 35%);
  --ming: hsl(186, 72%, 24%);
  --space-cadet: hsla(226, 45%, 24%);
  --eerie-black: hsl(0, 0%, 13%);
  --alice-blue: hsl(187, 25%, 94%);
  --gray-web: hsl(0, 0%, 50%);
  --gainsboro: hsl(0, 0%, 87%);
  --white: hsl(0, 0%, 100%);
  --white_a20: hsla(0, 0%, 100%, 0.2);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */

  --ff-oswald: 'Oswald', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;
  
  --headline-lg: 5rem;
  --headline-md: 3rem;
  --headline-sm: 2rem;
  --title-lg: 1.8rem;
  --title-md: 1.5rem;
  --title-sm: 1.4rem;
  
  --fw-500: 500;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 120px;

  /**
   * box shadow
   */

  --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
  --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-12: 12px;
  --radius-6: 6px;
  --radius-4: 4px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none !important; }

a,
img,
span,
time,
input,
button,
ion-icon { display: block; }

a {
  color: inherit !important;
  text-decoration: none !important;
}

img { height: auto; }

input,
button {
  background: none ;
  border: none ;
  font: inherit ;
}

input {
  width: 100% ;
  outline: none ;
}

button { cursor: pointer !important; }

ion-icon { pointer-events: none !important; }

address { font-style: normal !important; }

html {
  font-size: 10px !important;
  font-family: var(--ff-rubik) !important;
  scroll-behavior: smooth !important;
}

body {
  background-color: var(--white) ;
  font-size: 1.6rem !important;
  color: var(--independece) ;
  line-height: 1.8 !important;
  overflow: hidden;
}

body.loaded { overflow-y: visible; }

body.nav-active { overflow: hidden; }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px !important; }

.headline-lg {
  font-size: var(--headline-md) !important;
  color: var(--white) !important;
  font-weight: var(--fw-500) !important;
  line-height: 1.2 !important;
}

.headline-md {
  font-size: var(--headline-md) !important;
  font-weight: var(--fw-700) !important;
}

.headline-lg,
.headline-md { font-family: var(--ff-oswald) !important; }

.headline-md,
.headline-sm { line-height: 1.3 !important; }

.headline-md,
.headline-sm { color: var(--midnight-green) !important; }

.headline-sm { font-size: var(--headline-sm) !important; }

.title-lg { font-size: var(--title-lg) !important; }

.title-md { font-size: var(--title-md) !important; }

.title-sm { font-size: var(--title-sm) !important; }

.social-list { display: flex !important; }

.section { padding-block: var(--section-padding) !important; }

.has-before,
.has-after {
  position: relative !important;
  z-index: 1 !important;
}

.has-before::before,
.has-after::after {
  content: "" !important;
  position: absolute !important;
}

.btn {
  background-color: var(--verdigris) !important;
  color: var(--white) !important;
  font-weight: var(--fw-700) !important;
  padding: 12px 36px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: var(--radius-6) !important;
  overflow: hidden !important;
  margin-top: 1.5rem !important;
}

.btn::before {
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background-color: var(--eerie-black) !important;
  border-radius: var(--radius-6) !important;
  transition: var(--transition-2) !important;
  z-index: -1!important;
}

.btn:is(:hover, :focus-visible)::before { transform: translateX(100%) !important; }

.w-100 { width: 100%; }

.grid-list {
  display: grid;
  gap: 40px 28px;
}

.text-center { text-align: center; }

[data-reveal] {
  opacity: 0;
  transition: var(--transition-2);
}

[data-reveal].revealed { opacity: 1; }

[data-reveal="bottom"] { transform: translateY(50px); }

[data-reveal="bottom"].revealed { transform: translateY(0); }

[data-reveal="left"] { transform: translateX(-50px); }

[data-reveal="right"] { transform: translateX(50px); }

[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }





/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--verdigris);
  display: grid;
  place-items: center;
  z-index: 6;
  transition: var(--transition-1);
}

.preloader.loaded {
  visibility: hidden;
  opacity: 0;
}

.preloader .circle {
  width: 50px;
  height: 50px;
  border: 4px solid var(--white);
  border-radius: var(--radius-circle);
  border-block-start-color: transparent;
  animation: rotate360 1s ease infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: none; }

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 16px;
  z-index: 4;
}

.header.active {
  position: fixed !important;
  background-color: var(--rich-black-fogra-29);
  animation: headerActive 0.5s ease forwards !important;
}

@keyframes headerActive {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.nav-open-btn {
  color: var(--white) !important;
  font-size: 4rem !important;
}

.navbarr,
.overlay {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  height: 100vh !important;
}

.navbarr {
  right: -300px !important;
  max-width: 300px !important;
  background-color: var(--rich-black-fogra-29) !important;
  z-index: 3 !important;
  transition: 0.25s var(--cubic-in) !important;
  visibility: hidden;
}

.navbarr.active {
  transform: translateX(-300px) !important;
  visibility: visible !important;
  transition: 0.5s var(--cubic-out) !important;
}

.navbarr-top {
  position: relative !important;
  padding-inline: 25px !important;
  padding-block: 55px 100px !important;
}

.nav-close-btn {
  position: absolute !important;
  top: 15px !important;
  right: 20px !important;
  color: var(--white) !important;
  font-size: 2.8rem !important;
}

.navbarr-list {
  margin-block-end: 30px !important;
  border-block-end: 1px solid var(--white_a10) !important;
}

.navbarr-item { border-block-start: 1px solid var(--white_a10) !important; }

.navbarr-link {
  color: var(--white) !important;
  text-transform: uppercase;
  padding: 10px 24px !important;
}

.social-list {
  justify-content: center !important;
  gap: 20px !important;
  color: var(--white) !important;
  font-size: 1.8rem !important;
}

.overlay {
  right: -100% !important;
  background-color: var(--black) !important;
  opacity: 0.3 !important;
  visibility: hidden !important;
  transition: var(--transition-2)!important;
  z-index: 2 !important;
}

.overlay.active {
  transform: translateX(-100%) !important;
  visibility: visible !important;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero-banner { display: none; }

.hero {
  background-color: var(--midnight-green);
  --section-padding: 200px;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-subtitle {
  color: var(--white);
  font-weight: var(--fw-500);
  padding-inline-start: 80px;
}

.hero-subtitle::before {
  top: 50%;
  left: 0;
  width: 60px;
  height: 1px;
  background-color: var(--white);
}

.hero-title { margin-block: 20px 30px; }

.hero-card {
  background-color: var(--white);
  border-radius: var(--radius-12);
  padding: 20px;
}

.hero-card .card-text {
  color: var(--eerie-black);
  border-block-end: 1px solid var(--midnight-green_a25);
  padding-block-end: 12px;
  margin-block-end: 14px;
}

.hero-card .input-wrapper { position: relative; }

.hero-card .input-field {
  color: var(--eerie-black);
  border-block-end: 1px solid var(--gainsboro);
  padding-inline-end: 18px;
}

.hero-card .input-wrapper ion-icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--verdigris);
}

.hero-card .btn {
  width: 100%;
  justify-content: center;
  margin-block-start: 16px;
}





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-list {
  padding-block: 60px 30px;
  padding-inline: 25px;
  display: grid;
  gap: 30px;
  border-radius: var(--radius-12);
  margin-block-start: -60px;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
}

.service-card { text-align: center; }

.service-card .card-icon,
.btn-circle {
  max-width: max-content;
  margin-inline: auto;
}

.service-card .card-icon { margin-block-end: 25px; }

.service-card .card-text { 
  margin-block: 20px 15px;
 }

.service-card .btn-circle {
  color: var(--verdigris);
  font-size: 2rem;
  padding: 18px;
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
}

.service-card .btn-circle:is(:hover, :focus-visible) {
  background-color: var(--verdigris);
  color: var(--white);
}


.faq-container{
  max-width: 90% !important;
  margin: 0 auto !important;
}

.faq{
  background-color: transparent !important;
  border: 1px solid hsl(186, 100%, 19%) !important;
  border-radius: 10px !important;
  padding: 30px !important;
  margin: 20px 0 !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all .4s ease !important;
}

.faq.active{
  background-color: hsl(182, 100%, 35%) !important;
  color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1) !important;
}

.faq-title{
  margin: 0 35px 0 0 !important;
}

.faq-text{
  display: none !important;
  margin: 30px 0 0 !important;
}

.faq.active .faq-text{
  display: block !important;
}

.faq-toggle {
  background-color: transparent !important;
  border: none !important ;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  position: absolute !important;
  top: 30px !important;
  right: 30px !important;
  height: 30px !important;
  width: 30px !important;
}

.chevron, .close{
  width: 12px !important;
  height:12px !important;
}

.faq-toggle .close{
  display: none !important;
} 

.faq.active .faq-toggle .close{
  display: block !important;
}

.faq.active .faq-toggle .chevron{
  display: none !important;
}

.faq.active .faq-toggle{
  background-color: white !important;
  border-radius: 50% !important;
  color:#000 !important;
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { padding-block-end: 0; }

.about .container {
  display: grid;
  gap: 20px;
  text-align: center;
}

.about .section-text { margin-block: 20px 35px; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
}

.tab-btn {
  background-color: var(--alice-blue);
  color: var(--midnight-green);
  padding: 7px 30px;
  border-radius: var(--radius-6);
  font-weight: var(--fw-700);
}

.tab-btn.active {
  background-color: var(--verdigris);
  color: var(--white);
}

.tab-text {
  color: var(--midnight-green);
  margin-block: 35px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 10px;
}

.about-item ion-icon {
  color: var(--verdigris);
  font-size: 2rem;
  flex-shrink: 0;
}





/*-----------------------------------*\
  #LISTING
\*-----------------------------------*/

.listing { background-color: var(--alice-blue); }

.listing-card {
  padding: 25px 16px;
  display: flex;
  gap: 20px;
  border: 2px solid var(--middle-blue-green_40);
  border-radius: var(--radius-12);
  transition: var(--transition-1);
}

.listing-card:is(:hover, :focus-visible) { border-color: var(--verdigris); }

.listing-card .card-title {
  margin-block-end: 5px;
  font-family: var(--ff-oswald);
}

.listing-card .card-text { color: var(--midnight-green); }





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
  background-image: linear-gradient(to bottom, var(--alice-blue) 60%, var(--white) 60%);
  padding-block-start: 0;
  margin-top: 5rem;
}

.blog .section-title { margin-block-end: 60px; }

.blog-card {
  padding: 50px 36px;
  border-radius: var(--radius-12);
  border: 2px solid var(--alice-blue);
  background-image: url('../images/blog-card.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  max-height: 300px;
  
}

.blog-card::before,
.blog-card::after {
  inset: 0;
  z-index: -1;
  transition: var(--transition-3);
  
  
}

.blog-card::before {
  background-color: var(--midnight-green);
  opacity: 0.9;
}

.blog-card::after { background-color: var(--white); }

.blog-card:is(:hover, :focus-within)::after { transform: translateY(100%); 
   }

.blog-card .meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  margin-block-end: 12px;
  
}

.blog-card .card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--midnight-green);
}

.blog-card .card-meta ion-icon { font-size: 1.8rem; }

.blog-card .card-meta:first-child .span { text-transform: uppercase; }

.blog-card .date {
  color: var(--space-cadet);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  opacity: 0.5;
  margin-block: 16px;
}

.blog-card .btn-text {
  color: var(--verdigris);
  margin-block-start: 12px;
}

.blog-card :is(.card-meta, .card-title, .date, .card-text, .btn-text) {
  transition: var(--transition-2);
}

.blog-card:is(:hover, :focus-within) :is(.card-meta, .card-title, .date, .card-text, .btn-text) {
  color: var(--white);
  
  max-height: 250px;
  overflow-y: scroll;
  
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--midnight-green);
  color: var(--white);
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-block-end: 60px;
}

.footer-brand {
  background-color: var(--ming);
  padding: 32px;
  border-radius: var(--radius-6);
}

.footer .logo { margin-block-end: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 12px;
}

.contact-item .item-icon { font-size: 4rem; }

.contact-link {
  display: inline;
  transition: var(--transition-1);
}

.contact-link:is(:hover, :focus-visible) { color: var(--verdigris); }

.footer-list-title {
  color: var(--white);
  font-weight: var(--fw-700);
  margin-block-end: 20px;
}

.footer .text { opacity: 0.7; }

.footer .address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
}

.footer .address ion-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.footer-link {
  margin-block-start: 8px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus-visible) { color: var(--verdigris); }

.footer-form .input-field {
  color: var(--white);
  border: 1px solid var(--white_a20);
  border-radius: var(--radius-4);
  padding: 8px 20px;
}

.footer-form .input-field::placeholder { color: inherit; }

.footer-form .btn {
  width: 100%;
  justify-content: center;
  margin-block: 12px 28px;
}

.footer-bottom {
  padding-block: 32px;
  border-block-start: 1px solid var(--white_a20);
}

.footer-bottom .social-list {
  justify-content: flex-start;
  gap: 8px;
  margin-block-start: 16px;
}

.footer-bottom .social-link {
  font-size: 1.4rem;
  padding: 12px;
  background-color: var(--white_a10);
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.footer-bottom .social-link:is(:hover, :focus-visible) { background-color: var(--verdigris); }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--verdigris);
  color: var(--white);
  padding: 16px;
  font-size: 2rem;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
  opacity: 0;
  z-index: 3;
}

.back-top-btn:is(:hover, :focus-visible) { background-color: var(--eerie-black); }

.back-top-btn.active {
  transform: translateY(-10px);
  opacity: 1;
}

.form-section {
  background: var(--middle-blue-green_40);

}
.container-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --headline-lg: 8rem;
    --headline-md: 4.8rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 750px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .btn { display: block; }

  .nav-open-btn { margin-inline-start: auto; }

  .header .container { gap: 40px; }



  /**
   * HERO
   */

  .hero-title { line-height: 1.125; }

  .hero .wrapper {
    display: flex;
    gap: 16px;
  }

  .hero-card .input-wrapper { flex-grow: 1; }

  .hero-card .input-field { height: 100%; }

  .hero-card .btn {
    width: max-content;
    margin-block-start: 0;
  }



  /**
   * SERVICE
   */

  .service-list { grid-template-columns: 1fr 1fr; }



  /**
   * ABOUT
   */

  .about-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .about-banner {
    max-width: max-content;
    margin-inline: auto;
  }



  /**
   * LISTING
   */

  .listing .grid-list { grid-template-columns: 1fr 1fr; }

  .listing .grid-list > li:first-child { grid-column: 1 / 3; }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / 3; }

  .contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom .social-list { margin-block-start: 0; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 940px; }



  /**
   * HERO
   */

  .hero-banner {
    display: block;
    max-width: max-content;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }



  /**
   * SERVICE
   */

  .service-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * ABOUT
   */

  .about .container {
    /* grid-template-columns: 1fr 0.8fr; */
    align-items: flex-end;
  }


  .about-banner { 
    margin-inline-end: -80px; }



  /**
   * BLOG
   */

  .blog .grid-list { grid-template-columns: 1fr 1fr; }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }



  /**
   * HEADER
   */

  .header { padding-block: 24px; }

  .nav-open-btn,
  .overlay,
  .navbarr-top,
  .navbarr .social-list { display: none !important; }

  .navbarr,
  .navbarr.active,
  .navbarr-list {
    all: unset !important;
    display: block !important;
  }

  .navbarr { margin-inline-start: auto !important; }

  .navbarr-list {
    display: flex !important;
    gap: 8px !important;
  }

  .navbarr-item { border-block-start: none !important; }

  .navbarr-link {
    --title-md: 1.8rem !important;
    font-weight: var(--fw-500) !important;
    padding-inline: 16px !important;
    text-transform: capitalize !important;
  }



  /**
   * HERO
   */

  .hero .container {
    grid-template-columns: 0.8fr 1fr;
    gap: 96px;
  }



  /**
   * LISTING
   */

  .listing .grid-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * BLOG
   */

  .blog .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * FOOTER
   */

  .footer { background-size: auto; }

  .footer-top { grid-template-columns: repeat(4, 1fr); }

  .footer-brand {
    grid-column: 1 / 5;
    padding: 28px 56px;
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    align-items: center;
  }

  .footer .logo { margin-block-end: 0; }

  .contact-list { justify-content: space-between; }

  .contact-list::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--white_a20);
  }

  .contact-item { margin-block-start: 0; }

}
.testimonial-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.testimonials {
  background-color: #ffffff;
  width: 100%;
  max-width: 740px;
  margin: 20px;
  box-shadow: 0 6px 5px -7px #cbcbcb;
  border-radius: 3px;
  position: relative;
  opacity: 0;
  animation: showTestimonials 0.32s 0.78s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}
.testimonials input {
  display: none;
  visibility: hidden;
  height: 0;
  width: 0;
  pointer-events: none;
  opacity: 0;
}

@keyframes showTestimonials {
  to {
    opacity: 1;
  }
}
.testimonials-inner {
  position: relative;
  min-height: 100px;
}

.testimonial {
  padding: 40px 34px 20px 34px;
  margin: 0 30px;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

input[name=testimonial]:nth-child(1):checked ~ .testimonials-inner .testimonial:nth-child(1),
input[name=testimonial]:nth-child(2):checked ~ .testimonials-inner .testimonial:nth-child(2),
input[name=testimonial]:nth-child(3):checked ~ .testimonials-inner .testimonial:nth-child(3),
input[name=testimonial]:nth-child(4):checked ~ .testimonials-inner .testimonial:nth-child(4),
input[name=testimonial]:nth-child(5):checked ~ .testimonials-inner .testimonial:nth-child(5),
input[name=testimonial]:nth-child(6):checked ~ .testimonials-inner .testimonial:nth-child(6),
input[name=testimonial]:nth-child(7):checked ~ .testimonials-inner .testimonial:nth-child(7),
input[name=testimonial]:nth-child(8):checked ~ .testimonials-inner .testimonial:nth-child(8),
input[name=testimonial]:nth-child(9):checked ~ .testimonials-inner .testimonial:nth-child(9) {
  pointer-events: initial;
}

.testimonial {
  transition: 0.72s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.32s 0.12s;
  opacity: 0;
  transform: translate(0, 38px);
  max-height: 80px;
  animation: hideTestimonial 0s 0.52s forwards;
  position: relative;
}

input[name=testimonial]:nth-child(1):checked ~ .testimonials-inner .testimonial:nth-child(1),
input[name=testimonial]:nth-child(2):checked ~ .testimonials-inner .testimonial:nth-child(2),
input[name=testimonial]:nth-child(3):checked ~ .testimonials-inner .testimonial:nth-child(3),
input[name=testimonial]:nth-child(4):checked ~ .testimonials-inner .testimonial:nth-child(4),
input[name=testimonial]:nth-child(5):checked ~ .testimonials-inner .testimonial:nth-child(5),
input[name=testimonial]:nth-child(6):checked ~ .testimonials-inner .testimonial:nth-child(6),
input[name=testimonial]:nth-child(7):checked ~ .testimonials-inner .testimonial:nth-child(7),
input[name=testimonial]:nth-child(8):checked ~ .testimonials-inner .testimonial:nth-child(8),
input[name=testimonial]:nth-child(9):checked ~ .testimonials-inner .testimonial:nth-child(9)
 {
  animation: showTestimonial 0s 0.72s forwards;
  position: absolute;
  opacity: 1;
  transform: none;
  max-height: 800px;
  transition: 0.3s 0.52s, opacity 0.68s 0.92s, max-height 0.82s 0.72s;
}

@keyframes hideTestimonial {
  to {
    position: absolute;
  }
}
@keyframes showTestimonial {
  to {
    position: relative;
  }
}
input[name=testimonial]:nth-child(1):checked ~ .testimonials-bullets label:nth-child(1) span,
input[name=testimonial]:nth-child(2):checked ~ .testimonials-bullets label:nth-child(2) span,
input[name=testimonial]:nth-child(3):checked ~ .testimonials-bullets label:nth-child(3) span,
input[name=testimonial]:nth-child(4):checked ~ .testimonials-bullets label:nth-child(4) span,
input[name=testimonial]:nth-child(5):checked ~ .testimonials-bullets label:nth-child(5) span,
input[name=testimonial]:nth-child(6):checked ~ .testimonials-bullets label:nth-child(6) span,
input[name=testimonial]:nth-child(7):checked ~ .testimonials-bullets label:nth-child(7) span,
input[name=testimonial]:nth-child(8):checked ~ .testimonials-bullets label:nth-child(8) span,
input[name=testimonial]:nth-child(9):checked ~ .testimonials-bullets label:nth-child(9) span {
  background-color: rgba(245, 34, 34, 0.836);
  transform: scale(1);
  transition: transform 0.36s cubic-bezier(0.26, -0.59, 0.43, 2.48), background-color 0.41s ease-in;
}

.testimonial-photo {
  height: 84px;
  width: 84px;
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.photo-background {
  background-color: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  height: 100%;
  box-shadow: 0 -4px 3px -2px #c3c2c2;
  width: 100%;
  transform: scale(0.87);
  transition: 0.32s;
}

input[name=testimonial]:nth-child(1):checked ~ .testimonials-inner .testimonial:nth-child(1) .photo-background,
input[name=testimonial]:nth-child(2):checked ~ .testimonials-inner .testimonial:nth-child(2) .photo-background,
input[name=testimonial]:nth-child(3):checked ~ .testimonials-inner .testimonial:nth-child(3) .photo-background,
input[name=testimonial]:nth-child(4):checked ~ .testimonials-inner .testimonial:nth-child(4) .photo-background,
input[name=testimonial]:nth-child(5):checked ~ .testimonials-inner .testimonial:nth-child(5) .photo-background,
input[name=testimonial]:nth-child(6):checked ~ .testimonials-inner .testimonial:nth-child(6) .photo-background,
input[name=testimonial]:nth-child(7):checked ~ .testimonials-inner .testimonial:nth-child(7) .photo-background,
input[name=testimonial]:nth-child(8):checked ~ .testimonials-inner .testimonial:nth-child(8) .photo-background,
input[name=testimonial]:nth-child(9):checked ~ .testimonials-inner .testimonial:nth-child(9) .photo-background  {
  transform: scale(1);
  transition: 0s;
}

.photo-author {
  background-size: 68px;
  background-position: center;
  height: 0;
  width: 0;
  border-radius: 50%;
  background-color: #dbdbdb;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  opacity: 0;
  transform: scale(1.18) translate(0, -6px);
  transition: transform 0.42s ease-out, opacity 0.58s, width 0s 0.6s, height 0s 0.6s;
}

input[name=testimonial]:nth-child(1):checked ~ .testimonials-inner .testimonial:nth-child(1) .photo-author,
input[name=testimonial]:nth-child(2):checked ~ .testimonials-inner .testimonial:nth-child(2) .photo-author,
input[name=testimonial]:nth-child(3):checked ~ .testimonials-inner .testimonial:nth-child(3) .photo-author,
input[name=testimonial]:nth-child(4):checked ~ .testimonials-inner .testimonial:nth-child(4) .photo-author,
input[name=testimonial]:nth-child(5):checked ~ .testimonials-inner .testimonial:nth-child(5) .photo-author,
input[name=testimonial]:nth-child(6):checked ~ .testimonials-inner .testimonial:nth-child(6) .photo-author,
input[name=testimonial]:nth-child(7):checked ~ .testimonials-inner .testimonial:nth-child(7) .photo-author,
input[name=testimonial]:nth-child(8):checked ~ .testimonials-inner .testimonial:nth-child(8) .photo-author,
input[name=testimonial]:nth-child(9):checked ~ .testimonials-inner .testimonial:nth-child(9) .photo-author {
  transform: scale(1);
  opacity: 1;
  height: 68px;
  width: 68px;
  transition: width 0.26s 1.01s, height 0.26s 1.01s;
}

.testimonial-text {
  color: #606060;
  font-size: 20px;
  text-align: center;
  text-shadow: 0 0 1px #939393;
  letter-spacing: 0.12px;
  font-style: italic;
  line-height: 26px;
}
.testimonial-text p {
  margin-bottom: 10px;
}

.testimonial-author {
  font-size: 15px;
  text-align: right;
  color: #bdbdbd;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  text-shadow: 0 0 1px #e3e3e3;
}
.testimonial-author:before {
  content: "– ";
}

.testimonials-bullets {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 30px;
  transform: translate(0, 8px);
}
.testimonials-bullets .bullet {
  height: 30px;
  width: 30px;
  cursor: pointer;
  margin: 0 1px;
}
.testimonials-bullets .bullet div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 6px -7px #000000;
}
.testimonials-bullets .bullet div span {
  background-color: #c3c3c3;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  transform: scale(0.82);
  transition: 0.72s;
}
.testimonials-bullets .bullet:hover span {
  background-color: rgba(216, 118, 118, 0.836);
}

.testimonials-arrows {
  height: 100%;
}
.testimonials-arrows .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  position: absolute;
  top: calc(50% - 25px);
}
.testimonials-arrows .arrow span {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 50%;
  height: 40px;
  width: 40px;
}
.testimonials-arrows .arrow span:before {
  font-size: 32px;
  font-family: monospace, sans-serif;
  font-weight: 600;
  color: #c3c3c3;
  transition: color 0.21s ease-in;
}
.testimonials-arrows .arrow:hover span:before {
  color: #444444;
  transition: color 0.17s ease-out;
}
.testimonials-arrows .arrow label {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}
.testimonials-arrows .arrow-left {
  left: -20px;
}
.testimonials-arrows .arrow-left span {
  box-shadow: 40px 0 20px 20px #ffffff, -5px 0 30px 0px #e1e1e1;
}
.testimonials-arrows .arrow-left span:before {
  content: "<";
}
.testimonials-arrows .arrow-right {
  right: -20px;
}
.testimonials-arrows .arrow-right span {
  box-shadow: -40px 0 20px 20px #ffffff, 5px 0 30px 0px #e1e1e1;
}
.testimonials-arrows .arrow-right span:before {
  content: ">";
}

input[name=testimonial]:nth-child(1):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial9],
input[name=testimonial]:nth-child(1):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial2],
input[name=testimonial]:nth-child(2):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial1],
input[name=testimonial]:nth-child(2):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial3],
input[name=testimonial]:nth-child(3):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial2],
input[name=testimonial]:nth-child(3):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial4],
input[name=testimonial]:nth-child(4):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial3],
input[name=testimonial]:nth-child(4):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial5],
input[name=testimonial]:nth-child(5):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial4],
input[name=testimonial]:nth-child(5):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial6],
input[name=testimonial]:nth-child(6):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial5],
input[name=testimonial]:nth-child(6):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial7],
input[name=testimonial]:nth-child(7):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial6],
input[name=testimonial]:nth-child(7):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial8],
input[name=testimonial]:nth-child(8):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial7],
input[name=testimonial]:nth-child(8):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial9],
input[name=testimonial]:nth-child(9):checked ~ .testimonials-arrows .arrow-left label[for=input-testimonial8],
input[name=testimonial]:nth-child(9):checked ~ .testimonials-arrows .arrow-right label[for=input-testimonial1] {
  z-index: 1;
}



.section-title {
  position: relative;
  font-size: 30px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin: 0 0 35px;
}

.sec-pad {
  padding: 60px 0 0;
  margin: 50px 0;
}

.contact-sec {
  align-item: center;
  display: flex;
  background-color: #5cbde466;
}

.contact-sec .contact-ul li,
.contact-ul b {
  font-size: 20px;
  margin: 10px 0;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  word-wrap: break-word;
}

.contact-sec .contact-ul i {
  font-size: 18px;
  padding: 10px;
  margin-right: 10px;
  border-radius: 50%;
}
.contact-detail a {
  color: #000;
  text-decoration: none;
}

.contact-sec .contact-ul li b:hover {
  color: #f93;
}

.contact-sec .contact-ul li .fa-location-dot {
  color: #f44337;
  border: 2px solid #f4433790;
}

.contact-sec .contact-ul li .fa-phone {
  color: #00b055;
  border: 2px solid #00b05590;
}

.contact-sec .contact-ul li .fa-envelope {
  color: #ff6347;
  border: 2px solid #ff634790;
}

.contact-detail span {
  width: 400px;
  display: flex;
  justify-content: center;
}
.contact-detail span a {
  font-size: 20px;
  padding: 6px 12px;
  color: #000;
  border-radius: 50%;
  margin: 0px 5px;
}
.contact-detail span .fb {
  color: #3b5998;
  border: 3px solid #3b5998;
}
.contact-detail span .fb:hover {
  color: #fff;
  background-color: #3b5998;
}

.contact-detail span .insta {
  color: #833ab4;
  border: 3px solid #833ab4;
}
.contact-detail span .insta:hover {
  color: #fff;
  background-color: #833ab4;
}

.contact-detail span .twitter {
  color: #00acee;
  border: 3px solid #00acee;
}
.contact-detail span .twitter:hover {
  color: #fff;
  background-color: #00acee;
}

form.contFrm {
  max-width: 396px;
  margin: auto;
}

.inptFld {
  width: 100%;
  height: 50px;
  border: 0;
  margin: 0 0 10px;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 16px;
  color: #000;
  background: #fff;
}

.inptFld:focus {
  outline-offset: -4px;
  outline: 1px solid #f93;
}

.contFrm textarea {
  height: 75px;
  padding-top: 5px;
}
.inptBtn {
  height: 50px;
  border: 0;
  background-color: var(--verdigris);
  font-size: 14px;
  color: #fff;
  margin: auto;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
}

/* Responcive css Start */

@media (max-width: 991px) {
  .sec-pad {
    padding: 20px 0 0px;
  }

  .contact-sec .contact-ul li,
  .contact-ul b {
    font-size: 18px;
  }

  .contact-sec .contact-ul i {
    font-size: 14px;
    padding: 6px;
    margin-right: 6px;
  }

  .inptFld {
    height: 40px;
    margin: 0 0 10px;
    padding: 0 14px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .contact-detail span {
    width: auto;
  }
  .contact-detail span a {
    font-size: 18px;
    padding: 5px 10px;
    color: #000;
    border-radius: 50%;
    margin: 0px 5px 20px;
  }
}

@media (max-width: 575px) {
  .section-title {
    font-size: 26px;
    font-weight: 500;
  }
  .contact-sec {
    border-radius: 10% 10% 0% 0% / 5% 5% 0% 0%;
  }

  .contact-sec .contact-ul i {
    border: none;
  }
  .inptFld {
    height: 36px;
    margin: 0 0 8px;
    padding: 0 14px;
    font-size: 14px;
  }
 
}


@media (max-width: 480px) {
  .contact-sec .contact-ul li,
  .contact-ul b {
    font-size: 16px;
  }
   .footer-top {
    flex-direction: column !important;
  }
}
