/* 
 * Guild of Yacht Crafters - Main Stylesheet
 * Version: 1.0
 * Last Updated: May 2025
 */

/* ======= Base Styles ======= */
:root {
  --primary-color: #1e5f74;
  --primary-dark: #0c4a5c;
  --primary-light: #3a7d92;
  --accent-color: #f39c12;
  --accent-dark: #d68910;
  --accent-light: #f5b041;
  --light-color: #f5f5f5;
  --dark-color: #333333;
  --gray-color: #777777;
  --light-gray: #eeeeee;
  --border-color: #dddddd;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

button {
  cursor: pointer;
  font-family: var(--font-body);
}

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

.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.required {
  color: var(--error-color);
}

.check {
  color: var(--success-color);
  font-weight: bold;
}

/* ======= Buttons ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn .icon {
  margin-left: 0.5rem;
}

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

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

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

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: white;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo .icon {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0 1rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.login-link {
  margin-right: 1rem;
  font-weight: 500;
}

.login-link.active {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 8px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 14px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 20px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
  top: 14px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
  top: 14px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow);
  z-index: 99;
  padding: 1rem 0;
}

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

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--dark-color);
  font-weight: 500;
  border-left: 3px solid transparent;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary-color);
  background-color: var(--light-gray);
  border-left-color: var(--primary-color);
}

/* ======= Hero Section ======= */
.hero {
  padding: 4rem 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-large);
  max-width: 100%;
}

.build-hero {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* ======= Section Styles ======= */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-header p {
  font-size: 1.125rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ======= Benefits Section ======= */
.benefits {
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.benefit-icon .icon {
  width: 30px;
  height: 30px;
  color: white;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* ======= How It Works Section ======= */
.how-it-works {
  background-color: var(--light-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.step-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* ======= Featured Projects Section ======= */
.featured-projects {
  background-color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.project-meta {
  font-size: 0.875rem;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

/* ======= Testimonials Section ======= */
.testimonials {
  background-color: var(--light-gray);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-content {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--gray-color);
}

/* ======= CTA Section ======= */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ======= Footer ======= */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo a {
  display: flex;
  align-items: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-logo .icon {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.copyright {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

/* ======= Build Your Own Page ======= */
.build-step {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.build-step:last-child {
  border-bottom: none;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.step-header .step-number {
  position: static;
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  font-size: 1.5rem;
}

.step-header h2 {
  margin-bottom: 0;
}

.step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.step-text {
  display: flex;
  flex-direction: column;
}

.installation-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.phase {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.phase h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.phase ul {
  margin-bottom: 0;
}

.step-image {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
}

.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.material-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.material-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.material-icon .icon {
  width: 25px;
  height: 25px;
  color: white;
}

.material-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.material-details p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.material-price {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.material-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.installation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.installation-step {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.installation-step h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.member-note {
  background-color: var(--light-color);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 0 8px 8px 0;
}

.member-note p {
  margin-bottom: 1rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.safety-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.safety-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.safety-icon .icon {
  width: 30px;
  height: 30px;
  color: white;
}

.safety-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.safety-card p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.success-stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.success-story {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.success-story h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.success-story p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-color);
}

.thruster-calculator {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.thruster-calculator h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.sizing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.sizing-table th,
.sizing-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.sizing-table th {
  background-color: var(--primary-light);
  color: white;
  font-weight: 600;
}

.sizing-table tr:last-child td {
  border-bottom: none;
}

.comparison-table {
  margin-top: 2rem;
}

.comparison-table h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--primary-light);
  color: white;
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ======= Join Page ======= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(30, 95, 116, 0.2);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.forgot-password {
  font-size: 0.875rem;
}

/* ======= Login Page ======= */
.login-section {
  display: flex;
  min-height: calc(100vh - 70px - 100px);
  background-color: var(--light-gray);
}

.login-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.login-container {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-form {
  margin-bottom: 1.5rem;
}

.login-footer {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.login-footer p {
  margin-bottom: 0;
}

.login-benefits {
  padding: 2rem;
}

.login-benefits h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  flex-shrink: 0;
  margin-right: 1rem;
}

.benefit-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.benefit-text p {
  margin-bottom: 0;
}

.benefits-cta {
  margin-top: 2rem;
}

/* ======= Knowledge Hub Page ======= */
.resource-categories {
  background-color: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.category-card {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.category-icon .icon {
  width: 30px;
  height: 30px;
  color: white;
}

.category-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.category-card p {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.resource-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.resource-section:last-child {
  border-bottom: none;
}

.resource-section:nth-child(odd) {
  background-color: var(--light-gray);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.resource-image,
.resource-video {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.resource-image img,
.resource-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.resource-card:hover .resource-image img,
.resource-card:hover .resource-video img {
  transform: scale(1.05);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.video-play-button .icon {
  width: 30px;
  height: 30px;
  color: white;
}

.resource-card:hover .video-play-button {
  background-color: var(--primary-color);
}

.resource-content {
  padding: 1.5rem;
}

.resource-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.resource-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resource-type,
.resource-access {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background-color: var(--light-gray);
}

.resource-type {
  color: var(--primary-color);
}

.resource-access {
  color: var(--accent-color);
}

.tools-materials-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary-light);
  border-radius: 50%;
}

.checklist li::after {
  content: '✓';
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 20px;
  height: 20px;
  color: white;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-section {
  margin-top: 3rem;
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.supplier-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.supplier-logo {
  margin-bottom: 1rem;
}

.supplier-logo img {
  max-width: 150px;
  max-height: 80px;
}

.supplier-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.supplier-details p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.supplier-discount {
  font-weight: 600;
  color: var(--accent-color);
}

.technical-content {
  margin-top: 2rem;
}

.technical-diagrams {
  margin-bottom: 3rem;
}

.diagrams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.diagram-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.diagram-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.diagram-image {
  height: 200px;
  overflow: hidden;
}

.diagram-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.diagram-card:hover .diagram-image img {
  transform: scale(1.05);
}

.diagram-card h4 {
  padding: 1rem 1.5rem 0;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.diagram-card p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.diagram-card a {
  display: block;
  padding: 0 1.5rem 1.5rem;
}

.specs-preview {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.specs-table th {
  background-color: var(--primary-light);
  color: white;
  font-weight: 600;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-style: italic;
}

.forum-preview {
  margin-top: 2rem;
}

.forum-topics {
  margin-bottom: 3rem;
}

.topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.topic-item {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
}

.topic-icon {
  flex-shrink: 0;
}

.topic-icon .icon {
  width: 30px;
  height: 30px;
  color: var(--primary-color);
}

.topic-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.topic-meta {
  font-size: 0.75rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.topic-excerpt {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.expert-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.expert-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-details h4 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.expert-title {
  font-size: 0.875rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.expert-bio {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.troubleshooting-content {
  margin-top: 2rem;
}

.common-issues {
  margin-bottom: 3rem;
}

.issues-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.issue-item {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
}

.issue-icon {
  flex-shrink: 0;
}

.issue-icon .icon {
  width: 30px;
  height: 30px;
  color: var(--primary-color);
}

.issue-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.issue-details p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.guide-preview {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}

.guide-preview img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.guide-details h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.guide-details ul {
  margin-bottom: 1.5rem;
}

/* ======= Showcase Page ======= */
.showcase-section {
  background-color: white;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.project-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-images {
  padding: 1.5rem;
}

.project-main-image {
  margin-bottom: 1rem;
}

.project-main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.project-thumbnails {
  display: flex;
  gap: 1rem;
}

.project-thumbnails img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.project-thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.project-details {
  padding: 0 1.5rem 1.5rem;
}

.project-details h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-member,
.project-time,
.project-savings {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background-color: white;
}

.project-member {
  color: var(--primary-color);
}

.project-time {
  color: var(--gray-color);
}

.project-savings {
  color: var(--accent-color);
  font-weight: 600;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--gray-color);
  margin-bottom: 0.25rem;
}

.spec-value {
  font-weight: 600;
}

.project-description {
  margin-bottom: 1.5rem;
}

.project-highlights {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.project-highlights h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.project-highlights ul {
  margin-bottom: 0;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  transition: var(--transition);
}

.gallery-caption h4 {
  margin-bottom: 0.25rem;
  color: white;
  font-size: 1rem;
}

.gallery-caption p {
  margin-bottom: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.gallery-load-more {
  text-align: center;
  margin-top: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.submit-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.submit-info h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.submit-form {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.submit-form h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
}

/* ======= Contact Page ======= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
}

.method-icon {
  flex-shrink: 0;
}

.method-icon .icon {
  width: 30px;
  height: 30px;
  color: var(--primary-color);
}

.method-details h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.method-details p {
  margin-bottom: 0.5rem;
}

.response-time {
  font-size: 0.75rem;
  color: var(--gray-color);
}

.social-media h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-gray);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
}

.social-icon:hover .icon {
  color: white;
}

.contact-form-container {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-container h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-section {
  background-color: var(--light-gray);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.faq-question h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 2rem;
}

.map-section {
  background-color: white;
}

.map-container {
  margin-top: 2rem;
}

.map-placeholder {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder img {
  width: 100%;
  height: auto;
}

.map-overlay {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 300px;
}

.map-overlay p {
  margin-bottom: 1rem;
}

/* ======= Legal Pages ======= */
.legal-content {
  padding: 4rem 0;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-text p,
.legal-text ul,
.legal-text ol {
  margin-bottom: 1rem;
}

.legal-text a {
  text-decoration: underline;
}

/* ======= Animations ======= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======= Responsive Styles ======= */
@media (max-width: 1200px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-image {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .step-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .step-image {
    order: -1;
  }
  
  .guide-preview {
    flex-direction: column;
  }
  
  .guide-preview img {
    width: 100%;
  }
  
  .login-section .container {
    grid-template-columns: 1fr;
  }
  
  .login-benefits {
    order: -1;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .project-images {
    padding: 1rem;
  }
  
  .project-details {
    padding: 0 1rem 1rem;
  }
  
  .project-thumbnails {
    flex-wrap: wrap;
  }
  
  .map-overlay {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    margin-bottom: 1rem;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-method {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .method-icon {
    margin-bottom: 0.5rem;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .btn {
    width: 100%;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .step-header {
    flex-direction: column;
    text-align: center;
  }
  
  .step-header .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .gallery-filters {
    flex-direction: column;
  }
  
  .filter-btn {
    width: 100%;
  }
}

/* Legal Pages Styling */
.legal-hero {
  background-color: var(--color-primary-dark);
  color: white;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.legal-section h3 {
  color: var(--color-text-dark);
  margin: 1.5rem 0 1rem;
  font-size: 1.35rem;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.legal-section ul, 
.legal-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.legal-section strong {
  font-weight: 600;
  color: var(--color-text-dark);
}

.contact-info {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 1.5rem 1rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
  
  .legal-section h3 {
    font-size: 1.25rem;
  }
}