body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #e8d5d5; 
 
}

main {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  
  
}

.content-button {
    background: #7d5a7d;
    color: white;
    height: 100px;          
    padding: 0;            
    border: none;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(125, 90, 125, 0.5);

    display: flex;          
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.3;
}


.container
{
    background-color: #F9DFDC;
}

.footer_section {
   
  
    text-align: center;
    font-size: 14px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    z-index: 10;
}


/*inkpot*/
      .right-decor 
      {
    position: fixed;
    right: 0;
    top: 250px;
    z-index: 1;
}

.right-decor img 
{
    width: 208px;
    height:255px;
    
     transform: rotate(15deg);
}

.scroll-text {
    position: absolute;
    top: 45%;
    left: 50%;
    
    cursor: pointer;
    transition: all 0.3s ease;
    
    font-style: italic;
    
    color: #8b3a00;
    transform: translate(-50%, -50%) scale(1.1);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.25);
    
             /* scroll-style text color */
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    font-family: 'Georgia', serif;

    padding: 10px;
    width: 80%;             /* keeps text inside scroll */
    line-height: 1.4;
}

@media (max-width: 768px) 
{
    .right-decor 
    {
        display: none;
    }
}

/*inkpot*/

.back-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(209, 104, 70, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    border: 2px solid white;
    transition: all 0.3s 
ease;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.service_box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
  padding: 18px 10px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  color: white;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeIn 1s ease-in-out;
}

.service_box:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
}

.icon_wrap img {
  width: 100%;
  height: 190px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: floatimg 2.5s ease-in-out infinite;
}

@keyframes floatimg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.service_box:hover .icon_wrap img {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(255, 206, 84, 0.4);
}

.service_title 
{
  font-size: 14px;
  font-weight: 600;
}

.text-purple {
  color: #9b59b6 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) 
{
  main {
    padding-bottom: 120px;
  }
  .icon_wrap img 
  {
    width: 100%;
    height: 134px;
  }
  
  .service_title 
  {
    font-size: 9px;
  }
  
  .content-button
  {

    font-size:18px !important;
  }
  
}

@media (max-width: 1024px)
{
    .content-button
  {

    font-size:18px !important;
  }
}


@media (max-width: 480px) 
{
  .icon_wrap img 
  {
    width: 100%;
    height: 135px;
  }
  
  .service_title 
  {
    font-size: 9px;
  }
  
}
