/* Main Css Start */

.main {
    width: 100%;
    min-height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 50px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
    margin-top: 80px;
}

.content h1 {
    font-size: max(3.021vw, 50px);
    font-weight: bolder;
    font-family: 'poppins-bold';
}
.content p {
    font-size: max(1.042vw, 20px);
}

.learnMore {
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 12px;
    transition: 0.3s;
    font-family: 'poppins-bold';
    border: 2px solid var(--main);
    color: var(--main);
    background-color: transparent;
}
.learnMore:hover {
    border: 2px solid var(--main);
    background-color: var(--main);
    color: var(--black);
}

/* Main Css end */

/* ========================================================= */

/* question Css Start */

#question {
    background-color: var(--lightBox);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 0;
    color: var(--black);
}

.question {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    padding: 20px;
}

.question-btns {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.questionBtn {
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 12px;
    transition: 0.3s;
    font-family: 'poppins-bold';
    text-align: center;
}

.btnclr1 {
    border: 2px solid var(--blue-1);
    color: var(--blue-1);
    background-color: transparent;
}
.btnclr1:hover {
    border: 2px solid var(--blue-1);
    background-color: var(--blue-1);
    color: var(--white);
}

.btnclr2 {
    border: 2px solid var(--blue-3) !important;
    color: var(--blue-3);
    background-color: transparent;
}
.btnclr2:hover {
    border: 2px solid var(--blue-3);
    background-color: var(--blue-3);
    color: var(--white);
}

.btnclr3 {
    border: 2px solid var(--blue-3);
    background-color: var(--blue-3);
    color: var(--white);
}
.btnclr3:hover {
    border: 2px solid var(--blue-3) !important;
    color: var(--blue-3);
    background-color: transparent;
}

.d-flex {
    display: flex !important;
    flex-direction: column;
}

/* question Css end */

/* ========================================================= */

/* card Css Start */

#cardMain {
    background-color: var(--white);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 0;
    color: var(--black);
    padding: 50px 0px;
}

.containerMain {
  display: flex;
  justify-content: space-between;
  width: 70%;
  gap: 20px;
}

.cardMain {
  background-color: var(--cardbg);
  border-radius: 10px;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  outline: none;
  justify-content: flex-start;
  padding-bottom: 10px;
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.1);
}
.cardMain:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.5);
}

.cardMain:hover i {
    transform: translateX(20px);
}

.cardMain img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
}

.cardMain h2 {
    font-size: 18px;
    color: var(--blue-1);
    padding: 10px;
}

.cardMain p {
    font-size: 14px;
    color: var(--gray);
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cardMain i {
    display: inline-block;
    font-size: 24px;
    color: var(--blue-4);
    padding: 10px;
    transition: 0.3s;
}

.suggested-topics {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 70%;
    gap: 20px;
}

.topics {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.topics a {
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--blue-4);
    border-radius: 30px;
    color: var(--blue-4);
}
.topics a:hover {
    border: 2px solid var(--blue-4);
    background-color: var(--blue-4);
    color: var(--white);
}

/* card Css End */

/* ========================================================= */

/* we do Css Start */

#weDo {
    background-color: var(--lightBox);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    width: 100%;
    position: relative;
    z-index: 0;
    color: var(--black);
    padding: 50px 0px;
}

.weDoMain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 70%;
  gap: 20px;
}

.weDoMain h2 {
    font-size: max(1.458vw, 28px);
    color: var(--blue-1);
    padding: 10px;
}
.weDoMain p {
    font-size: 20px;
    color: var(--gray);
}

.weDo-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.cardweDo {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    outline: none;
    justify-content: flex-start;
    gap: 10px;
}
.cardweDo a {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cardweDo a:hover h3 {
    text-decoration: underline;
}

.weDoImg {
    width: 100%;
    height: 200px;
    background-color: var(--blue-1);
    border-radius: 30px;
}
.weDoImg img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.bluetxt {
    color: var(--blue-1);
}

/* we do Css End */

/* ========================================================= */

/* news Css Start */

#news {
    background-color: var(--white);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    width: 100%;
    position: relative;
    z-index: 0;
    color: var(--black);
    padding: 50px 0px;
}

.newsMain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 70%;
  gap: 20px;
}

.headerNews {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}

.headerNews h2 {
    font-size: max(1.458vw, 28px);
    color: var(--blue-1);
    padding: 10px;
}

.newsclr {
    border: 2px solid var(--blue-4);
    color: var(--blue-4);
    background-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
}
.newsclr:hover {
    border: 2px solid var(--blue-4);
    background-color: var(--blue-4);
    color: var(--white);
}

.txt-left {
    text-align: left;
}
/* news Css End */

/* ========================================================= */

/* social Css Start */

.text-question {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.socialLogo {
    font-size: 35px;
    color: var(--blue-4);
}

.socialLogo a {
    color: var(--blue-4);
}
.socialLogo a:hover {
    transform: scale(1.2);
}

/* social Css End */

/* ========================================================= */

.bglight {
    background-color: var(--lightBox) !important;
}


/* responsive Css Start */

@media (max-width: 1200px) {
    .containerMain, .suggested-topics, .question, .weDoMain, .newsMain {
        width: 80%;
    }
}
@media (max-width: 1024px) {
    .containerMain, .suggested-topics, .question, .weDoMain, .newsMain {
        width: 90%;
    }
}
@media (max-width: 850px) {
    .suggested-topics {
        display: none;
    }
    .cardMain, .cardweDo {
        min-width: 320px;
    }
    .containerMain, .weDo-container {
        flex-wrap: wrap;
    }
    .newsclr {
        display: none;
    }
}

@media (max-width: 950px) {
    .main {
        margin-top: 0px;
    }
}

@media (max-width: 500px) {
    .content h1 {
        font-size: max(3.021vw, 30px);
        margin-top: 50px;
    }
    .content p {
        font-size: max(1.042vw, 16px);
    }
    .question-btns, .text-question {
        flex-wrap: wrap;
    }
    .question-btns a {
        width: 100%;
    }
    .question {
        justify-content: center;
        text-align: center;
    }
    .socialLogo {
        flex-wrap: nowrap;
    }
    .text-question {
        gap: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 370px) {
    .cardMain, .cardweDo {
        min-width: 250px;
    }
}