/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f6f9fc;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 30px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-name {
  font-weight: bold;
  color: #e63946;
  font-size: 28px;
}

.logo img {
  width: 28px;
  margin-right: 8px;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: #e63946;
}

.signin-btn {
  background: #e63946;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.signin-btn:hover {
  background: #c72e3b;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 80px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.4;
}

.bold {
  font-weight: 700;
  color: #000;
}

.highlight {
  color: #e63946;
  font-weight: 700;
}

.tagline {
  margin-top: 10px;
  font-size: 18px;
  color: #555;
}

/* Search Box */
.search-box {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 12px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 600px;
  gap: 10px;
}

.search-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

.search-box input:focus {
  border-color: #e63946;
}

.search-btn {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.search-btn:hover {
  background: #c72e3b;
}

/* Services Section */
.services {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px auto;
  max-width: 900px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 300px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  color: #777;
  margin-bottom: 12px;
}

.offer {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.red {
  color: #e53935;
}

.green {
  color: #2e7d32;
}

.icon {
  font-size: 40px;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.red-bg {
  background: #e53935;
}

.green-bg {
  background: #2e7d32;
}

/* Why Choose Section */
.why-choose {
  background: #212121;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.why-choose h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.why-choose p {
  color: #bbb;
  margin-bottom: 40px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.feature {
  max-width: 250px;
}

.feature h3 {
  margin-top: 15px;
  font-size: 18px;
}

.feature p {
  font-size: 14px;
  color: #aaa;
}

/* Colored icons */
.icon.orange-bg { background: #f57c00; }
.icon.blue-bg { background: #0288d1; }
.icon.green-bg { background: #2e7d32; }

/* Footer */
.footer {
  background: #111;
  color: #bbb;
  padding: 30px 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  color: #f57c00;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 35px;
  margin-right: 8px;
}

.footer p {
  font-size: 14px;
  margin: 4px 0;
}
.tobby{
  display: none;
}
a {
  text-decoration: none;
  color: inherit; /* optional: keeps your text color unchanged */
}
.index-image{
  width: 100px;
}
.logo-container{
  display: flex;
  align-items: center;
}

.user-menu {
    position: relative;
    display: inline-block;
}

/* The button showing the user's name */
.user-name-btn {
    background-color: #fc8019;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between name and dropdown icon */
}

.user-name-btn:hover {
    background-color: #e06f15;
}

/* The dropdown container (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    right: 0; /* Align to the right of the button */
    margin-top: 5px;
}

/* The logout link inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 8px;
}

/* Change color of dropdown link on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* This class is added by JavaScript to show the dropdown */
.show {
    display: block;
}

