@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0A2540; /* Deep professional blue */
  --primary-light: #1A365D;
  --accent: #F26419; /* Vibrant accent orange */
  --accent-hover: #E05308;
  --text-main: #334155;
  --text-muted: #64748B;
  --heading: #0F172A;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border: #E2E8F0;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

/* Header & Nav */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  text-align: center;
}

.hero h1 {
  color: var(--bg-white);
  font-size: 3rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: #E2E8F0;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-visual {
  margin-top: 4rem;
}
.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Trust Bar */
.trust-bar {
  background-color: var(--bg-white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-item {
  text-align: center;
}
.trust-item .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.trust-item .label {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* AI Services Specific */
.ai-services .service-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border: 1px solid rgba(10, 37, 64, 0.1);
  position: relative;
  overflow: hidden;
}
.ai-services .service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-item {
  text-align: center;
  padding: 2rem;
}
.feature-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.process-step {
  display: flex;
  gap: 2rem;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.step-content h3 {
  margin-bottom: 0.5rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.portfolio-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portfolio-img {
  width: 100%;
  height: 200px;
  background-color: var(--border);
  object-fit: cover;
}
.portfolio-content {
  padding: 1.5rem;
}
.portfolio-content h3 { margin-bottom: 0.5rem; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial-card i.fa-quote-left {
  font-size: 2rem;
  color: var(--border);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.testimonial-author {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.testimonial-business {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pricing / CTA */
.cta-section {
  background-color: var(--primary);
  color: var(--bg-white);
  text-align: center;
  padding: 6rem 0;
}
.cta-section h2 { color: var(--bg-white); }
.cta-section p {
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover { color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  max-height: 500px; /* arbitrary large value */
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail i {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 0.25rem;
}
.contact-form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
/* Spam Protection */
.captcha-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.captcha-question {
  background: var(--bg-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--border);
}
.honeypot { display: none !important; }

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #CBD5E1;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #CBD5E1;
}
.footer-links a:hover {
  color: var(--bg-white);
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  color: var(--bg-white);
  border-radius: 50%;
  transition: var(--transition);
}
.social-links a:hover {
  background-color: var(--accent);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    clip-path: circle(0 at 100% 0);
    transition: clip-path 0.4s ease-out;
  }
  .nav-links.active {
    clip-path: circle(150% at 100% 0);
  }
  .nav-links li {
    text-align: center;
    border-bottom: 1px solid var(--bg-light);
  }
  .nav-links a {
    display: block;
    padding: 1.5rem;
  }
  .mobile-toggle { display: block; }
  
  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
}
