@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap');

/* :root */

:root {
    --main-color: linear-gradient(#212529 0%,
            #1b1f22 25%,
            #16191b 50%,
            #111416 75%,
            #0c0e0f 100%);
    --secondery-color: rgba(245, 245, 245, 0.664);
    --tertiary-color: linear-gradient(to right,
            rgba(5, 76, 88, 0),
            rgba(5, 76, 88, 0.1),
            rgba(5, 76, 88, 0.2),
            rgba(5, 76, 88, 0.3));
    --third-color: linear-gradient(to left,
            rgba(5, 76, 88, 0),
            rgba(5, 76, 88, 0.1),
            rgba(5, 76, 88, 0.2),
            rgba(5, 76, 88, 0.302));
    --fifth-color: linear-gradient(to top,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 1));

    --sexth-color: linear-gradient(to top,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 1));

    --s-color: rgba(0, 0, 0, 0.712);
}

/* ==== :root ==== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Winky Rough", sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* navbar */

.navbar-brand {
    border-right: 1px solid var(--secondery-color);
    padding-right: 10px;
}

.form-control::placeholder {
    color: var(--secondery-color);
}

/* Chrome/Opera/Safari */
.form-control::-webkit-input-placeholder {
    color: var(--secondery-color);
}

/* Firefox */
.form-control::-moz-placeholder {
    color: var(--secondery-color);
    opacity: 1;
}

/* IE */
.form-control:-ms-input-placeholder {
    color: var(--secondery-color);
}

.secondary-dropdown-nav>li>a:hover {
    background-color: #2e3e51;
}

.nav-link:hover>#first-letter-challenge-li {
    color: tomato;
    font-weight: bolder !important;
}

.nav-link:hover {
    transform: scale(1.06, 1.06);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-link:hover {
        transform: none;
    }
}

.email-notice {
    font-size: small !important;
    margin-left: 5px;
}

.modal-content {
    background: var(--main-color);
    color: var(--secondery-color);
}

.form-check-input:checked {
    background-color: #073741;
    border-color: #054b58;
}

/* ====  navbar  ==== */

/* main - slides */
.main-bg {
    background: linear-gradient(135deg, #710627, #1a1a1a);
}

.carousel-caption {
    background: linear-gradient(
  to bottom,
  rgba(113, 6, 39, 1),   
  rgba(113, 6, 39, 0.5),   
  rgba(113, 6, 39, 0.2),
  rgba(113, 6, 39, 0.1),
  rgba(113, 6, 39, 0)     
);
    color: var(--secondery-color);
}

.social-icons {
    color: turquoise;
    cursor: pointer;
}
.social-icons>li:hover {
    color: teal;
}

/* ==== main - slides ==== */

/* welcome-section */

.welcome-section {
    color: var(--secondery-color);
    padding: 20px;
    border-radius: 10px;
}

/* ==== welcome-section ==== */


/* why-choose-section & Accordion */
.why-choose-bg{
    /* background: linear-gradient(
  to bottom,
  #000000 0%,
  #000000 16.66%,
  #222222 20%,
  #2e2e2e 30.33%,
  #2e2e2e 40.33%,
  #444444 50%,
  #666666 70%,
  #e8f0fe 100%
); */
background-color: #e0f4f7;
}

.title-why-choose-section,
.accordion-button {
    color: var(--secondery-color);
}

.accordion-button[aria-expanded="true"] {
    color: var(--secondery-color);
}

/* ==== why-choose-section & Accordion ==== */

/*  imgFixed-section  */

.fixedImg,
.fixedImgII {
    height: 400px;
}

#imgFixed-section {
    background-image: url(../img/system-hacked.jpg);
}

#imgFixed-sectionII {
    background-image: url(../img/cloud.jpg);
}

#imgFixed-section,
#imgFixed-sectionII {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* ==== imgFixed-section ==== */

/* course-card */

.featured-cousrses-bg {
    background: linear-gradient(
  to bottom,
  #f0f8ff 0%,
  #e0f7fa 30%,
  #ff7a9c 65%,
  #710627 100%
);
}

@media (min-width: 769px) {
    .course-card {
        width: 24rem !important;
    }
}

.course-card {
    position: relative;
}

.course-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.course-card:hover::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fifth-color);
    border-radius: 2px;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.course-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.course-card:hover::before {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--sexth-color);
    border-radius: 2px;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

/* ==== course-card ==== */
/* team-card */

.top-teams-bg{
    background-color: #e0f4f7;
}

.team-card-I,
.team-card-II,
.team-card-III {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 500px;
    cursor: pointer;
}

.team-card-I {
    background-image: url(../img/teams/team1.jpg);
    background-position: center;
}

.team-card-II {
    background-image: url(../img/teams/team3.jpg);
    background-position: center center;
}

.team-card-III {
    background-image: url(../img/teams/team2.jpg);
}

.team-card-I>img,
.team-card-II>img,
.team-card-III>img {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 10%;
    padding: 7px;
    border: 1px solid var(--secondery-color);
}

.team-card-I>.card-body,
.team-card-II>.card-body,
.team-card-III>.card-body {
    top: 10%;
    left: 10%;
}

@media (max-width: 768px) {

    .team-card-I,
    .team-card-II,
    .team-card-III {
        width: 100% !important;
        height: 400px;
    }

    .team-card-I>img,
    .team-card-II>img,
    .team-card-III>img {
        width: 100px;
        height: 100px;
        top: 60%;
        left: 10%;
    }
}

.team-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fifth-color);
    border-radius: 7px;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.team-branch {
    top: 85%;
    left: 7%;
    background: linear-gradient(to left,
        rgba(13, 23, 33, 0.1),
        rgba(13, 23, 33, 0.3),
        rgba(13, 23, 33, 0.6),
        rgba(13, 23, 33, 1));
    border-radius: 10px;
    height: 50px;
}

.team-card{
    transform: none;
}

.team-card:hover{
    transform: scale(0.9, 0.9);
    transition: all 0,6s ease-in-out;
    cursor: pointer;
}

.team-card:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left:  0;
    width: 100%;
    height: 100%;
    background: var(--s-color);
    border-radius: 7px;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.team-card:hover h5{
    color: rgb(233, 164, 35) !important;
}

.team-card:hover p{
    color: whitesmoke !important;
}

/* ==== team-card ==== */

/* tech-tracks */

.tech-tracks-bg{
    background: linear-gradient(
  to top,
  #f0f8ff 0%,
  #e0f7fa 30%,
  #ff7a9c 65%,
  #710627 100%
);
}

.tech-tracks{
    position: relative;
    cursor: pointer;
    box-shadow: 1px 2px 15px var(--s-color) !important;
}

.tech-tracks-img-container{
    transform: translateX(-35px) skewX(-5deg);
    transition: all 0.8s ease-in-out;
}

.tech-tracks-img {
    transform: translateX(35px) skewX(5deg);
    transition: all 0.8s ease-in-out;
}

.tech-tracks:hover .tech-tracks-title::after{
    width: 120px;
}

.tech-tracks:hover .tech-tracks-img {
    transform: translateX(35px) skewX(5deg) scale(1.1);
    transition: all 0.8s ease-in-out;
}

.tech-tracks-title::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 0px;
    width: 90px;
    height: 7px;
    background-color: rgb(255, 178, 36);
    border-radius: 3px;
    z-index: 2;
}


@media (max-width: 471px) {
    .tech-tracks-title::after{
        display: none !important;
    }

    .tech-tracks>.card-text{
        font-size: x-small !important;
    }

    .card.tech-tracks{
        width: 100% !important;
    }
}



.tech-tracks-img-containerI{
    transform: translateX(35px) skewX(5deg);
    transition: all 0.8s ease-in-out;
}

.tech-tracks-imgI {
    transform: translateX(-35px) skewX(-5deg);
    transition: all 0.8s ease-in-out;
}

.tech-tracks:hover .tech-tracks-imgI {
    transform: translateX(-35px) skewX(-5deg) scale(1.1);
    transition: all 0.8s ease-in-out;
}

@media (max-width: 767px) {
    .tech-tracks-img-container, .tech-tracks-img-containerI, .tech-tracks:hover .tech-tracks-imgI, .tech-tracks-img, .tech-tracks-imgI, .tech-tracks:hover .tech-tracks-img, .tech-tracks:hover .tech-tracks-imgI {
        transform: none;
    }
    .row.g-0 {
        display: flex;  
        flex-direction: column;  
    }

    .tech-tracks-contentI {
        order: 2 !important;  
    }

    .tech-tracks-img-containerI {
        order: 1 !important;  
    }

    .buttons-group {
        order: 3 !important;
    }
}

.tech-tracks-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--tertiary-color);
    border-radius: 5px;
}

.tech-tracks-contentI::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--third-color);
    border-radius: 5px;
}

.card-text{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==== tech-tracks ==== */

/* social-media-last-section */

.social-media-last-section-card {
    position: relative;
}

.social-media-last-section-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--tertiary-color);
    z-index: 2;
    border-radius: 5px;
}

.social-media-last-section-card:hover {
    transform: scale(1.1);
    transition: all 1.1s ease-in-out;
    cursor: pointer;
}

@media (max-width: 380px) {
    .social-media-last-section-card{
        width: 100% !important;
    }
}

/* ==== social-media-last-section ==== */

/* footer */

.contact-adress-list > li, .Guides-list > li, .Community-list> li{
    cursor: pointer;
}


.social-media-bg {
    background: linear-gradient(135deg, #710627, #ff7a9c);
}

/* ==== footer ==== */