/* About Page Dark Mode Styles - scoped to body.about-dark */

/* Base */
body.about-dark {
  background: #ffffff;
  color: #111827;
}

/* Navbar overrides */
.about-dark .navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}
.about-dark .nav-link { color: #333; }
.about-dark .nav-link:hover { color: #2563eb; }
.about-dark .hamburger .bar { background-color: #333; }
@media (max-width: 992px) {
  .about-dark .nav-menu {
    background: #ffffff;
    border-color: #e5e7eb;
  }
}

/* Hero overrides */
.about-dark .perfect-about-hero {
  background: #ffffff;
  color: #111827;
}
.about-dark .hero-content-wrapper { position: relative; z-index: 2; }

/* Hide old decorative layers in dark mode (we will use particles instead) */
.about-dark .floating-elements { display: none; }
.about-dark .stars-container { display: none; }

/* Particle container positioning */
.about-dark #tsparticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* keep UI fully interactive */
}

/* Typography accents */
.about-dark .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #8b5cf6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
}
.about-dark .hero-description,
.about-dark .mission-text,
.about-dark .stat-text { color: #4b5563; }
.about-dark .stat-number {
  color: #111827;
  text-shadow: none;
}

/* Content area background */
.about-dark .perfect-about-content {
  background: #ffffff;
}

/* Glass surfaces */
.about-dark .story-section,
.about-dark .services-showcase,
.about-dark .team-contact-section,
.about-dark .about-text-card,
.about-dark .service-card,
.about-dark .contact-info {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  backdrop-filter: none;
}
/* Default (desktop & larger screens) */
.about-dark .contact-info {
  padding: 32px;
  border-radius: 20px;
}

/* Tablets */
@media (max-width: 992px) {
  .about-dark .contact-info {
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-dark .contact-info {
    padding: 16px;
  }
  
  .about-dark .team-contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-dark .contact-details .contact-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    flex-direction: row;
    align-items: center;
  }
  
  .about-dark .contact-details .contact-item i {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  
  .about-dark .contact-details .contact-item strong {
    font-size: 1rem;
  }
  
  .about-dark .contact-details .contact-item span {
    font-size: 0.9rem;
  }
}


/* Cards & icons */
.about-dark .service-card h3,
.about-dark .about-text-card h3,
.about-dark .team-info h2,
.about-dark .contact-info h2 { color: #111827; }

.about-dark .service-card p,
.about-dark .about-text-card p,
.about-dark .team-info p,
.about-dark .contact-info p { color: #374151; }

.about-dark .service-icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.8), rgba(99,102,241,0.8));
  color: #ffffff;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.2), 0 8px 22px rgba(59,130,246,0.3);
}

/* Contact items */
.about-dark .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
}

.about-dark .contact-item i { 
    color: #2563eb; 
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.about-dark .contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about-dark .contact-item strong { 
    color: #111827; 
    font-weight: 600;
    font-size: 1rem;
}

.about-dark .contact-item span { 
    color: #374151; 
    font-size: 0.95rem;
}

/* CTA button */
.about-dark .cta-button {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #22d3ee);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(59,130,246,0.25);
}
.about-dark .cta-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Footer */
.about-dark .footer {
  background: #ffffff;
  color: #1f2937;
  border-top: 1px solid #e5e7eb;
}
.about-dark .footer h4,
.about-dark .footer .footer-logo span { color: #111827; }
.about-dark .footer a { color: #1f2937; }
.about-dark .footer a:hover { color: #2563eb; }
.about-dark .footer p { color: #1f2937; }


.contact-details .contact-item i{
  color: #fff;
}

/* Responsive container padding */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* default horizontal padding */
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem; /* more breathing room on tablets */
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 3rem; /* wider screens get extra padding */
  }
}

/* Fix for form/contact info responsiveness */
.contact-info,
.story-section,
.services-showcase,
.team-contact-section {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .contact-info,
  .story-section,
  .services-showcase,
  .team-contact-section {
    padding: 2rem;
  }
}

@media (min-width: 1200px) {
  .contact-info,
  .story-section,
  .services-showcase,
  .team-contact-section {
    padding: 3rem;
  }
}