:root {
  --primary: #B31212;
  --primary-dark: #8B0E0E;
  --accent: #C24141;
  --accent-light: #D17171;
  --light-bg: #E1A0A0;
  --lightest-bg: #F0D0D0;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --white: #ffffff;
  --border-light: #e0e0e0;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}

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

nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  cursor: pointer;
  font-size: 16px;
  box-shadow: var(--shadow);
}

.btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

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

.section {
  padding: 80px 20px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro-section {
  background: var(--lightest-bg);
  padding: 60px 20px;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
}

/* ==================== GRID LAYOUT ==================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 20px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ==================== PRODUCT CARDS ==================== */
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  /* background: var(--light-bg); */
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 15px;
}

.product-info p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.product-specs {
  list-style: none;
  margin-bottom: 20px;
}

.product-specs li {
  color: var(--text-dark);
  font-size: 13px;
  padding: 6px 0;
  padding-left: 25px;
  position: relative;
}

.product-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.product-card .btn {
  width: 100%;
  text-align: center;
  padding: 12px;
}

/* ==================== FORM STYLES ==================== */
.form-section {
  background: var(--lightest-bg);
  padding: 60px 20px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(179, 18, 18, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .form-group {
  margin-bottom: 0;
}

.form-group .required {
  color: var(--primary);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.form-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.intro-with-form {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.intro-with-form h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 24px;
}

.intro-with-form p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: justify;
}

/* ==================== LIST STYLES ==================== */
.feature-list {
  list-style: none;
  margin: 30px 0;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
}

.feature-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
  padding: 80px 20px;
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.faq-question {
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-light);
  padding: 0 15px;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 15px;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-column p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.contact-info {
  margin-bottom: 15px;
}

.contact-info strong {
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.contact-info span {
  color: #ccc;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* ==================== ABOUT PAGE SPECIFIC ==================== */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: left;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: justify;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 50px 0;
}

.capability-card {
  background: var(--lightest-bg);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.capability-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 18px;
}

.capability-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 20px;
  }

  .section {
    padding: 50px 20px;
  }

  .feature-card {
    padding: 25px;
  }

  .product-card img {
    height: 200px;
  }

  .form-container {
    padding: 25px;
  }

  .intro-with-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .header-container {
    height: auto;
    padding: 15px 20px;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    font-size: 13px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 18px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .hero {
    padding: 60px 20px;
    min-height: 400px;
  }

  .about-text h2 {
    font-size: 28px;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
  text-align: center;
}

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

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

.hidden {
  display: none;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==================== TRANSITIONS ==================== */
a, button, input, select, textarea {
  transition: all 0.3s ease;
}
