.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.contact-card-beautiful {
  background: linear-gradient(120deg, #fffbe6 70%, #f7f3e8 100%);
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px #bfa14a22;
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  gap: 1.2rem;
}
.contact-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  width: 100%;
  align-items: center;
}
.contact-details i {
  color: var(--accent);
  margin-right: 0.5rem;
}
.contact-details a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-details a:hover {
  color: var(--highlight);
}
.contact-form-beautiful {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.contact-form-beautiful input,
.contact-form-beautiful textarea {
  width: 100%;
  padding: 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border 0.2s;
}
.contact-form-beautiful input:focus,
.contact-form-beautiful textarea:focus {
  border: 1.5px solid var(--accent);
  outline: none;
}
.contact-form-beautiful textarea {
  min-height: 80px;
  resize: vertical;
}
.contact-status {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}
@media (max-width: 700px) {
  .contact-card-beautiful {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    max-width: 100vw;
  }
}
/* About Madoek Story Section */
.about-story {
  background: linear-gradient(120deg, #fffbe6 60%, #f7f3e8 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px #bfa14a22;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.about-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 2rem;
  padding: 0.5rem 1.3rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px #bfa14a33;
  letter-spacing: 1px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.about-badge i {
  font-size: 1.3rem;
}
.about-years {
  background: #fff;
  color: var(--accent);
  border-radius: 1rem;
  padding: 0.2rem 0.8rem;
  font-size: 1rem;
  font-weight: 800;
  margin-left: 0.5rem;
}
.about-story-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 1px;
  width: 100%;
}
.about-story-content {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 0 auto;
  box-sizing: border-box;
}
.about-highlight {
  color: var(--accent);
  font-weight: 700;
}
.about-timeline {
  width: 100%;
  margin: 1.2rem 0 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}
.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.2rem;
  box-shadow: 0 2px 8px #bfa14a33;
  flex-shrink: 0;
}
.timeline-content {
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 2px 8px #bfa14a22;
  font-size: 1.05rem;
  color: var(--text);
  flex: 1;
}
.about-quote {
  font-style: italic;
  color: var(--highlight);
  background: #fffbe6;
  border-left: 4px solid var(--accent);
  padding: 0.8rem 1.2rem;
  border-radius: 0.7rem;
  margin: 1.2rem 0;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px #bfa14a22;
  text-align: center;
}

@media (max-width: 700px) {
  .about-story-content {
    padding: 0 0.2rem;
  }
  .about-story-title {
    font-size: 1.3rem;
  }
  .about-badge {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
  .about-years {
    font-size: 0.95rem;
    padding: 0.15rem 0.6rem;
  }
  .timeline-content {
    font-size: 0.98rem;
    padding: 0.6rem 0.7rem;
  }
  .about-quote {
    font-size: 1rem;
    padding: 0.7rem 0.7rem;
  }
}
.section-header {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
}
.tile-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px #bfa14a22;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0 auto 1.5rem auto;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Home hero flex layout for desktop */
.home-hero .hero-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-img-col {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-desktop {
  width: 100%;
  max-width: 420px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}
.hero-text-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .home-hero .hero-flex {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }
  .hero-img-col, .hero-text-col {
    width: 50%;
    max-width: 50%;
  }
  .hero-img-desktop {
    max-width: 480px;
    max-height: 340px;
  }
  .hero-text-col {
    align-items: flex-start;
    padding-left: 0.5rem;
  }
}
/* Madoek Tobacco Re-handling Company - Main Stylesheet */


:root {
  --primary: #3e2c18; /* deep brown, tobacco industry */
  --accent: #bfa14a;  /* gold/yellow, tobacco leaf */
  --bg: #f7f3e8;      /* warm light background */
  --text: #2d2212;    /* dark brown text */
  --highlight: #7c5e2c; /* lighter brown */
  --card: #fffbe6;    /* creamy card */
  --shadow: 0 4px 24px rgba(100, 80, 40, 0.10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


header {
  background: var(--primary);
  color: #fff;
  padding: 1.2rem 1rem 1rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  margin-left: 1rem;
  cursor: pointer;
  z-index: 20;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-shadow: 1px 2px 8px #0002;
}


nav {
  display: flex;
  gap: 1.2rem;
  transition: right 0.3s;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
  position: relative;
}

nav a.active, nav a:hover {
  color: var(--accent);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem 2rem 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section {
  background: var(--card);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  margin-bottom: 2rem;
  width: 100%;
  animation: fadeIn 0.7s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2.1rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px #e9456022;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background: var(--highlight);
  transform: translateY(-2px) scale(1.03);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--bg);
  border-radius: 1rem;
  box-shadow: 0 2px 8px #0f346022;
  padding: 1.2rem 1rem;
  margin-top: 1.2rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--highlight);
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.1rem 0 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: auto;
  box-shadow: var(--shadow);
}


/* Hamburger menu for mobile */
@media (max-width: 800px) {
  nav {
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 70vw;
    max-width: 320px;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 2rem 2rem 2rem;
    gap: 2rem;
    box-shadow: var(--shadow);
    z-index: 19;
  }
  nav.open {
    right: 0;
  }
  .hamburger {
    display: block;
  }
  header {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
  }
  .logo {
    font-size: 1.3rem;
  }
}

/* Hero image */
.hero-image {
  width: 100%;
  margin-bottom: 1.2rem;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Tile/card look for sections */
.section {
  background: var(--card);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  animation: fadeIn 0.7s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.services-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  width: 100%;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 700px) {
  .service-cards {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    width: 100%;
    max-width: none;
  }
  .service-card {
    flex: 0 1 320px;
    max-width: 340px;
    min-width: 220px;
  }
}

@media (min-width: 900px) {
  .service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    justify-items: center;
    align-items: stretch;
  }
  .service-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .section {
    padding: 3rem 3.5rem 2.5rem 3.5rem;
    align-items: flex-start;
  }
  main {
    max-width: 1200px;
    padding: 3rem 2.5rem 3rem 2.5rem;
  }
}

.service-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px #bfa14a22;
  padding: 1.2rem 1rem;
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 24px #bfa14a33;
}
.service-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.service-card p {
  font-size: 0.98rem;
  color: var(--text);
}

@media (min-width: 900px) {
  .about-story {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    max-width: 900px;
  }
  .about-story-content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    align-items: center;
    max-width: 100%;
  }
}
