/* Common CSS for all pages */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #141E30; /* Consistent background */
    color: white;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1B263B; /* Consistent container background */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

h1, h2 {
    color: #2E8BC0;
}

p {
    line-height: 1.6;
}

a {
    color: #2E8BC0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.header, .footer {
    background-color: #1B263B;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.nav-icon {
    font-size: 30px;
    cursor: pointer;
    color: white;
}

.footer {
    display: flex;
    justify-content: space-around;
    padding: 15px 20px;
    background-color: #1B263B;
    border-top: 1px solid #2E8BC0;
    position: relative;
}

.footer a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #1B263B;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 1000;
}

.nav-drawer a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.nav-drawer a:hover {
    background-color: #2E8BC0;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

/* Active states */
.nav-drawer.active, .overlay.active {
    display: block;
}

/* Float button */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}

/* Banner and Grid styling */
.banner {
    text-align: center;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.grid div {
    background-color: #1B263B;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid div img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Social Media Section */

.social-media-main-section {
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 9;
    width: 60px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .4);
    transition: all 0.3s linear;
}

.social-media-section {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-media-section li {
    height: 45px;
    position: relative;
}

.social-media-section li a {
    color: #fff !important;
    display: block;
    height: 100%;
    width: 100%;
    line-height: 45px;
    padding-left: 25%;
    border-bottom: 1px solid rgba(0, 0, 0, .4);
    transition: all .3s linear;
    text-decoration: none !important;
}

.social-media-section li:nth-child(1) a {
    background: #229ED9; /* Telegram color */
}

.social-media-section li:nth-child(2) a {
    background: #25d366; /* WhatsApp color */
}

.social-media-section li a i {
    position: absolute;
    top: 14px;
    left: 15px; /* Adjusted for better centering */
    font-size: 15px;
    color: #fff !important;
}

.social-media-section li a span {
    display: none; /* Hide text by default */
}