/* -----------------------------------------------------------------------------------------

Template Name: Visualize - Simple 3D Portfolio Bootstrap HTML Website Template
Template URL: 
Description: 
Author: TasneemHannahManga
Author URL: 
Version: 1.0

--------------------------------------------------------------------------------------------

CSS Index
=========

1. Basic Styling
2. Preloader
3. Header
4. Hero
5. About 
6. Testimonials
7. Projects
8. Form
9. Footer/Contact

--------------------------------------------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Genos:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* ========================================

1. Basic Styling

========================================= */

:root {
  --background-color: #ecf0f3;
  --shadow: #b7bfcd;
  --highlight: #fff;
  --accent-color: #b3d2ff;
}

* {
  font-family: "Raleway", sans-serif;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background-color);
  scroll-behavior: smooth;
}

.container-custom {
  width: 90%;
  max-width: 1650px;
  padding: 0 25px;
  margin: 100px auto;
}

.risen-item {
  background-color: var(--background-color);
  box-shadow: 4px 4px 4px var(--shadow), -4px -4px 4px var(--highlight);
}

.sunken-item {
  background-color: var(--background-color);
  box-shadow: inset 4px 4px 4px 4px var(--shadow),
    inset -4px -4px 4px 4px var(--highlight);
}

.btn {
  border-radius: 25px;
}

.btn:active {
  box-shadow: none;
}

.link-color {
  color: #242424;
}

.link-color:hover {
  color: #000;
}

.primary-btn {
  background-color: var(--accent-color);
}

.title {
  font-family: "Genos", sans-serif;
}

.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  width: 250px;
  font-size: 14px;
}

textarea {
  overflow: auto;
  resize: none;
}

a {
  text-decoration: none;
}

@media screen and (max-width: 576px) {
  .btn {
    padding: 5px 10px;
    font-size: 14px;
  }
}

@media screen and (min-width: 577px) and (max-width: 992px) {
  .btn {
    padding: 10px 20px;
    font-size: 20px;
  }
}

@media screen and (min-width: 993px) {
  .btn {
    padding: 10px 20px;
  }
}

/* ========================================

2. Preloader

========================================= */

.preloader {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-grow {
  color: var(--accent-color);
}

/* ========================================

3. Header

========================================= */

.navbar {
  padding: 0;
}

.navbar .container-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-radius: 50px;
  margin: 25px auto;
}

.nav-item {
  padding: 0 10px;
}

@media screen and (max-width: 576px) {
  .navbar-brand img {
    height: 50px;
    width: auto;
  }

  .navbar .primary-btn {
    margin-bottom: 25px;
  }
}

@media screen and (min-width: 577px) and (max-width: 992px) {
  .navbar-brand img {
    height: 80px;
    width: auto;
  }
  .navbar .primary-btn {
    margin-bottom: 25px;
  }
}

@media screen and (min-width: 993px) {
  .navbar-brand img {
    max-height: 100px;
    width: auto;
  }
}

/* ========================================

4. Hero

========================================= */

.hero {
  box-sizing: border-box;
  padding: 0;
  padding: 0 50px;
  border-radius: 100px;
  display: flex;
  background-image: url("../images/Ellipse.svg");
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  margin-top: 25px;
}

.hero .col-lg-5.risen-item {
  border-radius: 50px;
  padding: 50px;
  z-index: 1;
  margin: 50px 0;
}

.hero-title {
  padding: 0;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.hero-carousel {
  z-index: 1;
}

.carousel-item img {
  object-fit: cover;
  max-height: 500px;
}

@media screen and (max-width: 576px) {
  .hero {
    border-radius: 50px;
    background-size: 500px;
  }

  .hero div.col-lg-5.risen-item {
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 0;
  }

  .hero-desc {
    font-size: 14px;
  }
}

@media screen and (min-width: 577px) and (max-width: 992px) {
  .hero {
    background-size: 800px;
  }

  .hero .col-lg-5.risen-item {
    border-radius: 50px;
    padding: 50px;
    margin-bottom: 0;
  }

  .hero-desc {
    font-size: 18px;
  }
}

@media screen and (min-width: 993px) {
  .hero .col-lg-5.risen-item {
    border-radius: 50px;
    padding: 50px;
  }

  .hero-desc {
    font-size: 20px;
  }
}

/* ========================================

5. About

========================================= */

.about {
  padding: 0;
}

.about img {
  width: 40%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
}

.about > div {
  padding: 25px;
}

@media screen and (max-width: 576px) {
  .about {
    flex-direction: column;
    gap: 3rem;
  }

  .about img {
    width: 100%;
    max-height: 300px;
  }
}

/* ========================================

6. Testimonials

========================================= */

.testimonials {
  border-radius: 50px;
  overflow: hidden;
  padding: 0;
  border: solid var(--accent-color) 5px;
}

.test-head {
  margin: 25px;
  margin-bottom: 0;
}

.my-slider {
  margin: 25px 0;
  display: flex;
  gap: 20px;
}

.single-test-wrapper {
  border-radius: 25px;
  padding: 25px;
}

.test-img img {
  object-fit: cover;
  height: 80px;
  width: 80px;
  border-radius: 50%;
}

.my-slider:last-child {
  margin-right: 0;
}

@media screen and (max-width: 576px) {
  .test-head .container > div {
    flex-direction: column;
  }

  .test-img img {
    height: 50px;
    width: 50px;
  }
}

/* ========================================

7. Projects

========================================= */

.projects {
  padding: 0;
}

.projects .card.card-cover {
  background-size: cover;
  border: solid var(--background-color) 5px;
}

/* ========================================

8. Form

========================================= */

.form {
  padding: 50px;
  border-radius: 25px;
}

/* ========================================

9. Footer/Contact

========================================= */

footer.footer {
  margin-bottom: 25px;
  padding: 50px;
  border-radius: 100px;
}

.footer .container {
  padding: 0;
}

.footer .form-group {
  flex-wrap: nowrap;
  flex-direction: column;
}

.footer .btn {
  margin-top: 25px;
}

@media screen and (max-width: 576px) {
  footer.footer {
    padding: 20px;
    border-radius: 50px;
  }

  .footer form {
    align-items: center;
  }
}
