/* index.css (migrated from home.css) */

/* Auto-split from styles.css on refactor.
   File: pages/home.css
   NOTE: Review and adjust as needed. */

/* === SECTIONS / HERO === */
section {
  padding: 56px 0;
}
/* === Home Page Icon Tweaks === */
.brand {
  font-size: 25px;
}

.card {
  transition: transform 0.25s, box-shadow 0.25s ease;
  width: 60%;
  margin: 0 auto;
}

.cards {
  gap: 35px;
}

.card:hover {
  transform: translate(-6px);
  box-shadow: 0 7px 0 -2px #0052A3,
  0 15px 0 -4px #0066CC,
  0 16px 10px -3px #007AF5;
}

.card:active{
 transition: all 0.2s;
 transform: translateY(-5px);
 box-shadow: 0 2px 0 -2px #0052A3,
  0 8px 0 -4px #0066CC,
  0 12px 10px -3px #007AF5;
}

.cards .card-icon {
  width: 36px;
  height: 36px;
  transform: translate(-6px);
}

.cards .card-icon img,
.cards .card-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.card-icon{
  margin: 0 auto;
}

.hero {
  color: #F3F5F7;
  border-bottom: none;
  padding: 125px 0px 150px;
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
  gap: 28px;
  text-align: center;
}

.hero .container > div {
  grid-column: 1 / 4;  
}

.hero .container figure {
  grid-column: 4 / 5;
  justify-self: center; 
}

.hero .btn {
  color: #fff;
  background: var(--accentGradient);
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  color: #003F7D;
}

.hero p {
  margin: 0 0 18px;
  color: #003F7D;
  font-size: clamp(20px, 1.2vw, 24px);
}

.hero h2 {
  padding-bottom: 30px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.actions .btn {
  transition: all 0.4s ease;
}

.actions .btn:hover {
  transform: translateY(-7px);
   box-shadow: 0 7px 0 -2px #0052A3,
  0 15px 0 -4px #0066CC,
  0 16px 10px -3px #007AF5;
}

.actions .btn:active {
transition: all 0.2s;
 transform: translateY(-5px);
 box-shadow: 0 2px 0 -2px #0052A3,
  0 8px 0 -4px #0066CC,
  0 12px 10px -3px #016f52;
}

/*how it works sections */
.info {
  position: relative;
  padding: 15px 50px 50px;
  background-color: #fff;
  margin: 0 auto;
  border: 2px solid #858585;
}

.info h2 {
  font-size: 35px;
  color: var(--secondColor);
  text-align: center;
}

.info h3, .info p {
  font-size: 20px;
}

.info hr {
  width: 60%;
  border: none;
  background-color: #003F7D;
  height: 5px;
  margin-bottom: 30px;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step {
  margin-bottom: 25px;
}

.step-box {
  background-color: #fff;
  border-radius: 5px;
  margin: 0 auto;
  text-align: center;
  height: 100%;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow:  15px 15px 30px #d3dbeb,
             -15px -15px 30px #edf7ff;
}

/* Disc animation */
.disc {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.spin {
  animation: spin 5s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* fade in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* featured & start order sections*/
.featured-wrapper {
  background-color: #f6f8f9;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  padding: 20px 80px;
}

.featured-wrapper h1 {
  display: flex;
}

.start-order, .featured-season {
  background-color: #F3F5F7;
  border-radius: 5px;
  padding: 40px 0px 60px;
  width: 70%;
  margin: 0 auto;
  border: solid 2px #858585;
  box-shadow:  0px 0px 20px #858585;
}

.start-order h2, .start-order p, .start-order .card,
.featured-season h2, .featured-season p, .featured-season .card {
  text-align: center;
}

/*get started header & hr */
.get-started {
  text-align: center;
  padding-top: 30px;
  font-size: 45px;
  color: var(--secondColor);
}
.start-hr {
  width: 50%;
  border: none;
  background-color: #003F7D;
  height: 5px;
}

/* text focus animation */
.text-focus-in-normal { 
  opacity: 0;
  filter: blur(12px);
  will-change: opacity, filter, transform;
  animation-name: text-focus-in;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

@keyframes text-focus-in {
  0% { 
    filter: blur(12px); 
    opacity: 0; 
  } 
  100% { 
    filter: blur(0px); 
    opacity: 1;
  } 
}

/*background for main */
.circle{
  position: absolute;
  border-radius: 50%;
  background: var(--mainColor);
  box-shadow: 0px 0px 1px 0px #508fb9;
  animation: ripple 20s infinite;
  opacity: 0.10;
}

.small{
  width: 200px;
  height: 200px;
  left: -200px;
  bottom: -200px;
}

.medium{
  width: 400px;
  height: 400px;
  left: -300px;
  bottom: -300px;
}

.large{
  width: 600px;
  height: 600px;
  left: -400px;
  bottom: -400px;
}

.xlarge{
  width: 800px;
  height: 800px;
  left: -500px;
  bottom: -500px;
}

.xxlarge{
  width: 1000px;
  height: 1000px;
  left: -600px;
  bottom: -600px;
}

.shade1{
  opacity: 0.4;
}
.shade2{
  opacity: 0.7;
}

.shade3{
  opacity: 0.7;
}

.shade4{
  opacity: 0.8;
}

.shade5{
  opacity: 0.9;
}

@keyframes ripple{
  0%{
    transform: scale(0.8);
  }
  
  50%{
    transform: scale(1.2);
  }
  
  100%{
    transform: scale(0.8);
  }
}

