/* Gate Fabrication Page Styles */
.doorphone-page {
  padding-top: 120px; /* Increased from 100px to push content down */
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.content-card {
  background-color: rgba(26, 26, 26, 0.65);
  border-radius: 12px;
  padding: 3rem;
  margin: 4rem auto 1rem; /* Added top margin to push card down further */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(220, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  top: 20px; /* Additional positioning adjustment */
}

.doorphone-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.doorphone-hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.doorphone-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 0;
}

.doorphone-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem 0;
}

.doorphone-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.feature-item:hover .doorphone-image {
  transform: scale(1.1);
}
.contact-faq {
  background-color: rgba(26, 26, 26, 0.4);
  border-radius: 12px;
  padding: 2.5rem;
  margin: 0rem auto 2rem auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  max-width: 900px;
  width: 100%;
  position: relative; /* ✅ Required for z-index to work */
  z-index: 2;
}


.faq-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
  text-align: center;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 3px;
  background-color: var(--primary);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  color: var(--light);
}

.faq-question {
  font-weight: 600;
  color: var(--light);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--light-gray);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

.doorphone-cta {
  text-align: center;
  padding-top: 2rem;
}

.doorphone-cta h2 {
  font-size: 1.8rem;
  color: var(--light);
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-3px);
}
/* Light Mode Styles */
body.light-mode .feature-content p,
body.light-mode .feature-benefits,
body.light-mode .feature-benefits li {
  color: #000000 !important; /* Pure black */
}

body.light-mode .feature-item {
  background-color: #ffffff;
}

body.light-mode .content-card {
  background-color: #fafafa;
}

body.light-mode .contact-faq {
  background-color: #fafafa;
  color: #000;
}

body.light-mode .faq-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #222;
}

body.light-mode .faq-question {
  color: #000;
}

body.light-mode .faq-answer {
  color: #555;
}

body.light-mode .faq-answer a {
  color: var(--primary);
}

.feature-item {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background-color: rgba(26, 26, 26, 0.6);
  border-radius: 10px;
  padding: 2rem;
  align-items: center;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.4);
}

.feature-content {
  flex: 1;
  min-width: 300px;
}


.feature-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--light-gray);
  margin-bottom: 1.5rem;
}

.feature-benefits {
  list-style-type: none;
  padding-left: 0;
}

.feature-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--light-gray);
}

.feature-benefits li:before {
  content: "✓";
  color: var(--primary);
  position: absolute;
  left: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {

  .content-card {
    margin: 2rem 0; /* Remove any horizontal margin */
    padding: 1.5rem;
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
  }
  
  .doorphone-hero h1 {
    font-size: 2.2rem;
    text-align: left;
    margin-left: 0;
    width: 100%;
  }
  
  .doorphone-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%
  }
  
  .feature-item {
    width: 100%;
    flex-direction: column;
    text-align: left; /* Align card content left */
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
    margin: auto;
    display: flex;
  }

  .doorphone-image {
   margin: auto;
   width: 50%;
   padding: 10px;
  }
  
  .feature-content {
    width: 100%;
  }

  .feature-benefits {
    text-align: left;
  }

  .doorphone-page {
    padding: 1rem; /* Ensure consistent padding */
    box-sizing: border-box;
  }

  .doorphone-hero,
  .doorphone-cta {
    text-align: left;
    padding: 0;
    margin: 0 0 1rem 0;
    width: 100%;
  }
  
  .doorphone-description {
    text-align: left; /* Specifically align text left */
    word-break: break-word; /* Prevent overflow */
    width: 100%;
  }
.contact-faq {
  margin: 0rem auto 1rem auto;
  padding: 1rem;
  width: 100%;
  max-width: 340px; /* ✅ Set desired width */
  box-sizing: border-box;
}

 .faq-title {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
  footer {
    text-align: center;
    padding: 1.5rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .contact-box {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
    margin: 1.5rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .feature-item {
    width: 100%;
    flex-direction: column;
    text-align: left; /* Align card content left */
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
    margin: auto;
    display: flex;
  }

  .feature-content h3 {
    font-size: 1.5rem;
  }
  
  .feature-content p {
    font-size: 1rem;
  }

  .content-card {
    padding: 1rem;
  }
  
  body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  
  /* Ensure all text elements are left-aligned */
  h1, h2, h3, p, ul, li {
    text-align: left;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }
   
  .feature-content,
  .doorphone-hero,
  .doorphone-cta {
    max-width: 100%;
    overflow: hidden;
  }

.doorphone-image {
  margin: auto;
  width: 100%;
  padding: 10px;
}

  footer {
    padding: 1rem;
  }

  .contact-box {
    font-size: 0.9rem;
  }

  .social-icons a {
    margin: 0 0.5rem;
  }

  .copyright {
    text-align: center;
  }
}