/*
 * Custom stylesheet for the ARCHA landing page.
 * The palette and typography are inspired by the provided slides.
 */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Section-specific animations */
.services .section-title {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.services .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.audience .section-title {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.audience .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.integration .section-title {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.integration .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.security .section-title {
  animation: fadeInUp 0.6s ease-out 0.7s both;
}

.security .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.packages .section-title {
  animation: fadeInUp 0.6s ease-out 0.9s both;
}

.packages .section-subtitle {
  animation: fadeInUp 0.6s ease-out 1s both;
}

.cta .section-title {
  animation: fadeInUp 0.6s ease-out 1.1s both;
}

.cta .section-subtitle {
  animation: fadeInUp 0.6s ease-out 1.2s both;
}

/* Apply animations to different sections */
.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.service-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.service-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.audience-card:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out 0.1s both;
}

.audience-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.audience-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.audience-card:nth-child(4) {
  animation: fadeInRight 0.6s ease-out 0.4s both;
}

.integration-item:nth-child(1) {
  animation: fadeInLeft 0.5s ease-out 0.1s both;
}

.integration-item:nth-child(2) {
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.integration-item:nth-child(3) {
  animation: fadeInRight 0.5s ease-out 0.3s both;
}

.package-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.package-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.package-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Security section animations */
.security-image {
  animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.security-content {
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

/* CTA section animation */
.cta-inner {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Footer animations */
.footer-brand {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.footer-links {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.footer-contact {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.footer-social {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Add floating animation to icons */
.icon-wrapper {
  animation: float 3s ease-in-out infinite;
}

.icon-wrapper:nth-child(1) {
  animation-delay: 0s;
}

.icon-wrapper:nth-child(2) {
  animation-delay: 0.5s;
}

.icon-wrapper:nth-child(3) {
  animation-delay: 1s;
}

.audience-icon {
  animation: pulse 2s ease-in-out infinite;
}

.audience-icon:nth-child(2) {
  animation-delay: 0.3s;
}

.audience-icon:nth-child(3) {
  animation-delay: 0.6s;
}

.audience-icon:nth-child(4) {
  animation-delay: 0.9s;
}

/* Add shimmer effect to CTA button */
.cta-btn {
  background: linear-gradient(90deg, var(--secondary-color), #0088a8, var(--secondary-color));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.cta-btn:hover {
  background: linear-gradient(90deg, var(--accent-color), #c47a00, var(--accent-color));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

/* Root variables for easy theming */
:root {
  --primary-color: #013a63;      /* dark navy similar to slide backgrounds */
  --secondary-color: #00a1c6;    /* turquoise accent for highlights */
  --accent-color: #ea8a22;       /* warm orange accent */
  --light-bg: #f4fbfd;           /* very light blue background for contrast */
  --text-color: #0d3b66;         /* dark text for headings */
  --muted-text: #647c9a;         /* muted text colour for descriptions */
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --radius: 10px;
  --transition: all 0.3s ease;
}

/* Reset some basic elements */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility container to center content */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  /* Modern dark navigation bar with gradient */
  background: linear-gradient(135deg, #0a1a3a 0%, #1a2a5a 100%);
  color: var(--white);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Logo styling for ARCHA brand */
.navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  z-index: 10;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  max-width: 200px;
  display: block;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transition: width 0.3s ease-in-out;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover::before {
  width: 80%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hamburger spans adopt white colour on dark nav */
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger animation when menu is open */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Hero Section */
.hero {
  padding-top: 100px; /* offset for fixed navbar */
  background: linear-gradient(135deg, #0a1a3a 0%, #1a2a5a 25%, #2a3a7a 50%, #1a2a5a 75%, #0a1a3a 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/hero1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 26, 58, 0.7) 0%, rgba(26, 42, 90, 0.6) 50%, rgba(10, 26, 58, 0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: calc(100vh - 100px);
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-content {
  flex: 1 1 100%;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #e0f7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.hero-content p {
  margin-bottom: 2.5rem;
  color: #d1e3f3;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0088a8 100%);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 161, 198, 0.3);
  border: 2px solid transparent;
  margin: 0 auto;
}

.cta-btn:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, #c47a00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 138, 34, 0.4);
}

.hero-image {
  display: none;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin-bottom: 4rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

/* Services */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  flex: 1 1 300px;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

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

.service-card p {
  color: var(--muted-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0088a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 161, 198, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  line-height: 1;
}

.icon-wrapper i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.icon-wrapper:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 161, 198, 0.4);
}

/* Integration */
.integration-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.integration-content {
  flex: 1 1 50%;
}

.integration-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.integration-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.integration-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.integration-item:hover::before {
  transform: scaleY(1);
}

.integration-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.integration-item h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.integration-item h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: inline-block;
}

.integration-item:nth-child(1)::before {
  background: linear-gradient(180deg, var(--secondary-color), #0088a8);
}

.integration-item:nth-child(2)::before {
  background: linear-gradient(180deg, var(--accent-color), #c47a00);
}

.integration-item:nth-child(3)::before {
  background: linear-gradient(180deg, var(--primary-color), #021c35);
}

.integration-item:nth-child(1) h3::before {
  background: linear-gradient(135deg, var(--secondary-color), #0088a8);
}

.integration-item:nth-child(2) h3::before {
  background: linear-gradient(135deg, var(--accent-color), #c47a00);
}

.integration-item:nth-child(1) {
  background: linear-gradient(135deg, rgba(0, 161, 198, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.integration-item:nth-child(2) {
  background: linear-gradient(135deg, rgba(234, 138, 34, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.integration-item:nth-child(3) {
  background: linear-gradient(135deg, rgba(1, 58, 99, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.integration-item:nth-child(3) h3::before {
  background: linear-gradient(135deg, var(--primary-color), #021c35);
}

.integration-item p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.6;
  font-size: 0.95rem;
  padding-left: 1rem;
}

.integration-image {
  flex: 1 1 45%;
  text-align: center;
  animation: fadeInRight 0.8s ease-out 0.4s both;
}

.integration-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.integration-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Security */
.security {
  background: linear-gradient(130deg, #011f42, #04325c);
  color: var(--white);
}

.security-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.security-image {
  flex: 1 1 45%;
}

.security-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.security-content {
  flex: 1 1 50%;
}

.security-content h2 {
  color: var(--white);
}

.security-content p {
  color: #cddcec;
  max-width: 600px;
}

.security-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.security-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.security-list li::before {
  content: '\f058'; /* FontAwesome check-circle icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
}

/* Packages */
.packages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.package-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.package-card:hover::before {
  transform: scaleX(1);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.package-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.package-badge.starter {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0088a8 100%);
}

.package-badge.standard {
  background: linear-gradient(135deg, var(--accent-color) 0%, #c47a00 100%);
}

.package-badge.enterprise {
  background: linear-gradient(135deg, var(--primary-color) 0%, #021c35 100%);
}

.package-title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: var(--primary-color);
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.package-desc {
  font-size: 0.95rem;
  color: var(--muted-text);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-features li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.5;
}

.package-features li::before {
  content: '\f058'; /* FontAwesome check-circle icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* CTA Section */
.cta {
  background: linear-gradient(130deg, var(--primary-color) 0%, #021c35 100%);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: #021a33;
  color: #c8d8e5;
  padding-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 220px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 180px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

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

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 0.4rem;
}

.footer-links a,
.footer-contact a {
  color: #c8d8e5;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 0.9rem;
}

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

.footer-contact i {
  margin-right: 0.5rem;
}

.social-links a {
  color: #c8d8e5;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  transition: color 0.2s ease-in-out;
}

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

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  margin-top: 30px;
  font-size: 0.8rem;
  background-color: #00192f;
  color: #7fa1c0;
}

/* Audience (Full Support) Section */
.audience {
  /* Dark gradient similar to hero but slightly different for visual separation */
  background: linear-gradient(130deg, #001e3c, #00345e);
  color: var(--white);
}

.audience .section-title,
.audience .section-subtitle {
  color: var(--white);
}

.security .section-title,
.security .section-subtitle {
  color: var(--white);
}

.cta .section-title,
.cta .section-subtitle {
  color: var(--white);
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.audience-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  flex: 1 1 250px;
  max-width: 280px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.audience-card:hover::before {
  transform: scaleX(1);
}

.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.12);
}

.audience-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  display: inline-block;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(234, 138, 34, 0.15) 0%, rgba(234, 138, 34, 0.05) 100%);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.audience-card:hover .audience-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(234, 138, 34, 0.25) 0%, rgba(234, 138, 34, 0.1) 100%);
}

.audience-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--white);
}

.audience-card p {
  color: #cddcec;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .audience-grid {
    gap: 1rem;
  }
  .audience-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Problems Section */
.problems {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
}

.problems-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.problem-card {
  background-color: var(--white);
  border: 1px solid #fee2e2;
  border-radius: 16px;
  padding: 2rem;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #dc2626);
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
}

.problem-icon {
  font-size: 2rem;
  color: #ef4444;
  margin-bottom: 1.2rem;
  display: inline-block;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.problem-card:hover .problem-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.problem-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.15rem;
  color: #1f2937;
  font-weight: 600;
}

.problem-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Workflow Section */
.workflow {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.workflow-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.workflow-step {
  background-color: var(--white);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 1.5rem;
  flex: 1 1 250px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.workflow-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.workflow-step:hover::before {
  transform: scaleX(1);
}

.workflow-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 161, 198, 0.2);
  border-color: var(--secondary-color);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.workflow-step:hover .step-number {
  opacity: 0.6;
}

.step-content h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.step-content p {
  color: var(--muted-text);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Benefits Section */
.benefits {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.benefit-card {
  background-color: var(--white);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 2rem;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
}

.benefit-icon {
  font-size: 2rem;
  color: #22c55e;
  margin-bottom: 1.2rem;
  display: inline-block;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.benefit-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.15rem;
  color: #1f2937;
  font-weight: 600;
}

.benefit-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Section-specific animations for new sections */
.problems .section-title {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.problems .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.workflow .section-title {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.workflow .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.benefits .section-title {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.benefits .section-subtitle {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Card animations for new sections */
.problem-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.problem-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.problem-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.problem-card:nth-child(4) {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.workflow-step:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.workflow-step:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.workflow-step:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.workflow-step:nth-child(4) {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.workflow-step:nth-child(5) {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.workflow-step:nth-child(6) {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.workflow-step:nth-child(7) {
  animation: fadeInUp 0.6s ease-out 0.7s both;
}

.workflow-step:nth-child(8) {
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.benefit-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.benefit-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.benefit-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.benefit-card:nth-child(4) {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.benefit-card:nth-child(5) {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.benefit-card:nth-child(6) {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Icon animations for new sections */
.problem-icon {
  animation: pulse 2s ease-in-out infinite;
}

.problem-icon:nth-child(2) {
  animation-delay: 0.3s;
}

.problem-icon:nth-child(3) {
  animation-delay: 0.6s;
}

.problem-icon:nth-child(4) {
  animation-delay: 0.9s;
}

.benefit-icon {
  animation: pulse 2s ease-in-out infinite;
}

.benefit-icon:nth-child(2) {
  animation-delay: 0.3s;
}

.benefit-icon:nth-child(3) {
  animation-delay: 0.6s;
}

.benefit-icon:nth-child(4) {
  animation-delay: 0.9s;
}

.benefit-icon:nth-child(5) {
  animation-delay: 1.2s;
}

.benefit-icon:nth-child(6) {
  animation-delay: 1.5s;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-inner {
    gap: 1.5rem;
  }
  .integration-inner,
  .security-inner {
    flex-direction: column;
    text-align: center;
  }
  .integration-content,
  .security-content {
    max-width: 100%;
  }
  .integration-image,
  .security-image {
    max-width: 100%;
  }
  .nav-links ul {
    gap: 1rem;
  }
  .logo-img {
    height: 50px;
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    background-color: var(--white);
    width: 220px;
    height: calc(100vh - 70px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.05);
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .nav-links ul {
    flex-direction: column;
    gap: 1rem;
  }
  .hamburger {
    display: flex;
  }
  .logo-img {
    height: 45px;
    max-width: 150px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .cards-grid {
    gap: 1rem;
  }
  .service-card {
    flex: 1 1 100%;
  }
  .packages-grid {
    gap: 1rem;
  }
  .package-card {
    flex: 1 1 100%;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-links,
  .footer-contact,
  .footer-social {
    flex: 1 1 100%;
    max-width: 300px;
    margin-bottom: 1.5rem;
  }
  .problems-grid,
  .workflow-container,
  .benefits-grid {
    gap: 1rem;
  }
  .problem-card,
  .workflow-step,
  .benefit-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/*
 * Previously we forced the navigation bar to be light using !important declarations.
 * These overrides have been removed to allow the dark navigation bar defined above
 * to display correctly.
 */