/* ==========================================
   Quote-Centered Design - Custom Styles
   Industry: Technology / Software Development
   ========================================== */

:root {
  /* Primary Colors - Modern Tech Startup */
  --primary-color: #3498db;
  --primary-dark: #2c6f9e;
  --secondary-color: #f1c40f;
  --accent-color: #e74c3c;

  /* Text Colors */
  --text-dark: #2c2c2c;
  --text-gray: #666666;
  --text-light: #999999;
  --text-muted: #cccccc;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f2f2f2;
  --bg-dark: #1a1a1a;

  /* Quote Colors */
  --quote-marks: #e2e8f0;

  /* Typography */
  --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-quote: 'Libre Baskerville', Georgia, serif;

  /* Spacing */
  --quote-spacing: 160px;
  --text-spacing: 23px;

  /* Container Width */
  --container-max-width: 900px;
}

/* ==========================================
   Typography
   ========================================== */

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-gray);
  background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================
   Quote-Centered Layout
   ========================================== */

.quote-container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
}

.quote-wrapper {
  position: relative;
  margin-bottom: var(--quote-spacing);
}

.large-quote {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  padding: 0 2rem;
}

.quote-marks {
  font-size: 6rem;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--quote-marks);
  line-height: 1;
  opacity: 0.3;
  pointer-events: none;
}

.quote-marks-open {
  margin-bottom: -2rem;
}

.quote-marks-close {
  margin-top: -2rem;
}

.quote-attribution {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  font-style: normal;
}

.supporting-text {
  text-align: left;
}

.supporting-text > * + * {
  margin-top: var(--text-spacing);
}

/* ==========================================
   Navigation
   ========================================== */

.navbar {
  background-color: var(--bg-dark) !important;
  box-shadow: 0 2px 11px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-img {
  max-height: 44px;
  width: auto;
}

.navbar-brand .site-name {
  font-size: 1.25rem;
  color: white;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 11px rgba(59, 130, 246, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* ==========================================
   Images
   ========================================== */

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

.service-img,
.blog-card-img,
.team-photo,
.testimonial-avatar {
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.service-img {
  height: 250px;
}

.blog-card-img {
  height: 220px;
  border-radius: 0.5rem 0.5rem 0 0;
}

.team-photo {
  height: 280px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
}

.testimonial-avatar {
  width: 63px;
  height: 59px;
  border-radius: 50%;
}

/* ==========================================
   Cards & Components
   ========================================== */

.feature-item,
.service-item,
.benefit-item {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-item:hover,
.service-item:hover,
.benefit-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  display: inline-block;
}

.testimonial-item {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 1rem;
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-gray);
}

.blog-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================
   Forms
   ========================================== */

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid #e2e8f0;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  background-color: var(--bg-dark);
  color: white;
}

.footer-brand .logo-img {
  max-height: 43px;
  width: auto;
}

.footer a {
  transition: color 0.3s ease;
}

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

.social-links a {
  display: inline-block;
  width: 37px;
  height: 39px;
  line-height: 37px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* ==========================================
   Stats Section
   ========================================== */

.stats-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
}

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

/* ==========================================
   Integrations
   ========================================== */

.integration-logo {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.integration-logo:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
}

/* ==========================================
   Pricing
   ========================================== */

.pricing-card {
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.15) !important;
}

.pricing-price {
  color: var(--primary-color);
}

/* ==========================================
   Accordion
   ========================================== */

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}

/* ==========================================
   CTA Section
   ========================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 768px) {
  .large-quote {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .quote-marks {
    font-size: 4rem;
  }

  .quote-wrapper {
    margin-bottom: 82px;
  }

  .supporting-text > * + * {
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .large-quote {
    font-size: 1.5rem;
  }

  .quote-marks {
    font-size: 3rem;
  }

  .navbar-brand .site-name {
    font-size: 1rem;
  }

  .navbar-brand .logo-img {
    max-height: 33px;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.rounded {
  border-radius: 0.5rem !important;
}

/* Pointer Events Fix for Pseudo-elements */
.feature-item::before,
.feature-item::after,
.service-item::before,
.service-item::after,
.testimonial-item::before,
.testimonial-item::after,
.pricing-card::before,
.pricing-card::after {
  pointer-events: none;
}
