/* General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #e6e1de;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #269b87;
    color: white;
    display: fixed;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 80px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 30px;
}

header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}


nav a:hover {
    color: #ffcc00;
}


/* General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f3f1ec;
    color: #333;
    line-height: 1.6;
}


/* Background Container */

.background-container {
    background-color: white;
    /* Light background color */
    padding: 20px 20px;
    border-radius: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.background-container h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.background-container .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}


/* Section Styles */

section {
    padding: 10px 20px;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}


/* Card Styles */

.card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    border: 0.5px solid #269b87;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: fill;
}

.card-content {
    padding: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.card h3 a {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
    text-align: left;
}

.card i {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #951616;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.pay-now {
    background-color: #32bf87;
}

.pay-now:hover {
    background-color: #32bf99;
}

.subscribe {
    background-color: #32bf87;
}

.subscribe:hover {
    background-color: #32bf99;
}


/* Footer */

footer {
    margin-top: 20px;
    background-color: #083f88;
    color: #ffff;
    text-align: center;
    padding: 20px;
    position: relative;
}

footer p {
    font-size: 1rem;
    margin: 0;
}


/* Responsive Design */

@media (max-width: 768px) {
    header .logo-container {
        flex-direction: fixed;
    }
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    .card img {
        height: 150px;
    }
    .popup {
        width: 90%;
    }
}

.img_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0x;
}

.img_p {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.img_container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #063d78;
}

.menu-btn {
    margin-top: 0%;
    margin-left: 85%;
    background: none;
    border: none;
    color: rgb(20, 19, 19);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.side-menu {
    position: fixed;
    top: 60px;
    right: -300px;
    /* Initially hidden off-screen */
    width: 300px;
    height: 100%;
    border-top-left-radius: 20px;
    background-color: #feffff;
    color: white;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    /* Smooth slide-in effect */
    z-index: 20;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    margin: 15px 0;
}

.side-menu a {
    text-decoration: none;
    color: #063d78;
    font-weight: bold;
    font-size: 20px;
}


/* Different text color for "Services" sub-pages */

.side-menu li ul li a {
    color: #063d78;
    /* Set a different color for sub-page links */
    font-weight: normal;
    /* Optional: change font weight */
    font-size: 18px;
    /* Optional: adjust font size */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default */
    z-index: 15;
}

.side-menu.open {
    right: 0;
    /* Slide in from the right */
}

.overlay.active {
    display: block;
    /* Show the overlay */
}

#close-btn {
    background-color: #ed6c45;
    height: 30px;
    width: 70px;
    margin-bottom: -10px;
}