:root {

  /**
   * colors
   */
  
  --dark-jungle-green: hsl(188, 63%, 7%);
  --prussian-blue: hsl(200, 69%, 14%);
  --raisin-black-1: hsl(227, 29%, 13%);
  --raisin-black-2: hsl(229, 17%, 19%);
  --yellow-green: hsl(89, 72%, 45%);
  --orange-soda: hsl(9, 100%, 62%);
  --cultured-1: hsl(0, 0%, 93%);
  --cultured-2: hsl(192, 24%, 96%);
  --misty-rose: hsl(7, 56%, 91%);
  --alice-blue: hsl(210, 100%, 97%);
  --seashell: hsl(8, 100%, 97%);
  --cadet: hsl(200, 15%, 43%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --opal: hsl(180, 20%, 62%);
  
  /**
   * typography
   */
  
  --ff-nunito-sans: "Nunito Sans", sans-serif;
  --ff-poppins: "Poppins", sans-serif;
  
  --fs-1: 1.875rem;
  --fs-2: 1.5rem;
  --fs-3: 1.375rem;
  --fs-4: 1.125rem;
  --fs-5: 0.875rem;
  --fs-6: 0.813rem;
  --fs-7: 0.75rem;
  
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  
  /**
   * transition
   */
  
  --transition: 0.25s ease;
  
  /**
   * spacing
   */
  
  --section-padding: 100px;
  
  /**
   * shadow
   */
  
  --shadow-1: 0 5px 20px 0 hsla(219, 56%, 21%, 0.1);
  --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);
  
  }


*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: #051923;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto auto auto;
  grid-template-areas:
    "navbar"
    "top-sect"
    "main"
    "bottom-sect"
    "footer";
}

/* Navbar Styles */
/*-------------------------------------HEADER-----------------------------------*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #003554;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  height: 95px;
  z-index: 5000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 80px;
  max-width: 80px;
  margin-right: 10px;
}

.logo p {
  color: white;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #DDAF40;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #DDAF40;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: var(--transition);
}

.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1001;
}

.dropdown-menu li {
  position: relative;
  transition: all 0.3s ease;
}

.dropdown-menu li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.dropdown-menu li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
  transition: all 0.3s ease;
  z-index: -1;
}

.dropdown-menu li:hover::before {
  width: 100%;
}

.dropdown-menu li:hover a {
  transform: translateX(8px);
  color: white;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1025px) {
  .dropdown:hover .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
  }
}

@media (max-width: 1024px) {
  .dropdown-menu {
      position: static;
      width: 100%;
      background-color: rgba(0, 77, 116, 0.95);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      box-shadow: none;
      border-radius: 8px;
      margin: 10px 0;
      opacity: 1;
      visibility: visible;
      transform: none;
      border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dropdown-menu li a {
      color: white;
      padding: 15px 20px;
      font-size: 0.9rem;
  }
  .dropdown-menu li:hover::before {
      width: 100%;
  }
  .dropdown-menu li:hover a {
      transform: translateX(5px);
  }
}


@media (max-width: 1024px) {
  .nav-links {
      position: fixed;
      top: 95px;
      right: -100%;
      width: 100%;
      height: calc(100vh - 95px);
      background-color: rgba(0, 53, 84, 0.95);
      backdrop-filter: blur(10px);
      flex-direction: column;
      align-items: center;
      padding-top: 2rem;
      transition: 0.5s ease-in-out;
      z-index: 999;
  }
  
  .nav-links.active {
      right: 0;
  }
  
  .nav-links li {
      margin: 1.5rem 0;
      opacity: 0;
      transform: translateX(50px);
      transition: all 0.5s ease;
  }
  
  .nav-links.active li {
      opacity: 1;
      transform: translateX(0);
      transition-delay: calc(0.1s * var(--i));
  }
  
  .hamburger {
      display: block;
      cursor: pointer;
  }
  
  .hamburger .bar {
      width: 25px;
      height: 3px;
      margin: 5px auto;
      transition: all 0.3s ease-in-out;
      background-color: white;
  }
  
  .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
      opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }
  
  .variants-container {
      grid-template-columns: 1fr;
  }

  .logo p{
      display: none;
  }
}
/* Top Section */
.top-section {
  grid-area: top-sect;
  position: relative;
  padding: 3rem 5%;
  color: white;
  text-align: center;
  overflow: hidden;
  background-color: #000000;
}

.top-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/lamp-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This prevents repetition when scrolling */
  opacity: 0.04; /* Adjust this value (0 to 1) to control opacity */
  z-index: 0;
}

.top-contact {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-contact h1 {
  font-size: 3.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.top-contact p {
  padding: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-link li {
  font-size: 1rem;
  padding: 5px;
}

.contact-link a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.contact-link a.active-2 {
  color: #DDAF40;
}

.contact-link a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #DDAF40;
  transition: var(--transition);
}

/* Add media queries for responsiveness */
@media (max-width: 768px) {
  .top-section {
    padding: 2rem 3%;
  }

  .top-contact h1 {
    font-size: 2.5rem; /* Adjust font size for smaller screens */
  }

  .top-contact p {
    font-size: 1rem; /* Adjust paragraph font size */
  }

  .contact-link li {
    font-size: 0.9rem; /* Smaller font size for links */
  }

  .contact-link a {
    padding: 8px; /* Adjust padding for smaller screens */
  }
}

/* Optional: Add a mobile-first approach */
@media (max-width: 480px) {
  .top-contact {
    flex-direction: column; /* Stack elements vertically */
  }

  .top-contact h1 {
    font-size: 2rem; /* Further reduce font size */
  }
}

.container {
  position: relative; /* Make the container relative for positioning the pseudo-element */
  min-height: 100vh;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Pseudo-element for the background image */
.container::before {
  content: "";
  position: absolute; /* Position it absolutely within the container */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/1chandelier.jpg");
  background-size: cover; /* Cover the entire container */
  background-position: center; /* Center the image */
  opacity: 0.6; /* Set the desired opacity */
  z-index: 0; /* Place it behind the content */
}

/* Ensure the content is above the background */
.container > * {
  position: relative; /* Make sure content is positioned above the pseudo-element */
  z-index: 1; /* Bring content above the background */
}

.form {
  width: 100%;
  max-width: 820px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  
}

.contact-form {
  background-color: #1a70bcd7;
  position: relative;
}

.circle {
  position: absolute;
  background: linear-gradient(135deg, transparent 20%, #146a92);
  border-radius: 50%;
}

.circle.one {
  width: 130px;
  height: 130px;
  top: 130px;
  right: -20px;
}

.circle.two {
  width: 80px;
  height: 80px;
  top: 10px;
  right: 30px;
}

.contact-form::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #1a70bc;
  top: 50px;
  left: -12px;
  transform: rotate(45deg);
}

form {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.title {
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.3s;
  color: #fafafa;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 25px;
  color: #1a70bc;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
  outline: none;
}

.btn:hover {
  background-color: transparent;
  color: #fff;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: #1a70bc;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
}

.information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  font-size: 0.95rem;
  align-items: center;
}

.icon {
  font-size: 30px;
  color: #1a70bc;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #070a0e, #144b92);
  text-align: center;
  color: #fff;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.4s;
}

.social-icons a:hover {
  transform: scale(1.09);
}

.contact-info::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  background-image: url("../images/d-logo.png");
  background-size: cover; /* Cover the entire container */
  background-position: center; /* Center the image */
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  background: url('../images/d-logo.png') no-repeat center center; /* Center the image */
  background-size: cover; /* Cover the entire circle */
  border-radius: 50%;
  bottom: 60%;
  right: 50%;
  transform: translate(-40%, 38%);
  z-index: 1; /* Ensure it is on top of other elements */
}


.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span::before,
.input-container span::after {
  content: "";
  position: absolute;
  width: 10%;
  height: 5px;
  background-color: #1a70bc;
  opacity: 0;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span::before {
  left: 50%;
}

.input-container span::after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span::before,
.input-container.focus span::after {
  width: 50%;
  opacity: 1;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info::before {
    bottom: initial;
    top: -72px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form::before {
    top: -12px;
    left: initial;
    right: 70px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info::before {
    display: none;
  }

  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    font-size: 25px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}



/* Footer Styles */
footer {
  position: relative;
  background-color: rgb(0, 0, 0); /* Fallback color */
  color: white;
  padding: 3rem 5% 1rem;
  overflow: hidden; /* Prevents unwanted overflow */
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/lamp-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This prevents repetition when scrolling */
  opacity: 0.04; /* Adjust this value (0 to 1) to control opacity */
  z-index: 0;
}

footer * {
  position: relative;
  z-index: 1; /* Ensures text and content stay above the background */
}


.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section img{
  width: 127px;
  height: 121px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: #DDAF40;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Classes */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
}


/* Responsive Styles */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 1rem 3%;
  }

  main {
    padding: 1rem 3%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}