/* Auth Problem Busters Theme - Enhanced */
:root {
  /* Override main.css variables with Auth Problem Busters branding */
  --accent-color: #00B3A4;
  --background-color: #0b1020;
  --surface-color: #0e152b;
  --default-color: #e5e7eb;
  --heading-color: #f3f4f6;
  --contrast-color: #ffffff;
  --nav-color: rgba(229, 231, 235, 0.8);
  --nav-hover-color: #00B3A4;
  --nav-mobile-background-color: #0e152b;
  --nav-dropdown-background-color: #0e152b;
  --nav-dropdown-color: #e5e7eb;
  --nav-dropdown-hover-color: #00B3A4;

  /* Custom Auth PB variables */
  --authpb-primary: #0B3D91;
  --authpb-accent: #00B3A4;
  --authpb-bg: #0b1020;
  --authpb-card: #0e152b;
  --authpb-border: #1f2937;
}

/* Enhanced typography */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.3px;
}

/* Enhanced hero section */
.hero {
  background: 
    radial-gradient(1200px 600px at 30% 20%, rgba(0,179,164,0.12), transparent 60%),
    radial-gradient(1000px 500px at 80% 0%, rgba(11,61,145,0.20), transparent 60%),
    linear-gradient(180deg, rgba(11,16,32,0.9) 0%, rgba(11,16,32,0.95) 100%);
  min-height: 100vh;
}

.hero .btn-get-started {
  background: linear-gradient(135deg, var(--authpb-accent), #0891b2);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,179,164,0.3);
}

.hero .btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,179,164,0.4);
  background: linear-gradient(135deg, #12c6b6, #0891b2);
}

/* Section title enhancements */
.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--authpb-accent), var(--authpb-primary));
  border-radius: 2px;
}

/* Enhanced service items */
.services .service-item {
  background: var(--authpb-card);
  border: 1px solid var(--authpb-border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services .service-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,179,164,0.1), transparent);
  transition: all 0.5s ease;
}

.services .service-item:hover:before {
  left: 100%;
}

.services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(0,179,164,0.5);
}

.services .service-item .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--authpb-accent), var(--authpb-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.services .service-item .icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s ease;
}

.services .service-item:hover .icon:before {
  left: 100%;
}

.services .service-item .icon i {
  color: white;
  font-size: 28px;
  position: relative;
  z-index: 1;
}

/* Enhanced buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s ease;
}

.btn:hover:before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--authpb-primary), #1e40af);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11,61,145,0.4);
}

/* Contact form styling */
.contact .php-email-form {
  background: var(--authpb-card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--authpb-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  background: rgba(11,16,32,0.5);
  border: 1px solid var(--authpb-border);
  border-radius: 8px;
  color: var(--default-color);
  padding: 15px;
  transition: all 0.3s ease;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--authpb-accent);
  box-shadow: 0 0 0 3px rgba(0,179,164,0.1);
  outline: none;
}

.contact .php-email-form button[type="submit"] {
  background: linear-gradient(135deg, var(--authpb-accent), #0891b2);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,179,164,0.4);
}

/* Info items styling */
.contact .info-item {
  background: var(--authpb-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--authpb-border);
  transition: all 0.3s ease;
}

.contact .info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Portfolio section */
.portfolio img {
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.portfolio img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Footer styling */
.footer {
  border-top: 1px solid var(--authpb-border);
}

.footer .social-links a {
  background: var(--authpb-card);
  border: 1px solid var(--authpb-border);
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--authpb-accent);
  border-color: var(--authpb-accent);
  transform: translateY(-2px);
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .services .service-item {
    margin-bottom: 30px;
  }
  
  .contact .php-email-form {
    padding: 30px 20px;
  }
}

/* Light background override for better contrast */
.light-background {
  --background-color: rgba(14, 21, 43, 0.5);
  --surface-color: var(--authpb-card);
}

/* Enhanced section separators */
section:not(.hero) .container:before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--authpb-accent), transparent);
}
