: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;
    display: grid;
    background: #000000;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
    
        "navbar"
        "main"
        "section"
        "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;
    }
  }

  

/*-------------------------------END OF HEADER---------------------------------*/

main{
    flex: 1;
}

.main-bg {
    position: relative;
    z-index: 1;
    transition: background 1s ease;
}

.main-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-image, url('../images/ddlogo.png')) center/cover no-repeat; /* Use CSS variable */
    opacity: 0.3;
    z-index: -1;
    transition: background 0.3s ease; /* Smooth transition for background change */
}

/* Hero Section */
.hero {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    padding-top: 40px; /* Reduced padding to move the section up */
    padding-bottom: 40px; /* Kept bottom padding for balance */
}

.hero.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 40px; /* Default font size for desktop */
    color: aliceblue;
    margin-bottom: 10px;
}

.hero .gradient-text {
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    max-width: 600px;
    margin: auto;
    font-size: 18px; /* Default font size for desktop */
    color: #A0A0A0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px; /* Slightly smaller font size for tablets */
    }

    .hero p {
        font-size: 16px; /* Slightly smaller font size for tablets */
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 120px; /* Increased top margin for better spacing */
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px; /* Further reduce top margin for very small screens */
    }

    .hero h1 {
        font-size: 28px; /* Even smaller font size for very small screens */
    }

    .hero p {
        font-size: 12px; /* Even smaller font size for very small screens */
        max-width: 100%; /* Use full width for very small screens */
    }
}

/* Hero Service Section */
.hero-service {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 40px;
    padding: 60px 100px;
    text-align: center;
}

.service {
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service.visible {
    opacity: 1;
    transform: translateY(0);
}

.service img {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

.img-back {
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: aliceblue;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service.visible .img-back {
    opacity: 1;
    transform: scale(1);
}

.service h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service p {
    font-size: 14px;
    color: #ffffff;
}

.service1 {
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service1 img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.img-back1 {
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: aliceblue;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service1 h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service1 p {
    font-size: 14px;
    color: #A0A0A0;
}

.btn-s {
    margin-top: 10px;
    padding: 0; /* Remove padding to ensure the button is a perfect circle */
    border-radius: 50%;
    height: 45px;
    width: 45px; /* Set a width equal to height for a perfect circle */
    border: none;
    cursor: pointer;
    display: flex; /* Use flexbox to center the image */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    background: none;
}

.btn-s img {
    max-width: 70%; /* Adjust the size of the image */
    max-height: 70%; /* Adjust the size of the image */
}

.btn-s:hover {
    background: #ff9a3b;
    transform: scale(1.05);
}


/* CSS */
.button-56 {
  margin-top: 20px;
  align-items: center;
  background-color: #ffffff;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: Inter,sans-serif;
  font-size: 16px;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-56:after {
  background-color: #01132b;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}

.button-56:hover:after {
  transform: translate(0, 0);
}

.button-56:active {
  background-color: #ffffff;
  outline: 0;
}

.button-56:hover {
  outline: 0;
}

@media (min-width: 768px) {
  .button-56 {
    padding: 0 40px;
  }
}





/* 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%;
    }
  }
  

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












  /* Responsive Styles */
@media (max-width: 1024px) {
    .hero-service {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        padding: 40px 60px; /* Reduce padding */
    }

    .hero h1 {
        font-size: 36px; /* Slightly smaller font size */
    }

    .hero p {
        font-size: 16px; /* Slightly smaller font size */
    }
}

@media (max-width: 768px) {
    .hero-service {
        grid-template-columns: 1fr; /* 1 column on mobile */
        padding: 20px 30px; /* Further reduce padding */
    }

    .hero h1 {
        font-size: 32px; /* Smaller font size for mobile */
    }

    .hero p {
        font-size: 14px; /* Smaller font size for mobile */
    }

    .service h3 {
        font-size: 16px; /* Smaller font size for mobile */
    }

    .service p {
        font-size: 12px; /* Smaller font size for mobile */
    }

    .service1 h3 {
        font-size: 16px; /* Smaller font size for mobile */
    }

    .service1 p {
        font-size: 12px; /* Smaller font size for mobile */
    }

    .btn-s {
        font-size: 12px; /* Smaller button font size for mobile */
        padding: 8px 16px; /* Smaller button padding for mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px; /* Even smaller font size for very small screens */
    }

    .hero p {
        font-size: 12px; /* Even smaller font size for very small screens */
    }

    .service h3 {
        font-size: 14px; /* Even smaller font size for very small screens */
    }

    .service p {
        font-size: 10px; /* Even smaller font size for very small screens */
    }

    .service1 h3 {
        font-size: 14px; /* Even smaller font size for very small screens */
    }

    .service1 p {
        font-size: 10px; /* Even smaller font size for very small screens */
    }

    .btn-s {
        font-size: 10px; /* Even smaller button font size for very small screens */
        padding: 6px 12px; /* Even smaller button padding for very small screens */
    }
}

