/* VENTRAX ADVISORY CSS DESIGN SYSTEM */
:root {
  /* Colors */
  --color-primary: #1a365d;
  --color-secondary: #0ea5e9;
  --color-accent: #f59e0b;
  --color-dark: #0f172a;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-bg-light: #f8fafc;
  --color-white: #ffffff;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.6; background-color: var(--color-white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-dark); font-weight: 600; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.875rem 1.75rem; border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 500; font-size: 1rem; cursor: pointer; transition: all var(--transition-fast); border: none; outline: none; }
.btn-primary { background-color: var(--color-primary); color: var(--color-white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background-color: #122849; transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--color-white); }
.btn-outline { background-color: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background-color: var(--color-primary); color: var(--color-white); }
.btn-white { background-color: white; color: var(--color-primary); box-shadow: var(--shadow-md); }
.btn-white:hover { background-color: #f1f5f9; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Header */
.header { background-color: var(--color-white); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); transition: padding var(--transition-fast); padding: 1rem 0; }
.header.scrolled { padding: 0.5rem 0; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-weight: 500; color: var(--color-text); position: relative; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--color-secondary); transition: width var(--transition-fast); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--color-primary); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-dark); }

/* Sections */
.section { padding: 6rem 0; }
.section-bg { background-color: var(--color-bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; position: relative; display: inline-block; }
.section-subtitle { color: var(--color-text-light); font-size: 1.125rem; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background-color: var(--color-dark); overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-content { position: relative; z-index: 1; max-width: 800px; color: var(--color-white); }
.hero-title { font-size: 4rem; color: var(--color-white); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); max-width: 600px; }
.hero-buttons { display: flex; gap: 1rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { background: var(--color-white); padding: 2.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md); transition: transform var(--transition-normal); border-bottom: 4px solid var(--color-white); text-align: center; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-bottom-color: var(--color-secondary); }
.feature-icon { width: 60px; height: 60px; background-color: var(--color-bg-light); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1.5rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--color-bg-light); padding: 2rem; border-radius: var(--radius-md); border-left: 4px solid var(--color-secondary); }
.testimonial-text { font-size: 1.125rem; font-style: italic; margin-bottom: 1.5rem; color: var(--color-text); }
.testimonial-rating { color: var(--color-accent); margin-bottom: 0.5rem; }
.testimonial-author { font-weight: 600; color: var(--color-primary); }

/* FAQ */
.faq-item { margin-bottom: 1rem; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { background: var(--color-white); padding: 1.25rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--color-dark); }
.faq-answer { padding: 0 1.25rem; max-height: 0; transition: all 0.3s ease; background: var(--color-bg-light); overflow: hidden; opacity: 0; }
.faq-item.active .faq-answer { padding: 1.25rem; max-height: 500px; opacity: 1; }

/* Service Presentation */
.service-showcase { display: flex; flex-direction: column; gap: 5rem; }
.service-row { display: flex; align-items: center; gap: 4rem; }
.service-row:nth-child(even) { flex-direction: row-reverse; }
.service-image { flex: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-image img { width: 100%; height: 400px; object-fit: cover; transition: transform var(--transition-slow); }
.service-row:hover .service-image img { transform: scale(1.05); }
.service-content { flex: 1; }
.service-content h3 { font-size: 2rem; margin-bottom: 1.25rem; }
.service-content p { color: var(--color-text-light); margin-bottom: 1.5rem; font-size: 1.125rem; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: var(--font-heading); font-weight: 500; margin-bottom: 0.5rem; color: var(--color-dark); font-size: 0.9rem; }
.form-control { width: 100%; padding: 1rem; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; transition: all var(--transition-fast); background-color: var(--color-bg-light); }
.form-control:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); background-color: var(--color-white); }
textarea.form-control { resize: vertical; min-height: 150px; }

/* Common Call to Action Strip */
.cta-strip { background: var(--color-primary); color: white; padding: 4rem 0; }
.cta-strip h2 { color: white; margin-bottom: 1rem; }
.cta-flex { display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.cta-info i { color: var(--color-secondary); margin-right: 0.75rem; }
.cta-info p { margin-bottom: 0.75rem; font-size: 1.125rem; }
.cta-flex form { flex: 1; display: flex; gap: 1rem; background: rgba(255,255,255,0.1); padding: 2rem; border-radius: var(--radius-md); }
.cta-flex .form-group { margin-bottom: 0; flex: 1; }
.cta-flex .form-label { color: white; }
.cta-flex .form-control { background: rgba(255,255,255,0.9); }

/* Footer */
.footer { background-color: var(--color-dark); color: rgba(255, 255, 255, 0.7); padding: 4rem 0 2rem; border-top: 5px solid var(--color-primary); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--color-white); margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: var(--color-secondary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; }
/* Contact Section Grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { background-color: var(--color-primary); color: var(--color-white); padding: 3rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.contact-info h3 { color: var(--color-white); margin-bottom: 1.5rem; font-size: 1.75rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail i { font-size: 1.25rem; color: var(--color-secondary); margin-top: 0.25rem; }

/* Animations */
.animate-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 991px) {
  .cta-flex { flex-direction: column; align-items: flex-start; }
  .cta-flex form { width: 100%; flex-direction: column; }
  .service-row { flex-direction: column !important; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--color-white); flex-direction: column; padding: 2rem; transition: left var(--transition-normal); }
  .nav-links.show { left: 0; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.5rem; }
}
