
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    height: 110%;
    background-repeat: repeat;
    background-position: right center;
    background-size: 400% 400%;
    background: linear-gradient(135deg, #D4F1F4 25%, #75E6DA 50%, #189AB4 75%, #05445E);
    animation: aurora 12s ease infinite;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #343A40;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    margin-bottom: 10px;
    top: 20px;
    z-index: 1000;
    border-radius: 15px;
}

  
  .navbar-logo img {
    max-height: 30px;
    transition: opacity 0.3s ease;
  }
  
  .navbar-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .navbar-links li {
    margin-right: 20px;
  }
  
  .navbar-links a {
    text-decoration: none;
    color: #000;
    font-weight: bold; 
  }
  .navbar-button {
    background-color: #0D445D;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
  }
  
  .navbar-button:hover {
    background-color: #e8921e;
  }
  
  .navbar-logo img:hover {
    transform: scale(1.05) rotate(5deg);
    transition: transform 0.3s ease;
}

/* Aurora animation keyframes */
@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container-fluid {
    width: 90%;
    padding: 20px; /* Adjust padding as needed */
    box-sizing: border-box;
}

.row {
    display: flex;
    justify-content: space-between; /* Ensure the cards are spread out */
    align-items: stretch; /* Ensure all cards are the same height */
    width: 100%;
    margin: 0;
}


/* Container for cards */
.container {
    display: flex;
    justify-content: space-between; /* Distribute cards evenly across the container */
    align-items: center;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    padding-bottom: 10px;
    box-sizing: border-box;
}

/* Card styling */
.card {
    background: linear-gradient(135deg, #E0F7FA, #B2EBF2);
    border-radius: 15px;
    flex: 1; /* Let each card take equal space */
    flex-grow: 1;
    max-width: 28%;
    height: auto;
    padding-top: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #00A3A3; /* Teal border */
    padding: 32px;
    margin: 10px;
    min-width: 300px;
    min-height: 600px;
    transition: all 0.3s ease;
}

/* Expand effect on hover */
.card:hover {
    transform: scale(1.05); /* Scale effect */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2); /* Larger shadow */
}

/* Content inside the card */
.card-content {
    padding: 0 40px; /* Maintain larger padding for more space within the cards */
    text-align: center;
    height: 100%; /* Fill the card with content */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    color: #3A3A3A;
}

.card-content h2 {
    font-size: 24px; /* Slightly smaller heading to fit within the card */
    color: #1C2B39; /* Navy Blue for headings */
    margin-bottom: 20px;
}


.card img {
    width: 100%; /* Make sure the image takes full width of the card */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 32px; /* Match the card’s border radius */
    object-fit: inherit; /* Ensure the image covers the card without distortion */
    opacity: 90%;
}
.card-text-container {
    width: 100%;
    min-height: 10vh;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: -25vh;
    z-index: 100;
}

/* Fancy Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: #00A3A3; /* Blue Grotto color */
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    border: 1px solid #00A3A3; /* Teal border */
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

/* Hover effect for CTA Button */
.cta-button:hover {
    background-color: #05445E; /* Navy Blue for hover */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transform: translateY(-3px); /* Lift button */
}

.cta-button:active {
    transform: translateY(1px); /* Add depth when clicked */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}

/* Responsive layout for smaller screens */
@media (max-width: 1024px) {
    .card {
        max-width: 50%; /* Increase width on medium screens */
        height: 75%; /* Adjust height for medium screens */
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack the cards vertically */
        gap: 20px;
    }

    .card {
        width: 90%; /* Full width for each card */
        height: 50%; /* Increase height for smaller screens */
    }

    .card-content h2 {
        font-size: 24px; /* Adjust font size */
    }

    .cta-button {
        font-size: 16px; /* Adjust button size for smaller screens */
    }
}