/* ===========================
   ===== Variables =====
=========================== */
:root {
  --color-bg: #f9f9f6;           /* Main light background */
  --color-text: #2f2f2f;         /* Dark text for readability */
  --color-primary: #b7d3d2;      /* Soft pastel teal */
  --color-primary-hover: #81b9b8;/* Slightly darker teal for hover */
  --color-accent: #d89a6a;       /* Warm pastel orange */
  --color-footer-bg: #2f2f2f;    /* Dark footer background */
  --color-card-bg: #ffffff;      /* Clean white cards */
  --shadow-light: rgba(0,0,0,0.04);
  --shadow-medium: rgba(0,0,0,0.08);
  --shadow-dark: rgba(0,0,0,0.15);
  --radius-lg: 20px;
  --radius-md: 12px;
}

/* ===========================
   ===== Base Styles =====
=========================== */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* ===========================
   ===== Navbar =====
=========================== */
.navbar {
  background-color: var(--color-card-bg);
  box-shadow: 0 2px 6px var(--shadow-light);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.8rem;
}

.nav-link {
  color: var(--color-text);
  margin-left: 1rem;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--color-accent);
}

/* ===========================
   ===== Hero Section =====
=========================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-image: url('images/office.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: var(--radius-lg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.116);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* ===========================
   ===== Buttons =====
=========================== */
.btn-custom {
  background-color: var(--color-primary);
  color: var(--color-text);
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow-medium);
}

/* ===========================
   ===== Features Section =====
=========================== */
#features {
  padding: 5rem 0;
  background-color: #f5f7f7; /* Slightly different background */
}

.section-title {
  color: var(--color-accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px var(--shadow-medium);
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px var(--shadow-dark);
}

.feature-card h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--color-text);
  font-size: 1rem;
}

.feature-card i {
  font-size: 2rem;
  color: var(--color-primary-hover);
  margin-bottom: 1rem;
}

/* ===========================
   ===== Contact Section =====
=========================== */
#contact {
  padding: 5rem 0;
  background-color: #eef4f4; /* Soft pastel green background */
}

.contact-form {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px var(--shadow-medium);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-control {
  border-radius: var(--radius-md);
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(216, 154, 106, 0.15);
}

/* ===========================
   ===== Footer =====
=========================== */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-card-bg);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.95rem;
}

/* ===========================
   ===== Responsive =====
=========================== */
@media (max-width: 991px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 575px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .features-grid {
    gap: 1rem;
  }
}
