/* ==============================================
   TGM SERVICES WEBSITE - Main Stylesheet
   ============================================== */

/* ---------- BRAND FONTS ---------- */
@font-face {
  font-family: 'VAGRounded';
  src: url('../fonts/VAGRounded-Lt.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'VAGRounded';
  src: url('../fonts/VAGRounded-BT-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'VAGRounded';
  src: url('../fonts/VAGRounded-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ---------- BRAND COLOURS ---------- */
/* Dark Green:   #1e3d1e  (headings, nav, primary) */
/* Light Green:  #6abf39  (accents, icons)         */
/* Orange:       #e87722  (CTAs, highlights)       */
/* Grey:         #808080  (arc, subtle elements)   */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'VAGRounded', Arial, sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'VAGRounded', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1e3d1e;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; color: #1e3d1e; }
h3 { font-size: 1.3rem; color: #1e3d1e; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-orange {
  background: #e87722;
  color: #fff;
  border: none;
}
.btn-orange:hover { background: #d06518; }
.btn-orange-sm {
  background: #e87722;
  color: #fff;
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 50px;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.3s;
}
.btn-orange-sm:hover { background: #d06518; }
.btn-outline {
  background: transparent;
  color: #1e3d1e;
  border: 2px solid #1e3d1e;
}
.btn-outline:hover {
  background: #1e3d1e;
  color: #fff;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-inner .main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo img { height: 100px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #1e3d1e;
  border-bottom-color: #e87722;
}
.has-dropdown { position: relative; }
.has-dropdown .arrow { font-size: 1.2rem; }
.dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block !important; }
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.95rem;
  border-bottom: none;
  color: #444;
}
.dropdown li a:hover { background: #f5f5f5; color: #e87722; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px 120px;
}
.hero-tagline {
  font-style: italic;
  font-size: 2.8rem;
  color: #e87722;
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
}
.hero-wave img { width: 100%; display: block; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background-size: cover;
  background-position: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.page-hero h1 {
  position: relative;
  color: #fff;
  font-size: 2.8rem;
  text-align: center;
}

/* ---------- SECTION LAYOUT ---------- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.divider-line {
  width: 50px;
  height: 3px;
  background: #e87722;
  margin: 12px auto 0;
}
section { padding: 70px 24px; }

/* ---------- SPECIALTIES / SERVICES ---------- */
.specialties {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.service-card {
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}
.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.service-card h3 { padding: 14px 16px 4px; font-size: 1.2rem; }
.service-card p { padding: 0 16px 12px; font-size: 0.95rem; color: #666; }
.service-card .btn-orange-sm { margin-bottom: 18px; }
.center-btn { text-align: center; margin-top: 10px; }

/* ---------- ABOUT INTRO ---------- */
.about-intro {
  background: #f9f9f9;
  padding: 60px 24px;
  text-align: center;
}
.about-intro-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}
.highlight-text {
  color: #e87722;
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 20px;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 24px;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 24px; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 70px 24px;
  background: #fff;
}
.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  text-align: center;
  padding: 30px 20px;
}
.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
}
.testimonial-card blockquote {
  font-size: 1rem;
  color: #555;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.7;
}
.testimonial-card cite {
  font-weight: 700;
  color: #1e3d1e;
  font-style: normal;
}

/* ---------- ABOUT PAGE ---------- */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  color: #e87722;
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 18px;
}
.about-text p { color: #555; margin-bottom: 16px; line-height: 1.8; }
.about-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ---------- WHY CHOOSE US ---------- */
.why-choose {
  background: #f5f5f5;
  padding: 70px 24px;
}
.why-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}
.why-features { display: flex; flex-direction: column; gap: 30px; }
.why-feature { text-align: center; }
.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  color: #6abf39;
}
.why-feature h3 { font-size: 1.1rem; color: #1e3d1e; margin-bottom: 8px; }
.why-feature p { font-size: 0.9rem; color: #666; }
.why-center-img img { width: 100%; border-radius: 8px; }

/* ---------- TEAM ---------- */
.team-section {
  padding: 70px 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  text-align: left;
}
.team-info h3 { color: #fff; font-size: 1.2rem; }
.team-info span { color: #e87722; font-style: italic; font-size: 0.95rem; }

/* ---------- SERVICES PAGE ---------- */
.services-intro {
  text-align: center;
  padding: 60px 24px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.services-intro h3 {
  color: #e87722;
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.services-intro p { color: #555; font-size: 1.05rem; line-height: 1.8; }
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- SERVICE DETAIL PAGE ---------- */
.service-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-detail h2 { color: #1e3d1e; font-size: 2rem; margin-bottom: 8px; }
.service-detail h3 { color: #e87722; font-style: italic; margin-bottom: 18px; }
.service-detail p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.service-detail img { width: 100%; border-radius: 10px; }
.service-detail-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 70px;
}
.service-detail-faq h3 { color: #1e3d1e; font-size: 1.3rem; margin: 30px 0 10px; }
.service-detail-faq p { color: #555; line-height: 1.8; }
.divider-hr { border: none; border-top: 1px solid #e0e0e0; margin: 10px 0 30px; }

/* ---------- PROJECTS PAGE ---------- */
.projects-header {
  text-align: center;
  padding: 70px 24px 40px;
  max-width: 700px;
  margin: 0 auto;
}
.projects-header h1 { color: #1e3d1e; font-size: 2.5rem; }
.projects-header p { color: #666; margin-top: 14px; font-size: 1.05rem; }
.projects-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.project-card:hover { transform: translateY(-4px); }
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.project-info { padding: 18px; }
.project-info h3 { color: #1e3d1e; margin-bottom: 8px; }
.project-info p { color: #666; font-size: 0.95rem; margin-bottom: 14px; }
.project-info a {
  color: #e87722;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- PROJECTS CTA ---------- */
.projects-cta {
  text-align: center;
  padding: 60px 24px;
  background: #f9f9f9;
}
.projects-cta h2 { color: #1e3d1e; font-size: 2rem; margin-bottom: 12px; }
.projects-cta p { color: #e87722; font-size: 1.1rem; }

/* ---------- CONTACT PAGE ---------- */
.contact-banner {
  background-size: cover;
  background-position: center;
  padding: 60px 24px;
  position: relative;
}
.contact-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.contact-info-grid {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.contact-info-item { color: #fff; }
.contact-icon {
  font-size: 2rem;
  color: #6abf39;
  margin-bottom: 14px;
  display: block;
}
.contact-info-item h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.contact-info-item p { font-size: 0.95rem; opacity: 0.9; line-height: 1.7; }
.contact-info-item a {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
  margin-top: 8px;
}
.contact-link {
  color: #6abf39 !important;
  text-decoration: underline;
}

/* ---------- CONTACT FORM ---------- */
.contact-form-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 24px;
  text-align: center;
}
.contact-form-section h2 { color: #1e3d1e; margin-bottom: 10px; }
.contact-form-section .lead { color: #555; margin-bottom: 36px; font-size: 1.05rem; line-height: 1.7; }
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  text-align: left;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 2px solid #6abf39;
  padding: 10px 4px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  background: transparent;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: #e87722; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { grid-column: 1 / -1; text-align: center; margin-top: 14px; }
.form-submit button {
  background: #e87722;
  color: #fff;
  border: none;
  padding: 14px 48px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.form-submit button:hover { background: #d06518; }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-top: 0;
}
.footer-wave img { width: 100%; display: block; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px 60px;
  position: relative;
  z-index: 2;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.footer-inner, .footer-wave { position: relative; z-index: 2; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.footer-nav a:hover { border-bottom-color: #e87722; }
.footer-contact h4 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.footer-contact p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.8; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.social-icons { display: flex; gap: 14px; }
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.social-icon:hover { background: rgba(255,255,255,0.35); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-tagline { font-size: 2rem; }
  .cards-grid, .services-grid, .projects-grid,
  .team-grid, .testimonials-grid, .contact-info-grid,
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-section, .service-detail, .why-grid { grid-template-columns: 1fr; }
  .why-center-img { order: -1; }
  .footer-cta { align-items: flex-start; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-tagline { font-size: 1.4rem; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    z-index: 998;
  }
  .main-nav.open ul {
    flex-direction: column;
    gap: 12px;
  }
  .main-nav.open .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    padding: 4px 0 4px 16px;
  }
  .main-nav.open .has-dropdown.open .dropdown { display: block; }
  .cards-grid, .services-grid, .projects-grid,
  .team-grid, .testimonials-grid, .contact-info-grid,
  .footer-inner, .quote-form { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
}