html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7fc;
    color: #333;
    line-height: 1.6;
}

header{
    background-color: #0077b6;
    color: white;
    text-align: center;
    padding: 30px;
}

header h1{
    font-size: 40px;
    margin-bottom: 10px;
}
header p{
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
}

nav{
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;

    padding: 18px 30px;

    background: rgba(2,62,138,0.85);
    backdrop-filter: blur(12px);

    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

nav a{
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;

    padding: 10px 18px;
    border-radius: 30px;

    transition: .3s ease;
}

nav a:hover{
    background: rgba(255,255,255,.15);
    color: #90e0ef;
}

#welcomeUser{
    color:white;
    font-weight:600;
}

#logoutBtn{
    background:#ef4444;
    color:white;

    border:none;
    padding:10px 18px;

    border-radius:30px;

    cursor:pointer;

    transition:.3s;
}

#logoutBtn:hover{
    background:#dc2626;
    transform:scale(1.05);
}
.hero{
    background:
        linear-gradient(rgba(15,23,42,.65), rgba(15,23,42,.65)),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;

    padding:120px 20px;
}

.hero h2{
    font-size:60px;
    max-width:850px;
    line-height:1.2;
    font-weight:700;
    margin-bottom:25px;
}

.hero p{
    max-width:700px;
    font-size:20px;
    line-height:1.8;
    color:#e2e8f0;
    margin-bottom:35px;
}

.hero-btn{
    display:inline-block;
    padding:16px 40px;

    background:#0ea5e9;
    color:white;

    text-decoration:none;

    border-radius:50px;

    font-size:18px;
    font-weight:600;

    transition:.3s ease;
}

.hero-btn:hover{
    background:#0284c7;
    transform:translateY(-4px);
}
section{
    padding:90px 8%;
}
section h2{
    color: #0077b6;
    margin-bottom: 20px;
}
section h3{
    margin-top: 20px;
    color: #023e8a;
}
section p{
    margin-bottom: 8px;
}

footer{
    background:#0f172a;
    color:#cbd5e1;

    text-align:center;

    padding:35px;

    font-size:15px;

    margin-top:0;
}
.destinations{
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}
.destinations h2{
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    text-align: center;
}
.section-subtitle{
    text-align:center;
    font-size:18px;
    color:#64748b;
    max-width:700px;
    margin:0 auto 40px;
    line-height:1.7;
}
.card-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.card{
    width:300px;
    background:#ffffff;
    border-radius:20px;
    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.10);

    transition:.35s ease;

    padding:20px;
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.card h3{
    font-size:24px;
    color:#0f172a;
    margin:15px 0 10px;
}

.card p{
    color:#64748b;
    font-size:15px;
    margin-bottom:8px;
    line-height:1.6;
}
.about{
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    color:white;
    text-align:center;
    padding:100px 8%;
}

.about h2{
    font-size:42px;
    margin-bottom:25px;
    color:white;
}

.about p{
    max-width:850px;
    margin:auto;

    font-size:19px;
    line-height:1.9;

    color:#dbeafe;
}
.contact{
    padding:100px 8%;
    background:#f8fafc;
    text-align:center;
}

.contact h2{
    font-size:42px;
    color:#0f172a;
    margin-bottom:20px;
}

.contact p{
    color:#64748b;
    font-size:18px;
    margin-bottom:12px;
}
.find-buddy{
    padding:100px 8%;
    background:white;
    text-align:center;
}

.find-buddy h2{
    font-size:42px;
    color:#0f172a;
    margin-bottom:35px;
}

.find-buddy form{
    width:650px;
    max-width:95%;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:18px;
}

.find-buddy input,
.find-buddy select{
    padding:16px;

    border:1px solid #dbe4ee;

    border-radius:14px;

    font-size:16px;

    outline:none;

    transition:.3s;
}

.find-buddy input:focus,
.find-buddy select:focus{
    border-color:#0ea5e9;
    box-shadow:0 0 0 4px rgba(14,165,233,.15);
}

.find-buddy button{
    padding:16px;

    background:#0ea5e9;
    color:white;

    border:none;

    border-radius:14px;

    font-size:17px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.find-buddy button:hover{
    background:#0284c7;
}
html{
    scroll-behavior: smooth;
}

.login-container{
    width: 400px;
    margin: 80px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align:center;
}
.login-container h1{
    color:#0077b6;
    margin-bottom: 25px;
}
.login-container input{
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}
.login-container button{
    width: 100%;
    padding: 15px;
    background: #0077b6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}
.login-container button:hover{
    background: #023e8a;
}
.login-container a{
    color: #0077b6;
    text-decoration: none;
    font-weight: bold;
}
.explore-btn{
    display:block;
    width:100%;
    margin-top:18px;

    padding:14px;

    background:#0ea5e9;
    color:white;

    text-decoration:none;
    text-align:center;

    border-radius:12px;

    font-weight:600;

    transition:.3s;
}

.explore-btn:hover{
    background:#0284c7;
    transform:translateY(-2px);
}
/* ===== PROFILE PAGE ===== */

.profile-container{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    background:#f4f4f4;
}

.profile-card{
    width:400px;
    background:white;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

.profile-pic{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #0077b6;
    margin-bottom:20px;
}

.profile-card h2{
    color:#0077b6;
    margin-bottom:10px;
}

.profile-card p{
    margin:10px 0;
    font-size:18px;
}

.profile-card a{
    text-decoration:none;
    color:#0077b6;
    font-weight:bold;
}

.profile-card a:hover{
    color:#023e8a;
}
/* Search Box */
.search-box{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:45px 0;
}

#searchInput{
    width:500px;
    max-width:90%;

    padding:16px 24px;

    border:none;
    outline:none;

    border-radius:50px;

    font-size:16px;

    background:#ffffff;

    box-shadow:0 10px 30px rgba(0,0,0,.10);

    transition:.3s ease;
}

#searchInput:focus{
    transform:scale(1.02);

    box-shadow:0 15px 35px rgba(14,165,233,.25);
}
.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:16px;
}
.contact form{
    width:600px;
    max-width:95%;
    margin:40px auto;

    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact input,
.contact textarea{
    padding:16px;

    border:1px solid #dbe4ee;

    border-radius:14px;

    font-size:16px;

    outline:none;

    transition:.3s;
}

.contact input:focus,
.contact textarea:focus{
    border-color:#0ea5e9;
    box-shadow:0 0 0 4px rgba(14,165,233,.15);
}

.contact button{
    padding:16px;

    background:#0ea5e9;

    color:white;

    border:none;

    border-radius:14px;

    font-size:17px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.contact button:hover{
    background:#0284c7;
}
/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width:768px){

header h1{
    font-size:30px;
}

header p{
    font-size:16px;
}

nav ul{
    flex-direction:column;
    gap:15px;
}

nav a{
    display:block;
    margin:8px 0;
}

.hero{
    padding:60px 20px;
    min-height:80vh;
}

.hero h2{
    font-size:34px;
}

.hero p{
    font-size:18px;
}

.card-container{
    flex-direction:column;
    align-items:center;
}

.card{
    width:90%;
}

.login-container{
    width:90%;
}

.profile-card{
    width:90%;
}

.contact form{
    width:90%;
}

.find-buddy form{
    width:90%;
}

#welcomeUser{
    display:block;
    margin-top:10px;
}

#logoutBtn{
    margin-top:10px;
}

}
.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.secondary-btn{
    background:white;
    color:#0ea5e9;
}

.secondary-btn:hover{
    background:#f1f5f9;
}

.hero-stats{
    display:flex;
    gap:60px;
    margin-top:60px;
    flex-wrap:wrap;
    justify-content:center;
}

.stat{
    text-align:center;
}

.stat h3{
    font-size:36px;
    color:white;
}

.stat p{
    color:#cbd5e1;
}
/* ================= OUR SERVICES ================= */

.services{
    padding:80px 8%;
    background:#f8f9fa;
}

.services h2{
    text-align:center;
    font-size:2.3rem;
    margin-bottom:10px;
    color:#222;
}

.section-subtitle{
    text-align:center;
    color:#666;
    margin-bottom:50px;
    font-size:1rem;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
    position:relative;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.service-card .icon{
    font-size:3rem;
    margin-bottom:15px;
}

.service-card h3{
    font-size:1.5rem;
    font-weight:800;
    color:#222;
    margin-bottom:15px;
}

.service-card p{
    color:#666;
    line-height:1.6;
    margin-bottom:25px;
}

.service-btn{
    display:inline-block;
    padding:12px 28px;
    border-radius:30px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.service-btn:hover{
    background:#084fc7;
}

/* ===== Premium Taxi Card ===== */

.taxi-card{
    background:linear-gradient(135deg,#b8860b,#f4b400);
    color:#fff;
    transform:scale(1.05);
}

.taxi-card h3{
    color:#fff;
    font-size:1.8rem;
    font-weight:900;
}

.taxi-card p{
    color:#fff;
}

.taxi-card .service-btn{
    background:#fff;
    color:#000;
}

.taxi-card .service-btn:hover{
    background:#222;
    color:#fff;
}

.badge{
    position:absolute;
    top:18px;
    right:18px;
    background:red;
    color:#fff;
    font-size:.75rem;
    font-weight:bold;
    padding:6px 12px;
    border-radius:20px;
}