@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;
    flex-direction: column;
    height: 60vh;
    justify-content: center;
    align-items: center;
    color: #922274;
}

.home h1 {
    font-size: 90px;
}

.home input[type=text] {
    float: right;
    padding: 6px;
    border: solid #922274;
    border-radius: 30px;
    margin-top: 8px;
    margin-right: 16px;
    font-size: 17px;
    color: #922274;
    width: 50%;
    text-align: center;
}

/* CONTENT */
.content {
    padding: 0em 2em 0em 2em;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8em;
}

.content .box1 {
    padding: 1em;
    grid-column-start: 1;
    grid-column-end: 3;
}

.content .box2 {
    padding: 1em;
    border-radius: 30px;
    background: #922274;
    color: #fff;
}

/* 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;
}

.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;
}