@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #10b981;
  /* Emerald Green */
  --primary-dark: #047857;
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 25px 30px -5px rgba(16, 185, 129, 0.15);

  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Layout Containers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-width: 250px;
  width: 100%;
  transition: var(--transition-smooth);
}

.logo-img:hover {
  transform: scale(1.03);
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section.bg-white {
  background-color: var(--surface-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  margin: var(--spacing-md) auto 0;
  border-radius: 4px;
}

.text-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Cards & Grids */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 185, 129, 0.2);
}

.card img {
  border-radius: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto var(--spacing-md);
}

/* Typography elements */
h1,
h2,
h3 {
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--primary-dark);
}

/* UI Elements */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white !important;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  margin-top: var(--spacing-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: var(--surface-color);
  color: var(--primary-dark) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white !important;
}

/* Lists and Info blocks */
.info-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.info-item {
  display: flex;
  align-items: center;
  background: var(--surface-color);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.info-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.info-item img.icon {
  width: 24px;
  height: 24px;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

/* Rich Media */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.full-width-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.full-width-img:hover {
  transform: scale(1.02);
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-xl) 0;
  text-align: center;
  margin-top: var(--spacing-xl);
}

.site-footer a {
  color: white;
  opacity: 0.9;
}

.site-footer a:hover {
  opacity: 1;
}

/* Utility */
.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

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

.italic-text {
  font-style: italic;
}

/* Forms */
.quote-form {
  text-align: left;
  width: 100%;
}
.form-row {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
.form-group {
  margin-bottom: var(--spacing-md);
  width: 100%;
}
.half-width {
  flex: 1;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
  font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--spacing-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-color);
  transition: var(--transition-smooth);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Video Play Overlay */
.video-link-container {
  display: block;
  position: relative;
  width: 100%;
}
.video-link-container img {
  display: block;
  width: 100%;
}
.play-icon-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(30, 41, 59, 0.75);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.9;
  transition: var(--transition-smooth);
  pointer-events: none;
}
.play-icon-overlay::after {
  content: '';
  display: block;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 8px;
}
.video-link-container:hover .play-icon-overlay {
  opacity: 1;
  background-color: #ff0000; /* YouTube Red */
  transform: translate(-50%, -50%) scale(1.1);
}