/* Common CSS for Shiv Rishi Marketing & Service Pvt. Ltd. Website */

/* ========== BASE STYLES & RESETS ========== */
body,
nav,
ul,
li,
a {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    margin: 0 0 0px;
    background-color: #e3e3e3;
    font-family: 'Ubuntu', sans-serif;
}

/* ========== CLEARFIX UTILITY ========== */
.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

.clearfix {
    display: block;
}

/* ========== WRAPPER & MAIN CONTAINER ========== */
#wrapper {
    width: 100%;
    margin: auto;
}

.main-container1 {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    background-color: #ffffff;
    border-top: 9px solid #0f3e68;
    overflow: hidden;
}

/* ========== HEADER ========== */
.header {
    width: 100%;
    float: left;
    clear: both;
}

.header1 {
    width: 20%;
    margin-top: 20px;
    float: left;
    text-align: center;
}

.header1 img {
    margin-left: -20px;
    margin-top: -10px;
    width: 75%;
    height: auto;
}

.header2 {
    width: 35%;
    float: right;
    text-align: right;
}

.header1a {
    width: 10%;
    margin-top: 20px;
    float: left;
    text-align: center;
}

.years-celebration {
    margin-top: -8px;
    width: 55px;
    height: auto;
    vertical-align: middle;
}

/* ========== FOOTER ========== */
.footer {
    width: auto;
    text-align: center;
    font-size: 14px;
    color: #858585;
    padding: 5px 2px;
    clear: left;
}

.footer a {
    color: #858585;
    text-decoration: none;
}

.gray-footer {
    color: #858585;
    font-size: 14px;
    text-align: center;
    padding: 7px 15px;
}

.gray-footer a {
    color: #ffffff;
}

/* ========== CONTAINERS ========== */
.home-container {
    width: 100%;
    max-width: 1020px;
    margin: 0px auto;
    overflow: hidden;
    padding-top: 30px;
}

.home-container1 {
    width: 100%;
    max-width: 1440px;
    margin: 0px auto;
    overflow: hidden;
}

/* ========== WHATSAPP FLOATING ICON ========== */
#whatsapp-float {
    position: fixed;
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
    background: transparent;
}

#whatsapp-float:hover {
    transform: scale(1.1);
}

#whatsapp-float img {
    width: 42px;
    height: 42px;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Desktop & larger screens */
@media (min-width: 1024px) {
    .header1 img {
        width: 100%;
    }
}

/* Tablet and below */
@media only screen and (max-width: 1024px) {
    .header1 {
        width: 50%;
        text-align: left;
        padding-left: 10px;
        float: left;
    }

    .header1a {
        width: 50%;
        text-align: right;
        padding-right: 10px;
        margin-top: 0;
        float: left;
    }

    .header1 img {
        margin-left: -20px;
        margin-top: -10px;
        width: 250px;
        height: auto;
    }

    .years-celebration {
        width: 50px;
        margin-top: 10px;
        padding-left: 100px;
    }

    .header2 {
        width: 100%;
        float: left;
        text-align: left;
        margin-right: 0px;
    }

    .home-container {
        padding-top: 20px;
    }

}

/* Mobile */
@media only screen and (max-width: 480px) {
    #whatsapp-float img {
        width: 54px;
        height: 54px;
    }

    #whatsapp-float {
        position: fixed;
        width: 54px;
        height: 54px;
    }

    .years-celebration {
        width: 50px;
        margin-top: 10px;
        padding-left: 600%;
    }
}

@media only screen and (max-width: 1150px) {
    .header1 {
        width: 20%;
    }

    .header1a {
        width: 10%;
    }

    .header2 {
        width: 78%;
    }
}

@media only screen and (max-width: 966px) {
    .header1 {
        width: 23%;
    }

    .header1a {
        width: 10%;
    }

    .header2 {
        width: 76%;
    }
}


/* ========== ANNOUNCEMENT MODAL ========== */
#announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 99999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
}

#announcement-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#announcement-modal-content h2 {
    color: #0f3e68;
    margin: 0 0 15px 0;
    font-size: 22px;
}

#announcement-modal-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

#announcement-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

#announcement-modal-close:hover {
    color: #333;
}

.modal-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}

.modal-images img {
    max-width: 150px;
    height: auto;
}