/* ============================================
   PROCONSULT - PROFESSIONAL WEBSITE STYLES
   ============================================ */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #F8FAFC;
  color: #0F3A66;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0F3A66;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: #6B7280;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(0px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 167, 38, 0);
  overflow: visible;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255, 167, 38, 0.2);
  padding: 0.9rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  height: 40px;
}

.logo-img {
    height: 130px;
    width: 138px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6B7280;
  position: relative;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFA726, transparent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #FFA726;
  background: rgba(255, 167, 38, 0.08);
}

.nav-link:hover::before {
  width: 60%;
}

.nav-cta {
  background: linear-gradient(135deg, #FFA726, #FFB84D);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
}

.nav-cta::before {
  display: none;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #FFB84D, #FFA726);
  box-shadow: 0 8px 20px rgba(255, 167, 38, 0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #FFA726;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  margin-top: 60px;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title span {
  display: inline-block;
  margin: 0 0.2em;
  opacity: 0;
}

.hero-title span:nth-child(1) { color: #0F3A66; }
.hero-title span:nth-child(2) { color: #FFA726; }
.hero-title span:nth-child(3) { color: #0F3A66; }
.hero-title span:nth-child(4) { color: #FFA726; }
.hero-title span:nth-child(5) { color: #0F3A66; }

.hero-subtitle {
  font-size: 1.25rem;
  color: #6B7280;
  margin-bottom: 2rem;
  opacity: 0;
  font-weight: 300;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #FFA726, #FFB84D);
  color: #FFFFFF;
  border: 2px solid #FFA726;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFB84D, #FFA726);
  box-shadow: 0 10px 30px rgba(255, 167, 38, 0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFA726, transparent);
}

.section-header p {
  font-size: 1.1rem;
  color: #6B7280;
  margin-top: 1.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  padding: 6rem 0;
  background: #F8FAFC;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 167, 38, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  border-color: #FFA726;
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.1);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #FFA726;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0F3A66;
}

.stat-card p {
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.5;
}

.about-content {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.about-content h3 {
  margin-bottom: 1.5rem;
  color: #FFA726;
}

.about-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: #6B7280;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.features-list li {
  padding-left: 1.5rem;
  position: relative;
  color: #6B7280;
}

.features-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #FFA726;
  font-weight: bold;
}

.features-list strong {
  color: #0F3A66;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: 6rem 0;
  background: #FFFFFF;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #F9FAFB;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.service-card:hover {
  background: #FFFFFF;
  border-color: #FFA726;
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 167, 38, 0.12);
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #FFA726;
}

.service-card p {
  color: #6B7280;
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
  padding: 6rem 0;
  background: #F8FAFC;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-card:hover {
  border-color: #FFA726;
  background: #FFFFFF;
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 167, 38, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: #FFA726;
}

.contact-card p {
  color: #6B7280;
}

.contact-card a {
  color: #FFA726;
  font-weight: 600;
}

.contact-card a:hover {
  color: #D97706;
}

.small {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #1F2937;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #E5E7EB;
}

.footer-content p {
  font-size: 0.95rem;
  color: #D1D5DB;
  margin: 0.5rem 0;
}

.footer-tagline {
  color: #FFA726;
  font-weight: 600;
  font-style: italic;
}

/* ============================================
   ANIMATIONS (GPU-ACCELERATED)
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) translate3d(0, 0, 0);
    will-change: opacity, transform;
  }
  to {
    opacity: 1;
    transform: translateY(0) translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 167, 38, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 167, 38, 0.4);
  }
}

/* Enable GPU acceleration for smooth animations */
.navbar,
.hero,
.btn,
.nav-link,
.service-card,
.contact-card,
.stat-card {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid #E5E7EB;
    z-index: 999;
    align-items: stretch;
  }

  .nav-menu.active {
    max-height: 350px;
  }

  .nav-menu li {
    padding: 0;
    border-bottom: 1px solid #E5E7EB;
  }

  .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0;
    background: transparent;
    color: #6B7280;
  }

  .nav-link::before {
    display: none;
  }

  .nav-link:hover {
    background: #F3F4F6;
    border-left: 3px solid #FFA726;
    padding-left: calc(1.5rem - 3px);
    color: #FFA726;
  }

  .nav-cta {
    margin: 1rem;
    display: block;
    text-align: center;
    width: calc(100% - 2rem);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

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

  .advisory-form {
    padding: 2rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-title span {
    display: block;
    margin: 0.25rem 0;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .about-content {
    padding: 1.5rem;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .advisory-form {
    padding: 1.5rem;
  }

  .navbar {
    margin-top: 0;
  }
}
