/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(11, 15, 18);
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: aliceblue;
}

/* Header and Navigation */
header {
    width: 100%;
    padding: 1rem 0;
    background-color: rgb(11, 15, 18);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    padding: 1rem 0;
    position: relative;
}

.text h2 {
    font-size: 1.8rem;
    color: aliceblue;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: aliceblue;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-links li a:hover {
    color: #d51e1e;
}

.search {
    height: 2.5rem;
    width: 100%;
    max-width: 25rem;
    background-color: #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3rem;
    padding: 0 1rem;
    margin-left: 1.5rem;
}

.search input {
    border: none;
    background: none;
    color: aliceblue;
    width: 80%;
    padding: 0.5rem;
    outline: none;
}

.search i {
    color: aliceblue;
    cursor: pointer;
    font-size: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    color: aliceblue;
    font-size: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgb(11, 15, 18);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0;
        border-top: 1px solid #333;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1rem;
    }

    .nav-links li {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid #333;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .search {
        margin: 1rem 0 0 0;
        max-width: 100%;
    }
}

/* Main Content */
main {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
}

.cantainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.box1,
.box2 {
    flex: 1;
    min-width: 300px;
}

.box1 h2 {
    color: aliceblue;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.box1 p {
    color: #a1a1a1;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: rgb(252, 199, 83);
    height: 3rem;
    width: 10rem;
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: rgb(255, 183, 0);
}

.btn button {
    color: black;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.color {
    background-color: rgb(15, 13, 27);
    height: 35rem;
    width: 100%;
    border-radius: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: end;
}

.outer1,
.outer2,
.outer3 {
    position: absolute;
    padding: 2rem;
    border-radius: 50% 50% 10% 10%;
    background: linear-gradient(135deg, blue, red, pink);
}

.outer1 {
    height: 33rem;
    width: 30rem;
    /* top: -5rem; */
    /* left: -5rem; */
}

.outer2 {
    height: 28rem;
    width: 20rem;
    /* bottom: 5rem; */
    /* right: -3rem; */
}

.outer3 {
    height: 22rem;
    width: 12rem;
    /* bottom: 2rem; */
    /* left: 5rem; */
}

.inner {
    height: 100%;
    width: 100%;
    background: rgb(15, 13, 27);
    border-radius: 50% 50% 10% 10%;
}

.half {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    z-index: 2;
    width: 80%;
}

.half .btn {
    background-color: rgba(50, 36, 3, 0.2);
    width: 8rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.half .btn p {
    color: rgb(252, 199, 83);
    margin: 0;
    font-weight: bold;
}

.half h2 {
    color: aliceblue;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.circle {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    background-color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile p {
    color: #a1a1a1;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Feature Sections */
#feature {
    color: rgb(89, 92, 99);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.fea {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.fea h2 {
    color: aliceblue;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: capitalize;
    font-weight: bold;
}

.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.back {
    background-color: rgb(11, 54, 79);
    height: 3rem;
    padding: 0 1.5rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back p {
    color: rgb(68, 181, 230);
    font-weight: bold;
    font-size: 0.9rem;
}

.bb {
    background-color: #0E1319;
    height: 3rem;
    padding: 0 1.5rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bb:hover {
    background-color: #1a1f25;
}

.bb h2 {
    color: aliceblue;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 0.9rem;
}

.bb i {
    font-size: 1rem;
    color: aliceblue;
}

#last {
    color: aliceblue;
    font-weight: bold;
    text-transform: capitalize;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
}

/* Cards */
.line,
.line1 {
    margin-bottom: 4rem;
}

.cards,
.cards1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card1,
.card2,
.card3,
.card4,
.card5,
.card6 {
    height: 25rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.card1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/main.jpg');
    background-size: cover;
    background-position: center;
}

.card2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/sky.jpg');
    background-size: cover;
    background-position: center;
}

.card3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/mountain.jpg');
    background-size: cover;
    background-position: center;
}

.card4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/keyboard.jpg');
    background-size: cover;
    background-position: center;
}

.card5 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/laptop.webp');
    background-size: cover;
    background-position: center;
}

.card6 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/bitcoin.webp');
    background-size: cover;
    background-position: center;
}

.cover,
.cover1,
.cover2,
.shadow,
.shadow2,
.shadow3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.cover {
    background-color: #3B9D8E;
}

.cover1 {
    background-color: rgb(179, 157, 132);
}

.cover2 {
    background-color: rgb(130, 76, 69);
}

.shadow {
    background-color: rgb(3, 66, 60);
}

.shadow2 {
    background-color: rgb(21, 42, 76);
}

.shadow3 {
    background-color: rgb(82, 64, 20);
}

.set,
.set1,
.set2,
.collect {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    width: 80%;
}

.lab,
.lab1,
.lab2,
.lable,
.lable2,
.lable3 {
    height: 2.5rem;
    width: auto;
    padding: 0 1.5rem;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.lab {
    background-color: rgb(0, 117, 210);
}

.lab1 {
    background-color: rgb(179, 157, 132);
}

.lab2 {
    background-color: rgb(130, 76, 69);
}

.lable {
    background-color: rgb(3, 66, 60);
}

.lable2 {
    background-color: rgb(21, 42, 76);
}

.lable3 {
    background-color: rgb(82, 64, 20);
}

.lab p,
.lab1 p,
.lab2 p,
.lable p,
.lable2 p,
.lable3 p {
    font-size: 0.9rem;
    color: aliceblue;
    font-weight: bold;
}

.set h2,
.set1 h2,
.set2 h2,
.collect h2 {
    color: aliceblue;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 1rem;
}

/* Email Subscription */
.space {
    width: 100%;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.email {
    background-color: rgb(163, 193, 232);
    height: auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

#emails h2 {
    color: #0E1319;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

#emails p {
    color: #0E1319;
    font-size: 1.2rem;
    opacity: 0.8;
}

.email button {
    background-color: rgb(47, 109, 190);
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    color: aliceblue;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.email button:hover {
    background-color: rgb(8, 75, 164);
}

/* Footer */
footer {
    width: 100%;
    padding: 4rem 0;
    background-color: #0E1319;
}

.foot {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.con1 h2 {
    color: aliceblue;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.con1 p {
    color: #a1a1a1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.con2 h2,
.con3 h2 {
    color: aliceblue;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.con2 p,
.con3 p {
    color: #a1a1a1;
    font-size: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.con2 p:hover,
.con3 p:hover {
    color: aliceblue;
}

.con4 {
    display: flex;
    gap: 1rem;
}

.icon {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    border: 2px solid aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.icon:hover {
    background-color: aliceblue;
    color: #0E1319;
}

.icon i {
    font-size: 1.2rem;
    color: aliceblue;
    transition: color 0.3s;
}

.icon:hover i {
    color: #0E1319;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .cantainer {
        flex-direction: column;
    }

    .box1,
    .box2 {
        width: 100%;
    }

    .color {
        height: 25rem;
    }

    .outer1 {
        height: 20rem;
        width: 20rem;
    }

    .outer2 {
        height: 15rem;
        width: 15rem;
    }

    .outer3 {
        height: 10rem;
        width: 10rem;
    }

    .fea,
    .header {
        justify-content: center;
    }

    .email {
        flex-direction: column;
        text-align: center;
    }

    .email button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .box1 h2 {
        font-size: 2rem;
    }

    .half h2 {
        font-size: 1.5rem;
    }

    .cards,
    .cards1 {
        grid-template-columns: 1fr;
    }

    .card1,
    .card2,
    .card3,
    .card4,
    .card5,
    .card6 {
        height: 20rem;
    }

    .set h2,
    .set1 h2,
    .set2 h2,
    .collect h2 {
        font-size: 1.3rem;
    }

    .foot {
        grid-template-columns: 1fr;
    }
}

/* Email Subscription Section */
.email-subscription {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: white;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 2rem auto;
  width: 100%;
  box-sizing: border-box;
}

.subscription-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  width: 90%;
}

.subscription-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.subscription-content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  padding: 0 1rem;
}

.subscription-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  width: 100%;
}

.input-group {
  flex: 1 1 100%;
  min-width: 0;
  position: relative;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.8rem 1rem 0.8rem 3rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
}

.input-group i {
  position: absolute;
  left: 1.2rem;
  opacity: 0.8;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  font-size: clamp(0.9rem, 2vw, 1rem);
  padding: 0.3rem 0;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.7);
}

.subscription-form button {
  background: #FFD700;
  color: #333;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw, 1rem);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  flex: 1 1 auto;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .input-group {
    flex: 1 1 auto;
    min-width: 300px;
  }
  
  .subscription-form button {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .email-subscription {
    padding: 2rem 0.5rem;
  }
  
  .subscription-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .input-group, 
  .subscription-form button {
    width: 100%;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}