@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

header {
  background-color: #faf3e0;
  /* Warmer cream background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}

#main .container-fluid {
  margin-top: 100px;
}

@media only screen and (max-width:600px) {
  #main .container-fluid {
    margin-top: 200px;
  }
}

a.nav-link,
label,
p,
a.text-decoration-none {
  color: #8B4513;
  /* Rich saddle brown */
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}

a.nav-link:hover {
  font-weight: 700;
  color: #5C4033;
  /* Darker coffee brown for hover */
  transition: 0.5 ease-in-out;
}

#logout {
  color: #8B4513;
  /* Saddle brown */
  border: 1px solid #8B4513;
  background-color: white;
}

#logout:hover {
  color: white;
  border-color: #5C4033;
  background-color: #5C4033;
  /* Dark coffee brown */
  font-weight: 700;
}

img.img {
  width: 100px;
  max-height: 50px;
}

#main {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('pic/Homepage.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container-fluid {
  padding: 50px;
  background-color: rgba(92, 64, 51, 0.3);
  /* Muted, transparent dark brown */
  border-radius: 10px;
}

#apply {
  color: #8B4513;
  /* Saddle brown */
  border: 1px solid #8B4513;
  background-color: white;
}

#apply:hover {
  color: white;
  background-color: #5C4033;
  /* Dark coffee brown */
  border: 1px solid #5C4033;
  font-weight: 700;
}

#business {
  color: white;
  border: 1px solid #8B4513;
  background-color: #8B4513;
  /* Saddle brown */
}

#business:hover {
  color: white;
  font-weight: 700;
  background-color: #5C4033;
  /* Dark coffee brown */
  border: 1px solid #5C4033;
}


.contact-form {
  background-color: #7c3a20;
}

.contact-form label {
  color: #333;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form .form-control {
  border-radius: 5px;
}

.contact-form textarea.form-control {
  min-height: 100px;
}

.contact-form h2 {
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

/* Apply Montserrat globally */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea {
  font-family: "Montserrat", sans-serif !important;
}

/* Custom styling matching the purple brand */
:root {
  --brown-500: #8B4513;
  /* Saddle Brown */
  --brown-400: #A0522D;
  /* Sienna */
  --cream-200: #D2B48C;
  /* Tan */
  --accent: #A0522D;
  --muted: #6b6b6b;
}

/* HERO */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 64vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(92, 64, 51, 0.72) 0%, rgba(92, 64, 51, 0.55) 55%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
  border-radius: 0.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
}

.hero p.lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.95;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

#services .row {
  margin-left: 0;
  margin-right: 0;
}

/* Force all service cards to have equal height */
.service-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 2rem 1.5rem !important;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card .service-icon {
  font-size: 2.5rem;
  color: var(--brown-500, #8B4513);
  margin-bottom: 1rem;
  display: block;
}

.service-card h5 {
  font-weight: 600;
}

.service-card a {
  color: var(--brown-400, #A0522D);
  font-weight: 500;
}

/* Contact */
.contact-section {
  background-color: #5C4033;
  /* Dark coffee brown */
  color: #fff;
  padding: 3rem 0;
}

.contact-section label {
  color: #fff;
}

.btn-accent {
  color: #8B4513;
  background-color: white;
  border-radius: 20px;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

.btn-accent-outline {
  color: #8B4513;
  background-color: white;
  border-radius: 20px;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

footer {
  background: #D2B48C;
  /* Tan */
  color: #5C4033;
  /* Dark coffee brown */
  padding: 2rem 0;
}

footer a {
  color: #e8d9f0;
  text-decoration: none;
}

@media (max-width: 767px) {
  .hero {
    min-height: 48vh;
    padding-top: 4rem;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(139, 69, 19, 0.7);
  /* Semi-transparent saddle brown */
  /* your color */
  border-radius: 50%;
  /* make it round */
  padding: 20px;
  /* size of button */
  background-size: 60% 60%;
  /* scale the arrow inside */
}

/* Adjustments for service card content */
#services .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#services .card-body .d-flex {
  flex-direction: column;
  align-items: center;
  gap: 0 !important;
}