/* --------------------------
   GLOBAL STYLES
--------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #FFFFFF;
  color: #4D4D4D; /* Neutral text gray */
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  color: #F26A21; /* Brand orange headings */
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  color: #4D4D4D;
}

/* --------------------------
   NAVBAR
--------------------------- */
header {
  background: #F26A21;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.navbar .logo a:hover {
  transform: scale(1.1);
  color: #FFD9C2; /* soft orange tint */
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* underline hover effect */
.navbar nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #FFD9C2;
  transition: width 0.3s ease;
}

.navbar nav ul li a:hover {
  color: #FFD9C2;
}

.navbar nav ul li a:hover::after {
  width: 100%;
}

/* --------------------------
   HERO SECTION
--------------------------- */
.hero {
  background: linear-gradient(rgba(242, 106, 33, 0.85), rgba(200, 77, 17, 0.85)), 
              url("/images/hero-bg.jpg") center/cover no-repeat;
  color: #FFFFFF;
  text-align: center;
  padding: 120px 20px;
  animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero .motto {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFD9C2;
  margin-bottom: 10px;
}

.hero .vision {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #F5F5F5;
}

/* --------------------------
   SECTIONS
--------------------------- */
.section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: auto;
}

.alt-bg {
  background: #F5F5F5;
  border-radius: 8px;
}

.section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: #F26A21;
}

/* --------------------------
   LISTS
--------------------------- */
.services-list, .team-preview {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
}

.services-list li, .team-preview li {
  padding: 12px 20px;
  background: #FFFFFF;
  margin-bottom: 12px;
  border-left: 4px solid #F26A21;
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: 4px;
}

.services-list li:hover, .team-preview li:hover {
  background: #FFD9C2;
  transform: translateX(5px);
}

/* --------------------------
   BUTTONS
--------------------------- */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #F26A21;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(242, 106, 33, 0.3);
}

.btn:hover {
  background: #C84D11;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(200, 77, 17, 0.4);
}

/* --------------------------
   FOOTER
--------------------------- */
footer {
  background: #333333;
  color: #FFFFFF;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

footer a {
  color: #FFD9C2;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --------------------------
   ANIMATIONS
--------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid #F5F5F5;
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card h3 {
  color: #F26A21;
  margin-bottom: 15px;
}

.service-card p {
  color: #4D4D4D;
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(242, 106, 33, 0.2);
  border-color: #F26A21;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid #F5F5F5;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #F26A21;
}

.team-card h3 {
  margin: 10px 0 5px;
  color: #F26A21;
}

.team-card .role {
  font-weight: 600;
  color: #C84D11;
  margin-bottom: 15px;
}

.team-card p {
  font-size: 0.95rem;
  color: #4D4D4D;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(242, 106, 33, 0.25);
}


/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info h3 {
  color: #F26A21;
  margin-bottom: 5px;
}

.contact-info p, .contact-info a {
  color: #4D4D4D;
  margin-bottom: 15px;
  display: block;
  text-decoration: none;
}

.contact-info a:hover {
  color: #C84D11;
  text-decoration: underline;
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #F26A21;
  box-shadow: 0 0 5px rgba(242, 106, 33, 0.3);
  outline: none;
}

.contact-form button {
  align-self: flex-start;
}
  
/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* Flash Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  font-weight: 600;
  text-align: center;
  animation: fadeInDown 0.5s ease;
}

.alert.success {
  background-color: #e6f9f0;
  color: #1b7f4c;
  border: 1px solid #1b7f4c;
}

.alert.error {
  background-color: #fdecea;
  color: #b3261e;
  border: 1px solid #b3261e;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  font-weight: 600;
  text-align: center;
  animation: fadeInDown 0.5s ease;
  transition: opacity 0.5s ease; /* for smooth fade-out */
}
