/* Hero Section */
.heroContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    padding: 20px;
}

.herocontent {
    width: 50%;
    flex: 1;
}

.herocontent > h1 {
    font-weight: 700;
    font-size: 36px;
    padding-bottom: 20px;
    color: black;
}

.herocontent > p {
    font-size: 20px;
    padding-bottom: 20px;
    line-height: 25px;
}

.heroBtn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 10px 12px;
    display: inline-flex;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--hover-shoadow);
    cursor: pointer;
}.heroBtn:hover {
    background-color: var(--footer-bg-color);
    box-shadow: 0 0 5px 5px var(--footer-bg-color);
}

.heroBtn:active {
    background-color: var(--submenu-bg-color);
}

.heroChatBtn {
    background-color: var(--shadow);
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--primary-color);
    display: inline-flex;
    gap: 6px;
    margin-left: 5px;
    font-size: 14px;
}.heroChatBtn:hover {
    background-color: var(--hover-shadow);
    box-shadow: 0 0 5px 0 var(--header-li-hover-bg-color);
}

.heroImgContainer {
    width: 50%;
    display: flex;
    justify-content: end;
    align-items: center;
    flex: 1;
}

.heroImgContainer > img {
    width: 100%;
    max-width: 500px;
}

h1 {
    color: var(--primary-color-dark);
}

.heroSection {
    width: 100%;
}

/* Text Card Section*/
.textCardsSection {
    padding: 60px 20px;
}

.textCardsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: var(--footer-text-color);
}

.textCardHighlight {
    padding: 20px;
    width: 100%;
    max-width: 260px;
    height: 260px;
}

.textCardHighlight:hover {
    border-radius: 8px;
    box-shadow: 0 0 5px 0 var(--border);
}

.textCardHighlight > h3 {
    font-size: 38px;
    border-left: 6px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 25px;
}

.textCardHighlight > p {
    font-size: 16px;
    line-height: 22px;
}

.textCard {
    padding: 20px;
    width: 100%;
    max-width: 280px;
    height: 220px;
    border-radius: 8px;
    box-shadow: 0 0 5px 0 var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.textCard > a {
    width: 140px;
    text-align: center;
}

.textCard:hover {
    box-shadow:  0 0 5px 5px var(--border);;
}

.textCard > h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.textCard > p {
    font-size: 16px;
    line-height: 22px;
}

.textCard > a {
    font-size: 15px;
    background-color: var(--primary-color);
    border-radius: 30px;
    padding: 6px 0;
    border: 2px solid var(--primary-color);
    color: white;
}

.textCard > a:hover {
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* Light Heading Container */
.lightHeadingContainer {
    background-color: var(--container-bg);
    padding: 50px 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.lightHeadingContainer>h3 {
    font-size: 48px;
    width: 100%;
    max-width: 350px;
    padding: 20px 0;
    text-align: center;
}

.lightHighlight {
    color: var(--primary-color);
    font-family: "Playfair Display", serif;
    font-weight: bolder;
    font-style: italic;
}

.lightHeadingContainer>p {
    color: var(--desc-text);
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding-bottom: 15px;
}

/* Animated Heading */
.animatedTextContainer {
    width: 100%;
    overflow: hidden;
}

.animatedTextContainer>h3 {
    font-size: 42px;
    text-align: center;
}

.animatedtext {
    background: linear-gradient(to right, rgb(196, 1, 1) 20%, blue 40%, green, rgb(150, 150, 0));
    background-size: 300%;
    font-weight: 900;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animatetext 8s linear infinite;
}

@keyframes animatetext {
    from {
        background-position: 0%;
    }

    to {
        background-position: 300%;
    }
}

/* Icon Box */
.iconBoxContainer {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 20px;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.iconBox {
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    height: 280px;
    background-color: var(--tool-background);
    border: 2px solid var(--card-border-1px);
    box-shadow: 0 0 4px 2px var(--card-bg-hover);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.iconBox:hover {
    background-color: var(--tool-background-hover);
    box-shadow: 0 0 8px 5px var(--card-bg);
}

.iconBox>img {
    height: 50px;
}

.iconBox>h4 {
    padding: 10px 0;
    font-size: 22px;
    text-align: center;
    color: var(--primary-color);
}

.iconBox>p {
    text-align: center;
    font-size: 16px;
    color: var(--footer-text-color);
}


/* Right Image Section */
.rImgContainer {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    gap: 15px;
    background: linear-gradient(280deg, var(--primary-color), var(--secondary-color));
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
}

.rImgContent {
    width: 50%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
}

.rImgContent>h3 {
    font-size: 36px;
    padding: 15px 0;
    color: white;
}

.rImgContent>p {
    font-size: 18px;
    color: rgb(207, 207, 207);
    line-height: 22px;
}

.rImgImageContainer {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.rImgImageContainer>img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

/* Cta Section */
.CtaContainer {
    padding: 60px 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.CtaContainer>h2 {
    font-size: 46px;
    padding-bottom: 30px;
    text-align: center;
}

.CtaCard {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 60px;
    margin-top: 50px;
    border-left: 5px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 29px 29px 60px 0 var(--cta-card-shadow);
}

.CtaCardContent>h3 {
    font-size: 36px;
    padding-bottom: 20px;
}

.CtaCardBtn>a {
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    border: 3px solid var(--primary-color);
    border-radius: 30px;
    padding: 12px 16px;
    display: inline-flex;
    gap: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.CtaCardBtn>a:hover {
    background-color: white;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 3px 3px 5px 0 var(--primary-color);
}


/* Media Query */
/* Hero Section */
@media (max-width: 786px) {
    .heroImgContainer > img {
        width: 100%;
        max-width: 500px;
    }

    .heroContainer {
        flex-direction: column;
        padding: 0 20px;
    }

    .herocontent > h2 {
        font-size: 28px;
    }

    .herocontent > p {
        font-size: 18px;
    }

    .heroImgContainer {
        width: 100%;
    }

    .herocontent {
        width: 100%;
    }
}

/* Right Image Section */
@media (max-width: 768px) {
    .rImgContainer {
        flex-direction: column;
        padding: 15px;
    }

    .rImgContent {
        width: 100%;
        text-align: center;
    }    

    .rImgContent > h3 {
        width: 100%;
        text-align: center;
    }

    .rImgImageContainer {
        width: 100%;
    }
}

@media (max-width: 425px) {
    .rImgContent > p {
        font-size: 18px;
    }    
}

/* Page Cta Section */
@media (max-width: 780px) { 

    .CtaContainer > h2 {
        font-size: 36px;
    }

    .CtaContainer > p {
        text-align: center;
    }

    .CtaCard {
        padding: 30px 10px;
    }

    .CtaCardContent > h3 {
        font-size: 26px;
    }

    .CtaCardBtn > a {
        padding: 8px 12px;
        font-size: 15px;
    }

}

@media (max-width: 500px) {

    .CtaContainer > h2 {
        font-size: 26px;
    }

    .CtaCard {
    max-width: 1200px;
    padding: 20px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .CtaCardContent > h3 {
        font-size: 25px;
        padding-bottom: 4px;
    }

    .CtaCardBtn {
        margin-top: 15px;
    }

    .CtaCardContent > p {
        text-align: center;
    }

    .CtaCardBtn > a {
        padding: 8px 12px;
        font-size: 15px;
    }
}

