/*--------------------------------------------------------------
# Homepage Redesign Styles
--------------------------------------------------------------*/

/* Hero Section - New Design */
.hero-new {
  padding: 120px 0 60px 0;
  background: #fff;
}

.min-vh-75 {
  min-height: 75vh;
}

@media (max-width: 991px) {
  .hero-new {
    padding: 100px 0 40px 0;
    text-align: center;
  }
  
  .hero-new h1 {
    font-size: 2rem !important;
  }
  
  .hero-new .lead {
    font-size: 1.1rem;
  }
  
  .min-vh-75 {
    min-height: auto;
  }
}

/* Gradient Background for Comparison Section */
.bg-gradient {
  background: linear-gradient(135deg, #9b59b6 0%, #3498db 25%, #2ecc71 50%, #f39c12 75%, #e74c3c 100%) !important;
}

/* Comparison Boxes */
.comparison-box {
  min-height: 380px;
}

@media (max-width: 991px) {
  .comparison-box {
    min-height: auto;
  }
}

/* Use Case Cards */
.card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .card-img-top {
    height: 200px;
  }
}

/* Result Boxes */
.result-box {
  border-left: 4px solid #28a745;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Adjust scroll offset for fixed header */
section {
  scroll-margin-top: 100px;
}

/* Button improvements */
.btn-primary {
  background: #4154f1;
  border-color: #4154f1;
}

.btn-primary:hover {
  background: #5465f2;
  border-color: #5465f2;
}

.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

/* Pricing card featured border */
.border-primary.border-3 {
  border-width: 3px !important;
}

/* FAQ Accordion improvements */
.accordion-button:not(.collapsed) {
  background-color: #f6f9ff;
  color: #4154f1;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,.125);
}

/* Contact form improvements */
.contact .card {
  border-radius: 8px;
}

.contact .form-label {
  font-weight: 600;
  color: #012970;
  margin-bottom: 0.5rem;
}

.contact .form-control:focus {
  border-color: #4154f1;
  box-shadow: 0 0 0 0.25rem rgba(65, 84, 241, 0.25);
}

/* Loading spinner */
.spinner-border {
  width: 2rem;
  height: 2rem;
  border-width: 0.25em;
}

/* Alert improvements */
.alert {
  border-radius: 8px;
}

/* Header fix - always white background, fixed position */
.header {
  background: #fff !important;
  position: fixed !important;
  width: 100% !important;
  top: 0 !important;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.05) !important;
}

/* Add body padding to prevent content from hiding under fixed header */
body {
  padding-top: 80px;
}

/* Clients section - Remove faded appearance */
.clients .clients-slider .swiper-slide img {
  opacity: 1 !important; /* Full opacity by default instead of faded */
}

/* Responsive improvements */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  body {
    padding-top: 70px;
  }
}

/* Improve header spacing on new hero */
@media (min-width: 992px) {
  .hero-new {
    padding-top: 140px;
  }
}
