/* Basic page styling */
body{
    font-family: Arial;
    margin: 0;
    text-align: center;
    animation: colorChange 60s infinite;
}

/* Background color animation */
@keyframes colorChange{
    0%{ background-color:#f4f6f9; }
    25%{ background-color:#c3dbf8; }
    50%{ background-color:#8ba6d1; }
    75%{ background-color:#c3dbf8; }
    100%{ background-color:#f4f6f9; }
}

/* Header */
header{
    background-color:#1e2a38;
    color:white;
    padding:20px;
}

/* Homepage layout */
.home-container{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.logo{
    font-size:48px;
    margin-bottom:10px;
}

.tagline{
    color:#666;
    margin-bottom:30px;
}

/* homepage white box */

.home-box{
    background:white;
    padding:50px;
    border-radius:20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

/* Navigation bar */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background-color:#222;
}

.nav-logo{
    color:white;
    font-size:22px;
    font-weight:bold;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:20px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    font-size:16px;
}

.nav-links a:hover{
    text-decoration:underline;
}

/* Search bar */
.search-box{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.search-box input{
    padding:12px;
    width:300px;
    font-size:16px;
}

.search-box button{
    padding:12px 18px;
    font-size:16px;
    cursor:pointer;
}

/* Buttons */
button{
    padding:10px 20px;
    font-size:16px;
    background-color:#0077ff;
    color:white;
    border:none;
    border-radius:20px;
    cursor:pointer;
}

button:hover{
    background-color:#1e2a38;
}

/* Results layout */
.results-search{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-top:40px;
}

.results-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    margin-top:30px;
}

/* Product cards */
.product-card{
    background:white;
    width:250px;
    margin:15px;
    padding:15px;
    border-radius:10px;
    border:1px solid #ccc;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.product-card h3{
    margin-top:0;
}

.price{
    color:blue;
    font-weight:bold;
}

.features{
    display:flex;
    justify-content:center;
    gap:40px;
    margin-top:40px;
}

.feature{
    background:white;
    padding:20px;
    width:200px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

/* About page */
/* Team section */
.team-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-top:20px;
}

/* Team cards */
.team-card{
    background:white;
    padding:20px;
    border-radius:15px;
    width:200px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor:pointer;
}

/* Image */
.team-card img{
    width:100%;
    border-radius:10px;
    margin-bottom:10px;
}

/* Name */
.team-card h3{
    margin:10px 0 5px 0;
}

/* Role text */
.team-card p{
    color:#555;
    font-size:14px;
}

/* Hover effect */
.team-card:hover{
    transform: translateY(-10px) scale(1.05);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* LOGIN STYLER */
/* Background */
.modal{
    display:none;
    position:fixed;
    z-index:1000;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.5);
    justify-content:center;
    align-items:center;
}

/* Box */
.modal-content{
    background:white;
    padding:30px;
    border-radius:15px;
    width:300px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

/* Inputs */
.modal-content input{
    width:90%;
    padding:10px;
    margin:10px 0;
    font-size:16px;
}

/* Close button */
.close-btn{
    float:right;
    font-size:22px;
    cursor:pointer;
}

/* Animation */
@keyframes fadeIn{
    from{ opacity:0; transform:scale(0.9); }
    to{ opacity:1; transform:scale(1); }
}
