* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins";
}
:root {
  --bg-color: #080808;
  --second-bg-color: #101010;
  --light-grey-color: #161616;
  --text-color: whitesmoke;
  --main-color: whitesmoke;
  --bronze-color: #CD7F32;
  --silver-color: #C0C0C0;
  --gold-color: #FFD700;
}
html {
  font-size: 65%;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-color);
  color: var(--text-color);
}

main {
  flex: 1; /* Pushes the footer down */
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 2rem 10%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
#menu-icon {
  font-size: 3.5rem;
  color: var(--main-color);
  display: none;
}
.logo {
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 700; /* Use bold for better visibility */
  font-family: "Dancing Script", cursive;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}
span {
  background: linear-gradient(270deg, hsl(0, 0%, 27%) 10%, hsl(0, 0%, 100%) 100%);
  background-clip: text;
  color: transparent;
}
.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent;
}
.navbar a:hover {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}
.gradient-btn {
  font-size: 1.8rem;
  padding: 1rem;
  border-radius: 3rem;
  background: linear-gradient(270deg,hsl(0, 0%, 27%) 10%, hsl(0, 0%, 100%) 100%);
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  color: black;
  border: none;
  text-wrap: nowrap;
}

.gradient-btn:active {
  transform: scale(0.95);
}

.gradient-btn:hover {
  transform: scale(1.05);
}
section {
  min-height: 100vh;
  padding: 10rem 15%;
}
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15rem;
}
.home-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.home-content h1 {
  font-size: 8rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
}
.home-content h3 {
  margin: 1rem 0;
  font-size: 4rem;
}
.home-content p {
  font-size: 2rem;
  font-weight: 500;
  max-width: 500px;
  line-height: 1.8;
}
.home-img img {
  width: 28vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.4s ease-in-out;
}
.home-img img:hover {
  box-shadow: 0 0 20px var(--main-color), 0 0 50px var(--main-color),   0 0 10px var(--main-color);
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 0.5rem;
  transition: 0.3s ease-in-out;
}

.social-icons a:hover {
  color: var(--main-color);
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 0 20px var(--main-color);
}

.btn-group {
  display: flex;
  gap: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--bg-color);
  box-shadow: 0 0 25px var(--bg-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: rgb(255, 255, 255);
  border: 2px solid var(--main-color) ;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.btn-2 {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--bg-color);
  box-shadow: 0 0 25px var(--bg-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: rgb(255, 255, 255);
  border: 2px solid var(--main-color);
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.btn:active, .btn-2:active {
  transform: scale(0.95);
}

.btn-2:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--main-color), 0 0 10px var(--main-color);
}

.btn-group a:nth-of-type(2) {
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover {
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: rgb(255, 255, 255);
}
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  background: var(--second-bg-color);
}
.about-img img {
  width: 28vw;
  border-radius: 50%;
  max-width: 600px;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.3s ease-in-out;
}
.about-img img:hover {
  box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color),
    0 0 100px var(--main-color);
}
.about-content h2 {
  font-size: 7rem;
  text-align: left;
}
.about-content p {
  font-size: 1.8rem;
}
.about-content .btn {
  margin: 3rem 0;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}
::-webkit-scrollbar-track {
  background-color: var(--bg-color);
}
.heading {
  text-align: center;
  font-size: 7rem;
  margin: 5rem 0;
}

.projects {
  background-color: var(--second-bg-color);
}
.projects-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  place-items: stretch;
  gap: 3rem;
  row-gap: 5rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Add this line */
  text-align: center;
  background-color: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 3rem;
  gap: 2rem;
  padding: 5rem 2rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 5px var(--main-color);
  transition: 0.3s ease;
  height: 100%; /* Add this line */
}

.project-card:hover {
  box-shadow: 0 0 20px var(--main-color), 0 0 10px var(--main-color);
  transform: scale(1.02);
}
.project-card img {
  max-width: 300px;
  border-radius: 2em;
  object-fit: cover;
}
.project-card h3 {
  font-size: 3rem;
}
.project-card p {
  font-size: 1.6rem;
}
.contact {
  background-color: var(--light-grey-color);
}
.contact h2 {
  margin-bottom: 3rem;
  color: var(--text-color);
}
.contact form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 5rem 0;
  text-align: center;
}
.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 2.5rem;
  font-size: 1.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-radius: 2rem;
  border: 2px solid var(--main-color);
  margin: 1.5rem 0;
  margin-bottom: 3rem;
  resize: none;
}
.footer {
  margin-top: auto;
  background-color: var(--bg-color);
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto; /* Prevents unwanted stretching */
  padding: 40px 0; /* Adds equal padding */
}

.footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px; /* Adjust icon spacing */
}


.footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px; /* Adjust spacing */
  padding: 0;
  list-style: none;
  font-size: 1.8rem; /* Make links bigger */
  text-align: centers;
}


.footer ul li {
  display: inline-block;
}
.footer ul li a {
  color: whitesmoke;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease-in-out;
}

.footer ul li a:active {
  transform: scale(0.95);
}

.footer ul li a:hover {
  border-bottom: 3px solid var(--main-color);
}
.footer .copyright {
  text-align: center;
  margin-top: 20px; /* Reduce top margin */
  font-size: 1.8rem; /* Increase font size */
}
@media (max-width: 1285px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    border-bottom-left-radius: 2rem;
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    display: none;
  }
  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--text-color);
  }
  .navbar.active {
    display: block;
  }
  .gradient-btn {
    display: none;
  }
  .home {
    flex-direction: column-reverse;
    margin: 5rem 0;
    gap: 5rem;
  }
  .home-content {
    align-items: center;
    text-align: center;
  }
  .social-icons i {
    font-size: 2.5rem;
  }

  .about {
    flex-direction: column-reverse;
    text-align: center;
  }
  .about h2 {
    text-align: center;
    font-size: 6rem;
    margin: 2rem 0;
  }
  .about p {
    font-size: 1.3rem;
  }
  .about img {
    width: 52vw;
  }
  .contact form {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .heading {
    font-size: 5rem;
  }
  .home-content h1 {
    font-size: 6rem;
  }
  .home-content h3 {
    font-size: 2.5rem;
  }
  .home-content p {
    font-size: 1.3rem;
  }
  .about h2 {
    font-size: 6rem;
  }
  .service-info h4 {
    font-size: 4rem;
  }
  .projects-box {
    grid-template-columns: 1fr;
  }
  .project-card img {
    max-width: 40vw;
  }
  .project-card p {
    font-size: 1.3rem;
  }
  .project-card .btn {
    font-size: 1.5rem;
  }
  .project-card .btn:active {
    transform: scale(0.95);
  }
  .services-box {
    grid-template-columns: 1fr;
  }
  .service-box i {
    font-size: 5rem;
  }
  .service-box h4 {
    font-size: 3rem;
  }
  .service-box {
    max-height: 500px;
  }
  .service-info {
    padding: 2rem;
  }
  .contact form {
    gap: 1rem;
  }
  .contact form .input-group .input-box input {
    padding: 1.5rem;
  }
  .contact form .input-group-2 textarea {
    padding: 1.5rem;
  }
  
}

/* Packages Section */
.packages {
  text-align: center;
  margin-top: 8rem;
}
.packages h2 {
  font-size: 6rem;
  margin-bottom: 4rem;
}
.package-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.package-box-bronze {
  background: var(--second-bg-color);
  padding: 3rem;
  border-radius: 2rem;
  width: 30%;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 0 5px var(--bronze-color);
  transition: 0.3s;
}

.package-box-silver {
  background: var(--second-bg-color);
  padding: 3rem;
  border-radius: 2rem;
  width: 30%;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 0 5px var(--silver-color);
  transition: 0.3s;
}

.package-box-gold {
  background: var(--second-bg-color);
  padding: 3rem;
  border-radius: 2rem;
  width: 30%;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 0 5px var(--gold-color);
  transition: 0.3s;
}

.package-box-bronze:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--bronze-color);
}

.package-box-silver:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--silver-color);
}

.package-box-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--gold-color);
}

.package-box-bronze h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

.package-box-silver h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

.package-box-gold h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

.package-box-bronze ul {
  text-align: center; /* Centers the bullet points */
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
}

.package-box-silver ul {
  text-align: center; /* Centers the bullet points */
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
}

.package-box-gold ul {
  text-align: center; /* Centers the bullet points */
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
}

.package-box-bronze ul li {
  font-size: 1.8rem;
  margin: 0.8rem 0;
  list-style-type: disc; /* Keeps the bullet points */
  color: whitesmoke; /* Makes bullets white */
}

.package-box-silver ul li {
  font-size: 1.8rem;
  margin: 0.8rem 0;
  list-style-type: disc; /* Keeps the bullet points */
  color: whitesmoke; /* Makes bullets white */
}

.package-box-gold ul li {
  font-size: 1.8rem;
  margin: 0.8rem 0;
  list-style-type: disc; /* Keeps the bullet points */
  color: whitesmoke; /* Makes bullets white */
}

.project-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem;
  max-width: 80%;
  margin: 0 auto;
}

.center-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
  display: block;
  padding-top: 3rem;
}

.package-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.portfolio {
  margin-top: 5rem;
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    grid-template-rows: auto;
    gap: 1rem; /* Slightly larger gap for better spacing */
  }
}

.gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #222;
  border-radius: 0.5rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.medium {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item.small {
  grid-column: span 1;
  grid-row: span 1;
}

.package-box-bronze h3.bronze-title {
  color: #CD7F32 !important;
}

.package-box-silver h3.silver-title {
  color: #C0C0C0 !important;
}

.package-box-gold h3.gold-title {
  color: #FFD700 !important;
}
.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 0; /* Adjust padding */
  }

  .footer .social-icons {
    text-align: center;
    margin-bottom: -20px; /* Add space between icons and links */
    margin-top: -40px;
  }

  .footer ul {
    text-align: center;
    flex-direction: row; /* Stack links vertically */
    gap: 10px; /* Reduce spacing */
  }

  .footer .copyright {
    text-align: center;
    font-size: 1.6rem; /* Ensure text is readable */
    margin-top: 15px; /* Adjust spacing */
    margin-bottom: 5px;
  }
}
.mobile-only {
  display: none; /* Hide by default (for PC) */
}

@media (max-width: 768px) {
  .mobile-only {
    display: block; /* Show only on mobile */
  }
}

.package-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.package-btn {
  width: 100%;
  max-width: 1000px;
  padding: 1.5rem 3rem;
  font-size: 2rem;
  font-weight: 600;
  border: 2px solid var(--main-color);
  background: transparent;
  color: var(--main-color);
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.package-btn:hover {
  background-color: var(--main-color);
  color: black;
  transform: scale(1.02);
}

.package-section {
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 1;
  max-height: 0;
  padding: 0;
  margin: 0;
}

.package-section.show {
  max-height: 5000px; /* large enough to show everything */
  opacity: 1;
  padding: 2rem 0;
  margin-top: 2rem;
}



.package-section.hidden {
  opacity: 0;
  max-height: 0;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none;
}

.package-group {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-section {
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
}

.package-section.show {
  max-height: 5000px;
  opacity: 1;
  padding: 2rem 0;
  margin-top: 1rem;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.popup.show {
  display: flex;
}

.popup-content-wrapper {
  background-color: #111;
  padding: 3rem;
  border-radius: 1rem;
  color: white;
  font-size: 2rem;
  text-align: center;
  border: 2px solid var(--main-color);
  box-shadow: 0 0 20px var(--main-color);
  max-width: 90%;
}

.popup.success .popup-content-wrapper {
  border-color: green;
}

.popup.error .popup-content-wrapper {
  border-color: red;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
  color: var(--main-color);
}
