:root {
  --gold: #b77a3b;
  --green: #9cb89c;
  --text-dark: #2a2a2a;
  --bg-light: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: var(--bg-light);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 120px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo-img {
    height: 80px;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
              url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80')
              center/cover no-repeat;
  text-align: center;
  padding: 150px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: "Georgia", serif;
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #555;
}

.btn {
  background: var(--green);
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--gold);
}

/* Sections */
section {
  padding: 80px 60px;
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 40px;
}

/* Services */
.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  flex: 1 1 300px;
  background: #f8f9f8;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--green);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact */
.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  padding: 12px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.about-text {
  flex: 1 1 400px;
  text-align: left;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}

/* Management System Page Styles */

.management-hero {
  position: relative;
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
              url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRD2Qr_P5ZLNp34JUNVx5HYoqinmuC6mhnTlw&s')
              center/cover no-repeat;
  color: white;
  padding: 150px 20px;
  text-align: center;
}

.management-hero .hero-overlay {
  background-color: rgba(0, 0, 0, 0.45); /* Dark overlay for readability */
  padding: 80px 20px;
  border-radius: 12px;
  display: inline-block;
}

.management-hero h1 {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: "Georgia", serif;
}

.management-hero p {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 30px;
}

.management-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.management-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-dark);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--gold);
}

.card p {
  color: #555;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gold);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #918b53;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
