@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/proxima-nova/proximanova-bold.woff2") format("woff2"),
    ("../fonts/proxima-nova/proximanova-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/proxima-nova/proximanova-medium.woff2") format("woff2"),
    ("../fonts/proxima-nova/proximanova-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/proxima-nova/proximanova-regular.woff2") format("woff2"),
    ("../fonts/proxima-nova/proximanova-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@layer base, typography, components, utilities;

@layer base {
  /* css reset */
  *,
  *::after,
  *::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
  }
  /* End of css reset */

  :root {
    --primary-color: #cb0666;
    --primary-light-color: white;
    --black: #000000;
    --black-opaque: rgba(0, 0, 0, 0.8);
    --white: #ffffff;
    --grey-dark: #111111;
    --grey-medium: #424242;
    --error: orangered;
  }
  ::selection {
    background-color: var(--primary-color);
    color: var(--white);
  }
  html {
    font-size: 62.5%;
    /* (i.e) 1rem = 10px  */
  }
  body {
    box-sizing: border-box;
    font-family: "Proxima Nova", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    background-color: var(--black);
    color: var(--white);
  }
  ul {
    padding-left: 18px;
  }
}

@layer typography {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li {
    color: var(--white);
    line-height: 1.5;
  }

  .h1 {
    font-size: 6.6rem;
    line-height: 1.2;
    font-weight: 700;
  }
  .h2 {
    font-size: 4rem;
  }
  .h3 {
    font-size: 3.2rem;
  }
  .h4 {
    font-size: 2.8rem;
  }
  .h5 {
    font-size: 2rem;
  }
  .h6 {
    font-size: 1.8rem;
  }
  .para {
    font-size: 1.6rem;
  }

  .font-bold {
    font-weight: 700;
  }
  .font-medium {
    font-weight: 500;
  }
  .font-regular {
    font-weight: 400;
  }

  .color-white {
    color: var(--white);
  }

  @media screen and (max-width: 900px) {
    .h1 {
      font-size: 4rem;
      line-height: 1.3;
    }
    .h2 {
      font-size: 3.2rem;
    }
  }
}

/* utilities */
@layer utilities {
  .container {
    max-width: 1600px;
    margin: 0 auto;
  }
  .d-none {
    display: none;
  }
  .d-inline-block {
    display: inline-block;
  }
  .d-flex {
    display: flex;
  }
  .align-items-center {
    align-items: center;
  }
  .algin-content-center {
    align-content: center;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .justify-space-between {
    justify-content: space-between;
  }
  .justify-content-center {
    justify-content: center;
  }
  .justify-content-end {
    justify-content: end;
  }
  .d-grid {
    display: grid;
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-12 {
    grid-template-columns: repeat(12, 1fr);
  }
  .gap-8 {
    gap: 0.8rem;
  }
  .gap-10 {
    gap: 1rem;
  }
  .gap-20 {
    gap: 2rem;
  }
  .gap-30 {
    gap: 3rem;
  }
  .gap-40 {
    gap: 4rem;
  }
  .gap-60 {
    gap: 6rem;
  }
  .gap-90 {
    gap: 9rem;
  }
  .column-gap-20 {
    column-gap: 2rem;
  }
  .position-relative {
    position: relative;
  }
  .text-shadow {
    text-shadow: 0 0 9px rgba(0, 0, 0, 0.45);
  }
  .text-center {
    text-align: center;
  }
  .w-100 {
    width: 100%;
  }
  .h-100 {
    height: 100%;
  }
  .h-auto{
    height: auto;
  }
  .min-h-500{
    min-height: 50rem;
  }
  .min-w-140{
    min-width: 14rem;
  }
  .bg-white {
    background-color: var(--white);
  }
  .fill-white {
    fill: var(--white);
  }
  .rounded-10 {
    border-radius: 1rem;
  }
  .object-cover{
    object-fit: cover;
  }

  /* margins */
  .mt5 {
    margin-block-start: 0.5rem;
  }
  .mt10 {
    margin-block-start: 1rem;
  }
  .mt20 {
    margin-block-start: 2rem;
  }
  .mt30 {
    margin-block-start: 3rem;
  }
  .mt32 {
    margin-block-start: 3.2rem;
  }
  .mt40 {
    margin-block-start: 4rem;
  }
  .mt60 {
    margin-block-start: 6rem;
  }
  .mt70 {
    margin-block-start: 7rem;
  }
  .mb16 {
    margin-block-end: 1.6rem;
  }
  .mb24 {
    margin-block-end: 2.4rem;
  }
  /* margins */

  /* paddings */
  .py-16 {
    padding-block-start: 1.6rem;
    padding-block-end: 1.6rem;
  }
  .px-16 {
    padding-inline-start: 1.6rem;
    padding-inline-end: 1.6rem;
  }
  .py-30 {
    padding-block-start: 3rem;
    padding-block-end: 3rem;
  }
  .p10 {
    padding: 1rem;
  }
  /* paddings */

  .two-column {
    columns: 2;
  }
  .no-underline,
  .no-underline:hover,
  .no-underline:focus {
    text-decoration: none;
  }
  .hover-border-primary:hover,
  .hover-border-primary:focus{
    border-color: var(--primary-color);
  }

  /* section paddings */
  .section-x-padding {
    padding-inline-start: 10rem;
    padding-inline-end: 10rem;
  }
  .section-y-padding {
    padding-block-start: 10rem;
    padding-block-end: 10rem;
  }
  @media screen and (max-width: 1200px) {
    .section-x-padding {
      padding-inline-start: 5rem;
      padding-inline-end: 5rem;
    }
    .section-y-padding {
      padding-block-start: 5rem;
      padding-block-end: 5rem;
    }
  }
  @media screen and (max-width: 900px) {
    .section-x-padding {
      padding-inline-start: 1.6rem;
      padding-inline-end: 1.6rem;
    }
  }
  /* section paddings */

  /* responsive utilities */
  @media screen and (max-width: 1500px) {
    .flex-column-reverse-1500 {
      flex-direction: column-reverse;
    }
  }
  @media screen and (max-width: 1300px) {
    .gap-50-1300 {
      gap: 5rem;
    }
  }
  @media screen and (max-width: 900px) {
    .d-block-900 {
      display: block;
    }
    .d-inline-flex-900 {
      display: inline-flex;
    }
    .flex-column-900 {
      flex-direction: column;
    }
    .align-items-normal-900 {
      align-items: normal;
    }
    .w-100-900 {
      width: 100%;
    }
    .h-auto-900{
      height: auto;
    }
    .d-none-900 {
      display: none;
    }
    .mt30-900 {
      margin-block-start: 3rem;
    }
    .mb16-900{
      margin-bottom: 1.6rem;
    }
    .one-column-900 {
      columns: 1;
    }
    .grid-cols-1-900{
      grid-template-columns: repeat(1, 1fr);
    }
    .bg-dark-grey-900 {
      background-color: #cb0666;
    }
    .pb-50-900 {
      padding-block-end: 5rem;
    }
    .gap-30-900 {
      gap: 3rem;
    }
    .max-w-100-900 {
      max-width: 100%;
    }
  }
  @media screen and (max-width: 767px) {
    .grid-cols-1-767 {
      grid-template-columns: repeat(1, 1fr);
    }
    .gap-20-767 {
      gap: 2rem;
    }
    .w-100-767 {
      width: 100%;
    }
    .flex-column-reverse-767{
      flex-direction: column-reverse;
    }
    .justify-content-center-767{
      justify-content:center
    }
    .text-center-767{
      text-align: center;
    }
  }
  @media screen and (max-width: 600px) {
    .w-100-600 {
      width: 100%;
    }
  }
}

/* utilities */

@layer components {
  /* buttons */
  .btn {
    padding: 1rem 2.2rem;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 500;
    border: 1px solid;
    border-radius: 4rem;
    transition: background-color 300ms, color 300ms, border-color 300ms;
    cursor: pointer;
    text-decoration: none !important;
    /* removing underline for all links if used btn class for a tag */
  }
  .btn--sm {
    padding: 0.6rem 1.6rem;
  }
  .btn img,
  .btn svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: fill 300ms;
  }
  .btn:has(img),
  .btn:has(svg) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  /* btn color variations */
  .btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
  }
  .btn--outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  .btn--primary:hover,
  .btn--primary:focus,
  .btn--outline-primary:hover,
  .btn--outline-primary:focus {
    background-color: var(--white);
    color: white !important;
    border-color: var(--white);
  }
  .btn--outline-primary svg,
  .btn--outline-primary:hover svg,
  .btn--outline-primary:focus svg {
    fill: var(--primary-color);
  }
  .btn--primary svg {
    fill: var(--white);
  }
  .btn--primary:hover svg,
  .btn--primary:focus svg {
    fill: white !important;
  }
  .btn--white {
    background-color: var(--white);
    color: #c81b67 !important;
    border-color: var(--white);
  }
  .btn--white:hover,
  .btn--white:focus {
    background-color: #ffa5cc !important;
    color: white !important;
    font-weight: bold;
    border-color: #ffa5cc !important;
  }
  /* buttons */

  /* links */
  .white-link {
    color: var(--white);
    transition: color 400ms;
    text-decoration: none;
  }
  .white-link:hover,
  .white-link:focus {
    color: white !important;
    text-decoration: none;
  }
  /* links */

  /* header */
  .header {
    background-color: var(--black);
    padding: 1.6rem;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 3;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  }
  .header__logo img {
    width: 395px;
    height: auto;
  }
  .header-space {
    height: 76px;
  }

  @media screen and (max-width: 900px) {
    .header {
      max-height: 74px;
      overflow: hidden;
      transition: max-height 400ms;
      padding-inline-end: 72px;
    }
    .header--expanded {
      max-height: 1000px;
    }
    .header__logo {
      height: 44px;
      align-content: center;
    }
    .header__logo img {
      max-width: 100%;
    }
  }
  /* header */

  /* hamburger icon */
  .hamburger-icon {
    display: inline-block;
    width: 45px;
    height: 3px;
    border-radius: 1rem;
    background-color: var(--white);
    position: absolute;
    z-index: 33;
    top: 34px;
    right: 16px;
    transition: all 400ms;
    display: none;
  }
  .hamburger-icon::before,
  .hamburger-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 1rem;
    transition: all 400ms;
  }
  .hamburger-icon::after {
    top: 10px;
  }
  .hamburger-icon::before {
    bottom: 10px;
  }
  .hamburger-icon--active {
    transform: rotate(45deg);
  }
  .hamburger-icon--active::after {
    transform: rotate(-90deg);
    top: 0px;
  }
  .hamburger-icon--active::before {
    opacity: 0;
  }

  @media screen and (max-width: 900px) {
    .hamburger-icon {
      display: block;
    }
  }
  /* hamburger icon */

  /* hero banner section */
  .hero-banner {
    min-height: 70rem;
    background-image: url(../images/rhinoplasty-banner-img.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
    overflow: hidden;
    position: relative;
  }
  .hero-banner::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .hero-banner__inner {
    position: relative;
    z-index: 1;
  }
  .hero-banner__inner-left {
    width: clamp(450px, 45%, 600px);
  }
  .hero-banner__inner-right {
    width: clamp(460px, 45%, 500px);
  }
  @media screen and (max-width: 900px) {
    .hero-banner {
      background-image: none;
      min-height: 30rem;
    }
  }
  /* hero banner section */

  /* black-card */
  .black-card {
    background-color: var(--black);
    padding: 4.4rem 5rem;
    border-radius: 8px;
    border: 2px solid var(--grey-medium);
  }
  .black-card--opaque {
    background-color: var(--black-opaque);
  }
  .black-card--3d {
    position: relative;
  }
  .black-card--3d::after {
    position: absolute;
    z-index: -1;
    content: "";
    background-color: var(--primary-light-color);
    width: 100%;
    height: 100%;
    top: 4px;
    left: 4px;
    border-radius: 8px;
  }
  @media screen and (max-width: 900px) {
    .black-card {
      padding: 2rem;
    }
  }
  /* black-card */

  /* form fields */
  .form-field__label {
    display: block;
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 0.4rem;
    color:black; !important;
  }
  .form-field__input,
  .form-field__select {
    width: 100%;
    font-size: 1.6rem;
    background-color: transparent;
    padding: 1rem;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #c81b67;
    color: #c81b67;
    transition: border-color 400ms;
  }
  .form-field--dark .form-field__label {
    color: var(--black);
  }
  .form-field--dark .form-field__input,
  .form-field--dark .form-field__select {
    border-color: var(--black);
    color: var(--black);
  }
  .form-field--country-code .form-field__select {
    width: 80px;
    flex-shrink: 0;
  }
  .form-field__input:focus,
  .form-field__select:focus,
  .form-field__input:focus-visible,
  .form-field__select:focus-visible,
  .form-field--country-code:has(:focus-visible) {
    outline: none;
    border-color: var(--primary-color);
  }
  .form-field__input:focus:invalid,
  .form-field__select:focus:invalid{
    border-color: var(--error);
  }
  /*honeypot field */
  .honeyPotField{
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }
  /* form fields */

  /* masonry grid section */
  .masonry-grid-wrapper {
    padding-inline-start: 10rem;
    padding-inline-end: 10rem;
  }
  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    column-gap: 6rem;
    row-gap: 1.6rem;
  }
  .masonry-grid .black-card:first-child {
    grid-column: 1 / 7;
    grid-row: 1/-1;
  }
  .masonry-grid .black-card:nth-child(2) {
    grid-column: 7 / -1;
    grid-row: 1/2;
  }
  .masonry-grid .black-card:nth-child(3) {
    grid-column: 7 / -1;
    grid-row: 2 / -1;
  }
  @media screen and (max-width: 1300px) {
    .masonry-grid {
      column-gap: 3rem;
    }
  }
  @media screen and (max-width: 1200px) {
    .masonry-grid-wrapper {
      padding-inline-start: 5rem;
      padding-inline-end: 5rem;
    }
  }
  @media screen and (max-width: 900px) {
    .masonry-grid-wrapper {
      padding-inline-start: 2rem;
      padding-inline-end: 2rem;
    }
  }
  @media screen and (max-width: 767px) {
    .masonry-grid-wrapper {
      padding-inline-start: 0;
      padding-inline-end: 0;
    }
   /* .masonry-grid {
     
      overflow-x: scroll;
      scroll-snap-type: x mandatory;
      padding: 1.6rem;
      scroll-padding: 1.6rem;
      padding-bottom: 2rem;
    }
    .masonry-grid .black-card {
      width: 300px;
      flex-shrink: 0;
      scroll-snap-align: start;
    }*/
  }
  /* masonry grid section */

  /* gradient border title */
  .gradient-border-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }
  .gradient-border-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.1rem;
    background: linear-gradient(
      to right,
      var(--primary-light-color),
      var(--black)
    );
  }
  /* gradient border title */

  /* testimonials section */
  .testimonials {
    background-image: url(img/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  .testimonials__video {
    width: clamp(40rem, 50%, 70.1rem);
    height: 40.4rem;
    object-fit: contain;
    object-position: center;
    align-content: center;
    background-color: var(--black);
    border: 0.5rem solid var(--white);
    border-radius: 0.8rem;
  }
  .testimonials__img {
    width: clamp(30rem, 40%, 43.9rem);
  }
  /* testimonials section */

  /* connect with us section */
  .connect-left {
    width: 49.1rem;
    background-color: var(--black);
    padding: 4rem;
    border-radius: 1rem;
    overflow: hidden;
  }
  .connect-left::after,
  .connect-left::before {
    content: "";
    position: absolute;
    width: 26.9rem;
    height: 26.9rem;
    border-radius: 100%;
    background-color: var(--white);
    opacity: 0.12;
    right: -20%;
    bottom: -50%;
  }
  .connect-left::before {
    width: 13.8rem;
    height: 13.8rem;
    bottom: 20px;
    right: 70px;
  }
  .connect-right {
    width: calc(100% - 49.1rem);
    padding-inline-end: 6rem;
  }
  @media screen and (max-width: 1500px) {
    .connect-right {
      width: 100%;
      padding-inline-end: 0;
    }
  }
  @media screen and (max-width: 600px) {
    .connect-left {
      padding: 2rem 2rem 3rem 2rem;
    }
    .connect-left::before {
      bottom: 10px;
      right: 30px;
    }
    .connect-left::after,
    .connect-left::before {
      transform-origin: right;
      transform: scale(0.5);
    }
  }
  /* connect with us section */

  /* locations */
  .location-details {
    width: clamp(20rem, calc(100% - 200px), 100%)
  }
  /* locations */

  /* footer */
  .footer{
    border-block-start: 1px solid var(--white);
    padding-block-start: 4rem;
    padding-block-end: 2.5rem;
  }
  .footer__logo{
    display: block;
  }
  .footer__logo img{
    max-width: 100%;
    height: auto;
  }
  /* footer */

  /* floating button */
  .floating-btn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: var(--primary-color);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 100%;
    align-content: center;
    text-align: center;
    z-index: 5;
  }
  .floating-btn--call{
    bottom: 80px;
  }
  .floating-btn--call svg{
    position: relative;
    top: 2px;
    right: 1px
  }
  /* floating button */
}