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

:root {
  --primary-color: #2b6cb0;
  --secondary-color: #4299e1;
  --dark-color: #1a202c;
  --light-color: #f7fafc;
  --text-color: #4a5568;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

h1,
h2 {
  color: var(--dark-color);
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

section {
  padding: 60px 0;
}

/* Go to Top Button */
.go-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 16px;
  width: 50px;
  height: 50px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.go-to-top:hover {
  background-color: var(--secondary-color);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 0;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

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

/* Breadcrumb Styles */
.breadcrumb {
  background-color: #f8fafc;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child):after {
  content: "›";
  margin: 0 10px;
  color: var(--text-color);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #eef2f7, #e6f7ff);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1.2;
  position: relative;
}

.tga-badge {
  display: inline-block;
  background-color: #48bb78;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-text h1 {
  text-align: left;
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.hero-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.highlight-text {
  background-color: #ebf8ff;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  font-weight: 500;
}

.hero-image {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
}

/* Clean About Section */
.about {
  background-color: white;
  padding: 70px 0;
}

.about h2 {
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.about h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--dark-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  padding: 15px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.highlight-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.highlight-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* How to Use Section */
.how-to-use {
  background-color: #f0f9ff;
}

.steps-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.steps-visual,
.steps-text {
  flex: 1;
}

.steps-text p {
  margin-bottom: 15px;
}

/* Results Section */
.results {
  background-color: white;
}

.results-data {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
  text-align: center;
  flex-wrap: wrap;
}

.data-point {
  padding: 20px;
  max-width: 200px;
}

.stat {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

blockquote {
  border-left: 4px solid var(--secondary-color);
  padding: 20px;
  background-color: #f8fafc;
  margin: 30px 0;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 500;
}

.results-gallery {
  margin-top: 40px;
  text-align: center;
}

.before-after {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.before,
.after {
  flex: 1;
  position: relative;
}

.before span,
.after span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px;
}

.gallery-caption {
  margin-top: 15px;
  font-style: italic;
}

/* Safety Section */
.safety {
  background-color: #f0f9ff;
}

.safety-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.safety-text {
  flex: 2;
}

.safety-text p {
  margin-bottom: 20px;
}

/* Updated Patient Tip styling */
.safety-tip {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.tip-icon-wrapper {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.tip-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.safety-tip p {
  margin: 0;
  flex: 1;
  text-align: center;
}

.safety-icons {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.safety-icon {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
}

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

.safety-custom-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 40px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.footer-links a {
  color: white;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 20px;
}

.sitemap-link {
  margin-top: 10px;
  font-size: 0.85rem;
}

.sitemap-link a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content,
  .steps-content,
  .safety-content,
  .about-content {
    flex-direction: column;
  }

  .hero-image {
    margin-top: 30px;
  }

  .about-image {
    margin-top: 30px;
    order: -1; /* Shows image first on mobile */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding-top: 80px;
    transition: var(--transition);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    padding: 10px 20px;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .about-highlights {
    gap: 15px;
  }

  .about-text h3 {
    font-size: 1.6rem;
  }

  .highlight-item {
    padding: 12px;
  }

  .highlight-icon {
    font-size: 1.6rem;
  }

  .highlight-text h4 {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 1.7rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .before-after {
    flex-direction: column;
  }

  .results-data {
    flex-direction: column;
    align-items: center;
  }

  .data-point {
    margin-bottom: 20px;
  }

  .go-to-top {
    width: 40px;
    height: 40px;
    padding: 10px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
  }

  .about-text h3 {
    font-size: 1.4rem;
  }

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

  .highlight-item {
    flex-direction: column;
    text-align: center;
  }

  .highlight-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
