: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 {
  background-color: #FFFFFB;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: grid;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
        "navbar"
        "main"
        "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: 1000;
}

.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;
  }
}

/*     -----------------ASIDE CSS DESIGN ENDS HERE---------------------- */

main {
    margin-top: 89px;
    margin-left: 39px;
    margin-right: 39px;
    grid-area: main;
}

.div1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px; /* Optional: Adjust width */
    margin: 0 auto; /* Centers horizontally */
    padding: 20px; /* Optional: Adjust spacing */
}


.div1 h1{
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 27px;
    padding: 10px;
}

.div1 p{
    font-size: 17px;
    font-weight: 300;
    padding: 10px;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
  }
  
  .service-card {
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .image-container {
    position: relative;
    overflow: hidden;
  }
  
  .service-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .service-card:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .overlay a {
    text-decoration: none;
    cursor: pointer;
}
  
  .service-card:hover .overlay {
    opacity: 1;
  }
  
  .overlay span {
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 2rem;
  }
  
  .content {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .service-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
  }
  


/*   LOONNGGG PART HEREEE */



  .service-card-long {
    overflow: hidden;
    transition: transform 0.3s ease;
    min-height: 600px; /* Ensures a minimum height */
}

.service-card-long:hover {
    transform: translateY(-5px);
}

.service-card-long img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-long h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card-long p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.image-container-long {
    position: relative;
    overflow: hidden;
}

.service-card-long:hover img {
    transform: scale(1.1);
}

.overlay-long {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-long a {
    text-decoration: none;
    cursor: pointer;
}

.service-card-long:hover .overlay-long { /* Corrected selector */
    opacity: 1;
}

.overlay-long span { /* Ensure this matches the overlay-long class */
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 2rem;
}
  
  .content {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: #1f2937;
    font-weight: 600;
  }
  
  .service-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
  }





/*------------------------ END OF MAIN--------------------- */


/* 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;
  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) {
  .product-container {
    flex-direction: column;
  }
  
  .product-info, .product-image {
    max-width: 100%;
  }

  .div1 h1{
    font-size: 25px;
  }
}



@media (max-width: 576px) {
  .navbar {
    padding: 1rem 3%;
  }
  
  main {
    padding: 1rem 3%;
  }
  
  .product-info h1 {
    font-size: 2rem;
  }
  
  .product-info p {
    font-size: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
  

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  main {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .service-card img {
    height: 220px;
  }
  
  main {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  nav a {
    min-width: 100%;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .content {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}





@media (max-width: 768px) {
  .div1 h1{
    font-size: 23px;
  }
}

@media (max-width: 480px) {
  .div1 h1{
    font-size: 21px;
  }
}


