
* {
  box-sizing: border-box;
  }

body {
margin: 0;
font-family: Arial, sans-serif;
background: rgb(241, 243, 246);
color: #222;
}

.header {
width: 100%;
padding: 20px 7%;
background: white;
border-bottom: 1px solid #e5e5e5;
}

.site-name {
text-align: center;
margin: 0;
font-size: 28px;
font-weight: 700;
color: rgb(112, 3, 3);
}

.container {
width: 90%;
max-width: 700px;
margin: 60px auto;
}

.search-card {
background: white;
padding: 35px;
border-radius: 14px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-title {
margin-top: 0;
margin-bottom: 8px ;  
font-size: 28px;
}

.subtitle {
margin-top: 0;
margin-bottom: 30px;
color: #666;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
}

.form-group input {
width: 100%;
padding: 14px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
outline: none;
}

.form-group input:focus {
border-color: #333;
}

.find-btn {
width: 100%;
padding: 14px;
border: none;
border-radius: 8px;
background: #222;
color: white;
font-size: 16px;
font-weight: 600;
cursor: pointer;
}

.find-btn:hover {
background: #505050;
}

.form-group {
    position: relative;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: rgb(55, 11, 17);
    color: white;
    border: 1px solid #ccc;
    border-top: none;

    max-height: 200px;
    overflow-y: auto;

    display: none;

    z-index: 1000;
}

.suggestion {
    padding: 10px;
    cursor: pointer;
}

.suggestion:hover {
    background-color: #9d5454;
}

.footer{

    position: fixed;
    /* bottom: 0; */
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);

    /* text-decoration: none; */
    display: flex;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    
    background: rgba(173, 173, 172, 0.551);
    width: 100% ;
    font-weight: bolder;
    margin-bottom: 0px;
    
}
.footer a {
    text-decoration: none;
    color: red !important;
}
.footer a:hover {
    text-decoration:underline;
    color: rgb(41, 100, 159) !important;
}

/* ---------- Page 2 ............................... */

.route-card {
background: white;
padding: 35px;
border-radius: 14px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.route-title {
margin-top: 0;
margin-bottom: 8px;
font-size: 26px;
}

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

.instructions {
color: rgb(120, 35, 190);
/* color: black; */
padding-left: 25px;
margin-bottom: 30px;
}

.instructions li {
margin-bottom: 18px;
line-height: 1.6;
font-size: 17px;
}

.instructions li::marker {
    color: #222;
    font-weight: 600;
}
.back-btn {
display: inline-block;
text-decoration: none;
padding: 12px 20px;
border-radius: 8px;
background: #eee;
color: #222;
font-weight: 600;
}

.back-btn:hover {
background: #ddd;
}


.language-toggle {
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.lang-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.lang-btn:hover {
    background-color: #f2f2f2;
}

.lang-btn.active {
    background-color: #333;
    color: white;
    border-color: #333;
}


/* listen button */
.audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
}

.audio-play-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 18px;
    border: none;
    border-radius: 8px;

    background: #11726f;
    color: white;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;
}
.audio-play-btn:hover{
    background: rgb(73, 24, 24);
}

.audio-play-btn i {
    font-size: 15px;
}

.audio-play-btn:active {
    transform: scale(0.97);
}
.vol-button{
    font-size: 20px;
}

/* microphone */
.input-with-mic {
    display: flex;
    align-items: center;
}

.input-with-mic input {
    flex: 1;
}

.mic-btn {
    width: 45px;
    height: 45px;
    margin-left: 8px;

    border: none;
    border-radius: 8px;

    background: #2563eb;
    color: white;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

.mic-btn:active {
    transform: scale(0.96);
}

/* ..........................disclaimer */
.disclaimer-content{
    font-size: large;
    margin: 10px;
}





/* ---------- Mobile ----------------------- */

@media (max-width: 600px) {


.header {
    padding: 18px 5%;
}

.container {
    width: 92%;
    margin: 35px auto;
}

.search-card,
.route-card {
    padding: 25px;
}

.logo {
    font-size: 24px;
}

.page-title {
    font-size: 24px;
}

.route-title {
    font-size: 22px;
}


}
