
body {
  font-family: "Inter", sans-serif;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated word styling - semi-transparent dark color #070F2980 */
.animated-word {
  color: rgba(7, 15, 41, 0.5);
  display: inline-block;
  min-width: 180px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.animated-word.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.animated-word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Vector image container - full width, extends under CoreCare */
.vector-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 750px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.vector-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}
.gra-bg {
  background-color: white;
}

.gradient-bg {
  background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
}

.gradient-border {
  /* background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%); */
  padding: 2px;
  border-radius: 1rem;
}

.gradient-border-inner {
  background: white;
  border-radius: calc(1rem - 2px);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sector-card {
  transition: transform 0.3s ease;
}

.sector-card:hover {
  transform: rotate(0deg) !important;
}

/* Decorative curve */
.decorative-curve {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 400px;
  pointer-events: none;
  z-index: 0;
}

/* Wavy lines */
.wavy-section {
  position: relative;
}

.wavy-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.2),
    transparent
  );
  transform: translateY(-50%);
}

/* Mobile menu */
.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

.horlin {
  width: 84.5%;
  margin: auto;
  height: 1px;
  background-color: black;
}

.horlin2 {
  /* width: 99%; */
  margin: auto;
  height: 2.2px;
  background-color: black;
}

/* Editable content styles */
.editable-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.edit-icon {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  z-index: 10;
  border: none;
}

.editable-container:hover .edit-icon {
  opacity: 1;
}

.edit-icon:hover {
  transform: scale(1.1);
}

.edit-icon svg {
  width: 14px;
  height: 14px;
  color: white;
}

.editable-text {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: 4px;
}

/* Quill Editor Styles */
.quill-wrapper {
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.quill-wrapper .ql-toolbar {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 8px 8px 0 0;
  padding: 8px;
}

.quill-wrapper .ql-container {
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.quill-wrapper .ql-editor {
  min-height: 80px;
  padding: 12px;
  font-family: 'Inter', sans-serif;
}

.quill-wrapper .ql-editor p {
  margin: 0;
}

.quill-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #e5e7eb;
}

.quill-save-btn {
  background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.quill-save-btn:hover {
  opacity: 0.9;
}

.quill-cancel-btn {
  background: #e5e7eb;
  color: #374151;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.quill-cancel-btn:hover {
  background: #d1d5db;
}

/* Hide original text when editing */
.editable-text.editing-quill {
  display: none;
}
