/* FlexiVita - Main Stylesheet */

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

:root {
  --primary-yellow: #ffb800;
  --primary-dark: #1a1a1a;
  --text-primary: #2c2c2c;
  --text-secondary: #666666;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

/* ==================== Typography ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-yellow);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ==================== Layout ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7 {
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.333%;
  }
  .col-md-5 {
    width: 41.666%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.333%;
  }
}

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

/* ==================== Section ==================== */
.section {
  padding: 60px 0;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.bg-light {
  background: var(--bg-light);
}

/* ==================== Header & Navigation ==================== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

.logo:hover {
  color: var(--primary-yellow);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-yellow);
  border-bottom-color: var(--primary-yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
    gap: 0;
  }

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

  .nav-link {
    padding: 1rem;
    width: 100%;
  }
}

/* ==================== Hero ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffc933 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--primary-dark);
}

.hero-content h1 {
  color: var(--primary-dark);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-primary);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #ffc933;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

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

.btn-block {
  width: 100%;
  display: block;
}

/* ==================== Cards ==================== */
.care-card,
.approach-card,
.value-card,
.consider-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.care-card:hover,
.approach-card:hover,
.value-card:hover,
.consider-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.care-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.benefit-number {
  background: var(--primary-yellow);
  color: var(--primary-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==================== Forms ==================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-yellow);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.checkbox-group {
  margin-top: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ==================== Newsletter ==================== */
.newsletter-box,
.newsletter-form,
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== Info Boxes ==================== */
.info-box,
.disclaimer-box,
.warning-box {
  background: #fff9e6;
  border-left: 4px solid var(--primary-yellow);
  padding: 1.5rem;
  border-radius: 5px;
  margin: 2rem 0;
}

.disclaimer-box {
  background: #fff3f3;
  border-left-color: #dc3545;
}

.warning-box {
  background: #fff3f3;
  border-left-color: #dc3545;
}

.disclaimer-text {
  font-size: 1.25rem;
  color: #dc3545;
  font-weight: 700;
}

.large-text {
  font-size: 1.5rem;
}

.disclaimer-section {
  background: var(--bg-light);
}

/* ==================== Lists ==================== */
.benefits-list,
.content-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li,
.content-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.benefits-list li:before {
  content: "✓";
  color: var(--primary-yellow);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.content-list li:before {
  content: "•";
  color: var(--primary-yellow);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ==================== Images ==================== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.rounded {
  border-radius: 10px;
}

/* ==================== Footer ==================== */
.footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer h4 {
  color: var(--primary-yellow);
  margin-bottom: 1.5rem;
}

.footer p,
.footer a {
  color: #cccccc;
}

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

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

/* ==================== Cookie Banner ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-content p {
  margin: 0;
  color: #ffffff;
  flex: 1;
}

.cookie-content a {
  color: var(--primary-yellow);
}

/* ==================== Page Header ==================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffc933 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--primary-dark);
}

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

.page-header p {
  color: var(--text-primary);
  font-size: 1.125rem;
}

/* ==================== Policy Content ==================== */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.policy-content h2 {
  color: var(--primary-yellow);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.policy-content h3 {
  color: var(--primary-dark);
  margin-top: 1.5rem;
}

.policy-content ul,
.policy-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* ==================== Tables ==================== */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

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

.cookie-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary-dark);
}

/* ==================== Contact ==================== */
.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: var(--primary-yellow);
  margin-bottom: 0.5rem;
}

/* ==================== Thank You Page ==================== */
.thankyou-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thankyou-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.thankyou-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.thankyou-content {
  text-align: left;
  margin: 2rem 0;
}

.thankyou-list {
  list-style: none;
  padding-left: 0;
}

.thankyou-list li {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--bg-light);
  border-radius: 5px;
}

.thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.share-box {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== Utility Classes ==================== */
.text-center {
  text-align: center;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.content-box {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* ==================== Responsive ==================== */
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 40px 0;
  }

  .policy-content {
    padding: 1.5rem;
  }

  .thankyou-box {
    padding: 2rem 1.5rem;
  }

  .thankyou-icon {
    font-size: 3rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .thankyou-actions {
    flex-direction: column;
  }

  .thankyou-actions .btn {
    width: 100%;
  }
}
