:root {
    --bg-color: #26355D;
    --primary-color: #AF47D2;
    --secondary-color: #FF8F00;
    --accent-color: #FFDB00;
}

/* Basic styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color:  var(--bg-color);
    max-width: 100%;
    overflow-x: hidden;
}

header {

    color: #fff;
    text-align: center;
    padding: 20px 10px;
}

header img {
    display: block;
    margin: 4px auto;
    max-height: 80px;
}

main {
    padding: 20px;
    text-align: center;
}

h1{
    font-size: 3em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color:#f59f3d;
}

p{
    font-size: 1.2em;
    margin-bottom: 4em;
    color: white;
}

.menu-icon .fas.fa-bars {
    font-size: 30px; 
    cursor: pointer;
}

.menu-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001; 
}
.menu {
    position: fixed;
    right: -100%; /* Start offscreen */
    top: 0;
    width: 250px;
    height: 100%;
    background-color:var(--bg-color);
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 1000; /* Below the toggle but above other content */
    padding: 20px;
    flex-direction: column; /* Align children vertically */
    align-items: center; /* Center align items horizontally */
    justify-content: center; /* Center items vertically */
}

.menu-item {
    margin: 10px 0; /* Space between menu items */
    font-size: 1.2em; /* Larger text for readability */
    color: white; /* Dark text for better contrast on white background */
}

/* Additional style for links if needed */
.menu-item a {
    color: white;
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease; /* Smooth color transition for hover effect */
}

.menu-item a:hover {
    text-decoration: underline; /* Darker shade on hover for better interaction feedback */
}

.menu.active {
    right: 0; /* Slide in */
}
body.active-menu {
    overflow: hidden; /* Prevent scrolling when menu is active */
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;  
    padding: 20px;
    max-width: 800px;  
    margin: 20px auto;  
}

.feature-item {
    background-color: #7079D3; 
    
    padding: 20px;
    border-radius: 10px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s, box-shadow 0.3s;  
    display: flex;
    flex-direction: column;  
    justify-content: space-between;  
}

.feature-item h3 {
    margin-top: 0;
    color: white;
}

.feature-item p {
    margin-bottom: 0;
    color: #F0FFFF;
}

.feature-item:hover {
    transform: translateY(-5px);  
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);  
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    h1 {
        font-size: 2em; /* Smaller font size for mobile devices */
    }
}



footer {
    background-color: #393F9A;
    color: #fff;
    text-align: center;
    padding: 10px;
   
    width: 100%;
    bottom: 0;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 32px;
    text-decoration: none;
    display: inline-block;
    font-size: 1.3em;
    margin: 20px 0;
    margin-bottom: 3em;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 30px;
}

button i {
    margin-right: 10px; /* Space between the icon and text */
}

button:hover {
    background-color: var(--accent-color);
}

section h2 {
    font-size: 2em;
    color: #FFF;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #f59f3d;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 8px;
    margin: 5px;
    color: white;
    border-radius: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
    header img {
        max-width: 100px;
    }

    button {
        padding: 12px 24px;
        font-size: 14px;
    }

    footer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 5px;
    }

    header img {
        max-width: 120px;
    }

    main {
        padding: 15px;
    }

    button {
        width: 100%; /* Full width button */
        padding: 12px;
        font-size: 14px;
    }

    ul li {
        font-size: 14px;
    }
}
