/* Critical CSS for above-the-fold content - IMSOLD */

/* Base styles */
html,
body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Hero section critical styles */
.hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  background: white;
  overflow: hidden;
}

.hero-title {
  font-size: 8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e293b, #475569);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1e293b;
  display: block;
  visibility: visible;
}

.hero-subtitle {
  color: #64748b;
  font-size: 1.5rem;
  margin-bottom: 48px;
  display: block;
}

.hero-btn, .mail-btn {
  border-radius: 2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #1e293b, #475569);
  font-size: 1.125rem;
  width: 156px;
  color: white;
  text-decoration: none;
  display: inline-flex;
  visibility: visible;
}

.hero-btn:hover, .mail-btn:hover {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px) !important;
  transition: transform 0.3s ease-in-out !important;

}

.hero-btn:hover svg {
  transform: translateX(4px);
}

.mail-btn:hover svg {
  transform: scale(1.1);
}

.hero-btn svg {
  width: 0.85rem;
  height: 0.85rem;
  transition: all 0.2s ease-in-out;
}

.down-arrow {
  width: 1.5rem;
  height: 1.5rem;
  color: #9ca3af;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Bootstrap critical classes for hero section */
.min-vh-100 {
  min-height: 100vh !important;
}

.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.text-center {
  text-align: center !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.w-100 {
  width: 100% !important;
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-dark {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.border-0 {
  border: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.display-1 {
  font-size: calc(1.625rem + 4.5vw);
  font-weight: 300;
  line-height: 1.2;
}

.fw-bold {
  font-weight: 700 !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.overflow-hidden {
  overflow: hidden !important;
}

.container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.w-full {
  width: 100% !important;
}

/* Responsive design for hero */
@media(max-width: 991.98px) {
  .hero-title {
    font-size: 6rem;
  }
}

@media(max-width: 575.98px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

/* Ensure visibility for Speed Index */
html,
body {
  visibility: visible !important;
}