/* ===== Brand Colors ===== */
:root {
  --dark-green: #1E3A2F;
  --gold: #B88A2A;
  --cream: #F7F2E8;
}

/* ===== Reset basics ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--cream);
  color: var(--dark-green);
}

/* ===== Navigation Bar ===== */
header {
  background-color: var(--dark-green);
  padding: 15px 40px;
  display: flex;
  align-items: center;
}

header img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}Bb/* --- Footer Fix --- */
footer {/* --- About Section Polish --- */
.about {
  padding: 60px 20px;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  object-fit: cover;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .about {
    text-align: center;
  }

  .about-image {
    margin-bottom: 24px;
  }
}
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand h3 {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #F7F2E8;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--gold);
}

/* ===== Hero Section ===== */
.hero {
  padding: 100px 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--dark-green);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #444;
}

.cta-button {
  display: inline-block;
  background-color: var(--gold);
  color: var(--cream);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--dark-green);
}

/* ===== About Section ===== */
.about {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 80px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  display: block;
}

.about-text {
  flex: 2;
}

.about-text h2 {
  font-size: 32px;
  color: var(--dark-green);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

/* ===== Services Section ===== */
.services {
  padding: 80px 60px;
  text-align: center;
  background-color: #fff;
}

.services h2 {
  font-size: 32px;
  color: var(--dark-green);
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--cream);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: left;
  border-top: 4px solid var(--gold);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--dark-green);
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ===== Why DMG Section ===== */
.why-dmg {
  padding: 80px 60px;
  text-align: center;
  background-color: var(--dark-green);
}

.why-dmg h2 {
  font-size: 32px;
  color: var(--cream);
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background-color: rgba(247, 242, 232, 0.08);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: left;
  border-top: 4px solid var(--gold);
}

.why-card h3 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--cream);
  line-height: 1.6;
}

/* ===== Impact Section ===== */
.impact {
  padding: 80px 60px;
  text-align: center;
  background-color: var(--cream);
}

.impact h2 {
  font-size: 32px;
  color: var(--dark-green);
  margin-bottom: 50px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.impact-stat h3 {
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 10px;
}

.impact-stat p {
  font-size: 16px;
  color: var(--dark-green);
  font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 80px 60px;
  text-align: center;
  background-color: #fff;
}

.testimonials h2 {
  font-size: 32px;
  color: var(--dark-green);
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--cream);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: left;
  border-left: 4px solid var(--gold);
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card h4 {
  font-size: 14px;
  color: var(--dark-green);
  font-weight: 600;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 60px;
  text-align: center;
  background-color: var(--gold);
}

.cta-section h2 {
  font-size: 32px;
  color: var(--dark-green);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  color: var(--dark-green);
  margin-bottom: 30px;
}

.cta-section .cta-button {
  background-color: var(--dark-green);
  color: var(--cream);
}

.cta-section .cta-button:hover {
  background-color: #16281f;
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-green);
  padding: 50px 60px 20px;
  color: var(--cream);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand h3 {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--cream);
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: #a9b8b0;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 242, 232, 0.15);
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .services-grid,
  .why-grid,
  .impact-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

}

/* ===== Scroll Reveal Animation ===== */
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}/* ===== Our Approach Section ===== */
.approach {
  padding: 80px 60px;
  text-align: center;
  background-color: var(--dark-green);
}

.approach h2 {
  font-size: 32px;
  color: var(--cream);
  margin-bottom: 20px;
}

.approach-intro {
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.approach-card {
  background-color: rgba(247, 242, 232, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border-top: 4px solid var(--gold);
}

.approach-card h3 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

.approach-card p {
  font-size: 14px;
  color: var(--cream);
  line-height: 1.6;
}

/* ===== Impact Highlights (updated) ===== */
.impact-highlight {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  border-top: 4px solid var(--gold);
}

.impact-highlight h3 {
  font-size: 20px;
  color: var(--dark-green);
  margin-bottom: 10px;
}

.impact-highlight p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.impact-closing {
  max-width: 700px;
  margin: 40px auto 0 auto;
  font-style: italic;
  color: var(--dark-green);
  font-size: 16px;
}/* ===== Contact Section ===== */

.contact {
    background: #B88A2A;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 40px;
    color: #1E3A2F;
    margin-bottom: 10px;
}

.contact p {
    color: #333;
    margin-bottom: 40px;
}

.contact form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact input,
.contact select,
.contact textarea {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

.contact button {
    background: #1E3A2F;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.contact button:hover {
    background: #163126;
}.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #1E3A2F;
    text-align: left;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}/* ---------- Professional Contact Form ---------- */

.cta-section {
    padding: 90px 40px;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #163126;
    outline: none;
    box-shadow: 0 0 8px rgba(22,49,38,0.2);
}

.cta-button {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1E3A2F;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-logo {
  width: 180px;
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}