/* =========================
   BODY
========================= */
body{
    margin:0;
    font-family:Arial;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

/* =========================
   HEADER
========================= */
header{
    background: linear-gradient(135deg,#ff9800,#ffb300);
    color:white;
    text-align:center;
    padding:18px;
    font-size:22px;
    font-weight:bold;
}

/* =========================
   MENU
========================= */
.menu{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    background: rgba(255,255,255,0.85);
    padding:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
}
.menu a{
    text-decoration:none;
    color:#ff9800;
    font-weight:bold;
    padding:8px 14px;
    border-radius:20px;
}
.menu a:hover{
    background:#ff9800;
    color:white;
}

/* =========================
   SLIDER
========================= */
.slider{
    width:95%;
    margin:15px auto;
}
.slider img{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:15px;
}

/* =========================
   SECTION
========================= */
.section{
    width:95%;
    margin:20px auto;
}

/* =========================
   CARD
========================= */
.card{
    background:white;
    padding:15px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    margin-bottom:15px;
}

/* =========================
   TITLES
========================= */
h3{
    color:#ff9800;
}

/* =========================
   NOTICE
========================= */
.notice{
    background:#fff7e6;
    padding:10px;
    margin:8px 0;
    border-left:4px solid #ff9800;
    border-radius:8px;
}

/* =========================
   FORM
========================= */
form input, form textarea{
    width:100%;
    box-sizing:border-box;
    padding:10px;
    margin:8px 0;
    border-radius:8px;
    border:1px solid #ccc;
}

form input[type=submit]{
    background: linear-gradient(135deg,#ff9800,#ffb300);
    color:white;
    border:none;
    cursor:pointer;
}

/* =========================
   ABOUT
========================= */
.about{
    line-height:1.7;
    color:#333;
}

/* =========================
   FOOTER
========================= */
footer{
    text-align:center;
    padding:15px;
    background:#333;
    color:white;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media(max-width:768px){
    .slider img{
        height:160px;
    }

    header{
        font-size:18px;
    }
}

/* =========================
   SIMPLE FADE SLIDER
========================= */

.slider{
    position:relative;
    width:95%;
    height:400px;
    margin:15px auto;
    overflow:hidden;
}

.slider img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:15px;

    opacity:0;
    transition: opacity 1s ease-in-out;
}

/* active image */
.slider img.active{
    opacity:1;
    z-index:2;
}

/* MOBILE */
@media(max-width:768px){
    .slider{
        height:160px;
    }
}

/* =========================
   AGE SECTION ONLY
========================= */

/* container layout */
#age .card {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* box design */
#age .box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* heading */
#age .box h2 {
    margin-bottom: 10px;
}

/* input */
#age .box input {
    width: 90%;
    padding: 8px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* button */
#age .box button {
    margin-top: 10px;
    padding: 8px 15px;
    background: linear-gradient(45deg, orange, red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#age .box button:hover {
    opacity: 0.9;
}

/* result */
#age #result {
    margin-top: 10px;
    font-weight: bold;
}

/* images */
#age .image-container img {
    width: 130px;
    height: auto;
    border-radius: 10px;
}

/* mobile view */
@media (max-width: 768px) {
    #age .card {
        flex-direction: column;
        align-items: center;
    }

    #age .box {
        width: 90%;
    }

    #age .image-container img {
        width: 110px;
    }
}