/* Custom Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Hero Section Background */
.hero-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg1::before,
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(76, 175, 254, 0.3) 0%,
      transparent 50%
    );
  animation: pulse 15s ease-in-out infinite;
}

.hero-bg1 {
  position: relative;
  height: 100vh;
  background-image: url("../images/banner-new.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-attachment: fixed;
}

/* Color + Opacity + Blur overlay */
.hero-bg1::before {
  content: "";
  position: absolute;
  inset: 0;

  /* AI style dark-blue gradient */
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.85),
    rgba(30, 64, 175, 0.75),
    rgba(37, 99, 235, 0.7)
  );

  /* BLUR effect */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  z-index: 1;
}

/* Contact Hero Background */
.contact-hero-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease-out;
}

.contact-hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 30% 40%,
      rgba(120, 119, 198, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(76, 175, 254, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(168, 85, 247, 0.3) 0%,
      transparent 50%
    );
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Hover Effects */
.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Industries Section Background */
.industries-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

/* CTA Section Background */
.cta-bg {
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
}

/* Custom Solutions Section Background */
.custom-solutions-bg {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  position: relative;
}

.custom-solutions-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(168, 85, 247, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(59, 130, 246, 0.3) 0%,
      transparent 50%
    );
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}

/* Form Input Focus */
input:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Form Input Transitions */
input,
textarea {
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  transform: scale(1.01);
}

/* Form Parent Element Scale */
.scale-105 {
  transition: transform 0.3s ease;
}

/* Mobile Menu Transition */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
  z-index: 60;
}
header nav {
  padding: 0 50px;
}

.logo {
  width: 150px;
}
/* Logo Animation */
.logo-animate {
  transition: transform 0.3s ease;
}

.logo-animate:hover {
  transform: scale(1.05);
}

/* Footer Background */
footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
}

/* Contact Form Enhancements */
.contact-form-wrapper {
  position: relative;
  z-index: 10;
}

/* Input Focus Glow Effect */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1),
    0 4px 12px rgba(139, 92, 246, 0.15);
}

/* Submit Button Loading State */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Contact Info Cards Hover Effect */
.contact-info-card {
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateX(8px);
}

/* Business Hours Animation */
.business-hours-item {
  transition: all 0.3s ease;
}

.business-hours-item:hover {
  padding-left: 8px;
}

/* Notification Animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Map Section Styles */
.map-container {
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.map-container:hover {
  filter: grayscale(0%);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  .hero-bg,
  .contact-hero-bg {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
  }
}

/* Social Media Icons Hover */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

/* Contact Info Icon Pulse */
@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.icon-pulse:hover {
  animation: iconPulse 1s ease-in-out infinite;
}

/* Section Divider */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  margin: 0 auto;
  border-radius: 2px;
}

/* Backdrop Blur Effects */
.backdrop-blur-custom {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Form Error State */
.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.input-error:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

/* Success State */
.input-success {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* Gradient Border Effect */
.gradient-border {
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.gradient-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: inherit;
  z-index: -1;
}

/* Floating Animation for Icons */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  nav,
  footer,
  .cta-bg {
    display: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero-bg,
  .contact-hero-bg,
  .cta-bg {
    background: #1e3a8a;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Additional Project Backgrounds */
.customer-segmentation-hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  position: relative;
  overflow: hidden;
}

.customer-segmentation-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.5;
}

.customer-segmentation-cta {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  position: relative;
}

.liver-disease-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  position: relative;
  overflow: hidden;
}

.liver-disease-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.5;
}

.liver-disease-cta {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
}

.crm-analysis-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  position: relative;
  overflow: hidden;
}

.crm-analysis-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.5;
}

.crm-analysis-cta {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
}

.crowdfunding-hero {
  background: linear-gradient(
      135deg,
      rgba(127, 29, 29, 0.9),
      rgba(185, 28, 28, 0.8)
    ),
    linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  position: relative;
  overflow: hidden;
}

.crowdfunding-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.5;
}

.crowdfunding-cta {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  position: relative;
}

.bank-analytics-hero {
  background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
  position: relative;
  overflow: hidden;
}

.bank-analytics-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.5;
}

.bank-analytics-cta {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  position: relative;
}

.coming-soon-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4158d0 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.coming-soon-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );
  background-size: 50px 50px, 80px 80px, 60px 60px;
  animation: float 20s linear infinite;
}

.pulse-animation {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glow {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}