/* ================================================================
  Mountenna Edu - Custom Stylesheet
  Version: 1.1
================================================================
*/

/* --- 1. Font Definitions & Basic Styles --- */
:root {
  --theme-primary: #c1282e;
  --theme-primary-dark: #a02026;
  --theme-light-bg: #fef2f2; /* A very light red for backgrounds */
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f8fafc;
  scroll-behavior: smooth;
  color: #374151; /* gray-700 */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: #1f2937; /* gray-800 */
}

/* --- 2. Premium Form Input Styles --- */
.form-input-premium {
  width: 100%;
  padding: 0.75rem 1rem; /* 12px 16px */
  font-size: 0.875rem;
  background-color: #f9fafb; /* bg-gray-50 */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.5rem; /* rounded-lg */
  transition: all 0.2s ease-in-out;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.form-input-premium:focus {
  outline: none;
  background-color: white;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(193, 40, 46, 0.2), 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transform: translateY(-1px);
}

.form-upload-premium {
  width: 100%;
  font-size: 0.875rem;
  color: #6b7280;
  cursor: pointer;
}
.form-upload-premium::file-selector-button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: #fee2e2; /* red-100 */
  color: #b91c1c; /* red-700 */
  transition: background-color 0.2s;
}
.form-upload-premium::file-selector-button:hover {
  background-color: #fecaca; /* red-200 */
}

/* --- 3. Custom Backgrounds & Gradients --- */
.hero-bg {
  background-color: var(--theme-light-bg);
}

.gradient-text {
  background: linear-gradient(
    90deg,
    var(--theme-primary),
    var(--theme-primary-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header-bg {
  background: linear-gradient(
    135deg,
    #f87171,
    var(--theme-primary)
  ); /* red-400 to theme color */
}

.trusted-section-bg {
  background: linear-gradient(
    125deg,
    var(--theme-primary),
    var(--theme-primary-dark) 80%
  );
}

.cta-gradient-bg {
  background: linear-gradient(
    125deg,
    #ef4444,
    var(--theme-primary),
    var(--theme-primary-dark)
  );
}

/* --- 4. Animation Keyframes --- */
@keyframes breathing {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float2 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 5. Animation Utility Classes --- */
.animate-breathing {
  animation: breathing 2.5s ease-in-out infinite;
}

.floating-card {
  animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
  animation: float2 5s ease-in-out infinite;
}

.animate-fade-in-left {
  animation: fadeInLeft 1s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 1s ease-out forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(230, 0, 0) !important;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  box-shadow: 3px 3px 8px #ff494940;
}
