@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@400;700&display=swap");

:root {
  --primary: #ffffff;
  --secondary: #64748b;
  --accent: #055c9d;
  --accent-light: #0e86d4;
  --accent-soft: #68bbe3;
  --surface: #ffffff;
  --text: #2d2d2d;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --background-light: #f4f4f4;
  --background-gradient: linear-gradient(#003060, #fefefe);
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
}

body .fade-in-up {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.6s ease, transform 0.6s ease !important;
}
body .fade-in-up.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 80px;
}

.heading {
  font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: inherit;
  color: var(--primary);
}

h1 {
  font-size: 4em;
  font-weight: 700 !important;
}
h2 {
  font-size: 2.5em;
}
h3 {
  font-size: 36px;
}
p {
  font-size: 14px;
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-social a {
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--accent);
}

.text-accent-light {
  color: var(--accent-light);
}

.bg-accent {
  background-color: var(--accent);
}

.bg-accent-light {
  background-color: var(--accent-light);
}

.bg-accent-soft {
  background-color: var(--accent-soft);
}

.card-white {
    background: var(--surface);
    border: 1px solid transparent;         /* invisible by default */
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: border-color .3s ease;
}
.card-white:hover {
    border-color: var(--accent-soft);      /* accent border on hover */
}

.card-white img {
  transition: filter .3s ease;
}
.card-white:hover img {
  filter: brightness(1.05) saturate(1.1);
}

.counter {
    font-variant-numeric: tabular-nums;
    font-size: 48px; /* Adjust size as needed */
    font-weight: bold;
    color: #333; /* Example color */
    transition: all 0.5s ease;
}

.hover\:bg-accent:hover {
  background-color: var(--accent);
}

.hover\:bg-accent-light:hover {
  background-color: var(--accent-light);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-hover {
  will-change: transform;
}

.blog-card {
  will-change: transform;
}

.btn,
.button,
button[type="submit"] {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  background-color: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background-color 0.1s, border-color 0.1s, color 0.1s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover,
.button:hover,
button[type="submit"]:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  color: #000000;
  transform: scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.1s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost-light:hover {
  color: #0b1324;
}

.content-main {
  padding: 2rem;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.bento-item {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.bento-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: 8px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

/* Global nav (left) - REMOVED: Replaced with horizontal top navigation */

/* Page wrapper */
#page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

main {
  flex: 1;
  /* padding: 2rem; */
  overflow: auto;
}

footer {
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
  padding: 1.5rem;
}

/* Cookie consent styles */
.cookie-consent-link {
  color: var(--accent);
}
.cookie-accept-btn {
  background-color: var(--accent);
}
.cookie-accept-btn:hover {
  background-color: var(--accent-light);
}
.cookie-accept-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-copyright {
  color: #f4f4f4;
}

/* Mobile styles */
@media (max-width: 1024px) {
  .content-main {
    padding: 1rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide hamburger on desktop - REMOVED: No longer using hamburger navigation */

/* Logo Scroller */
.logo-scroller {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-scroller-row {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  margin-bottom: 1rem;
}

.logo-scroller.scroller--paused .logo-scroller-row {
  animation-play-state: paused;
  justify-content: center; /* Center the logos when paused */
  width: 100%;
}

.logo-scroller-row img {
  height: 60px;
  margin: 0 2rem;
  filter: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.logo-scroller-row img:hover {
  opacity: 1;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive Headings */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 2em;
  }
  h3 {
    font-size: 1.75em;
  }
}

@media (max-width: 600px) {
  #auto-video iframe,
  #auto-video video {
    width: 90vw !important;
    height: auto !important;
  }

  #close-video {
    top: 5px !important;
    right: 5px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Allow logo scroller animation even with reduced motion */
  .logo-scroller-row {
    animation-duration: 40s !important;
    animation-iteration-count: infinite !important;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  color: #ffffff;
  background: linear-gradient(to bottom, rgba(0, 48, 96, 0.5) 0%, rgba(5, 92, 157, 0.5) 40%, rgba(14, 134, 212, 0.5) 100%);
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.hero-title {
  font-size: 5vh;
  font-family: "Montserrat", sans-serif;
  color: #fefefe;
  text-align: left;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.6em;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

/* Services Section */
.services-section {
  padding: 75px 20px;
  background-color: #ffffff;
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-intro {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.services-intro-left,
.services-intro-right {
  flex: 1;
}

.services-intro h2 {
  font-size: 36px;
  font-family: "Montserrat", sans-serif;
  color: #2d2d2d;
}

.services-intro p {
  font-size: 18px;
  color: #2d2d2d;
}

.services-grid {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.service-box {
  width: 33.33%;
  background: linear-gradient(#f4f4f4, #fefefe);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: left;
}

.service-box-icon {
  color: var(--accent);
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-box-heading {
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.service-box-text {
  color: #2d2d2d;
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.1s;
}

.cta-link:hover {
  color: var(--accent-light);
}

.cta-link .arrow {
  margin-left: 5px;
  transition: transform 0.1s;
}

.cta-link:hover .arrow {
  transform: translateX(3px);
}

/* Blog Section */
.blog-section {
  padding: 75px 20px;
  background-color: #f4f4f4;
}

.blog-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.blog-heading {
  font-size: 36px;
  font-family: "Montserrat", sans-serif;
  color: #2d2d2d;
  text-align: center;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-family: "Montserrat", sans-serif;
  color: #2d2d2d;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 15px;
}

.blog-card .cta-link {
  font-size: 14px;
}

/* CTA Sections */
.cta-section {
  padding: 75px 20px;
  background-color: #ffffff;
}

.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  font-size: 2.5em;
  font-family: "Montserrat", sans-serif;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2em;
  color: #64748b;
  margin-bottom: 30px;
}

.cta-image {
  flex: 1;
  text-align: center;
}

.cta-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.cta-reverse .cta-inner {
  flex-direction: row-reverse;
}

/* Testimonial Section */
.testimonial-section {
  padding: 75px 20px;
  background-color: #f4f4f4;
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
}

.testimonial-quote {
  font-size: 1.5em;
  font-style: italic;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 1.1em;
  color: #64748b;
}

/* Footer CTA Section */
.footer-cta-section {
  padding: 75px 20px;
  background: linear-gradient(to bottom, var(--accent-light) 0%, var(--accent) 100%);
  color: #ffffff;
}

.footer-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.footer-cta-inner h2 {
  font-size: 2.5em;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
  color: white;
}

.footer-cta-inner p {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

/* Responsive Image Visibility */
.image-hide-mob {
  display: block;
}

.image-hide-dt {
  display: none;
}

/* Service Box Left Alignment */
.service-box {
  text-align: left !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 60px 20px;
  }
  .hero-title {
    font-size: 2.8em;
  }
  .hero-description {
    font-size: 1.4em;
  }
  .hero-inner {
    flex-direction: column;
    text-align: left;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-reverse .cta-inner {
    flex-direction: column;
  }
  .testimonial-quote {
    font-size: 1.2em;
  }
  .footer-cta-inner h2 {
    font-size: 2em;
  }
  .image-hide-mob {
    display: none;
  }
  .image-hide-dt {
    display: block;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 120px 20px 60px;
  }
  .hero-title {
    font-size: 1.8em;
  }
  .hero-description {
    font-size: 1.2em;
  }
  .services-intro {
    flex-direction: column;
    text-align: left;
  }
  .services-grid {
    flex-direction: column;
  }
  .service-box {
    width: 100%;
    margin-bottom: 40px;
  }
}

/* from ai-automation/index.html */
/* /assets/style.css */

/* Existing styles... */

/* New styles from ai-automation-style.css */
main .hero-section {
  min-height: 100vh;
  padding: 80px 20px;
  color: #ffffff;
  margin-bottom: 30px;
}

main .hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

main .hero-content {
  flex: 1;
  max-width: 720px;
}

main .hero-title {
  font-size: 4em;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
  line-height: 1.2;
}

main .hero-description {
  font-size: 1.6em;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

main .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  max-width: 260px;
}

main .hero-actions .btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  padding: 12px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

main .hero-actions .btn-ghost-light:hover {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  border-color: #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.6), 0 0 40px rgba(250, 204, 21, 0.3);
  color: #fef9c3;
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}

@media (min-width: 992px) {
  main main {
    padding: 0;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  main .hero-title {
    font-size: 1.8em;
  }
  main .hero-description {
    font-size: 1.2em;
  }
  main .hero-actions {
    max-width: 100%;
  }
}

/* ========================================= */
/* AI Automation Page Styles */

/* Glass Card Styles */
.ai-page .glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@supports not (backdrop-filter: blur(10px)) {
  .ai-page .glass-card {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* Light Glass Card */
.ai-page .glass-card-light {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

@supports not (backdrop-filter: blur(10px)) {
  .ai-page .glass-card-light {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}

/* Hover Lift Effect */
.ai-page .hover-lift {
  transition: all 0.3s ease;
}

.ai-page .hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Glow Button */
.ai-page .glow-button {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.ai-page .glow-button:hover {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
  transform: scale(1.05);
}

/* Enhanced Gradient Text - using more specific selector for ai-automation page */
.ai-page .gradient-text-cyan {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text color override for AI automation page */
.ai-page p,
.ai-page span,
.ai-page label,
.ai-page .text-gray-600,
.ai-page .text-gray-700,
.ai-page .text-gray-900 {
  color: #003060;
}

/* Range Slider */
.ai-page .range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
}

.ai-page .range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22d3ee;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ai-page .range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22d3ee;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Timeline Styles */
.ai-page .timeline-stage {
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-page .timeline-stage-left {
  padding-right: 2rem;
  text-align: right;
}

.ai-page .timeline-stage-right {
  padding-left: 2rem;
}

.ai-page .stage-details {
  max-height: 0;
  height: auto;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.ai-page .timeline-stage.expanded .stage-details {
  max-height: none;
  opacity: 1;
}

/* Mobile responsive timeline */
@media (max-width: 768px) {
  .ai-page .timeline-stage-left,
  .ai-page .timeline-stage-right {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
  }
}

/* Enhanced Fade Animations */
.ai-page .fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

.ai-page .fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

.ai-page .fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

/* Chained selectors for animated state with higher specificity (0,3,0) */
.ai-page .fade-in-up.animate-in,
.ai-page .fade-in-left.animate-in,
.ai-page .fade-in-right.animate-in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* Typewriter Effect */
.ai-page .typewriter {
  opacity: 1;
}

.ai-page .js-enabled .typewriter {
  opacity: 0;
}

/* Use Cases Grid */
.ai-page .usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ai-page .usecases-grid > * {
  height: 100%;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ai-page .hover-lift:hover {
    transform: none;
  }

  .ai-page .glow-button:hover {
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    transform: none;
  }

  .ai-page .stage-details {
    transition: none;
  }

  .ai-page .fade-in-up,
  .ai-page .fade-in-left,
  .ai-page .fade-in-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

