* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Anek Telugu", sans-serif;
}

#mobile {
  display: none; 
}

section, div  {
  border: none;
}

/* <!------------------------------nav bar------------------------------> */

nav {
  background: transparent;
  max-height: 80px;
  width: 100%;
  position: absolute;
  z-index: 10;
}

.logo {
  width: 90px;
  margin-left: 30px;
  margin-top: 20px;
}

nav ul {
  float: right;
  margin-right: 30px;
  margin-top: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 70px;
}

nav ul li a {
  color: lightgray;
  font-size: 17px;
  margin: 0px 13px;
  text-decoration: none;
  list-style: none;
  transition: 0.25s ease-in-out;
}

nav ul li a:hover {
  opacity: 0.6;
}

.checkbtn {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 30px;
  margin-top: 15px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

@media (max-width: 858px) {
  .checkbtn {
    display: block;
  }

  #mobile {
    display: block;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 110%;
    background: rgba(53, 41, 64, 1);
    top: -30px;
    margin: 0;
    left: -100%;
    text-align: center;
    transition: all 0.25s;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

  #check:checked ~ ul {
    left: 0;
  }
}

.lock-scroll {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

@media (max-width: 392px) {
  .logo {
    width: 75px;
    margin-left: 35px;
    margin-top: 25px;
  }

  .checkbtn {
    font-size: 25px;
  }
}


/* <!------------------------------homepage------------------------------> */

.homepage {
  /* The image used */
  background-image: url("background.webp");

  /* Set a specific height */
  min-height: 500px; 

  /* Create the parallax scrolling effect */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-homepage {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Ensure the section covers the full viewport height */
  width: 50vw;
  margin-left: 7vw;
  gap: 20px;
  z-index: 1;
  position: relative;
}

.homepage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.homepage-title {
  display: block;
  text-align: left;
  margin: 0 auto;
  color: white;
  font-size: 25px;
  margin-bottom: -20px;
  line-height: 1.3;
}

.h-button {
  width: 175px;
  height: 45px;
  border-radius: 12px;
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  font-size: 16px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  margin-top: 10px;
}

.h-button p {
  margin-top: 5px;
}

.h-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1000px) {
  .container-homepage {
    width: 65vw;
  }
}



@media (max-width: 858px) {
  .homepage {
    background-image: url('background_mobile.webp');
    background-size: 180%;      /* 150% zoom — adjust higher for more zoom */
    background-position: 100% 20%;  /* shift the “focus” down 30% */

  }

  .homepage:after{ 
    background-color: rgba(0, 0, 0, 0.75);
  }

  .h-button {
    background-color: rgba(255, 255, 255, 0.45);
  }

  .container-homepage {
    width: 90vw;
  }

  .homepage-title {
    font-size: 1.5em;
  }

  .homepage-buttons {
    flex-direction: column;
  }
}

@media (max-width: 392px) {
  .h-button {
    width: 140px;
    height: 36px;
    font-size: 11.4285714285714px;
  }
}

/* <!------------------------------advertise------------------------------> */

#advertise {
  background-color: rgba(19,15,23,255);
}

.container-advertise {
  display: flex;
  flex-direction: column;
  color: black;
  padding: 100px 150px;
  gap: 15px;
}

#advertise-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 48px;
  font-weight: bold;
}

#advertise-subtitle {
  font-weight: bold;
  margin-top: -30px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 5px;
}

#advertise-text {
  font-size: 16px;
  font-weight: medium;
  color: rgba(255, 255, 255, 0.7);
  text-align: justify;
  margin-top: 20px;
}

.advertise-button {
  justify-content: center;
  display: flex;
  align-items: center;
  margin-top: 30px;
}

#adv-button {
  width: 30%;
  height: 45px;
  border-radius: 10 0px;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  padding-top: 7px;
}

#adv-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 858px) {
  .container-advertise {
    padding: 50px;
  }
}

@media screen and (max-width: 768px) {
  #adv-button {
    margin: 0 auto;
    width: 70%;
  }
}

@media (max-width: 392px) {
  .container-advertise {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  #advertise-title {
    font-size: 30px;
    text-align: center;
  }

  #advertise-subtitle {
    font-size: 14px;
    text-align: center;
  }
}

/* <!------------------------------add-your-content------------------------------> */

#add-your-content {
  background-color: rgba(19,15,23,255);
}

.container-content {
  display: flex;
  flex-direction: column;
  color: black;
  padding: 100px 150px;
  gap: 15px;
}

#content-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 48px;
  font-weight: bold;
  text-align: right;
}

#content-subtitle {
  font-weight: bold;
  margin-top: -30px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 5px;
  text-align: right;
}

#content-text {
  font-size: 16px;
  font-weight: medium;
  color: rgba(255, 255, 255, 0.7);
  text-align: justify;
  margin-top: 20px;
}

.content-button {
  justify-content: center;
  display: flex;
  align-items: center;
  margin-top: 30px;
  text-decoration: none;
}

#con-button {
  width: 30%;
  height: 45px;
  border-radius: 100px;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  text-decoration: none;
  padding-top: 7px;
}

#con-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

@media (max-width: 858px) {
  .container-content {
    padding: 50px;
  }
}

@media screen and (max-width: 768px) {
  #con-button {
    margin: 0 auto;
    width: 70%;
  }
}

@media (max-width: 392px) {
  .container-content {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  #content-title {
    font-size: 30px;
    text-align: center;
  }
  
  #content-subtitle {
    font-size: 14px;
    text-align: center;
  }
}

/* <!------------------------------footer------------------------------> */

.footer {
  background-color: rgba(19,15,23,255);
}

.container-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 50px;
  padding-bottom: 50px;
  gap: 15px;
}

#footer-logo {
  width: 70px;
}

#footer-links {
  color: white;
}

@media (max-width: 600px) {
  #footer-logo {
    width: 70px;
  }
}