*{
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    border: border-box;
}
/* navigation bar */
.navbar {
    background: linear-gradient(135deg, #232f3e 0%, #1a252f 100%);
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
/* Box1 */

.logo-container {
   display: flex;
   align-items: center;
   text-decoration: none;
}

.logo {
    background: linear-gradient(45deg, #ff9500, #ffb84d);
    color: #232f3e;
    font-size: 28px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(255, 149, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
        }

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.logo:hover::before {
    left: 100%;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.4);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-accent {
    color: #232f3e;
    font-size: 32px;
    font-weight: 900;
}

.logo-subtitle {
    font-size: 10px;
    color: #232f3e;
    opacity: 0.8;
    margin-left: 2px;
}
/* logo end */

.border{
   border: 1.6px solid transparent;
}
.border:hover{
    border: 1.6px solid white;
}

/* Box2 */
.add-first{
    color: #cccccc;
    font-size: 0.85rem;
    margin-left: 15px;
}
.add-second{
    font-size: 1rem;
    margin-left: 3px;
}
.add_icon{
    display: flex;
    align-items: center;
}

/* Box 3 */
.nav-search{
    display: flex;
    justify-content: space-evenly;
    background-color: pink;
    width: 620px;
    height: 40px;
    border-radius: 4px;
}

.search-select{
    background-color: #f3f3f3;
    width: 50px;
    text-align: center;
    border-top-left-radius:4px ;
    border-bottom-left-radius: 4px;
    border: none;

}

.search-input{
    width: 100%;
    font-size: 1rem;
    border: none;
}

.search-icon{
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #ff9500, #ffb84d);
    border-top-right-radius: 4px ;
    border-bottom-right-radius: 4px;

}
.nav-search:hover{
    border: 2px solid orange;
}
/* Box4 & Box5 */
span{
  font-size: 0.7rem;
}
.nav-second{
    font-size: 0.85rem ;
    font-weight: 700;
}

/* Box6 */
.nav-cart i{
    font-size: 30px;
}
.nav-cart{
    font-size: 0.85rem;
    font-weight: 700;
}
/* main */
/* hero-section */
.hero-section{
   
    background-size: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;  
    animation: slider 44s infinite linear;
} 
@keyframes slider{
     0%{ background-image: url("image44.jpeg");}
    11%{ background-image: url("image54.jpg");}
    22%{ background-image: url("image45.jpg");}
    33%{ background-image: url("image46.jpg");}
    44%{ background-image: url("image47.jpg");}
    55%{ background-image: url("image48.webp");}
    63%{ background-image: url("image49.jpg");}
    71%{ background-image: url("image50.webp");}
    82%{ background-image: url("image52.jpg");}
    92%{ background-image: url("image51.jpg");}
    100%{ background-image: url("image55.jpg");} 
    
}
.hero-message{
     background: linear-gradient(135deg, #95a3e3 0%, #bd97e3 100%);
    /* background-color: ; */
    color: white;
    height: 40px;
    display: flex;
    align-items: center; 
    justify-content: center;
    font-size: 0.85rem;
    width: 80%;
    margin-bottom: 25px;   
}
.hero-message a{
    color: #007185;
}
/* shop-section */
.subject-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #e2e7e6;
}
.box{
    border: 2px solid black;
    height: 400px;
    width: 23%;
    background-color: white;
    padding: 20px 0px 15px; 
    cursor: pointer; 
    transition: 400ms;
}
.box:hover{
/*(3) background-color:lightslategrey ; */
    background: linear-gradient(45deg, #ff9500, #ffb84d);
    box-shadow: 0 3px 10px rgba(255, 149, 0, 0.3);
    transform: translateY(-2px);
    transform: scale(1.02);
    transition-duration:1.2s ;
}
.box-img {
  height: 300px;  
  background-size: cover;
  margin-top: 1rem;
  margin-bottom: 1rem;

}
.box-content{
    margin-left: 1rem;
    margin-right: 1rem;
}

.box-content a{
     color: #007185;
     text-decoration: none;
}
/* footer */
.foot-panel1{
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;

}
.foot-panel2{
    /* background-color: #222f3d; */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 300px;
    display: flex;
    justify-content: space-evenly;
}

ul{
    margin-top: 20px;
}

ul a{
   display: block; 
   font-size: 0.85rem;
   margin-top: 10px;
   color: #dddddd;
}
.foot-panel3{
    background-color: #222f3d;
    color: white;
    border-top: 0.5px solid white;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.foot-panel4{
    background-color: #0f1111;
    color: white;
    height: 80px;
    text-decoration: none;
    font-size: 0.7rem;
    text-align: center;
}
.pages{
    padding-top: 25px;
}

.copyright{
    padding-top: 5px;
}

.container{
      height: 75px;
      width: 75px;
      margin-left: 4%;

}

/* =======================================
   RESPONSIVE DESIGN MEDIA QUERIES START
   ======================================= */

@media (max-width: 1200px) {
  .nav-search {
    width: 500px;
  }
}

@media (max-width: 992px) {
  .nav-search {
    width: 400px;
  }
  .navbar {
    justify-content: space-between;
    padding: 12px 10px;
  }
}

@media (max-width: 768px) {
  .nav-search {
    width: 100%;
    margin: 10px 0;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
 }
  .logo {
    font-size: 24px;
    padding: 6px 12px;
  }
  .nav-cart i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
    padding: 4px 8px;
  }
  .nav-search {
    height: 35px;
  }
  .search-icon {
    width: 35px;
    font-size: 1rem;
  }
  .nav-cart i {
    font-size: 20px;
  }
  .add-first {
    font-size: 0.7rem;
  }
  .add-second {
    font-size: 0.8rem;
  }
}


@media (max-width: 768px) {
  .hero-section {
    height: 250px;
  }
  .hero-message {
    width: 90%;
    font-size: 0.7rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 200px;
  }
  .hero-message {
    width: 95%;
    font-size: 0.6rem;
    margin-bottom: 10px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .subject-section {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .subject-section {
    flex-direction: column;
    align-items: center;
    padding: 5px;
  }
}


@media (max-width: 1200px) {
  .box {
    width: 30%;
  }
}

@media (max-width: 992px) {
  .box {
    width: 45%;
  }
}
@media (max-width: 768px) {
  .box {
    width: 80%;
    height: auto; /* Make height auto for smaller screens */
    margin: 20px auto; /* Center the box */
  }
  .box-img {
    height: 200px; /* Reduce image height for smaller screens */
  }
}
@media (max-width: 480px) {
  .box {
    width: 100%;
  }
  .box-img {
    height: 150px; /* Further reduce image height for smaller screens */
  }
}


@media (max-width: 768px) {
  .foot-panel2 {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  ul {
    margin-top: 10px;
  }
  .foot-panel2 ul {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .foot-panel1 {
    font-size: 0.7rem;
    height: 40px;
  }
  .foot-panel3 {
    height: 50px;
    font-size: 0.8rem;
  }
  .foot-panel4 {
    height: 60px;
    font-size: 0.6rem;
  }
  .pages {
    padding-top: 15px;
}
  .copyright {
    padding-top: 5px;
  }
  .container {
    height: 50px;
    width: 50px;
    margin-left: 2%;
  }
}

