/* Header Styling */
.main-header {
  background-color: rgb(1, 1, 43);
  color: rgb(244, 206, 157);
  text-align: center;
  padding: 5px 2px;
  border-bottom: 5px solid crimson;
}

.logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 4px;
}



/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: rgb(1, 1, 35);
  color: rgb(244, 217, 181);
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.5em;
}

header p {
  font-size: 1.2em;
}

/* Hero Section */
.hero {
  background-color: lightgrey;
  text-align: center;
  padding: 2rem 1rem;
}

.hero h2 {
  font-size: 2em;
  color: navy;
}

.hero p {
  font-size: 1em;
  color: rgb(227, 6, 6);
}

/* Department Panels */
.departments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.panel {
  flex: 1 1 300px;
  max-width: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.panel:hover {
  transform: scale(1.03);
}

.panel h3 {
  margin-bottom: 1rem;
  color: crimson;
  font-size: 1.5em;
}

.panel ul {
  list-style: none;
  padding-left: 0;
}

.panel ul li {
  margin-bottom: 0.5rem;
  color: teal;
  font-size: 1em;
}

/* Color Themes */
.healthcare { background-color: #fffaf0; }
.technology { background-color: #e6f2f2; }
.car-rental { background-color: #f0f8ff; }
.reviews { background-color: #f5f5f5; }
.importation { background-color: #fdf5e6; }
.sales { background-color: #f0ffff; }

/* Footer */
footer {
  background-color: rgb(1, 1, 43);
  color: rgb(230, 201, 164);
  text-align: center;
  padding: 1rem;
  font-size: 0.9em;
}

/* Media Queries */

/* Tablets */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  .hero h2 {
    font-size: 1.5em;
  }

  .panel {
    flex: 1 1 100%;
    max-width: 90%;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.5em;
  }

  header p,
  .hero p,
  .panel ul li {
    font-size: 0.9em;
  }

  .hero h2 {
    font-size: 1.2em;
  }

  .panel {
    padding: 1rem;
  }
}

/* Smartwatches (ultra small screens) */
@media (max-width: 320px) {
  header h1,
  .hero h2 {
    font-size: 1em;
  }

  .panel h3 {
    font-size: 1em;
  }

  .panel ul li {
    font-size: 0.8em;
  }

  .departments {
    padding: 1rem;
    gap: 1rem;
  }

  .panel {
    padding: 0.75rem;
  }
}
.panel-link {
  text-decoration: none;     /* Removes underline */
  color: inherit;            /* Keeps original text color */
  display: block;            /* Makes the anchor behave like a block element */
}

.panel-link:hover .panel {
  transform: scale(1.02);    /* Optional: adds a subtle hover effect */
  transition: transform 0.2s ease-in-out;
}

/* ===============================
   Call Button Styling
   =============================== */

.call-button {
  display: inline-block;
  margin-left: 10px;
  padding: 8px 14px;
  background-color: var(--crimson);
  color: var(--antiquewhite);
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.call-button:hover {
  background-color: var(--navy);
  transform: scale(1.05);
}

/* Responsive Hotline Banner */
.hotline-banner {
  position: fixed;
  top: 5px;
  left: 5px;
  background-color: rgb(88, 224, 237);
  color: rgb(14, 35, 222);
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 1rem;
  z-index: 9999;
  border-bottom-right-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hotline-banner:hover {
  background-color: rgb(98, 198, 135);
  transform: scaleX(1.05);
}


/* Responsive font size */
@media (max-width: 480px) {
  .hotline-banner {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}


