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

body {
    color: #333;
}

/* Whatsapp Button */

.whatsapp-btn{
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
}

.whatsapp-btn img{
    width: 70px;
    height: auto;
}

@media (max-width: 600px) {
    .whatsapp-btn img{
        width: 60px;
        height: auto;
    }
}

/* Top Bar Section */

.top-bar-section{
    width: 100%;
    background-color: #2C2C2C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 70px;
}

.top-bar-section a{
    color: white;
    height: auto;
    text-decoration: none;
}

.top-bar-social-icons a{
    height: 20px;
}

.top-bar-content-section{
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-content-section p{
    font-size: 16px;
    /* font-weight: 600; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-social-icons{
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social-icons i{
    font-size: 20px;
}

/* Navbar Section */

header {
    background-color: #171263;
    padding: 20px 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 70px;
    margin: 0 auto;
}

.logo {
    width: auto;
    display: flex;
    align-items: center;
    color: #fff;
}

.logo img {
    width: 135px;
}

nav {
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

.cta {
    width: auto;
}

.quote-btn {
    background-color: #fff;
    color: #171263;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

/* Banner Section */

.banner-section{
    width: 100%;
    height: 300px;
    background-image: url("./images/main-banner-waree.jpg");
    background-size: cover;
    background-position: bottom;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: -1;
}

.banner-section::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    background: -webkit-gradient(linear, left top, right top, from(#0d57d7), to(#4d8eff));
    background: linear-gradient(90deg, #0d57d7 0%, #4d8eff 100%);
    mix-blend-mode: multiply;
    z-index: 2;
}

.banner-section h2{
    font-size: 40px;
    color: white;
    font-weight: 600;
    z-index: 10;
}

/* Media Section */

.media-section {
    padding: 50px 20px;
    background-color: #ffffff;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.media-big-box{
    width: 100%;
}

.img-text{
    font-size: 28px;
    margin-bottom: 5px;
}

.media-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.media-card {
    width: auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-card iframe{
    width: 100%;
    height: auto;
    height: 218px;
    display: block;
    object-fit: cover;
}

.media-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    height: 218px;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    color: #ffffff;
    padding: 10px;
    text-align: left;
    transition: background 0.3s ease-in-out;
}

.media-card:hover .media-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.media-overlay h3 {
    margin: 0;
    font-size: 18px;
}

@media (max-width: 900px) {
    .media-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .media-container {
        grid-template-columns: 1fr;
    }
}

/* Footer Section */

.footer-section {
    background-color: #2C2C2C;
    color: #ffffff;
    padding: 60px 20px;
    background-image: url("./images/pvc-machine.png");
    background-size: cover;
    background-position: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-item {
    text-align: center;
    flex: 1;
    color: white;
    text-decoration: none;
}

.footer-item .footer-icon i {
    font-size: 40px;
    margin-bottom: 5px;
}

.footer-item p {
    font-size: 16px;
    margin: 5px 0;
}

.footer-item h3 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0px 50px;
}

.footer-brand {
    width: auto;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    width: 60%;
    margin-bottom: 10px;
}

.footer-socials a {
    margin-right: 10px;
    font-size: 25px;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo-section{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0px;
}

.footer-logo-section img{
    width: auto;
    height: 60px;
    border-radius: 5px;
}

.footer-links {
    flex: 1;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

.footer-below-box{
    width: 100%;
    padding: 10px;
    background-color: #0056D2;
}

.footer-below-box h3{
    width: 100%;
    text-align: center;
    color: white;
}

/* Responsive Code */

@media (max-width: 1200px) {
    /* Footer */
    .footer-brand{
        width: 45%;
    }
}

@media (max-width: 1175px) {
    nav ul{
        gap: 15px;
    }
    nav ul li{
        font-size: 15px;
    }
}

@media (max-width: 1022px) {
    nav {
        display: none;
    }
}

@media (max-width: 875px) {
    .media-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .media-card img{
        height: 218px;
    }
}

@media (max-width: 769px) {
    /* Top Section */
    .top-bar-section{
        flex-direction: column;
        padding: 5px 10px;
        gap: 10px;
    }
    .top-bar-content-section{
        flex-direction: column;
        gap: 2px;
    }

    /* Navbar Section */
    header {
        padding: 10px 15px;
    }

    nav {
        display: none;
    }
    .container{
        padding: 0px;
    }
    .logo img {
        width: 110px;
    }

    .quote-btn {
        background-color: #fff;
        color: #171263;
        padding: 5px 10px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 600;
        font-size: 14px;
    }

    /* Banner Section */

    .banner-section{
        height: 160px;
    }

    .banner-section h2{
        font-size: 25px;
        text-align: center;
    }

    .media-card img{
        height: 180px;
    }

    .media-card iframe{
        height: 180px;
    }
    /* Footer Section */
    .footer-section{
        padding: 20px;
    }
    .footer-top{
        flex-direction: column;
        gap: 15px;
    }
    .footer-middle{
        flex-direction: column;
        padding: 0px 10px;
        justify-content: center;
        gap: 25px;
    }
    .footer-brand{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .footer-links{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .footer-links h3{
        margin-bottom: 10px;
    }
    .footer-item .footer-icon i{
        font-size: 30px;
    }
    .footer-links ul li{
        text-align: center;
    }
    .footer-item p{
        font-size: 14px;
    }
    .footer-item h3{
        font-size: 18px;
    }
    .footer-below-box h3{
        font-size: 14px;
    }
    .footer-brand p{
        width: 100%;
        text-align: center;
    }
    .footer-brand{
        width: auto;
    }
    .footer-logo-section{
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-logo-section img{
        height: 65px;
    }
}

@media (max-width: 495px) {
    .media-section{
        flex-direction: column;
        padding: 10px;
    }
    .media-big-box{
        width: 100%;
    }
    .media-big-box h2{
        font-size: 25px;
        text-align: center;
        margin-bottom: 5px;
    }
    .media-card img{
        height: 200px;
    }

    .media-card iframe{
        height: 200px;
    }
}

/* Sidebar */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 2000;
}

.sidenav a {
    padding: 8px 8px 8px 22px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.sidebar-logo-img {
    width: 100px;
    margin-top: 5px;
}

.sidebar-open {
    display: none !important;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width:900px) {
    .sidebar-open {
        display: block !important;
    }
}

.sidebar-nav{
    color: white;
    font-size: 25px;
    display: none !important;
    cursor: pointer;
}

@media (max-width:1022px) {
    .sidebar-nav{
        display: block !important;
    }
}