/* Custom styles for smooth scrolling and font */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F8F8; /* Light background similar to the image, representing part of the 70% white */
}
/* Basic styling for section padding */
section {
    padding: 4rem 0; /* Consistent vertical padding for sections */
}
/* Custom class for the main rounded container */
.main-content-container {
    border-radius: 2rem; /* More pronounced rounded corners for the main body */
    overflow: hidden; /* Ensures content inside respects border-radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
/* Custom animation for fade-in */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* New Mobile Menu Styles */
.menu-button {
    display: none; /* Hidden by default, shown on mobile */
    position: fixed; /* Fixed position relative to viewport */
    top: 20px;
    right: 20px;
    z-index: 1001; /* Above other content */
    background: none;
    border: none;
    cursor: pointer;
    width: 25px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.menu-button span {
    display: block;
    height: 4px;
    background-color: #000; /* Black for menu icon lines */
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.menu-button:hover span,
.menu-button:active span {
    background-color: #00529B; /* Blue on hover/active */
}

@media (max-width: 768px) { /* Show menu button on screens up to 768px wide */
    .menu-button {
        display: flex;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    display: none; /* Hidden by default */
    justify-content: flex-end; /* Align menu container to the right */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.menu-container {
    width: 70%; /* Width of the sliding menu */
    max-width: 300px; /* Max width for larger mobile devices */
    height: 100%;
    background-color: rgba(255, 250, 250, 250); /* Semi-transparent blue background */
    padding: 30px 20px;
    position: relative;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000070; /* Navy border */
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    /* Frosted glass effect */
}

.overlay.active .menu-container {
    transform: translateX(0); /* Slide into view */
}

body.menu-open .menu-button {
  display: none !important;
}

}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 26px;
    color: #000080; /* Navy color for close button */
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: #00529B; /* Blue on hover */
}

.menu-container ul {
    list-style: none;
    padding: 0;
    margin-top: 60px;
}

.menu-container ul li {
    margin: 20px 0;
}

.menu-container ul li a {
    text-decoration: none;
    color: #000080; /* Navy for menu links */
    font-size: 18px;
    transition: color 0.3s ease;
    display: block; /* Make links clickable across their area */
    padding: 10px; /* Add padding for easier tapping */
    border-radius: 5px; /* Slightly rounded corners for links */
}

.menu-container ul li a:hover {
    color: #00529B; /* Blue on hover */
    background-color: rgba(0, 123, 255, 0.1); /* Subtle background on hover */
}


/* Modal specific styles (unchanged) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.open .modal-content {
    transform: translateY(0);
}
.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Package Card Specific Adjustments for Mobile */
/* Default styling for package cards (small screens first) */
.package-card {
    padding: 1rem; /* Smaller padding on mobile */
}

.package-card .text-3xl { /* Icon size */
    font-size: 2rem; /* Smaller icon on mobile */
}

.package-card .text-lg { /* Package title */
    font-size: 1.125rem; /* Smaller title on mobile */
}

.package-card .text-base { /* Price text */
    font-size: 0.875rem; /* Smaller price text on mobile */
}

/* Adjustments for larger screens (sm, md, lg breakpoints) */
@media (min-width: 640px) { /* sm breakpoint */
    .package-card {
        padding: 1.5rem;
    }
    .package-card .text-3xl {
        font-size: 2.5rem;
    }
    .package-card .text-lg {
        font-size: 1.25rem;
    }
    .package-card .text-base {
        font-size: 1rem;
    }
}

@media (min-width: 768px) { /* md breakpoint */
    .package-card {
        padding: 2rem;
    }
    .package-card .text-3xl {
        font-size: 3rem;
    }
    .package-card .text-lg {
        font-size: 1.5rem;
    }
    .package-card .text-base {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) { /* lg breakpoint */
    .package-card {
        padding: 2rem; /* Original padding */
    }
    .package-card .text-3xl {
        font-size: 3rem; /* Original icon size */
    }
    .package-card .text-lg {
        font-size: 1.5rem; /* Original title size */
    }
    .package-card .text-base {
        font-size: 1rem; /* Original price text size */
    }
}