/* -----------------utility class-------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =============chat-now----- */

.chat a {
    position: fixed;
    z-index: 500;
    width: 7.5rem;
    display: flex;
    justify-content: center;
    height: 2.7rem;
    bottom: 2rem;
    right: 1rem;
    background-color: white;
    border-radius: var(--border-radius-10px);
    border: 1px solid green;
    box-shadow: 0px 0px 10px 0px rgb(37, 104, 37, 0.3);
}

a .w-chat {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

a .w-chat i {
    color: white;
    font-size: 1.9rem;
    padding: 0.1rem 0.2rem;
    border-radius: 5px;
    background-color: #25d366;
}

a .w-chat p {
    font-size: 0.9rem;
    line-height: 1.2rem;
    align-items: center;
    font-weight: 800;
}

@media (max-width: 530px) {
    .chat a {
        width: 8rem;
        height: 2.7rem;
        bottom: 1rem;
        right: 0.5rem;
    }

    a .w-chat i {
        font-size: 2rem;
    }
}

:root {
    --primary-color: #63e5ff;
    --secondary-color: #b1f1ff;
    --section-margin: 1rem;
    --section-pading: 1rem;
    --nav-padding: 1vw 3vw;
    --botton-border-radius: 5px;
    --border-radius-10px: 6px;
    --container-border: 1px solid #cccccc;
    --container-background-color: white;

}

:root body.dark {
    --primary-color: #63e5ff;
    --secondary-color: #b1f1ff;
    --section-margin: 1rem;
    --section-pading: 1rem;
    --nav-padding: 1vw 3vw;
    --botton-border-radius: 5px;
    --border-radius-10px: 6px;
    --container-border: 1px solid #cccccc;
    --container-background-color: black;
}

h1 {
    --heading-size: 2.5rem;
    --font-weight: 900;
}

p {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: justify;
    line-height: 2rem;
    color: black;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    font-size: 1rem;
    color: black;
}

/* ---------------------------navigation-start--------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px inset var(--secondary-color);
    z-index: 100;
}

.nav-left {
    max-width: 24rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 4.3rem;
}

.logo-text {
    flex-direction: column;
}

.can {
    font-family: 'Fredoka', sans-serif;
    text-align: start;
    padding-top: 5px;
    font-weight: 700;
    font-size: 1.6rem;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 1px #ff0404;
}

.nav-data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle {
    position: relative;
    width: 40px;
    height: 40px;
}

.bar,
.close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 2rem;
    cursor: pointer;
    transition: opacity .1s, transform .2s;
}

.nav-toggle i {
    font-size: 1.3rem;
}

.close {
    opacity: 0;
}

@media screen and (max-width:769px) {

    .nav-left {
        max-width: 30rem;
    }

    .logo {
        width: 3rem;
    }

    .logo-text {
        align-items: start;
    }

    .can {
        font-size: 1rem;
        padding-top: 1px;
    }

    .nav-link {
        padding-inline: 1rem;
    }
}

@media screen and (max-width:769px) {
    .nav-left {
        max-width: 30rem;
    }

    .logo {
        width: 3.8rem;
    }

    .logo-text {
        align-items: start;
    }

    .can {
        padding-top: 5px;
        font-weight: 700;
        font-size: 1.4rem;
        text-shadow: 1px 0.5px 1px #ff0404;
    }

    .nav-menu {
        position: absolute;
        left: 0;
        top: 4.4rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav-menu::-webkit-scrollbar {
        width: 0;
    }

    .nav {
        padding: 0.8rem 0.5rem;
    }
}

.nav-link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
    background-color: var(--primary-color);
}

.nav-link:hover {
    background-color: var(--secondary-color);
    color: red;
    border-radius: var(--botton-border-radius);
}

/* Show menu */
.show-menu {
    opacity: 1;
    pointer-events: initial;
}

.show-icon .bar {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .close {
    opacity: 1;
    transform: rotate(90deg);
}

@media screen and (min-width: 769px) {
    .nav {
        padding: var(--nav-padding);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-toggle {
        display: none;
    }

    .nav-list {
        height: 100%;
        display: flex;
    }

    .nav-link {
        background-color: var(--primary-color);
        height: 100%;
        padding: 1vw;
        justify-content: initial;
        column-gap: .5rem;
    }

    .nav-link:hover {
        background-color: var(--secondary-color);
    }
}

/* -------------------------video start------------------------ */
.container {
    background-color: var(--container-background-color);
    border-radius: var(--border-radius-10px);
    padding: 1rem 0;
    margin: 6.5rem 1rem 1.5rem;
    border: var(--container-border);
}

.heading-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading-1 h1 {
    font-family: monospace;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0px;
    text-shadow: 1px 0.5px 1px #ff0404;
}

.video {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background-color: white;
    border-radius: 10px;
    padding-inline: 1rem;
    margin-top: 1.5rem;
}

.video .under {
    background-color: #ffeeee;
    width: 100%;
    height: 230px;
    border-radius: var(--border-radius-10px);
    transition: 0.3s ease-in-out 0.1s;
    border: var(--container-border);
    position: relative;
}
.play-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #ff00006f;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.video .under:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.video a video {
    width: 100%;
    height: 100%;
    object-fit:cover;
    border-radius: var(--border-radius-10px);
}


.read {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.read-btn {
    padding: 0.6rem 1.5rem;
    background-color: #ff5c5c;
    /* 🎨 Custom red color */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.read-btn:hover {
    background-color: #e74c3c;
    /* 🎨 Darker red on hover */
    transform: scale(0.97);
}


@media screen and (max-width:768px) {
    .container {
        margin: 5.5rem 1rem 1rem;
    }

.video{
        grid-template-columns: repeat(2, 1fr);
        margin-top: 1rem;
    }

    .heading h1,
    .heading-1 h1 {
        font-size: 1.5rem;
    }

    .video .img .under {
        height: 270px;
    }

    .container h1 {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }
}

@media screen and (max-width:530px) {
    .container {
        padding: 0.5rem;
        margin: 5.5rem 0.5rem 0.5rem;
    }

    .heading-1 h1 {
        font-size: 1rem;
    }

 .video {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        padding-inline: 0rem;
        margin-top: 0.5rem;
    }

    .video .img .under {
        height: 250px;
    }

    .container h1 {
        font-size: 1.3rem;
        padding-block: 0.5rem 1rem;
    }
}

/* <!-- ----------------------------------footer-start--------------------------------- --> */
.footer-section {
    background-color: #393999;
    padding: 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.footer-heading h1 {
    color: white;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.c-n {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
}

.c-n h1 {
    font-family: monospace;
    font-weight: 600;
    font-size: 1.5rem;
    color: rgb(201, 198, 201);
    letter-spacing: 0px;
    text-shadow: 1px 0.5px 1px #ff0404;

}

.c-n img {
    height: 5rem;
    width: 6rem;
    background-color: white;
}

.contract-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.contract-list a {
    text-decoration: none;
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    transition: 0.2s ease-in-out;
}

.contract-list a:hover {
    text-decoration: underline;
    color: white;
    padding-left: 0.5rem;
}

.link {
    font-weight: bold;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    line-height: 3rem;
    gap: 0.5rem;
    display: flex;
}

.link a {
    display: inline-block;
    height: 44px;
    width: 44px;
    background-color: white;
    margin: 0 8px 8px 0;
    text-align: center;
    border-radius: 50px;
    transition: 0.4s;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

#face {
    color: #3b5998;
}

#face:hover {
    background-color: #316ff6;
    color: white;
}

#inst {
    color: #fe44a1;
}

#inst:hover {
    background-color: rgba(224, 78, 103, 0.776);
    color: white;
}

#twit {
    color: #da0808;
}

#twit:hover {
    background-color: #d73e3e;
    color: white;
}

#linkin {
    color: #0077b5;
}

#linkin:hover {
    color: white;
    background-color: #0077b5;
}

#you-tube {
    color: rgb(63, 157, 63);
}

#you-tube:hover {
    color: white;
    background-color: rgb(93, 247, 93);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        padding-bottom: 2.5rem;
    }

    .footer-heading h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .c-n {
        gap: 1.5rem;
    }

    .c-n h1 {
        font-size: 1.2rem;

    }

    .c-n img {
        height: 6rem;
        width: 6rem;
    }

    .contract-list {
        gap: 1rem;
    }

    .contract-list a {
        font-size: 1rem;
    }

    .link {
        gap: 1rem;
    }

    .link a {
        font-size: 1.3rem;
    }
}

@media (max-width: 530px) {
    .footer-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-heading h1 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .c-n {
        gap: 0.5rem;
    }

    .c-n h1 {
        font-size: 1.1rem;

    }

    .c-n span {
        color: var(--secondary-color);
    }

    .c-n img {
        height: 6rem;
        width: 6rem;
        background-color: white;
    }

    .contract-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 0.5rem;
    }

    .contract-list a {
        text-decoration: none;
        font-size: 1.1rem;
        color: white;
        font-weight: 500;
        transition: 0.2s ease-in-out;
    }

    .contract-list a:hover {
        text-decoration: underline;
        color: white;
        padding-left: 0.5rem;
    }

    .link {
        font-weight: bold;
        padding: 10px 20px;
        justify-content: center;
        align-items: center;
        line-height: 3rem;
        gap: 1rem;
        display: flex;
    }

    .link a {
        display: inline-block;
        height: 44px;
        width: 44px;
        background-color: white;
        margin: 0 8px 8px 0;
        text-align: center;
        border-radius: 50px;
        transition: 0.4s;
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
    }
}