@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
* {
  font-family: "Nunito", sans-serif;
}

:root {
  /**
   * colors
   */

  * {
    scroll-behavior: smooth;
  }

  body {
    background: radial-gradient(
      circle,
      rgb(220, 237, 255) 0%,
      rgb(255, 255, 255) 100%
    );
  }

  --safety-orange: rgba(2, 55, 111, 1);
  --lavender-gray: hsl(230, 19%, 81%);
  --persian-rose: #000000;
  --red-crayola: rgba(2, 55, 111, 1);
  --eerie-black: hsl(240, 18%, 96%);
  --light-gray: hsl(0, 0%, 80%);
  --cultured-2: hsl(210, 60%, 98%);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(220, 5%, 49%);
  --cultured: hsl(0, 0%, 93%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_5: hsla(0, 0%, 0%, 0.05);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 14%, 98%);
  --black: hsl(0, 0%, 0%);

  .video1 {
    background-image: url(https://res.cloudinary.com/dibpybkia/image/upload/v1742510390/Proswritingservices-Hero-Sectoin_hj29tk.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .service {
    background-color: #e3efff;
  }

  .service-2 {
    background-color: #e3efff;
  }
  .card-icon {
    background-color: #0051a8;
    margin-right: 10px;
  }

  .card-icon:hover {
    background-color: black;
  }

  .icon-1 {
    color: #ffffff;
  }

  .section-title {
    color: black;
  }

.i-1{
  margin-top: 10px;
}

.i-2{
  font-size: 9px;
padding-top: 1px;

}

  .footer-2 {
    height: auto;
    background: #1b1f3b;
    background: radial-gradient(
      circle,
      rgb(0, 0, 0) 0%,
      rgba(2, 55, 111, 1) 100%
    );
    display: flex;
    color: #d1d5db;
    font-weight: 300;
    gap: 70px;
    flex-wrap: wrap !important;
    justify-content: center;
    padding-bottom: 20px;
  }

  .footer-2 img {
    width: 160px;
    height: 60px;
  }

  .image {
    padding-top: 45px;
    align-items: center;
  }

  .footer-2 p {
    color: white;
    font-size: 15px;
    padding-left: 30px;
    padding-top: 6px;
    line-height: 1.5;
  }

  .about-f {
    padding-top: 40px;
  }

  .headings {
    font-size: 25px;
    padding-bottom: 20px;
    font-weight: 500;
  }

  .about-f li {
    padding-top: 6px;
  }

  .mail {
    display: flex;
    gap: 10px;
    color: white;
    margin-left: 30px;
    font-size: 14px;
  }
  .mail img {
    width: 25px;
    height: 25px;
  }

  .color {
    width: 50px;
    height: 50px;
    background-color: #0051a8;
  }

  .whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .whatsapp img {
    width: 70px;
    height: auto;
    cursor: pointer;
    animation: shake 0.5s ease-in-out infinite;
    animation-delay: 3s;
  }

  /* Shake animation */
  @keyframes shake {
    0%,
    100% {
      transform: translateX(0) rotate(0deg);
    }
    25% {
      transform: translateX(-5px) rotate(-5deg);
    }
    50% {
      transform: translateX(5px) rotate(5deg);
    }
    75% {
      transform: translateX(-5px) rotate(-5deg);
    }
  }

  .quality {
    font-size: 25px !important;
    padding-bottom: 5px;
  }

  .contact {
    background-color: #e3efff;
  }

  .h3-1 {
    color: black !important;
  }
  .about {
    background-color: #e3efff;
    padding-bottom: 90px;
  }

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

  .color-change {
    color: #000000 !important;
  }

  .change-bg {
    background-color: #e3efff;
  }

  .btn-secondary {
    border: 1px solid var(--safety-orange);
  }

  .heading {
    font-size: 30px;
    margin-top: 3rem;
    color: #000000;
  }

  .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
  }
  .carousel {
    max-width: 900px;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 6rem;
    margin-top: 3rem;
    color: rgb(234, 230, 230);
    /* background: rgb(0,0,0); */
    background: radial-gradient(
      circle,
      rgb(0, 0, 0) 0%,
      rgba(2, 55, 111, 1) 100%
    );
    cursor: pointer;
  }
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  .slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 30px;
    text-align: center;
    opacity: 0.9;
    transition: opacity 0.5s ease-in-out;
  }
  .slide:hover {
    opacity: 1;
    transform: scale(1.02);
  }
  .stars {
    /* color: #00b67a;
    font-size: 1.5em;
    margin-bottom: 10px; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
  }
  .testimonial {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
    color: #f9f9f9;
  }
  .author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
  }
  .author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #0bdba3;
    margin-right: 15px;
  }
  .author div {
    text-align: left;
  }
  .navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .nav-btn {
    border: none;
    padding: 10px 35px;
    font-size: 1.5em;
    cursor: pointer;
    color: #ebebeb;
    border-radius: 50%;
    transition: 0.3s ease;
  }

  @media (max-width: 768px) {
    .carousel {
      max-width: 100%;
    }

    .hero-text {
      color: #ffffff !important;
    }
    .author {
      flex-direction: column;
      text-align: center;
    }
    .author img {
      margin-bottom: 10px;
    }
    .whatsapp {
      bottom: 15px;
      left: 15px;
    }

    .whatsapp img {
      width: 50px;
    }
  }

  @media screen and (max-width: 1200px) {
    .footer-2 {
      gap: 10px;
    }
  }

  @media screen and (max-width: 1001px) {
    .footer-2 {
      gap: 20px;
    }

    .clr {
      color: #7bb8fb !important;
    }
  }
  @media screen and (max-width: 911px) {
    .footer-2 {
      gap: 1px;
    }

    .image {
      padding-top: 24px;
    }

    .image > p {
      font-size: 12px;
    }

    .about-f li {
      padding-top: 5px;
      font-size: 15px;
    }
  }

  @media screen and (max-width: 673px) {
    .footer-2 {
      gap: 0px;
    }
    .off {
      display: none;
    }

    .image {
      padding-top: 24px;
    }

    .image > p {
      font-size: 12px;
    }

    .about-f li {
      padding-top: 5px;
      font-size: 15px;
    }

    .footer-2 {
      padding: 0;
    }
  }

  @media screen and (max-width: 740px) {
    .footer-2 {
      gap: 0px;
    }

    .about-f li {
      padding-top: 5px;
      font-size: 12px;
    }

    .image {
      padding-top: 20px;
      padding-left: 20px;
    }

    .footer-2 p {
      color: white;
      font-size: 13px;
      padding-left: 10px;
      padding-top: 20px;
    }

    .mail {
      margin-left: 10px;
    }

    .about-f {
      margin-right: 5px;
    }
  }

  @media screen and (max-width: 956px) {
    .footer-2 {
      gap: 0px;
    }
  }

  /**
   * gradient color
   */

  --gradient: linear-gradient(
    to left top,
    var(--persian-rose),
    var(--safety-orange)
  );

  /**
   * typography
   */

  --ff-roboto: "Roboto", sans-serif;
  --ff-league-spartan: "League Spartan", sans-serif;

  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.1rem;
  --fs-4: 1.7rem;
  --fs-5: 1.4rem;
  --fs-6: 1.3rem;

  --fw-700: 700;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow-1: 0 6px 24px var(--black_5);
  --shadow-2: 0 2px 28px var(--black_10);

  /**
   * border radius
   */

  --radius-2: 2px;
  --radius-5: 5px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

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

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

li {
  list-style: none;
}

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

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

img {
  height: auto;
}

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

input,
textarea {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

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

body {
  background-color: #e3efff;
  color: var(--gray-web);
  font-size: 1.6rem;
  line-height: 1.8;
}

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

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

:focus-visible {
  outline-offset: 4px;
}

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

.container {
  padding-inline: 15px;
}

.btn {
  max-width: max-content;
  color: var(--white-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  padding: 10px 30px;
  border-radius: var(--radius-5);
  transition: var(--transition-1);
}

.btn-primary {
  background-image: var(--gradient);
  background-size: 1000%;
  border: 1px solid rgba(2, 55, 111, 1);
}

.btn-primary {
  border: none;
}

.btn-primary:is(:hover, :focus) {
  background-position: bottom right;
}

.btn-secondary {
  background-color: var(--safety-orange);
  color: var(--eerie-black);
}

.btn-secondary:is(:hover, :focus) {
  background-color: var(--black);
  color: var(--white-1);
  border: 1px solid black;
}

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

.h1,
.h2,
.h3 {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  line-height: 1.2;
}

.h2-clr {
  color: black;
  font-family: var(--ff-league-spartan);
  font-size: 40px;
  line-height: 1.2;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
}

.w-100 {
  width: 100%;
}

.section-title,
.section-text {
  text-align: center;
}

.section-text {
  font-size: var(--fs-6);
}

.grid-list {
  display: grid;
  gap: 30px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background: rgb(232, 232, 232); */
  background-color: #e3efff;

  padding-block: 15px;
  border-block-end: 1px solid var(--cultured);
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  filter: drop-shadow(var(--shadow-2));
}

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

.logo {
  font-family: var(--ff-league-spartan);
  color: var(--black);
  font-size: 3.5rem;
  font-weight: var(--fw-700);
  line-height: 1;
}

.nav-toggle-btn {
  font-size: 30px;
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
  display: block;
}

.navbar {
  background-color: var(--white-1);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 30px);
  width: 100%;
  padding-inline: 0;
  border: 1px solid var(--cultured);
  transition: 0.3s var(--cubic-out);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.navbar.active {
  max-height: 320px;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list {
  padding: 20px 15px;
  padding-block-start: 10px;
  opacity: 0;
  transition: var(--transition-1);
}

.navbar.active .navbar-list {
  opacity: 1;
}

.navbar-link {
  color: black;
  font-family: var(--ff-league-spartan);
  font-size: var(--fs-4);
  line-height: 1.2;
  padding-block: 10px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--red-crayola);
}

.header .btn {
  margin-block-start: 10px;
}

/*-----------------------------------*\
  #HEO
\*-----------------------------------*/

.hero {
  padding-block-start: calc(var(--section-padding) + 50px);
  text-align: center;
}

.hero-content {
  margin-block-end: 30px;
}

.hero-subtitle {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
}

.hero-title {
  margin-block: 12px 8px;
}

.hero-text {
  font-size: var(--fs-5);
}

.hero .btn {
  margin-inline: auto;
  margin-block-start: 20px;
}

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

.service {
  background-color: var(--white-2);
}

.service .section-text {
  margin-block: 5px 35px;
}

.service-card {
  background-color: var(--white-1);
  padding: 20px 15px;
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: var(--transition-2);
}

.service-card:is(:hover, :focus-within) {
  transform: translateY(-10px);
}

.service-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto;
  color: var(--white-1);
  font-size: 25px;
  width: 50px;
  height: 50px;
  padding: 30px;
  /* max-width: max-content;
  margin-inline: auto;*/
  border-radius: 50%;
}

.service-card .card-title {
  margin-block: 20px 8px;
}

.service-card .card-text {
  font-size: var(--fs-6);
}

/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project .section-text {
  margin-block: 5px 35px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-8);
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.5;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within)::after {
  opacity: 0.8;
}

.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within) .card-content {
  transform: translateY(-20px);
}

.project-card .card-subtitle {
  color: var(--lavender-gray);
  font-size: var(--fs-6);
  line-height: 1;
}

.project-card .card-title {
  color: rgb(255, 255, 255);
  margin-block: 12px 15px;
}

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

.about {
  background-color: var(--white-2);
}

.about-banner {
  position: relative;
  border-radius: var(--radius-5);
  overflow: hidden;
  margin-block-end: 25px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 1px var(--white-1);
  }
  100% {
    box-shadow: 0 0 0 25px transparent;
  }
}

.about :is(.section-title, .section-text) {
  text-align: left;
}

.about .section-title {
  margin-block-end: 5px;
}

.about .section-text:not(:last-child) {
  margin-block-end: 18px;
}

.about .h3 {
  margin-block-end: 8px;
}

.about-list {
  /* margin-block: 15px 18px; */
  padding: 0px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.about-item i {
  font-size: 14px;
  min-width: 20px;
  height: 20px;
  background-color: var(--red-crayola);
  border-radius: 50%;
  color: var(--white-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-item ion-icon {
  color: var(--red-crayola);
  flex-shrink: 0;
  /* margin-block-start: 2px; */
}

.about-item:not(:last-child) {
  /* margin-block-end: 12px; */
}

/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--gradient);
  opacity: 0.95;
  z-index: -1;
}

.cta-subtitle,
.cta .section-title {
  color: var(--white-1);
}

.cta-subtitle {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-align: center;
}

.cta .section-title {
  margin-block: 12px 18px;
}

.cta .btn {
  margin-inline: auto;
}

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

.blog .section-text {
  margin-block: 5px 35px;
}

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

.blog-card .card-banner {
  overflow: hidden;
}

.blog-card .card-banner img {
  transition: var(--transition-2);
}

.blog-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.05);
}

.blog-card .card-content {
  padding: 15px;
}

.blog-card .time {
  color: var(--red-crayola);
  font-size: var(--fs-6);
  line-height: 1;
  margin-block-end: 10px;
}

.blog-card .card-title {
  transition: var(--transition-1);
}

.blog-card .card-title:is(:hover, :focus) {
  color: var(--red-crayola);
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact {
  background-color: var(--white-2);
}

.contact .section-text {
  margin-block: 5px 35px;
}

.contact-form {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  margin-block-end: 30px;
  box-shadow: var(--shadow-1);
}

.input-field {
  background-color: var(--white-2);
  color: black;
  font-size: var(--fs-5);
  padding: 15px;
  border-radius: var(--radius-2);
  outline: 1px solid transparent;
  outline-offset: 0;
  margin-block-end: 15px;
}

.input-field::-webkit-inner-spin-button {
  display: none;
}

.input-field:focus {
  outline-color: var(--red-crayola);
}

.input-field::placeholder {
  transition: var(--transition-1);
}

.input-field:focus::placeholder {
  opacity: 0;
}

textarea.input-field {
  resize: vertical;
  min-height: 80px;
  height: 100px;
  max-height: 200px;
  overscroll-behavior: contain;
}

.checkbox {
  width: max-content;
  margin-block-start: 5px;
  accent-color: var(--red-crayola);
}

.label-link {
  display: inline-block;
  color: var(--red-crayola);
}

.label-link:is(:hover, :focus) {
  text-decoration: underline;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-end: 15px;
}

.checkbox-wrapper .label {
  font-size: var(--fs-6);
}

.contact-list {
  padding: 0px !important;
  display: flex;
  justify-content: center;
  gap: 30px 25px;
}

.contact-item {
  min-width: 100%;
}

.contact-card {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: flex-start;
  height: fit-content;
}

.card-2 {
  padding: 30px !important;
}

.contact-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--cultured-2);
  color: var(--red-crayola);
  font-size: 25px;
  padding: 15px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.contact-card:is(:hover, :focus) .card-icon {
  background-color: var(--red-crayola);
  color: var(--white-1);
}

.contact-card .card-title {
  margin-block-end: 5px;
}

.contact-card :is(.card-link, .card-address) {
  font-size: var(--fs-6);
  transition: var(--transition-1);
  margin: 0 !important;
  cursor: pointer;
}

.contact-card .card-address .card-link:is(:hover, :focus) {
  color: var(--red-crayola);
}

.card-title {
  color: #000000 !important;
  font-weight: lighter !important;
}

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

.footer {
  background-color: var(--white-2);
  padding-block: 10px;
  border-top: 1px solid rgba(145, 145, 145, 0.87);
  background: rgb(0, 0, 0);
  background: radial-gradient(
    circle,
    rgb(0, 0, 0) 0%,
    rgba(2, 55, 111, 1) 100%
  );
  color: white;
}

.copyright {
  font-size: var(--fs-6);
  text-align: center;
}

.copyright-link {
  color: var(--white-1);
  font-weight: var(--fw-500);
  display: inline-block;
}

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

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--safety-orange);
  color: var(--eerie-black);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 13px;
  padding-right: 13px;
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.card-link {
  font-size: 15px !important;
}

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

.back-top-btn:is(:hover, :focus) {
  opacity: 0.9;
}

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

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {
  .back-top-btn {
    visibility: hidden;
  }
  /**
   * REUSED STYLE
   */

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

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }

  /**
   * BLOG
   */

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

  .blog-card.grid {
    display: grid;
    grid-template-columns: 0.47fr 1fr;
    align-items: center;
    gap: 10px;
  }

  /**
   * CONTACT
   */

  .input-wrapper {
    display: flex;
    gap: 15px;
  }

  .contact-item {
    min-width: calc(50% - 18px);
  }
}

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

@media (min-width: 768px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 4.5rem;
    --fs-2: 3.7rem;
    --fs-3: 2.3rem;
    --fs-4: 1.8rem;
    --fs-5: 1.5rem;
    --fs-6: 1.4rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }

  /**
   * HERO
   */

  .hero-text {
    max-width: 60ch;
    margin-inline: auto;
    color: #ffffff !important;
  }

  /**
   * ABOUT
   */

  .about-banner {
    max-width: 550px;
  }

  .about .section-text {
    max-width: unset;
    margin-inline: 0;
  }

  /**
   * CONTACT
   */

  .contact-form {
    padding: 30px;
  }

  .contact-item {
    min-width: calc(50% - 12.5px);
  }
}

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

@media (min-width: 992px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 5rem;
    --fs-2: 4rem;
    --fs-3: 2.5rem;

    /**
     * spacing
     */

    --section-padding: 100px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }

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

  /**
   * HEADER
   */

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar-link {
    position: relative;
  }

  .navbar-link:is(:hover, :focus) {
    color: var(--eerie-black);
  }

  .navbar-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-2);
  }

  .navbar-link:is(:hover, :focus)::after {
    transform: scaleX(1);
  }

  .header .btn {
    margin-block-start: 0;
  }

  .navbar-link:hover {
    color: #0051a8;
  }

  .clr {
    color: #7bb8fb;
  }

  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  .hero-content {
    margin-block-end: 0;
  }

  .hero-subtitle {
    position: relative;
    padding-inline-start: 15px;
  }

  .hero-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--red-crayola);
  }

  .hero-text,
  .hero .btn {
    margin-inline: 0;
  }

  /**
   * SERVICE
   */

  .service-card {
    padding: 20px;
  }

  .service-card .h3 {
    --fs-3: 2.3rem;
  }

  /**
   * PROJECT
   */

  .project-card .card-subtitle {
    --fs-6: 1.5rem;
  }

  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner {
    margin-block-end: 0;
  }

  /**
   * BLOG
   */

  .blog .grid-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .blog .grid-list > li:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  .blog-card:not(.grid) {
    height: 100%;
  }

  .blog-card .card-content {
    padding-block: 10px;
  }

  .blog-card:not(.grid) .card-content {
    padding: 25px;
  }

  .blog-card.grid .h3 {
    --fs-3: 2rem;
  }

  .blog-card .time {
    --fs-6: 1.6rem;
  }

  /**
   * CONTACT
   */

  .checkbox-wrapper {
    margin-block: 20px;
  }

  .contact-item {
    min-width: calc(33.33% - 16.66px);
  }

  .contact-card {
    padding: 30px;
  }

  .contact-card .card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 15px;
    /* padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px; */
    font-size: 25px;
  }
}

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

@media (min-width: 1200px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 6.8rem;
    --fs-2: 4.5rem;
    --fs-4: 1.9rem;
    --fs-5: 1.6rem;
    --fs-6: 1.6rem;
  }

  /**
   * REUSED STYLE
   */

  .clr {
    color: #7bb8fb !important;
  }

  .container {
    max-width: 1140px;
  }

  .btn {
    --fs-6: 1.5rem;
  }

  /**
   * SERVICE
   */

  .service-card {
    padding: 30px;
  }

  .service-card .h3 {
    --fs-3: 2.5rem;
  }

  /**
   * PROJECT
   */

  .project-card .card-content {
    padding: 30px;
  }

  .project-card .card-subtitle {
    --fs-6: 1.6rem;
  }

  /**
   * ABOUT
   */

  .about .container {
    gap: 60px;
  }

  .about-item {
    gap: 7px;
  }

  .about-item ion-icon {
    font-size: 20px;
  }

  /**
   * CTA
   */

  .cta .section-title {
    margin-block: 15px 24px;
  }

  /**
   * BLOG
   */

  .blog-card .time {
    --fs-6: 1.6rem;
  }

  .blog-card.grid .h3 {
    --fs-3: 2.4rem;
  }

  /**
   * CONTACT
   */

  .contact-form {
    padding: 50px;
  }

  .card-icon {
    padding: 15px;
  }
}
/* Form Container */
.form {
  width: 100%;
  max-width: 450px; /* Increased width */
  margin: 40px auto;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  transition: 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Animated Border Glow */
.form::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #0d3055, #00d4ff);
  z-index: -1;
  border-radius: 8px;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.form:hover::before {
  opacity: 1;
  filter: blur(10px);
}

/* Headings */
.form h3 {
  font-size: 15px;
  font-weight: 600;
  color: rgba(2, 55, 111, 1);
  margin-bottom: 6px;
}

/* Input Fields */
.form select,
.form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(6, 71, 141, 0.7);
  border-radius: 5px;
  font-size: 14px;
  background: #f9f9f9;
  color: #333;
  outline: none;
  transition: 0.3s ease-in-out;
}

/* Hover & Focus Effects */
.form select:focus,
.form input:focus {
  border-color: #0056b3;
  box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.4);
}

/* Button */
.form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, rgba(2, 55, 111, 1), #0056b3);
  color: rgb(238, 235, 235);
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Button Hover */
.form button:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  transform: scale(1.05);
}

/* Button Animation */
.form button::after {
  content: "🖤";
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s ease-in-out;
}

.form button:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .clr {
    color: #7bb8fb !important;
  }

  .form {
    max-width: 90%;
    padding: 25px;
  }

  .form h3 {
    font-size: 14px;
  }

  .form select,
  .form input {
    font-size: 13px;
    padding: 8px;
  }

  .form button {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .form {
    max-width: 95%;
    padding: 20px;
  }

  .form h3 {
    font-size: 13px;
  }

  .form select,
  .form input {
    font-size: 12px;
    padding: 7px;
  }

  .form button {
    font-size: 13px;
    padding: 10px;
  }
}

.section-title {
  padding-bottom: 10px;
}

.gap-decrease {
  padding-bottom: 5px !important;
}

@media screen and (max-width: 1200px) {
  .card-link {
    font-size: 12px !important;
  }

  .clr {
    color: #7bb8fb !important;
  }

  .card-2 {
    padding: 25px !important;
  }

  .contact-list {
    padding: 0px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 25px;
  }
}

/* chatbot start  */
#chatbot-toggler {
  position: fixed;
  bottom: 15px;
  right: 65px;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--safety-orange);
  color: #e3efff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 1000;
}

body.show-chatbot #chatbot-toggler {
  transform: rotate(90deg);
}

#chatbot-toggler span {
  color: #fff;
  position: absolute;
}

#chatbot-toggler span:last-child,
body.show-chatbot #chatbot-toggler span:first-child {
  opacity: 0;
}

body.show-chatbot #chatbot-toggler span:last-child {
  opacity: 1;
}

.chatbot-popup {
  position: fixed;
  right: 35px;
  bottom: 90px;
  width: 420px;
  overflow: hidden;
  background: #ececec;
  border-radius: 15px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.2);
  transform-origin: bottom right;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
    0 32px 64px -48px rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
}

body.show-chatbot .chatbot-popup {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 15px 22px;
  background: var(--safety-orange);
  justify-content: space-between;
}

.chat-header .header-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-info .chatbot-logo {
  width: 35px;
  height: 35px;
  /* padding: 6px; */
  fill: var(--safety-orange);
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
}

.header-info .logo-text {
  color: #fff;
  font-weight: 600;
  font-size: 1.31rem;
  letter-spacing: 0.02rem;
}

.chat-header #close-chatbot {
  border: none;
  color: #fff;
  height: 40px;
  width: 40px;
  font-size: 1.9rem;
  margin-right: -10px;
  padding-top: 2px;
  cursor: pointer;
  border-radius: 50%;
  background: none;
  transition: 0.2s ease;
  border: 2px solid #e3efff34;
}

.chat-header #close-chatbot:hover {
  background: #e3efff;
  color: #000000;
}

.chat-body {
  padding: 25px 22px;
  gap: 20px;
  display: flex;
  height: 360px;
  overflow-y: auto;
  margin-bottom: 82px;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #e3efff transparent;
}

.chat-body,
.chat-form .message-input:hover {
  scrollbar-color: #e3efff transparent;
}

.chat-body .message {
  display: flex;
  gap: 11px;
  align-items: center;
}

.chat-body .message .bot-avatar {
  width: 35px;
  height: 35px;
  /* padding: 6px; */
  border: 1px solid #0056b3;
  fill: #fff;
  flex-shrink: 0;
  margin-bottom: 2px;
  align-self: flex-end;
  border-radius: 50%;
  background: #ffba6a;
}

.chat-body .message .message-text {
  padding: 12px 16px;
  max-width: 75%;
  font-size: 1.3rem;
}

.chat-body .bot-message.thinking .message-text {
  padding: 2px 16px;
}

.chat-body .bot-message .message-text {
  background: var(--safety-orange);
  border-radius: 13px 13px 13px 3px;
  color: #ffffff;
}

.chat-body .user-message {
  flex-direction: column;
  align-items: flex-end;
}

.chat-body .user-message .message-text {
  color: black;
  background: #9dc4f8;
  border-radius: 13px 13px 3px 13px;
}

.chat-body .user-message .attachment {
  width: 50%;
  margin-top: -7px;
  border-radius: 13px 3px 13px 13px;
}

.chat-body .bot-message .thinking-indicator {
  display: flex;
  gap: 4px;
  padding-block: 15px;
}

.chat-body .bot-message .thinking-indicator .dot {
  height: 7px;
  width: 7px;
  opacity: 0.7;
  border-radius: 50%;
  background: #e3efff;
  animation: dotPulse 1.8s ease-in-out infinite;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(1) {
  animation-delay: 0.2s;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(2) {
  animation-delay: 0.3s;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%,
  44% {
    transform: translateY(0);
  }

  28% {
    opacity: 0.4;
    transform: translateY(-4px);
  }

  44% {
    opacity: 0.2;
  }
}

.chat-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #ececec;
  padding: 15px 22px 20px;
}

.chat-footer .chat-form {
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  border-radius: 32px;
  outline: 1px solid var(--safety-orange);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
  transition: 0s ease, border-radius 0s;
}

.chat-form:focus-within {
  outline: 2px solid var(--safety-orange);
}

.chat-form .message-input {
  width: 100%;
  height: 47px;
  outline: none;
  resize: none;
  border: none;
  max-height: 180px;
  scrollbar-width: thin;
  border-radius: inherit;
  font-size: 1.3rem;
  padding: 14px 0 12px 18px;
  scrollbar-color: transparent transparent;
}

.chat-form .chat-controls {
  gap: 3px;
  height: 47px;
  display: flex;
  padding-right: 6px;
  align-items: center;
  align-self: flex-end;
}

.chat-form .chat-controls button {
  height: 35px;
  width: 35px;
  border: none;
  cursor: pointer;
  color: var(--safety-orange);
  border-radius: 50%;
  font-size: 1.15rem;
  background: none;
  transition: 0.2s ease;
}

.material-symbols-outlined {
  font-size: 24px !important;
}

/* input, button, textarea {
  background: none !important;
  border: none !important;
  font: inherit;
} */

.material-symbols-rounded {
  font-size: 24px !important;
}
.chat-form .chat-controls button:hover,
body.show-emoji-picker .chat-controls #emoji-picker {
  color: var(--safety-orange);
  background: #e3efff;
}

.chat-form .chat-controls #send-message {
  color: #fff;
  display: none;
  background: var(--safety-orange);
}

.chat-form .chat-controls #send-message:hover {
  background: #e3efff;
  color: #000000;
  border: 2px solid #e3efff34;
}

.chat-form .message-input:valid ~ .chat-controls #send-message {
  display: block;
}

.chat-form .file-upload-wrapper {
  position: relative;
  height: 35px;
  width: 35px;
}

.chat-form .file-upload-wrapper :where(button, img) {
  position: absolute;
}

.chat-form .file-upload-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-form .file-upload-wrapper #file-cancel {
  color: #ff0000;
  background: #fff;
}

.chat-form .file-upload-wrapper :where(img, #file-cancel),
.chat-form .file-upload-wrapper.file-uploaded #file-upload {
  display: none;
}

.chat-form .file-upload-wrapper.file-uploaded img,
.chat-form .file-upload-wrapper.file-uploaded:hover #file-cancel {
  display: block;
}

.trustpilot-widget {
  margin-top: 30px;
}

em-emoji-picker {
  position: absolute;
  left: 50%;
  top: -337px;
  width: 100%;
  max-width: 350px;
  visibility: hidden;
  max-height: 330px;
  transform: translateX(-50%);
}

body.show-emoji-picker em-emoji-picker {
  visibility: visible;
}

/* Responsive media query for mobile screens */
@media (max-width: 520px) {
  #chatbot-toggler {
    right: 15px;
    bottom: 15px;
  }

  .chat-footer {
    padding: 10px 15px 80px !important;
  }

  .chatbot-popup {
    right: 0;
    bottom: 0;
    height: 100%;
    border-radius: 0;
    width: 100%;
  }

  .chatbot-popup .chat-header {
    padding: 12px 15px;
  }

  .chat-body {
    height: calc(90% - 55px);
    padding: 25px 15px;
  }

  .chat-footer {
    padding: 10px 15px 15px;
  }

  .chat-form .file-upload-wrapper.file-uploaded #file-cancel {
    opacity: 0;
  }
}
/* chatbot End  */
@media (max-width: 916px) {
  .carousel{
    max-width: 800px !important;
    max-width: 80%;
  }
}

@media (max-width: 814px) {
  .carousel{
    max-width: 600px !important;
    max-width: 60%;
  }
}

@media (max-width: 614px) {
  .carousel{
    max-width: 450px !important;
    max-width: 45%;
    
  }

  .slide{
    text-align: center;
    font-size: 10px;
  }
}

@media (max-width: 464px) {
  .carousel{
    max-width: 300px !important;
    max-width: 35%;
    
  }

  .slide{
    text-align: center !important;
    font-size: 15px;
    width: 100px;
  }
}

