@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: bm;
  src: url(./font/BlackMango-Black.otf);
}

h1 {
  font-family: bm;
}

body {
  /* background-repeat: no-repeat; */
  /* color: rgb(184, 182, 182); */
  color: black;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.section-div {
  max-width: 1280px;
  margin: 0 auto;
}

.hero {
  background: url(./img/bg-6.jpg);
  height: 100vh;
  width: 100vw;
  background-size: cover;
  color: white;
  position: relative;
  transition: background-image 1s ease-in-out;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  z-index: 1;
}

.text-overlay {
  position: relative; /* Ensures it stays above the overlay */
  z-index: 2;
  flex-wrap: wrap;
  padding-left: 5rem;
  padding-top: 15%;
  /* margin-top: 15%; */
}

.text-overlay h1 {
  font-size: 3rem;
  font-weight: bold;
}

.text-overlay p {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 5rem;
  align-items: center;
  z-index: 4;
  background: white;
  position: sticky;
  top: 0;
  /* font-size: 18px; */
}

.domeg-logo-text {
    color: #0152fc;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.logo .star {
  width: 45px;
  object-fit: cover;
  margin-right: 4px;
}

.menu-items {
  display: flex;
  gap: 2rem;
  list-style: none;
}

li {
  /* list-style: none; */
  text-transform: capitalize;
}

a {
  text-decoration: none;
  color: #0152fc;
  font-size: 14px;
  display: block;
  transition: 0.3s ease;
}

a:hover {
  text-decoration: underline;
  transform: scale(1.1);
}

section {
  height: 100vh;
  padding: 3rem;
}

.first-section {
  padding: 2rem;
  height: fit-content;
  width: 100%; /* Make the div span the full width */
  margin: 0;
  box-sizing: border-box;
}


.first-section h2 {
  font: bold;
  /* color: #0152fc; */
  margin-bottom: 18px;
}

.first-section span {
  line-height: 1.7;
}

.section-one {
  height: calc(100vh - 85px);
}

.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: auto;
  align-items: center;
  max-width: 1300px;
}

.affiliate-companines {
  display: block;
}

.affiliate-companines div {
  display: flex;
  justify-content: space-between;
}

.gold {
  height: 520px;
  width: 600px;
  object-fit: cover;
  border-radius: 20px;
}
.title {
  line-height: 1.2;
}
.title h1 {
  font-size: 40px;
  text-transform: capitalize;
  margin-bottom: 0.5rem;
  color: #fff;
}

.title .star {
  width: 40px;
}

p {
  font-size: 14px;
  /* font-weight: 600; */
  max-width: 400px;
  /* line-height: 1.7; */
}

.p {
  padding: 2rem 0;
}

button {
  border: none;
  outline: none;
  background: linear-gradient(to right, #2b32b2, #1488cc);
  color: #fff;
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

button::after {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\e098";
  margin-left: 1rem;
}

button:hover {
  background: linear-gradient(to right, #121772, #075886);
}

.mission-and-vission {
  margin-top: 130px;
  line-height: 1.5;
}

.vision {
  color: #0152fc;
}

.vision h2 {
  font: bold;
}

.right-side {
  justify-self: flex-end;
}

.title h2 {
  font-size: 24px;
  opacity: 0.5;
}

.line {
  width: 100%;
  background-color: rgb(184, 182, 182);
  height: 2px;
  margin-top: 1rem;
}

.gold3 {
  width: 450px;
  height: 450px;
  object-fit: cover;
  animation: rotateImage 10s linear infinite;
}

@keyframes rotateImage {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.type {
  padding: 1rem 0;
}

.type :first-child {
  font-size: 18px;
}

.g-type {
  color: #0152fc;
}

.line-blue {
  background-color: #0152fc;
}

.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
}

.card {
  /* background-color: #0152fc; */
  width: 28%;
  border-radius: 5px;
  padding: 1rem;
  cursor: pointer;
  transition: 0.8s ease;
}

.img-card {
  max-width: 350px;
  max-height: 350px;
  width: 100%;
  object-fit: cover;
}

.card-1 {
  background: linear-gradient(to right, #545d60, #283048);
}
.card-2 {
  background: linear-gradient(to right, #4b485a, #1f1c2c);
}
.card-3 {
  background: linear-gradient(to right, #3f4c6b, #535e79);
}

/* .card:hover {
  background: linear-gradient(to left, #3a7bd5, #00d2ff);
} */

.color {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.card span {
  text-transform: uppercase;
  font-weight: 200;
  color: #fff;
}

.card:hover .color {
  color: #fff;
}

.stay-up{
    /* color: #0152fc; */
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 12px;
}

.txt {
  font-size: 24px;
}

.txt span {
  color: #0152fc;
}

.sides {
  padding-top: 5rem;
  /* background-color: #0152fc; */
}

.menu {
  display: flex;
  max-width: 400px;
  flex-wrap: wrap;
  gap: 1rem;
}

.menu li {
  width: 30%;
}

.menu li a {
    color: #0152fc;
}

.footer-section {
  height: auto;
}

.contact-side {
  justify-self: flex-start;
}

.contact-details p {
  margin-bottom: 0.5rem; /* Add some spacing between contact details */
  font-size: 14px;
}

.contact-details a {
  color: #0152fc; /* Match link color to your theme */
  text-decoration: none; /* Remove underline */
}

.contact-details a:hover {
  text-decoration: underline; /* Add underline on hover */
}

footer {
  padding: 3rem;
}

.center {
  justify-self: center;
}

.star-s2 {
  position: absolute;
  width: 65px;
  right: -2%;
}

.star-s4 {
  width: 65px;
  position: absolute;
  left: -2%;
  margin-top: 2.5rem;
}

.star-s5 {
  position: absolute;
  left: 40%;
  width: 40px;
}

.location {
  width: 30px;
}

/* .image {
  animation: float 4s ease-in-out infinite;
} */

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Media Queries for Middle and Mobile Phones */

@media (max-width: 1024px) { /* Medium screens */
  .container {
    grid-template-columns: 1fr; /* Stack elements vertically */
    text-align: left;
  }

  .left-side,
  .right-side {
    justify-self: center; /* Center content */
    text-align: left;
  }

  .gold,
  .gold3 {
    width: 80%; /* Adjust image sizes */
    height: auto;
  }

  .text-overlay {
    padding-left: 2rem;
    margin-top: 10%;
  }

  .text-overlay h1 {
    font-size: 2.5rem;
  }

  .nav-bar {
    padding: 0.5rem 2rem;
  }

  .menu-items {
    gap: 1rem;
  }

  .affiliate-companines div {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .card-container {
      flex-direction: column;
      align-items: center;
  }

  .card {
      width: 80%;
  }

  .menu li {
      width: 45%;
  }

  .star-s2, .star-s4 {
    position: static;
    width: 50px;
    margin: 1rem auto;
  }

  .star-s5 {
    position: static;
    width: 30px;
    margin: 1rem auto;
  }
}

@media (max-width: 768px) { /* Mobile screens */
  .text-overlay {
    padding-left: 1rem;
    margin-top: 5%;
  }

  .text-overlay h1 {
    font-size: 2rem;
  }

  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .menu-items {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
    gap: 0.5rem;
  }

  .logo {
    font-size: 16px;
  }

  .logo .star {
    width: 35px;
  }

  .menu-items li a {
    font-size: 16px;
  }

  .first-section {
    padding: 1rem;
  }

  .first-section h1 {
    font-size: 2rem;
  }

  .title h1 {
    font-size: 30px;
  }

  .title h2 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
    max-width: 100%;
  }

  button {
    padding: 0.8rem 1.5rem;
    font-size: 12px;
  }

  .gold,
  .gold3 {
    width: 90%;
  }

  .card {
    width: 90%;
  }

  .menu li {
    width: 100%;
  }

  .star-s2, .star-s4, .star-s5 {
    width: 40px;
  }

  footer {
    padding: 2rem;
  }

  .footer-section .container {
    flex-direction: column;
    align-items: center;
  }

  footer .container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav-bar {
    /* display: none; */
    width: 100%;
    position: sticky;
    top: 0;
  }

  .first-section {
    font-size: 14px;
    padding: 3rem;
  }

  .nav-bar ul {
    display: none;
  }

  .text-overlay {
    margin-top: 0;
    padding: 20rem 1.5rem;
  }

  .txt {
    font-size: 14px;
  }

  .text-overlay h1 {
    font-size: 1.8rem;
  }

  .logo {
    font-size: 14px;
  }

  .logo .star {
    width: 30px;
  }

  .menu-items li a {
    font-size: 14px;
  }

  .title h1 {
    font-size: 26px;
  }

  .title h2 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  button {
    padding: 0.6rem 1.2rem;
    font-size: 10px;
  }

  .gold,
  .gold3 {
    width: 90%;
    margin-top: 40px;
    height: 400px;
  }

  .domeg-gold3 {
    height: auto;
  }

  .section-one{
    height: fit-content;
  }
  .card {
    width: 100%;
  }

  .julius {
    width: 330px;
  }

  .why-choose-us {
    margin-bottom: 30px;
  }

  .affiliate-companines {
    margin-top: 60px;
  }

  .license-container {
    display: flex;
    flex-direction: column-reverse;
  }

  #choose-domeg {
    height: fit-content;
    /* margin-top: 120px; */
  }

  section {
    height: fit-content;
    padding: 3rem;
  }

  .location {
    margin: 0 auto;
  }
}