@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

@font-face {
  font-family: HeadingNowTrial;
  src: url(../assets/Fonts/HeadingNowTrial-36Bold.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: darkmode-off-cc, sans-serif;
  background: linear-gradient(to bottom, #262121, #c554b8);
  color: white;
  overflow-x: hidden !important;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;             
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  background: transparent;
  height: 200px;
}

.logo {
  font-size: 2rem;
  letter-spacing: 0.2em;
  display: block;
}

.logo__image {
  max-width: 350px;
  width: 100%;
  margin-top: 30px;
  padding-right: 10px;
}

.btn-primary,
.btn-secondary {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'HeadingNowTrial', Arial;
  font-size: 24px;
  min-width: 165px;
  display: inline;
  border-radius: 48px;
  color: white;
  padding: 14px 35px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-primary {
  background: #F21AD2;
  border: none;
  box-shadow: 0px 3px 6px #00000029;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
}

.hero {
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 250px;
}

.hero-text {
  position: relative;
  z-index: 99;
  flex: 1 1 500px;
  padding-left: 80px;
  padding-right: 80px;
  max-width: 1280px;
  margin-bottom: 60px;
}

.hero-text h1 {
  line-height: 1.1;
  margin-bottom: 1rem;
  font-family: 'HeadingNowTrial', Arial;
  font-size: 130px;
  line-height: 118px;
  text-transform: uppercase;
}

.hero-text h2 {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: darkmode-off-cc, sans-serif;
  font-weight: 500;
  font-size: 32px;
}

.hero-text p {
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-size: 24px;
}

.hero-buttons {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image {
  position: relative;
  top: -46px;
  right: -60px;
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: right;
}

.hero-image__container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: right;  
}

.hero-image--triangle {
  max-width: 500px;
}

.hero-image--square {
  max-width: 290px;
}

.hero-image--cross {
  max-width: 276px;
  position: relative;
  right: 0px;
  top: -80px;
}

@media (max-width: 600px) {
.hero-image {
  max-height: 280px !important;
}
}

@media (max-width: 1200px) {
.hero-image {
  max-height: 360px;
}
}

@media (max-width: 768px) {
.hero {
  overflow: hidden;
}
.hero-image {
  justify-content: center;
  top: 0;
  right: 20px;
}
.hero-image--triangle {
  min-width: 200px;
}
.hero-image--square {
  max-width: 350px;
  width: 50% !important;
  position: relative;
  left: 0;
}
.hero-image--cross {
  max-width: 150px;
  position: relative;
  right: -60px;
  top: -50px;
}

}

.hero-image img {
  width: 100%;
}

.section-2 {
  width: 100%; 
  max-width: 880px; 
  margin: 30px auto;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;   
  padding: 0 80px;
}

.section-2 h2 {
  margin-bottom: 1rem;
  font-family: 'HeadingNowTrial', Arial;
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
  text-transform: uppercase;
}

.section-2 h3 {
  margin-bottom: 1.5rem;
  font-family: darkmode-off-cc, sans-serif;
  font-weight: 500;
  font-size: 32px;
  text-transform: uppercase;
}

.section-2 p {
  max-width: 1448px;  
  width: 100%;
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.2;
  padding: 0 1rem;     
}

.circle-divider {
  text-align: center;
  padding: 4rem 2rem;
  margin-top: -4rem;
  margin-bottom: -4rem;
}

.circle-divider img {
  width: 100%;
  max-width: 629px;
  height: auto;
  display: inline-block;
}

.section-3 {
  background-image: url("../assets/PNG/Codesphere_Element_4.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 46%;
  padding: 40px;
  position: relative;
}
@media (min-width: 1500px) {

  .section-3 {
      padding: 170px 0;
  }
}

.section-3-title-bg {
  padding: 6rem 2rem;
  text-align: center;
}

.section-3-title-bg h2 {
  font-family: 'HeadingNowTrial', Arial;
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
  text-transform: uppercase;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.section-3-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px; 
  height: auto;
  z-index: 0; 
  pointer-events: none; 
  transform: translate(40%, 110%);
  overflow: hidden;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  padding: 0 30px;
  padding-bottom: 8rem;
}

.card {
  background: #6D72F7;
  border-radius: 62px;
  padding: 50px;
  color: white;
  width: 48%;
  position: relative;
  z-index: 1;
  margin-bottom: -7rem;
}

.card.left {
  align-self: flex-start;
}

.card.right {
  align-self: flex-end;
}

.card h3 {
  font-size: 45px;
  line-height: 45px;
  font-family: 'HeadingNowTrial', Arial;
  font-weight:500;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.2;
  font-family: darkmode-off-cc, sans-serif;
  font-size: 20px;
}

@media (max-width: 768px) {
  .card-list {
    gap: 10px;
  }

  .card {
    width: 90%;
    margin: 2rem auto;
    padding: 30px 20px;
  }

  .card.left, .card.right {
    align-self: center;
    margin-top: 0;
  }

  .card-list::before {
    display: block;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 20px;
  margin-bottom: 0.25rem;
  color: #6D72F7;
  text-align: left;
  font-family: 'HeadingNowTrial', Arial;
}

.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 1.5px solid #727070;
  padding: 0.5rem;
  font-size: 1rem;
  background: transparent;
  color: #390c59;
  font-family: 'Open Sans', Arial ;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #390A56;
  opacity: 0.3;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 2px solid #F31AD2 !important;
  outline: none !important;
}

.contact-form button:focus {
  outline: none !important;
  border: 2px solid white;
}

/*.form-group input:invalid {
  background-color: #471A64;
  color: white;
  padding: 6px 12px;
  border-radius: 1px;
  border-color: #e74c3c;
}*/

.contact-section {
  display:flex;
  flex-direction: column;
  color: white;
  text-align: center;
  overflow: visible;
  padding-top: 20px;
}

.multi-circle-divider {
   text-align: right;
  background: transparent;
  width: 100%;    
  display: block;
}
.section-4-accent {
  position: absolute;
  left: 0;
  width: 500px; 
  height: auto;
  z-index: 2; 
  pointer-events: none; 
  transform: translate(0%, -50%);
}

.multi-circle-divider img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: inline-block;
}

.contact-section .title{
  width: 100%;
  text-align: center;
  padding: 4rem 2rem 18rem 2rem; 
  margin-bottom: -12rem; 
}
.contact-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  font-family: 'HeadingNowTrial', Arial;
  font-size: 95px;
  text-transform: uppercase;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 100px;
}

.contact-text {
  max-width: 575px;
}

.contact-text h2 {
  font-size: 80px;
  line-height: 80px;
  margin-bottom: 1rem;
  text-align: left;
}

.contact-text p {
  font-size: 24px;
  line-height: 1.2;
  text-align: left;
}

.contact-form {
  flex: 1 1 400px;
  background: rgba(255, 255, 255, 0.5);
  padding: 40px;
  border-radius: 40px;
  color: black;
  width: 100%;
  max-width: 600px;
}

.contact-form button {
  display: block;
  background: #F31AD2;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 48px;
  box-shadow: 0px 3px 6px #00000029;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 48px;
  align-self: start;
  font-family: 'HeadingNowTrial', Arial;
  font-size: 24px;
}

footer {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background-color: #6d72f7;
}

.footer-logo {
  max-width: 260px;
  margin: 20px 0;
}

@media (max-width: 1300px){
.contact-container {
    padding: 0 2rem 10rem 2rem;
  }
}
@media (max-width: 900px){
.contact-container {
    padding: 0 2rem 10rem 2rem;
  }
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 0 30px;
    padding-top: 150px;
  }

  .hero-text {
    padding: 0;
    flex: 1 1 100%;
  }

  .hero-text h1 {
    font-size: 11vw;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: left;
  }

  .hero-text h2 {
    font-size: 4.5vw;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
  }

  .hero-buttons {
    flex-direction: column;
    justify-content: center;     
    gap: 1rem;                   
    flex-wrap: wrap;             
  }
  
  .btn-primary,
  .btn-secondary {
    width: auto;                 
    max-width: none;
    font-size: 18px;
    padding: 0.75rem 1.5rem;
    min-width: 122px;
  }

  .hero-image {
    display: flex;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    height: 130px;
  }

  .logo {
    height: 130px;
  }

  .logo__image {
    margin-top: 32px;
    max-width: 260px;
  }

  .section-2 {
    padding: 0 30px;
  }

  .section-2 h2 {
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .section-2 h3 {
    font-size: 4.5vw;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .section-2 p {
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
  }

  .card {
    width: 90%;
    margin: 1rem auto;
  }

  .card.left, .card.right {
    align-self: center;
    margin-top: 0;
    padding: 30px;
    border-radius: 30px;
  }

  .card-list::before {
    display: block;
  }

  .section-3 {
    background-size: cover;
    padding: 30px 0;
  }

  .section-3-title-bg {
    padding: 50px 30px;
  }

  .section-3 h2,
  .contact-section h2 {
    font-size: 70px;
    line-height: 70px;
    text-align: center;
    padding-left: 0;
  }

  .section-2 p {
    width: 90%;
  }

  .card h3 {
    font-size: 36px;
    line-height: 36px;
    text-align: left;
    word-wrap: break-word;
  }

  .card p {
    font-size: 16px;
    text-align: left;
  }

  .contact-section .title{
    margin-bottom: -18rem;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 0 2rem 10rem 2rem;
  }

  .contact-form,
  .contact-text {
    max-width: 100%;
    width: 100%;
  }

  .contact-form {
    padding: 30px;
  }

  .contact-text h2,
  .contact-text p {
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .contact-form button {
    width: 100%;
    text-align: center;
  }

  .section-3-accent {
    display: none;
  }
  .section-4-accent {
    display: none;
  }

  .footer-logo {
    max-width: 160px;
  }

}
