 
  /*<!-- heading for season page -->*/
 
 .head {
    display: flex;
    justify-content: center;  
    align-items: center;       
    gap: 10px;                 
    flex-direction: row;      
    margin: 10px 0;            
    text-align: center;

    background: linear-gradient(270deg, #ff9a9e, #fad0c4, #fad0c4, #a18cd1, #fbc2eb);
    background-size: 1000% 1000%;
    animation: animateBG 12s ease infinite;
    padding: 40px 20px;
    color: white;
    text-align: center;
}

@keyframes animateBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}
 
.head h1 {
    font-family: Georgia, serif;
    animation: fadeInUp 1s ease-in-out forwards;
    opacity: 0;
    color: black;
    font-size: 150%;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.head a {
        position: absolute;
        left: 0;
        margin-left: 20px;
        color: brown;
        text-decoration: none;
        font-size: 16px;
}


 /*<!-- heading for 4 seasonal page -->*/
.heading {
    display: flex;
    justify-content: center;   
    align-items: center;       
    gap: 10px;             
    flex-direction: row;       
    margin: 10px 0;            
    text-align: center;

    background: radial-gradient(circle at center, #5ee7df, #b490ca);
    background-size: 200% 200%;
    animation: auroraLight 8s ease-in-out infinite;
    padding: 40px;
    color: white;
}

@keyframes auroraLight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-icon {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.heading h2 {
    color: black;
    font-size: 150%;
    overflow: hidden;
    white-space: nowrap;

    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    50% { transform: rotate(-1deg); }
    75% { transform: rotate(1deg); }
}

.heading a {
        position: absolute;
        left: 0;
        margin-left: 20px;
        color: brown;
        text-decoration: none;
        font-size: 16px;
}

.destination-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    grid-template-rows: repeat(2, 1fr);     
    gap: 20px;  
    margin-top: 2rem;
}

.destination-container .box{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 0.5rem;
}

.destination-container .box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
  }


.destination-container .box img {
    width: 80%; /* Ensure image width is 100% of the box */
    height: auto; /* Allow height to adjust automatically based on the image's aspect ratio */
    max-height: 300px; /* Ensure a maximum height for images */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    object-position: center; /* Keep the image centered */
}

.destination-container .box h2{
    font-size: 1.7rem;
    font-weight: 800;
}

.destination-container .box span{
    font-size: 20px;
    font-weight: 00;
    margin-bottom: 1rem;
}

/*<!-- for buttn in season page -->*/
.click{
    padding:0.6rem 1rem;
    color:brown;
    font-weight: 100%;
    border-radius: 5rem;
    display: flex;
    align-items:center;
    justify-content: space-between;
    column-gap: 00.5rem;
    max-width:160px;
}

.click.bx{
    padding:4px;
    background: blue;
    color:white;
    border-radius: 1rem;
    font-size: 20;
    margin:auto;
}

.click:hover{
    color:lightpink;
    transition: 0.2s ease;
}

.box1{
background : #fef4ea;
}

.box2{
    background : #e9f4e3; 
}

.box3{
    background : #faeaea;  
}

.box4{
    background : #eeeef9; 
}

 /*<!-- for buttn in 4 seasonal page -->*/
.buttn{
    padding:0.2rem 0.5rem;
    background: white;
    color:black;
    font-weight: 300;
    border-radius: 2rem;
    display: flex;
    align-items:center;
    justify-content: space-between;
    column-gap: 00.5rem;
    max-width:160px;
}

.buttn.bx{
    padding:4px;
    background: blue;
    color:white;
    border-radius: 1rem;
    font-size: 20;
    margin:auto;
}

.buttn:hover{
    background:rgb(195, 193, 190);
    transition: 0.2s ease;
}
 /*<!-- Making Responsive -->*/

 /* For tablets and smaller screens */
  @media (max-width: 1024px) {
    .destination-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .destination-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .head, .heading {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .back-link {
        justify-content: center;
        margin: 0 auto;
        padding-bottom: 10px;
    }

    .click, .buttn {
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
}
