/* ========================================
   MaoDu Digital - Complete Styles
   ======================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.tgh-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tgh-header__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.tgh-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.tgh-nav__logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tgh-nav__logo-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.tgh-nav__brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.tgh-nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.tgh-nav__item {
  list-style: none;
}

.tgh-nav__link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tgh-nav__link:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.tgh-nav__link--active {
  color: var(--primary-color);
  background-color: #dbeafe;
}

.tgh-nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .tgh-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .tgh-nav__links.active {
    display: flex;
  }

  .tgh-nav__mobile-toggle {
    display: block;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.tgh-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.tgh-hero__content {
  flex: 1;
  max-width: 600px;
}

.tgh-hero__title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.tgh-hero__tagline {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.tgh-hero__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.8;
}

.tgh-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tgh-hero__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tgh-hero__image-wrapper {
  flex: 1;
  max-width: 600px;
}

.tgh-hero__image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .tgh-hero {
    flex-direction: column;
    padding: 50px 20px;
  }

  .tgh-hero__title {
    font-size: 2rem;
  }

  .tgh-hero__tagline {
    font-size: 1.2rem;
  }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.tgh-features {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.tgh-features__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-features__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.tgh-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.feature-card .feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card li {
  padding: 8px 0;
  color: var(--text-light);
  position: relative;
  padding-left: 25px;
}

.feature-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* ========================================
   RECENT POSTS SECTION
   ======================================== */

.tgh-recent-posts {
  padding: 80px 20px;
  background-color: white;
}

.tgh-recent-posts__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-recent-posts__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.tgh-recent-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.post-preview {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.post-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.post-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-preview .post-content {
  padding: 25px;
}

.post-preview h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.post-preview h3 a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.post-preview h3 a:hover {
  color: var(--primary-color);
}

.post-preview .post-excerpt {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.post-preview .read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.post-preview .read-more:hover {
  gap: 10px;
}

/* ========================================
   WHY CHOOSE SECTION
   ======================================== */

.tgh-why-choose {
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.tgh-why-choose__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-why-choose__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
}

.tgh-why-choose__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.reason-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.reason-item i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fbbf24;
}

.reason-item h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.reason-item p {
  opacity: 0.9;
  line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.tgh-footer {
  background-color: #1f2937;
  color: white;
  padding: 60px 20px 30px;
}

.tgh-footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.tgh-footer__col {
  /* Column styling */
}

.tgh-footer__heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
}

.tgh-footer__text {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 15px;
}

.tgh-footer__reg-number {
  color: #9ca3af;
  font-size: 0.9rem;
}

.tgh-footer__links {
  list-style: none;
  padding: 0;
}

.tgh-footer__links li {
  margin-bottom: 12px;
}

.tgh-footer__link {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.tgh-footer__link:hover {
  color: var(--primary-color);
}

.tgh-footer__contact {
  font-style: normal;
}

.tgh-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: #d1d5db;
}

.tgh-footer__contact-item i {
  color: var(--primary-color);
  margin-top: 4px;
}

.tgh-footer__contact-link {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.tgh-footer__contact-link:hover {
  color: var(--primary-color);
}

.tgh-footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
}

.tgh-footer__copyright {
  color: #9ca3af;
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.tgh-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 10000;
  display: none;
}

.tgh-cookie-banner.active {
  display: block;
}

.tgh-cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.tgh-cookie-banner__text {
  flex: 1;
}

.tgh-cookie-banner__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tgh-cookie-banner__description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.tgh-cookie-banner__link {
  color: var(--primary-color);
  text-decoration: underline;
}

.tgh-cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tgh-cookie-banner__btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tgh-cookie-banner__btn--accept {
  background-color: var(--primary-color);
  color: white;
}

.tgh-cookie-banner__btn--accept:hover {
  background-color: var(--secondary-color);
}

.tgh-cookie-banner__btn--customize {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.tgh-cookie-banner__btn--customize:hover {
  background-color: #e5e7eb;
}

.tgh-cookie-banner__btn--decline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.tgh-cookie-banner__btn--decline:hover {
  background-color: var(--bg-light);
}

@media (max-width: 768px) {
  .tgh-cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
  }

  .tgh-cookie-banner__buttons {
    flex-direction: column;
  }

  .tgh-cookie-banner__btn {
    width: 100%;
  }
}

/* ========================================
   PAGE HEADER
   ======================================== */

.tgh-page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.tgh-page-header__container {
  max-width: 900px;
  margin: 0 auto;
}

.tgh-page-header__title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.tgh-page-header__subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .tgh-page-header__title {
    font-size: 2rem;
  }

  .tgh-page-header__subtitle {
    font-size: 1.1rem;
  }
}

/* ========================================
   BLOG PAGE
   ======================================== */

.tgh-blog-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.tgh-blog-section__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.tgh-about {
  padding: 80px 20px;
  background-color: white;
}

.tgh-about__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-about__header {
  text-align: center;
  margin-bottom: 60px;
}

.tgh-about__header-container {
  max-width: 800px;
  margin: 0 auto;
}

.tgh-about__title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-about__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
}

.tgh-about__mission {
  padding: 60px 20px;
  background-color: var(--bg-light);
}

.tgh-about__mission-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.tgh-about__mission-title {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.tgh-about__story {
  padding: 60px 20px;
}

.tgh-about__story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.tgh-about__story-content {
  flex: 1;
}

.tgh-about__story-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tgh-about__story-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.tgh-about__story-image-wrapper {
  flex: 1;
  max-width: 500px;
}

.tgh-about__story-image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tgh-about__stats {
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.tgh-about__stats-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-about__stats-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.tgh-about__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.tgh-about__stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.tgh-about__stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fbbf24;
}

.tgh-about__stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

.tgh-about__team {
  padding: 60px 20px;
}

.tgh-about__team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-about__team-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tgh-about__team-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tgh-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.tgh-team-member {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tgh-team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.tgh-team-member__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
}

.tgh-team-member__name {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.tgh-team-member__role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.tgh-team-member__bio {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.tgh-team-member__expertise {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.tgh-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tgh-about__value-card {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tgh-about__value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tgh-about__value-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.tgh-about__value-text {
  color: var(--text-light);
  line-height: 1.6;
}

.tgh-about__milestones {
  padding: 60px 20px;
  background-color: var(--bg-light);
}

.tgh-about__milestones-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.tgh-about__milestones-list {
  max-width: 800px;
  margin: 0 auto;
}

.tgh-about__milestone-date {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.tgh-about__milestone-event {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
  padding-left: 20px;
  border-left: 3px solid var(--primary-color);
}

.tgh-about__methodology {
  padding: 60px 20px;
}

.tgh-about__methodology-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tgh-about__methodology-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tgh-about__methodology-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.tgh-about__methodology-intro {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.tgh-about__methodology-content {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
}

.tgh-about__methodology-list {
  list-style: decimal;
  padding-left: 25px;
}

.tgh-about__methodology-list li {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

.tgh-about__methodology-note {
  margin-top: 20px;
  padding: 15px;
  background: white;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  color: var(--text-light);
}

.tgh-about__contact-cta {
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.tgh-about__contact-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.tgh-about__contact-cta-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.tgh-about__contact-cta-text {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 30px;
}

.tgh-about__contact-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.tgh-about__contact-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .tgh-about__story-container {
    flex-direction: column;
  }
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.tgh-contact-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.tgh-contact-section__container {
  max-width: 1200px;
  margin: 0 auto;
}

.tgh-contact-section__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.tgh-contact-info {
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tgh-contact-info__title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-contact-info__intro {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 30px;
}

.tgh-contact-info__block {
  margin-bottom: 25px;
}

.tgh-contact-info__heading {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tgh-contact-info__icon {
  color: var(--primary-color);
}

.tgh-contact-info__text {
  color: var(--text-light);
  line-height: 1.6;
}

.tgh-contact-info__address {
  font-style: normal;
  color: var(--text-light);
}

.tgh-contact-info__link {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.tgh-contact-info__link:hover {
  color: var(--secondary-color);
}

.tgh-contact-form-wrapper {
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tgh-contact-form__title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-contact-form__notice {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.tgh-contact-form {
  /* Form styles */
}

.tgh-contact-map {
  padding: 60px 20px;
}

.tgh-contact-map__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.tgh-contact-map__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .tgh-contact-section__wrapper {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FORMS
   ======================================== */

.tgh-form-group {
  margin-bottom: 20px;
}

.tgh-form-group--gdpr {
  margin-top: 25px;
}

.tgh-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.tgh-form-input,
.tgh-form-select,
.tgh-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.tgh-form-input:focus,
.tgh-form-select:focus,
.tgh-form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tgh-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.tgh-form-gdpr-notice {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.tgh-form-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.tgh-form-submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.tgh-form-submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   MODAL
   ======================================== */

.tgh-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.tgh-modal-overlay.active {
  display: flex;
}

.tgh-modal-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.tgh-modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.tgh-modal-icon.success {
  color: var(--success-color);
}

.tgh-modal-icon.error {
  color: var(--error-color);
}

.tgh-modal-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-modal-text {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
}

.tgh-modal-close-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tgh-modal-close-btn:hover {
  background-color: var(--secondary-color);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.tgh-faq-section {
  padding: 60px 20px;
  background-color: var(--bg-light);
}

.tgh-faq-section__container {
  max-width: 900px;
  margin: 0 auto;
}

.tgh-faq-section__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.tgh-faq-grid {
  display: grid;
  gap: 20px;
}

.tgh-faq-item {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tgh-faq-item__question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.tgh-faq-item__answer {
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   PRIVACY, TERMS, COOKIES PAGES
   ======================================== */

.tgh-privacy,
.tgh-terms,
.tgh-cookies {
  padding: 60px 20px;
  background-color: white;
}

.tgh-privacy__container,
.tgh-terms__container,
.tgh-cookies__container {
  max-width: 900px;
  margin: 0 auto;
}

.tgh-privacy__header,
.tgh-terms__header,
.tgh-cookies__header {
  text-align: center;
  margin-bottom: 40px;
}

.tgh-privacy__title,
.tgh-terms__title,
.tgh-cookies__title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-privacy__effective-date,
.tgh-terms__effective-date,
.tgh-cookies__last-updated {
  color: var(--text-light);
  font-style: italic;
}

.tgh-privacy__intro,
.tgh-terms__intro-text,
.tgh-cookies__intro {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.tgh-privacy__toc,
.tgh-terms__toc,
.tgh-cookies__toc {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.tgh-privacy__toc-title,
.tgh-terms__toc-heading,
.tgh-cookies__toc-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-privacy__toc-list,
.tgh-terms__toc-list,
.tgh-cookies__toc-list {
  list-style: decimal;
  padding-left: 25px;
}

.tgh-privacy__toc-list li,
.tgh-terms__toc-list li,
.tgh-cookies__toc-list li {
  margin-bottom: 8px;
}

.tgh-privacy__toc-list a,
.tgh-terms__toc-list a,
.tgh-cookies__toc-list a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.tgh-privacy__toc-list a:hover,
.tgh-terms__toc-list a:hover,
.tgh-cookies__toc-list a:hover {
  color: var(--secondary-color);
}

.tgh-privacy__content,
.tgh-terms__content,
.tgh-cookies__content {
  line-height: 1.8;
}

.tgh-privacy__footer,
.tgh-cookies__footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.tgh-privacy__footer-note,
.tgh-cookies__footer-note {
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

.tgh-terms__meta {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 30px;
  color: var(--text-light);
  text-align: center;
}

.tgh-policy-section,
.tgh-terms-section,
.tgh-cookie-section {
  margin-bottom: 40px;
}

.tgh-policy-section__heading,
.tgh-terms-section__title,
.tgh-cookie-section__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tgh-policy-section__subheading,
.tgh-cookie-section__subheading {
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-policy-section__content,
.tgh-terms-section__body,
.tgh-cookie-section__body {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.tgh-policy-section__list,
.tgh-cookie-section__list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 20px;
}

.tgh-policy-section__list li,
.tgh-cookie-section__list li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.tgh-policy-section--highlighted {
  background: #fef3c7;
  padding: 20px;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
}

.tgh-policy-section__info-box,
.tgh-cookie-section__info-box {
  background: #dbeafe;
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  border-radius: 6px;
  margin: 20px 0;
}

.tgh-policy-section__notice,
.tgh-cookie-section__important-notice {
  background: #fef3c7;
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  color: var(--text-dark);
}

.tgh-policy-section__notice--warning,
.tgh-cookie-section__warning-box {
  background: #fee2e2;
  border-left: 4px solid var(--error-color);
}

.tgh-policy-section__notice--info {
  background: #dbeafe;
  border-left: 4px solid var(--primary-color);
}

.tgh-policy-section__table,
.tgh-cookie-section__cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.tgh-policy-section__table th,
.tgh-policy-section__table td,
.tgh-cookie-section__cookie-table th,
.tgh-cookie-section__cookie-table td {
  padding: 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.tgh-policy-section__table th,
.tgh-cookie-section__cookie-table th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--text-dark);
}

.tgh-cookie-section__cookie-table-wrapper {
  overflow-x: auto;
}

.tgh-policy-section__contact-box,
.tgh-cookie-section__contact-card {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.tgh-policy-section__contact-title,
.tgh-cookie-section__contact-details {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tgh-policy-section__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tgh-policy-section__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
}

.tgh-policy-section__rights-grid,
.tgh-cookie-section__reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.tgh-policy-section__right-item,
.tgh-cookie-section__reason-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tgh-cookie-section__reason-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.tgh-cookie-section__reason-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.tgh-policy-section__purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.tgh-policy-section__purpose-item {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 6px;
}

.tgh-policy-section__purpose-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.tgh-policy-section__exercise-rights {
  background: #d1fae5;
  padding: 20px;
  border-left: 4px solid var(--success-color);
  border-radius: 6px;
  margin: 25px 0;
}

.tgh-policy-section__final-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
  color: var(--text-light);
}

.tgh-policy-section__version-history {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
}

.tgh-cookie-section__cookie-category {
  margin: 30px 0;
}

.tgh-cookie-section__detailed-cookies {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
}

.tgh-cookie-section__cookie-list {
  list-style: none;
  padding: 0;
}

.tgh-cookie-section__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tgh-cookie-section__badge--yes {
  background: #d1fae5;
  color: #065f46;
}

.tgh-cookie-section__badge--no {
  background: #fee2e2;
  color: #991b1b;
}

.tgh-cookie-section__third-party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.tgh-cookie-section__third-party-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tgh-cookie-section__browser-instructions {
  margin: 30px 0;
}

.tgh-cookie-section__browser-detail {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 15px;
}

.tgh-cookie-section__browser-summary {
  padding: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tgh-cookie-section__browser-content {
  padding: 15px;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  line-height: 1.6;
}

.tgh-cookie-section__comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.tgh-cookie-section__comparison-item {
  padding: 15px;
  border-radius: 6px;
}

.tgh-cookie-section__related-policies {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
}

.tgh-cookie-section__note {
  font-style: italic;
  color: var(--text-light);
  margin: 15px 0;
}

.tgh-cookie-section--contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: center;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */

@media (max-width: 768px) {
  .tgh-features__grid,
  .tgh-recent-posts__grid,
  .tgh-why-choose__grid,
  .tgh-about__team-grid,
  .tgh-about__values-grid,
  .tgh-about__stats-grid,
  .tgh-policy-section__rights-grid,
  .tgh-cookie-section__reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   BACKWARD COMPATIBILITY - Old Classes
   ======================================== */

/* Header & Navigation - Old Classes */
.main-header { 
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-links a.active {
    color: var(--primary-color);
    background-color: #dbeafe;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Page Header - Old Classes */
.page-header,
.page-header-blog {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header h1,
.page-header-blog h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Blog Listing - Old Classes */
.blog-listing {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.blog-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 25px;
}

.blog-post-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-post-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 10px;
}

/* Footer - Old Classes */
.main-footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    /* Column styling */
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-text {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.copyright-text {
    color: #9ca3af;
}

/* Cookie Notice - Old Classes */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-notice.active {
    display: block;
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-notice-text {
    flex: 1;
}

.cookie-notice-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cookie-notice-description {
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.btn-accept:hover {
    background-color: var(--secondary-color);
}

.btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-decline:hover {
    background-color: var(--bg-light);
}

.btn-customize {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-customize:hover {
    background-color: #e5e7eb;
}

/* Mobile Navigation - Old Classes */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .page-header h1,
    .page-header-blog h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}
