*{
    margin: 0;
    padding: 0;
    font-family: "poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
  }
  
.header{
    height: 80vh;
    width: 100%;
    background-image:
     linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(Images/Homepage__dress.jpg);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding-top: 25px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    backdrop-filter: blur(8px); /* optional for style */
}

/**logo stylings**/
.logo {
    margin-left: 30px;
}

.logo img {
    width: 120px;       /* Increase this as needed, e.g., 150px */
    height: auto;       /* Keeps proportions */
    max-height: 70px;   /* Prevents it from getting too tall */
    object-fit: contain;
}
@media (max-width: 768px) {
  .logo img {
    height: 70px;
  }
}



.nav-links{
    flex: 1;
    text-align: center;
    
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    
}


/******starting the hover underline animate*******/
.nav-links ul li a::after{
    content: "";
    width: 0%;
    height: 2px;
    background: white;
    display: block;
    margin: auto;
    transition: 2sec;
}
.nav-links ul li a:hover::after{
    width: 100%;
}

/********position the headline at the center of the page******/
.text-box{
    width: 90%;
    color: white;
    top:50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 45px;
    font-weight: 550;
    
    
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 15px;
    color: white;
    text-align: center;
    font-weight: 400;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor:pointer;
    margin-right: 13px;
    font: 'poppins';
}
.hero-btn:hover{
    color: black;
    background-color: white;
    transition: 3sec;
    border: 1px solid white;
}

.ghost-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor:pointer;
}
.ghost-btn:hover{
    background-color: orange;
    transition: 3sec;
    border: 1px solid white;
}

nav .fa{
    display: none;   /****hidden for larger screen****/
}


/*****************Keyframes to make the headline fade up and down*****/


@keyframes fadePop {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    20% {
      opacity: 1;
      transform: scale(1);
    }
    80% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.2);
    }
  }
  
  .text-box h1 span {
    display: inline-block;
    animation: fadePop 8s ease-in-out infinite;
    transition: all 0.8s ease-in-out;
  }


     /*********screen resolution to smaller inches*********/

@media(max-width: 700px){
    .text-box h1{font-size: 20px;
    }
    .text-box p{
        color:transparent;
    }
    /******nav bar on small devices*****/
    .nav-links ul li{
        display:block;
    }
    .nav-links{
        position: absolute;
        background: rgba(84, 73, 86, 0.9);
        height: 100vh;
        width: 200px;
        top: 0;
        right:-200px; /***hide the menu in small screen***/
        text-align: left;
        z-index: 2;
        transition: 1.2sec;

    }
    nav .fa{
        display: block;   /****now display it in small screens***/
        color: white;
        margin: 10px;
        font-size: 35px;
        cursor: pointer;
         
    }

    .nav-links ul{   /*****creating space between the manu links***/
        padding: 30px;
    }

    
}

/********/

@media(max-width:700px){

    .search-wrapper {
        margin-top: 23px;
        margin-left: 49px;
    }
    
    .search-input {
        width: 65%;
        padding: 5px 10px;
        font-size: 14px;
    }
    
}

/*****features****/
.section-features {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0;
    text-align: center;
    background-color:white; 
    color: rgb(43, 39, 39);
    
}

.section-features h2 {
    font-size: 45px;
    margin-bottom: 20px;
    font-weight:400px;
    color: rgb(66, 58, 58);
    border-bottom: 2px solid pink;
    padding-bottom: 25px;
}

.long-copy {
    font-size: 1.2rem;
    margin-bottom: 40px;
    margin-top: -18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    
}

/**********prod clarity***********/
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
  }

  .box {
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .box:hover {
    transform: translateY(-5px);
  }

  .box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .box p {
    font-size: 0.95rem;
    color: #555;
  }

  .box i {
    color: #e57373;
  }

  @media (max-width: 1024px) {
    .box {
      flex: 1 1 calc(50% - 20px);
    }
  }

  @media (max-width: 600px) {
    .box {
      flex: 1 1 100%;
    }
  }
/**********prod clarity***********/

.icon-big {
    font-size: 50px;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
    color: rgb(107, 100, 100);
}

p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

/**********footer styles**************/
  footer {
        background: #333;
        color: white;
        padding: 30px 0;
        text-align: center;
    }


/********Styles for search bar************/

.search-wrapper {
    max-width: 250px;
    margin-top: -18px;
    margin-left: 45px;
    margin-right: 70px;
    position: relative;
  }

  .search-input {
    width: 90%;
    padding: 10px 20px;
    padding-left: 45px;
    border-radius: 30px;
    border: 1px solid rgba(227, 153, 15, 0.929);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    outline: none;
  }

  .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: orange;
    font-size: 1.2rem;
  }

  .search-results {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    top: 110%;
    z-index: 10;
    display: none;
  }

  .search-results a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  .search-results a:hover {
    background-color: #ffecec;
  }


    /* Footer Container */
    .row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 80%;
        margin: auto;
    }

    /* Footer Navigation */
    .footer-nav {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 20px;
    }

    .footer-nav li {
        display: inline-block;
    }

    .footer-nav a {
        text-decoration: none;
        color: white;
        font-size: 22px;
        transition: 0.3s;
        font-weight: 400;
        text-transform: capitalize;
    }

    .footer-nav a:hover {
        color: orange;
    }

    /* Social Media Icons */
    .social-links {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 15px;
    }

    .social-links li {
        display: inline-block;
    }

    .social-links a {
        color: white;
        font-size: 1.5rem;
        transition: 0.3s;
    }

    .social-links a:hover {
        color: orange;
    }

    /* Copyright Text */
    footer p {
        margin-top: 15px;
        font-size: 0.9rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .row {
            flex-direction: column;
           
        }

        .footer-nav {
            justify-content: center;
            margin-bottom: 15px;
        }

        .social-links {
            justify-content: right;
            
        }
    }