
:root {
  --primary-color: #0A0A0A;
  --secondary-color: #FFFFFF;
  --accent-color: #6366F1;
  --glow-color: #8B5CF6;
  --background-color: #0A0A0A;
  --text-color: #FFFFFF;
  --nav-background-color: rgba(10, 10, 10, 0.8);
  --card-background: rgba(255, 255, 255, 0.05);
  --card-border-radius: 16px;
  --button-primary-bg: #FFFFFF;
  --button-primary-text: #0A0A0A;
  --button-secondary-bg: rgba(255, 255, 255, 0.1);
  --button-secondary-text: #FFFFFF;
  --font-family-heading: "Suisse Intl Medium", sans-serif;
  --font-family-body: "Geist", sans-serif;
  --font-family-display: "Helvetica Now Display", sans-serif;
  --h1-size: 64px;
  --h2-size: 48px;
  --body-size: 25.6px;
  --spacing-base: 16px;
}

.logo-circle{
width:52px;
height:52px;
border-radius:50%;
overflow:hidden;
background:#fff;
display:flex;
box-shadow:0 6px 18px rgba(27, 20, 20, 0.08);
border:1px solid rgba(255,255,255,.08);
align-items:center;
justify-content:center;
}

.logo-circle img{
width:70%;
height:70%;
object-fit:contain;
}

/* Dark Mode Defaults */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family-body);
  font-size: var(--body-size);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--secondary-color);
  line-height: 1.2;
}

h1 {
  font-size: var(--h1-size);
  font-weight: 600;
}

h2 {
  font-size: var(--h2-size);
  font-weight: 600;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-background-color);
  padding: var(--spacing-base) 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 40px;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.site-nav li {
  margin-left: calc(var(--spacing-base) * 2);
}

.site-nav a {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--spacing-base) * 4) 0;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero h1 {
  margin-bottom: var(--spacing-base);
  font-size: 72px; /* Larger than h1 */
}

.hero p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  margin-top: calc(var(--spacing-base) * 3);
  display: flex;
  justify-content: center;
  gap: var(--spacing-base);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-text);
}

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

.btn-secondary {
  background-color: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
}

/* Sections */
section {
  padding: calc(var(--spacing-base) * 6) 0;
}

section:not(.hero):not(.footer) {
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: calc(var(--spacing-base) * 4);
}

.section-header h2 {
  font-size: 48px;
  margin-bottom: calc(var(--spacing-base) * 1.5);
}

.section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-base) * 3);
}

.service-card {
  background: var(--card-background);
  padding: calc(var(--spacing-base) * 3);
  border-radius: var(--card-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-base);
}

.service-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Why Choose Us */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-base);
  text-align: center;
}

.metric-item {
  padding: var(--spacing-base);
}

.metric-item strong {
  font-size: 3rem;
  display: block;
  color: var(--accent-color);
  font-family: var(--font-family-display);
}

.metric-item span {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-base) * 2);
}

.portfolio-card {
  background-color: var(--card-background);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.portfolio-card-content {
  padding: var(--spacing-base);
}

.portfolio-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-base) / 2);
}

.portfolio-card-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Process */
.process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  position: relative;
  counter-reset: step;
}

.process-step {
  flex: 1;
  padding: var(--spacing-base);
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50px;
  margin: 0 auto var(--spacing-base);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  z-index: -1;
}

.process-step:not(:first-child)::after {
  transform: translateX(-50%);
  width: 100%;
}

.process-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-base);
  color: var(--accent-color);
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-base) / 2);
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-base) * 2);
}

.testimonial-card {
  background: var(--card-background);
  padding: calc(var(--spacing-base) * 3);
  border-radius: var(--card-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-base);
  flex-grow: 1;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
  padding-top: var(--spacing-base);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info strong {
  display: block;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.testimonial-author-info span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-base) * 3);
  margin-top: calc(var(--spacing-base) * 4);
  align-items: stretch; /* Ensures all cards in a row are the same height */
}

.pricing-plan {
  background: var(--card-background);
  padding: calc(var(--spacing-base) * 3);
  border-radius: var(--card-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures card fills the grid cell height */
  box-sizing: border-box;
}

.pricing-plan.recommended {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.pricing-plan h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-base);
}

.pricing-plan .price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: var(--spacing-base);
}

.pricing-plan .price span {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.pricing-plan ul {
  list-style: none;
  padding: 0;
  margin: calc(var(--spacing-base) * 2) 0;
  flex-grow: 1; /* This pushes the button down by taking up all available space */
  text-align: left;
}

.pricing-plan li {
  margin-bottom: var(--spacing-base);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
}

.pricing-plan li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
}

/* Fix for Button Alignment */
.pricing-plan .btn {
  margin-top: auto; /* Force button to the bottom of the flex container */
  width: 100%;
  box-sizing: border-box;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--card-border-radius);
  background: var(--card-background);
}

.faq-question {
  padding: var(--spacing-base) calc(var(--spacing-base) * 2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 calc(var(--spacing-base) * 2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-bottom: calc(var(--spacing-base) * 2);
}

/* Contact Form */
.contact-form {
  background: var(--card-background);
  padding: calc(var(--spacing-base) * 3);
  border-radius: var(--card-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px var(--spacing-base);
  margin-bottom: var(--spacing-base);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  color: var(--secondary-color);
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: auto;
}

/* Footer */
.site-footer {
  background-color: #000000;
  padding: calc(var(--spacing-base) * 4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: calc(var(--spacing-base) * 3);
}

.footer-logo strong {
  font-size: 2rem;
  font-family: var(--font-family-heading);
  color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-base);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-social a {
  margin-right: calc(var(--spacing-base) * 1.5);
}

.footer-social i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover i {
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
  body {
    font-size: 16px;
  }
  .hero {
    height: auto;
    min-height: 400px;
    padding: calc(var(--spacing-base) * 4) 0;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .site-nav ul {
    display: none;
  }
  .section-header h2 {
    font-size: 36px;
  }
  .process-timeline {
    flex-direction: column;
    align-items: center;
  }
  .process-step::after {
    display: none;
  }
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
  .footer-social {
    margin-top: var(--spacing-base);
  }
}

/* Final CTA */
.final-cta {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 1)), url("https://images.unsplash.com/photo-1517245386804-66fc14585026?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  color: var(--secondary-color);
  text-align: center;
  padding: calc(var(--spacing-base) * 8) 0;
}

.final-cta h2 {
  font-size: 56px;
  margin-bottom: calc(var(--spacing-base) * 2);
}

.final-cta p {
  font-size: 1.3rem;
  margin-bottom: calc(var(--spacing-base) * 3);
  color: rgba(255, 255, 255, 0.8);
}

.final-cta .hero-cta {
  justify-content: center;
}

/* Grid background for hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 0;
}

/* Glow effect on hover for cards */
.service-card:hover, .portfolio-card:hover, .testimonial-card:hover {
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

/* Add smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Specific font sizes from reference */
.hero h1 {
  font-size: 64px;
}

.section-header h2 {
  font-size: 48px;
}

body {
  font-size: 25.6px;
}

/* Override body font size for better readability on smaller screens */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .section-header h2 {
    font-size: 36px;
  }
}

/* Trust bar */
.trust-bar {
  background-color: var(--card-background);
  padding: var(--spacing-base) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: calc(var(--spacing-base) * 4) 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing-base) * 3);
}

.trust-bar span {
  font-weight: 500;
}

/* Logo styling for trust bar */
.trust-bar img {
  max-height: 30px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.trust-bar img:hover {
  opacity: 1;
}
