body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-bg {
  background-color: #001F48;
}

.btn-warning {
  font-weight: 600;
}

.btn-outline-light:hover {
  background-color: #f1c40f;
  color: #1d3557;
}

#about p {
  color: #333;
  line-height: 1.7;
}

.card-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.card-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

.hero-section {
  min-height: 90vh;
  background: 
    linear-gradient(to right, rgba(29, 53, 87, 0.9), rgba(69, 123, 157, 0.9)),
    url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  padding: 4rem 1rem;
}

.hero-section h1,
.hero-section p {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), 
              url("/assets/images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-image h1,
.hero-image p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

#testimonials img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #1d3557;
}

#testimonialCarousel .carousel-inner {
  padding-left: 40px;  /* create space for left control */
  padding-right: 40px; /* create space for right control */
}


#testimonials blockquote {
  font-size: 1.1rem;
  color: #444;
}

#testimonials .blockquote-footer {
  color: #666;
}

.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(0, 0, 0, 0.3); /* darken background behind arrow */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
}

/* ── Login Page Styles ── */
.login-page {
  background: #f4f4f4;          /* Light gray backdrop */
  display: flex;               
  justify-content: center;     
  align-items: center;         
  height: 100vh;               
  margin: 0;                   
  padding: 0;                  
}

.login-page .login-container {
  background: #fff;            
  padding: 2rem;               
  border-radius: 4px;          
  width: 300px;                
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.login-page .login-container h1 {
  margin-top: 0;               
  font-size: 1.5rem;           
}

.login-page .login-container label {
  display: block;              
  margin-top: 1rem;            
  font-weight: 500;            
}

.login-page .login-container input {
  width: 100%;                 
  padding: 0.5rem;             
  margin-top: 0.25rem;         
  border: 1px solid #ccc;      
  border-radius: 3px;          
}

.login-page .login-container button {
  margin-top: 1.5rem;          
  width: 100%;                 
  padding: 0.75rem;            
  background: #007bff;         
  color: #fff;                 
  border: none;                
  border-radius: 4px;          
  font-size: 1rem;             
  cursor: pointer;             
}

.login-page .errors ul,
.login-page .flashes p {
  margin: 0.5rem 0;            
  color: #c00;                 
  font-size: 0.9rem;           
}

.flashes {
  max-width: 400px;
  margin: 1rem auto;
  text-align: center;
}
.flashes p {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: .5rem;
}
.success {
  background: #e6ffed;
  color: #2d6a4f;
  border: 1px solid #95d5b2;
}

.card-img-top {
  max-height: 250px;   /* adjust as needed */
  width: 100%;
  object-fit: contain;
}

footer img {
    max-width: 100%;
    height: auto;
    display: block;
}

