/* Homepage service-card color spec */
.container.mt-4 .service-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 15px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #000;
}
.container.mt-4 .service-card h3 {
  margin-top: 0;
  color: #326dee;
  font-size: 1.5rem;
}
.container.mt-4 .service-card p {
  color: #000;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.container.mt-4 .service-card a.btn,
.container.mt-4 .service-card .btn {
  color: #fff;
  background-color: #326dee;
  border-radius: 20px;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  border: none;
}
.btn-primary {
  background-color: #326dee !important;
  color: #fff !important;
  border: none !important;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #4a7ef0 !important;
  color: #fff !important;
}
.container.mt-4 .service-card a.btn:hover,
.container.mt-4 .service-card .btn:hover {
  background-color: #4a7ef0;
  color: #fff;
}
.homepage-gallery {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-slide.active {
  opacity: 1;
}
/* Homepage specific layout styles */
.homepage-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  margin-top: -120px;
}

.homepage-gallery {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-slide.active {
  opacity: 1;
}
/* layout.css: navbar, footer, grid, containers */
/* Removed all .navbar styles. Use navbar.css for navbar styling. */

footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  position:relative;
  bottom:0;
  padding-bottom: 10px;
  margin-top: 25px;
  width: 100%;
}

footer p {
  margin: 0;
}

footer img {
  display: block;
  margin: 5px auto 0;
  height: 50px;
}
/* Blog card footer colors to match dashboard style */
.card .text-muted {
  color: #ffffff !important;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.card .fa-eye,
.card .fa-heart {
  color: #bdc3c7 !important;
  font-size: 1.1em;
  margin-right: 4px;
  vertical-align: middle;
}
.card {
  background-color: #34495e !important;
  color: #ecf0f1 !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
}
.card .card-title,
.card .card-text {
  color: #ecf0f1 !important;
}
.btn-primary {
  background-color: #2980b9 !important;
  border: none !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: #3498db !important;
}

.main {
  max-width: 960px;
  margin: 0 auto;
}

.text-center {
  margin-top: 60px;
  text-align: center;
}

.container {
  justify-content: center;
  box-sizing: content-box;
  border: 2px #ddd;
  border-radius: 10%;
}

/* mt-45 container: white background, black text, blue h3, primary buttons */
.container.mt-45 {
  padding: 20px;
  background-color: #34495e;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 4rem;
  max-width: 98%;
}
.container.mt-45 h2 {
  font-size: 2rem;
  color: #ecf0f1;
}
.container.mt-45 h3 {
  color: #ecf0f1;
  font-size: 1.5rem;
  margin-top: 0;
}
.container.mt-45 p {
  font-size: 1.125rem;
  color: #ecf0f1;
  line-height: 1.6;
}

.container.mt-45 h2 {
  font-size: 2rem;
  color: #ecf0f1;
}

.container.mt-45 p {
  font-size: 1.125rem;
  color: #ecf0f1;
  line-height: 1.6;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  background-color: #2c3e50;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: white;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  background-color: rgb(47, 37, 37);
}

input[type="submit"] {
  width: 100%;
  background-color: black;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

/* Remove blue background from card headers */
.card-header {
  background: transparent !important;
}

