@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

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

body {
    background-image: url("images/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1db95445;
    z-index: -1;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

.items ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.items ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.items ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4CAF50;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.items ul li a:hover::after {
    transform: scaleX(1);
}

.icons ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.icons ul li img {
    height: 24px;
    cursor: pointer;
}

.block1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 50px;
}

.block1-text {
    max-width: 500px;
}

.block1-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: breathe 5s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.block1-text p {
    font-size: 18px;
    line-height: 1.6;
}

.block1-img {
    position: relative;
}

.block1-img img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.block1-img img:hover {
    transform: scale(1.05);
}

.block1-img::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 336px;
    width: 368px;
    border-radius: 50px;
    background-color: rgba(169, 169, 169, 0.1);
    border: 1px solid rgba(198, 198, 198, 0.3);
    backdrop-filter: blur(20px);
    z-index: -1;
}

.block2-head {
    text-align: center;
    font-size: 36px;
    margin: 50px 0;
}

.block2 {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 0 50px;
}

.block2-p1, .block2-p2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.block2-img img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.block2-img img:hover {
    transform: scale(1.05);
}

.block2-text {
    max-width: 500px;
}

.block2-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.block2-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.buy-option {
    background-color: rgba(169, 169, 169, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.buy-option h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    gap: 20px;
}

.buy-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.buy-button:hover {
    background-color: #45a049;
    transform: translateY(-3px);
}

.about-section, .newsletter {
    background-color: rgba(169, 169, 169, 0.1);
    padding: 50px;
    margin: 50px 0;
    border-radius: 10px;
}

.about-section h2, .newsletter h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.newsletter button:hover {
    background-color: #45a049;
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(169, 169, 169, 0.1);
}

#mobile-menu-button {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 20px;
    }

    #mobile-menu-button {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }

    .items {
        width: 100%;
        display: none;
    }

    .items.show {
        display: block;
    }

    .items ul {
        flex-direction: column;
        align-items: center;
    }

    .block1, .block2-p1, .block2-p2 {
        flex-direction: column;
        padding: 50px 20px;
    }

    .block1-img::before {
        width: 100%;
        height: 100%;
    }

    .button-container {
        flex-direction: column;
    }

    .block1-text h1 {
        font-size: 36px;
    }

    .block1-text p, .block2-text p {
        font-size: 16px;
    }

    .block2-head {
        font-size: 28px;
    }

    .about-section, .newsletter {
        padding: 30px;
    }

    .about-section h2, .newsletter h2 {
        font-size: 28px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input[type="email"], .newsletter button {
        width: 100%;
    }
}


/* Dark Mode */
/* Adjusted styling for dark mode toggle */
.theme-label {
    width: 70px;
    height: 30px;
    position: relative;
    display: block;
    background: #ebebeb;
    border-radius: 200px;
    box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.4), inset 0px -5px 15px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
    margin-top: -25px;
    margin-left: 26rem;
}
.theme-label:after {
    content: "";
    width: 23px;
    height: 23px;
    position: absolute;
    top: 5px;
    left: 5px;
    background: linear-gradient(100deg, #ffcc89, #d8860b);
    border-radius: 180px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

  #dark-mode-toggle{
    width: 0;
    height: 0;
    visibility: hidden;
  }
  #dark-mode-toggle:checked + .theme-label{
    background: #242424;
  }
  #dark-mode-toggle:checked  + .theme-label:after{
    left: 62px;
    transform: translateX(-100%);
    background: linear-gradient(100deg,#777, #3a3a3a);
  }
  .theme-label:active:after{
    width: 45px;
  }
  .background{
    width:100vw;
    height: 100vh;background: #fff;
    z-index: -1;
    position:absolute;
    transition: 0.3s;
  }
  #dark-mode-toggle:checked + .theme-label + .background{
    background: #242424;
  }
  
  
  
    @media (max-width: 480px) {
        label {
            width: 50px;
            height: 25px;
            margin-top: -45px;
          margin-left: 286px;
        }
        label:after {
          width: 20px;
          height: 20px;
          top: 2.5px;
          margin-left:0px;
        }
  
              input:checked + label:after {
                 left: 44px;
                transform: translateX(-100%);
                background: linear-gradient(100deg, #777, #3a3a3a);
            }
              label svg {
                  width: 100px;
                  top: 30px;
              }
            }

/* body.dark-mode{
    background-color:rgba(33 33 33 /1);
} */

/* Dark Mode */
body.dark-mode {
    background-color: rgba(33, 33, 33, 1);
    color: white;
}

.navbar.dark-mode {
    background-color: rgba(0, 0, 0, 0.7);
}

.block1.dark-mode, .block2.dark-mode, .about-section.dark-mode, .newsletter.dark-mode, footer.dark-mode {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(198, 198, 198, 0.3);
}

.items ul li a.dark-mode {
    color: white;
}

.items ul li a.dark-mode::after {
    background-color: #ffc107 ;/* Dark mode accent color */
}

.buy-button.dark-mode {
    background-color: #ffc107 ;
}

.buy-button.dark-mode:hover {
    background-color: #ffc107 ;
}
.dark-mode .newsletter button{
    background-color: #ffc107;
}
.dark-mode .block1-text h1{
    color: #4caf50;
}

.dark-mode .about-section h2 ,.newsletter h2 {
    color:#ffc107;
}
.dark-mode .icons ul{
    background: #eadcdcb5;
}
