/* Reset & Global Styles */
:root {
  --primary-color: #060644;
  --accent-color: #ffde59;
  --text-light: #fff;
  --text-dark: #060644;
  --bg-light: #fff;
  --card-bg: #fff;
  --gradient-primary: linear-gradient(135deg, #060644 0%, #4169E1 50%, #ffde59 100%);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.15);
  --border-radius: 12px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(6,6,68,0.1);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.branding .logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.branding h1 {
  font-size: 1.5rem;
  margin: 0;
  white-space: nowrap;
  color: var(--primary-color);
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: var(--gradient-primary);
  color: white;
  background-size: 200% auto;
}

.btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
#hero {
  position: relative;
  background: #f8f9ff;
  padding: 120px 0 60px;
  margin-top: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Remove the grayscale filter and dark overlay */
#hero::after {
  display: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  width: 100%;
  max-width: 900px;
}

.hero-text h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-weight: 800;
  background: linear-gradient(135deg, #060644 0%, #4169E1 50%, #ffde59 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: #f0f0f0;
  border-radius: 100px;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-text .benefits {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.hero-text .benefits li {
  font-size: 1.5rem;
  color: #333;
  margin: 1rem 0;
  padding-left: 2rem;
  position: relative;
}

.hero-text .benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.hero-text .btn {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.hero-text .btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(6,6,68,0.1);
}

/* Update the 10x text style */
.hero-text .highlight {
  font-size: 5rem;
  color: #4169E1;
  font-weight: 800;
  display: block;
  margin-bottom: 1rem;
}

/* Add floating animation for hero elements */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-text h2 {
  animation: float 6s ease-in-out infinite;
}

/* Section Titles */
section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Services Section */
#services {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

#services .container {
  max-width: 1200px;
}

.service-intro {
  text-align: center;
  font-size: 1.25rem;
  color: #4A5568;
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
}

.service-intro::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

#services .service {
  background: white;
  border: none;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

#services .service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#services .service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

#services .service:hover::before {
  transform: scaleX(1);
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

.team-member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Joseph's image specific style */
img[src="Images/Joseph_Tembo.jpeg"].team-member-image {
  border: 3px solid var(--accent-color);
}

/* Sales & Admin Team image specific style */
img[src="Images/CFT_logo.png"].team-member-image {
  border: 3px solid var(--primary-color);
}

.service:hover .team-member-image {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-header h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

#services .service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#services .service-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#services .service-features li:hover {
  background: rgba(6,6,68,0.03);
  transform: translateX(5px);
}

#services .service-features li i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

#services .service-features li span {
  color: #4A5568;
  line-height: 1.4;
}

#services .service-features li strong {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  #services .service-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  #services .service-header i {
    font-size: 2.5rem;
  }

  #services .service h3 {
    text-align: center;
  }
}

/* Case Studies */
#case-studies {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

#case-studies .container {
  max-width: 900px;
}

#case-studies .case-study {
  background: white;
  border: none !important;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

#case-studies .case-study:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

#case-studies .case-study h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

#case-studies .case-study .metric {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

#case-studies .case-study blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: #4A5568;
}

.case-study-content {
  flex: 1;
}

.case-study-intro {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.case-study-list {
  font-size: 1rem;
}

.case-study-list li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Updated Pricing Section Styles */
#pricing {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

#pricing .container {
  max-width: 1200px;
}

#pricing h2 {
  text-align: center;
  margin-bottom: 0.8rem;
}

.pricing-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #4A5568;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.team-features {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.team-features h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.team-features .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid #edf2f7;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
}

.pricing-card .title-section {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.most-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.pricing-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
}

.pricing-info {
  margin-top: auto;
  padding-top: 1rem;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), #4169E1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-note {
  font-size: 0.9rem;
  color: #718096;
  margin: 0.3rem 0;
}

.setup-note {
  font-size: 0.9rem;
  color: #718096;
  margin: 0.3rem 0;
  font-style: italic;
  line-height: 1.4;
}

.pricing-card .btn {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.8rem 1.5rem;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-plans {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .team-features .features-grid {
    grid-template-columns: 1fr;
  }
  
  .team-features {
    padding: 1.5rem;
  }
}

/* How It Works Section */
#how-it-works {
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}

#how-it-works .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.process-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}

.process-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  grid-column: 1;
  order: 1;
}

.process-image {
  position: sticky;
  top: 100px;
  grid-column: 2;
  order: 2;
  height: fit-content;
}

.process-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.process-step {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid var(--accent-color);
}

.process-step:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Optimization */
@media (max-width: 1024px) {
  .process-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-text {
    grid-column: 1;
    order: 2;
  }

  .process-image {
    position: relative;
    top: 0;
    grid-column: 1;
    order: 1;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .process-container {
    gap: 2rem;
  }

  .process-step {
    padding: 1.2rem;
  }

  .process-step h4 {
    font-size: 1.1rem;
  }

  .process-image {
    max-width: 100%;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Process step number styling */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 1rem;
}

/* Process step content styling */
.process-step h4 {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.process-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-step ul li {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #4A5568;
}

.process-step ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.process-step ul li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Guarantee Section */
#guarantee {
  padding: 80px 0;
  background: linear-gradient(135deg, #060644 0%, #1a1a5a 100%);
  color: white;
}

#guarantee h2 {
  color: white;
}

#guarantee h2::after {
  background: var(--accent-color);
}

#guarantee .container {
  max-width: 800px;
  text-align: center;
}

#guarantee p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 2rem;
}

.guarantee-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.guarantee-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.guarantee-feature:hover {
  transform: translateY(-5px);
}

/* Results Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Section with Calendly */
#contact {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  overflow: hidden;
}

#contact .container {
  max-width: 1000px;
  text-align: center;
  padding: 0 20px;
}

#contact .subtitle {
  font-size: 1.2rem;
  color: #4A5568;
  margin-bottom: 3rem;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 30px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.contact-option i {
  font-size: 24px;
  margin-right: 10px;
}

.contact-option.whatsapp {
  background: #25D366;
  color: white;
}

.contact-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .contact-options {
    flex-direction: column;
    align-items: center;
  }

  .contact-option {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.calendly-inline-widget {
  width: 100% !important;
  height: 500px !important;
  max-width: 800px !important;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  background: white;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 768px) {
  .calendly-inline-widget {
    height: 450px !important;
    min-width: 320px !important;
  }
  
  #contact .container {
    padding: 0 10px;
  }
}

/* Hide Calendly branding if needed */
.calendly-badge-widget {
  display: none !important;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.calendly-section {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.calendly-section h3 {
  color: var(--primary-color);
}

.calendly-section h3::after {
  background-color: var(--primary-color);
}

.calendly-inline-widget {
  width: 100% !important;
  height: 600px !important;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  color: var(--text-light);
}

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

.footer-bottom a:hover {
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calendly-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calendly-inline-widget {
    height: 500px !important;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Add a breakpoint for very small screens */
@media (max-width: 640px) {
  header {
    flex-direction: column;
    padding: 0.5rem;
  }

  .branding {
    margin-bottom: 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #060644;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor--small {
    mix-blend-mode: difference;
    transform-origin: center center;
}

/* Smooth Scroll */
#smooth-wrapper {
    width: 100%;
    overflow-x: hidden;
}

#smooth-content {
    width: 100%;
}

/* Header Styles */
.header {
    display: none;
}

.header-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.header-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-titles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-mask {
    overflow: hidden;
    position: relative;
}

#current-count, #current-title {
    position: relative;
}

.first, .second {
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.second {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Section Transitions */
.section-holder {
    position: relative;
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-holder.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Section Spacing */
section {
    width: 100%;
    padding: 40px 0;
    background-color: var(--bg-light);
}

/* Add active state for navigation */
nav a.active {
    color: var(--text-dark);
    position: relative;
    font-weight: 700;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Reorder hero container elements: Text first, Image on right */
.hero-container > :not(.hero-image) {
    order: 1;
}
.hero-container > .hero-image {
    order: 2;
}

/* New styles for updated hero section structure */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text .benefits {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.hero-text .benefits li {
    font-size: 2rem;
}

/* Testimonials Section */
#testimonials {
  padding: 80px 0;
  background-color: #f1f5f9;
}

#testimonials h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.testimonials-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1;
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(6,6,68,0.1);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #444;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.client-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color);
}

.client-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Why Choose Us Section */
#why-us {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

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

.feature {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.feature:hover::before {
  transform: scaleY(1);
}

.feature h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature p {
  color: #4A5568;
  line-height: 1.6;
}

/* FAQ Section */
#faq {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(6,6,68,0.1);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.faq-item h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.faq-item h3::before {
  content: "Q:";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.faq-item p {
  color: #4A5568;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.faq-item p::before {
  content: "A:";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Remove Error Handling Styles */
#error-container {
  display: none;
}

#error-container ul {
  display: none;
}

#error-container li {
  display: none;
}

#error-container li::before {
  display: none;
}

@media (max-width: 768px) {
  #error-container {
    display: none;
  }
}

.cta-box {
  background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cta-box h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.cta-box p {
  font-size: 1.2rem;
  color: #4A5568;
  margin-bottom: 1rem;
}

.cta-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: inline-block;
  text-align: left;
}

.cta-box ul li {
  margin: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: #4A5568;
  font-size: 1.1rem;
}

.cta-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.cta-box .btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 1.5rem;
  }
  
  .cta-box h3 {
    font-size: 1.5rem;
  }
  
  .cta-box p, .cta-box ul li {
    font-size: 1rem;
  }
}

/* Additional Costs Section */
.additional-costs {
  margin-top: 1.5rem;
}

.additional-costs h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  text-align: center;
}

.costs-intro {
  text-align: center;
  color: #4A5568;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
}

.costs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cost-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.cost-item:hover {
  transform: translateY(-5px);
}

.cost-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cost-details {
  flex: 1;
}

.cost-details h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.cost-details p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2D3748;
  margin: 0 0 0.3rem 0;
}

.cost-note {
  display: block;
  font-size: 0.9rem;
  color: #718096;
}

@media (max-width: 768px) {
  .costs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cost-item {
    padding: 1rem;
  }
}

/* Technology Stack Section */
#our-technology {
  padding: 40px 0;
  background: #fff;
}

.tech-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #4A5568;
  line-height: 1.6;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-card {
  background: white;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.tech-card .card-content {
  padding: 2rem;
  margin-left: 4px;
}

.tech-card .card-content h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tech-card i {
  color: var(--primary-color);
  font-size: 1.5rem;
  display: inline-block;
}

.tech-card p {
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.cost-price {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.cost-note {
  color: #718096;
  font-size: 0.9rem;
  font-style: italic;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .systems-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .system-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}

.benefits .arrow {
  color: #4BB543;  /* A nice green color for the tick marks */
  font-weight: bold;
  font-size: 1.2rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background: #060644;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 99999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding-bottom: 4px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0a0a66;
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 70px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.role-summary {
  color: #4A5568;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 1rem 0 1.5rem;
  text-align: center;
  padding: 0 1rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #4A5568;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.benefits li {
  font-size: 1.45rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #2D3748;
}

.primary-cta {
  font-size: 1.2rem;
  padding: 1.2rem 2.5rem;
  text-transform: none;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .benefits li {
    font-size: 1.17rem;
  }
  
  .primary-cta {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}

/* Timeline Section */
#timeline {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  overflow: visible;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Central line */
.timeline-container::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), #4169E1);
  left: 50%;
  transform: translateX(-50%);
}

/* Timeline items */
.timeline-item {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  position: relative;
  gap: 30px;
}

.timeline-item.right {
  justify-content: flex-end;
}

/* Content wrapper */
.timeline-content-wrapper {
  width: calc(50% - 25px);
  position: relative;
}

/* Markers */
.timeline-marker {
  position: absolute;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-color);
  z-index: 2;
  top: 0;
}

.timeline-item.left .timeline-marker {
  right: -75px;
}

.timeline-item.right .timeline-marker {
  left: -75px;
}

.timeline-marker .day {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.timeline-marker i {
  font-size: 1.2rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), #4169E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content boxes */
.timeline-content {
  background: white;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
}

.timeline-item.left .timeline-content {
  border-right: 4px solid var(--accent-color);
}

.timeline-item.right .timeline-content {
  border-left: 4px solid var(--accent-color);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile timeline styles */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 22px;
    transform: none;
  }

  .timeline-item,
  .timeline-item.right {
    justify-content: flex-start;
    padding-left: 80px;
    margin-bottom: 2rem;
  }

  .timeline-content-wrapper {
    width: 100%;
  }

  .timeline-marker {
    left: 0 !important;
    right: auto !important;
    width: 45px;
    height: 45px;
    position: absolute;
    top: 10px;
  }

  .timeline-content {
    border-left: 4px solid var(--accent-color) !important;
    border-right: none !important;
    margin-left: 0;
    position: relative;
  }

  .timeline-marker .day {
    font-size: 0.7rem;
    line-height: 1;
  }

  .timeline-marker i {
    font-size: 0.9rem;
    margin-top: 2px;
  }
}

/* Timeline container spacing */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #4A5568;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Client Types Grid Styling */
.client-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.client-type-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.client-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-type-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #4169E1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.client-type-card .card-icon i {
  color: white;
  font-size: 1.5rem;
}

.client-type-card h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.client-type-card p {
  color: #4A5568;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .client-types-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .client-type-card {
    padding: 1.5rem;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--accent-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1rem;
  }
  
  .client-type-card .card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
  }
  
  .client-type-card .card-icon i {
    font-size: 1.3rem;
  }
  
  .client-type-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color) !important;
  }
  
  .client-type-card p {
    font-size: 0.95rem;
    color: #4A5568 !important;
    line-height: 1.4;
  }
}


