@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300&display=swap');

:root {
  --clr-primary: #922274;
  --clr-secondary: #fff;

  --ff-primary: 'Montserrat', sans-serif;

  --fw-400: 500;
  --fw-700: 600;

  --fs-button: 1em;
  --fs-text: 1em;
  --fs-title: 4em;
  --fs-subtitle: 2em;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-size: cover;
    background-image: url(./Images/background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

section {
    position: relative;
    display: flex;
    min-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.button {
    display: inline-block;
    font-size: var(--fs-button);
    padding: 15px 30px;
    border-radius: 30px;
    border: 1px solid #fff;
    background: #922274;
    text-decoration: none;
    color: #fff;
    transition: all .5s ease;
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 15px;
}

.button:hover {
    transform: scale(1.02);
}

/* NAVBAR */
.navbar{
    position: fixed;
    width: 100%;
    padding: 0px 30px;
    font-family: 'Montserrat', sans-serif;
    z-index: 999;
    transition: all 200ms ease-out;
    background: transparent;
}
.navbar.sticky{
     background: #922274;
     padding: 5px 10px;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    display: flex;
    background-image: url('./Images/iqsc-logo3.png');
    justify-content: center;
    padding: 1em;
}

.navbar .menu ul {
    color: #922274;
}   

.navbar.sticky .menu ul {
    color: #fff;
}

.navbar .menu li{
    list-style: none;
    display: inline-block;
    transition: all 200ms ease-out;
}

.navbar .menu li a{
    color: #922274;
    font-size: var(--fs-text);
    font-weight: 900;
    transition: all 200ms ease-out;
    text-decoration: none;
    padding: 1em 1.1em;
}

.navbar .menu li:hover{
    text-decoration-thickness: from-font;
    text-underline-offset: .25em;
    text-decoration-line: underline;
}

.navbar.sticky .menu li a {
    color: #fff;
}

.menu-btn{
    color: #000;
    font-size: 26px;
    cursor: pointer;
    display: none;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a,
.navbar.sticky .dropdown-content a {
  color: #922274 !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown .dropdown-content a:hover {
    text-decoration-thickness: from-font;
    text-underline-offset: .25em;
    text-decoration-line: underline;
}

.navbar .diagnostic a span {
    padding-right: 10px;
}

@media (max-width: 1300px){
    .navbar .max-width{
        margin-left: 0;
    }
}

@media (max-width: 1200px){
    .navbar .max-width{
        padding: 0;
    }
}

@media (max-width: 1050px){
    .max-width{
        max-width: 800px;
        padding: 0;
    }
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .navbar .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        left: -100%;
        top: 0;
        background: #922274;
        padding-top: 80px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .navbar .menu li a {
        text-decoration: none;
        color: #fff;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .navbar .diagnostic li a {
        display: none;
    }
}

/* HOME */
.home {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3em;
    cursor: context-menu;
    height: 100vh;
    color: #922274;
    font-weight: 700;
    text-transform: none;
    line-height: 1em;
    padding: 0em 0em 0em 2em;
}

.home h1 {
    font-size: calc(var(--fs-title) + 3em);
}

.home span {
    font-size: var(--fs-subtitle);
}

/* Swiper */
.swiper {
    background: transparent;
    margin-top: 10em;
    margin-bottom: 10em;
    padding: 0em 2em 0em 2em;
}

.swiper h1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #922274;
    text-align: center;
    font-size: var(--fs-title);
    background: ;
    cursor: context-menu;
}

.swipers {
    height: 100px;
    margin: auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.swiper-track {
    display: flex;
    width: calc(100px * 18);
    animation: scroll 40s linear infinite;
}

.swiper-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100px * 9));
    }
}

.slide {
    height: auto;
    width: 100px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}

.slide img {
    width: 100%;
    transition: transform 1s;
}

.slide img:hover {
    transform: translateZ(20px);
}

.swipers::before,
.swipers::after {
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.swipers::before {
    left: 0;
    top: 0;
}

.swipers::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* ABOUT */
.history {
    display: flex;
    margin-bottom: 10em;
    padding: 0em 2em 0em 2em;
}

.history .left {
    width: 50%;
    padding: 2em 4em 2em 2em;
    background: #f6f6f6;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transition: all 200ms ease-out;
    cursor: pointer;
}

.history .left:hover {
    transform: scale(1.02);
}

.history .left p {
    font-size: var(--fs-text);
    padding: 1em 0 1em 0;
}

.history .left h3 {
    display: flex;
    color: #922274;
    font-size: var(--fs-title);
    font-weight: 700;
    text-transform: none;
    line-height: 1.1em;
}

.history .left .button .fa-solid {
    padding-left: .3em;
}

.history .right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1em;
}

.history .right img {
    width: 100%;
    border-radius: 10px;
    -moz-box-shadow: 10px 10px 5px #333;
    -webkit-box-shadow: 10px 10px 5px #333;
    box-shadow: 10px 10px 5px #333;
    transition: all 200ms ease-out;
    cursor: pointer;
}

.history .right img:hover {
    transform: scale(1.02);
}

/* ACHIEVEMENTS */
.achievements {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .8em;
    margin-top: 10em;
    margin-bottom: 100px;
    padding: 5em 2em 5em 2em;
    background-image: url('./Images/background.png');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    font-weight: bold;
}

.achievements div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.achievements div:nth-child(1) {
    align-items: flex-start;
    font-size: calc(var(--fs-subtitle) - .5em);
}

.achievements div span {
    font-size: calc(var(--fs-text) + .5em);
}

.achievements div .text {
    font-size: var(--fs-text);
}

/* Services */
.services {
    margin-top: 10em;
    margin-bottom: 10em;
    padding: 0em 2em 0em 2em;
}

.services h2{
    font-size: var(--fs-title);
    color: #922274;
}

.services .services-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8em;
}

.services .services-content div {
    background: #fff;
    border: 1px solid #922274;
    border-radius: 10px;
    text-align: center;
    transition: all .5s ease;
}

.services .services-content div:hover {
    transform: scale(1.02);
}

.services .services-content div a {
    text-decoration: none;
    color: #922274;
}

.services .services-content div img {
    border-radius: 10px;
}

.services .services-content div h3 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.services .services-content div:nth-child(6) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #922274;
    text-align: left;
    padding: 3em;
    color: #fff;
    border: 1px solid #000;
}

.services .services-content div:nth-child(6) p {
    font-size: calc(var(--fs-text) + .2em);
    font-weight: 500;
    line-height: 1.1em;
}

.services .services-content div:nth-child(6) h3 {
    font-size: var(--fs-subtitle);
    font-weight: 700;
    line-height: 1.1em;
}

.services .services-content div:nth-child(6) a {
    background: #fff;
    color: #922274;
    text-align: center;
    border: 1px solid black;
}

/* CALL */
.call {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8em;
    margin-top: 10em;
    margin-bottom: 10em;
    padding: 1em 2em 1em 2em;
    align-items: center;
    justify-content: space-between;
    background: #922274;
    color: #fff;
}

.call .call-content p {
    font-size: calc(var(--fs-text) + .2em);
}

.call .call-content:nth-child(2) {
    display: flex;
    justify-content: flex-end;
}

/* Testimonial grid */


/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */


/* utilities */
.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 1em);
}

.bg-primary-400 {
  background: hsl(var(--clr-primary-400));
}
.bg-secondary-400 {
  background: hsl(var(--clr-secondary-400));
}
.bg-secondary-500 {
  background: hsl(var(--clr-primary-400));
}

.bg-neutral-100 {
  background: hsl(var(--clr-neutral-100));
}

.text-neutral-100 {
  color: hsl(var(--clr-neutral-100));
}
.text-secondary-400 {
  color: hsl(var(--clr-secondary-400));
}
.border-primary-400 {
  border: 2px solid #fff;
}

/* components */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-auto-columns: 1fr;
  grid-template-areas:
   'one'
   'two'
   'three'
   'four'
   'five';

  padding-block: 2rem;
  width: min(95%, 70rem);
  margin-inline: auto;
}

.testimonial {
  font-size: var(--fs-400);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.testimonial:nth-child(1) {
  grid-area: one;
}
.testimonial:nth-child(2) {
  grid-area: two;
}
.testimonial:nth-child(3) {
  grid-area: three;
}
.testimonial:nth-child(4) {
  grid-area: four;
}
.testimonial:nth-child(5) {
  grid-area: five;
}

@media screen and (min-width: 33em) {
  .testimonial-grid {
      grid-template-areas:
      "one one"
      "two three"
      "five five"
      "four four";
  }
}

@media screen and (min-width: 38em) {
  .testimonial-grid {
    grid-template-areas:
     'one one'
     'two five'
     'three five'
     'four four';
  }
}

@media screen and (min-width: 54em) {
  .testimonial-grid {
      grid-template-areas:
      "one one two"
      "five five five"
      "three four four";
  }
}

@media screen and (min-width: 75em) {
  .testimonial-grid {
      grid-template-areas:
      "one one two five"
      "three four four five";
  }
}


.testimonial.quote {
  background-image: url("./images/bg-pattern-quotation.svg");
  background-repeat: no-repeat;
  background-position: top right 10%;
}

.testimonial img {
  width: 1.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.testimonial .name {
  font-size: var(--fs-400);
  font-weight: var(--fw-400);
  line-height: 1;
}

.testimonial .position {
  font-size: var(--fs-300);
  opacity: 0.5;
}

.testimonial > p:first-of-type {
  font-size: var(--fs-500);
  line-height: 1.2;
}

.testimonial > p:last-of-type {
  opacity: 0.7;
}

/* CONTACT */
.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8em;
    margin-top: 10em;
    margin-bottom: 10em;
    padding: 0 2em 0 2em;
}

.contact h2 {
    font-size: var(--fs-title);
    color: #922274;
}

.contact .contact-content form input {
    border-radius: 10px;
    width: 100%;
    padding: 10px;
}

.contact .contact-content form textarea {
    width: 100%;
    margin-top: 1em;
    height: 10em;
    border-radius: 10px;
    padding: 10px;
}

.contact .contact-content form .fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1em;
    gap: .8em;
}

.contact .contact-content button {
    display: inline-block;
    font-size: var(--fs-button);
    padding: 15px 30px;
    border-radius: 5px;
    border: 1px solid #fff;
    background: #922274;
    text-decoration: none;
    color: #fff;
    width: 100%;
    transition: all .5s ease;
}

.contact .contact-content button:hover {
    color: #922274;
    background: #fff;
    border-color: #922274;
}


.custom-shape-divider-bottom-1684275248 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1684275248 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1684275248 .shape-fill {
    fill: #922274;
}

/* FOOTER */
.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8em;
    padding: 0em 2em 0em 2em;
    background: #922274;
    color: #fff;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

.footer .footer-left a:hover {
    text-decoration-thickness: from-font;
    text-underline-offset: .25em;
    text-decoration-line: underline;
}

.footer .footer-left p {
    padding-top: 1em;
}

.footer .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer .footer-center div {
    padding-top: 1em;
}

.footer .footer-center .footer-icons {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.footer .footer-center .footer-icons a {
    font-size: var(--fs-subtitle);
    padding: 0 1em;
    align-items: center;
}

.footer .footer-icons a:hover {
    transform: translateY(-10px);
}

.footer .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}