main {
    margin-top: 50px;
}

/* TITLE SECTION */
.welcomeSect {
    position: relative;
    width: calc(100% - 100px);
    padding: 100px 50px 100px;
    display: flex;
    margin-top: -25px;
    z-index: 0;
    background-color: var(--white);
}

.welcomeSect>* {
    position: relative;
    z-index: 2;
}

.welcomeSect .title {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 900;
    margin: 0;
}

.welcomeSect .subtitle,
.callToActionSect .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
}

.welcomeSect div:first-child {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.welcomeSect img {
    width: 30%;
    border-radius: 50px 5px;
    height: 225px;
}

@media (max-width: 768px) {
    .welcomeSect {
        width: calc(100% - 40px);
        padding: 80px 20px 40px;
    }

    .welcomeSect div:first-child {
        width: 100%;
    }

    .welcomeSect .title {
        font-size: 50px;
    }

    .welcomeSect .subtitle,
    .callToActionSect .subtitle {
        font-size: 18px;
    }

    .welcomeSect img {
        display: none !important;
    }

    .welcomeSect .btn{
        width: 80%;
    }
}

/* whoWeAreSect */
.whoWeAreSect {
    background-color: var(--accent-color);
    padding: 50px;
}

.whoWeAreSect div {
    text-align: center;
    padding: 80px 20px;
    border-radius: 16px;

    /* Gradient border setup */
    border: 5px solid transparent;
    background:
        linear-gradient(var(--beige), var(--beige)) padding-box,
        linear-gradient(90deg, var(--primary-color), var(--accent-color), #E6B7A9, var(--primary-color)) border-box;
    background-clip: padding-box, border-box;
    background-size: 200% 200%;
    /* needed for animation */

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    animation: borderGradient 6s linear infinite;
}

/* Animate gradient movement */
@keyframes borderGradient {
    0% {
        background-position: 0% 50%, 0% 50%;
    }

    50% {
        background-position: 100% 50%, 100% 50%;
    }

    100% {
        background-position: 0% 50%, 0% 50%;
    }
}


.whoWeAreSect p:first-child {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.whoWeAreSect p:nth-child(2) {
    font-size: 20px;
    line-height: 1.7;
    color: var(--black);
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .whoWeAreSect {
        background-color: var(--accent-color);
        padding: 25px;
    }

    .whoWeAreSect div {
        padding: 15px;
    }


    .whoWeAreSect p:first-child {
        font-size: 18px;
    }

    .whoWeAreSect p:nth-child(2) {
        font-size: 16px;
        line-height: 1;
        margin-bottom: 25px;
    }

    .whoWeAreSect .btn {
        width: calc(100% - 40px);
        box-sizing: border-box;
        /* include padding/border in width */
        display: block;
        margin: 10px auto;
    }

}

/* productsServicesSect */

.productsServicesSect {
    padding: 100px 50px;
}

.productsServicesWrapper {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    height: max-content;
    border-radius: 25px;
}

.sectionTitle {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0;
    color: var(--primary-color);
    width: 100%;
}


@media (max-width: 768px) {
    .productsServicesSect {
        padding: 25px 10px;
    }

    .productsServicesWrapper {
        flex-direction: column;
    }
}

/* servicesDiv */

.servicesTitle {
    color: var(--white);
}

.servicesDiv {
    z-index: 1;
    text-align: center;
    background-color: var(--accent-color);
    padding: 20px;
    width: 10%;
    border-radius: 25px;
    position: relative;
    /* display: inline-block; */
    display: flex;
    flex-direction: column;
}

.servicesDiv .servicesCont {
    position: relative;
    /* display: inline-block; */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-around;
    align-items: center;
}

.servicesDiv .overlayTxt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(39, 37, 66, 0.7);
    color: white;
    font-size: 14px;
    padding: 5px;
    border-radius: 0 0 15px 15px;
    text-align: center;

    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}

.servicesDiv div:hover .overlayTxt {
    opacity: 1;
}

.servicesDiv img {
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}

.servicesDiv div:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .servicesDiv {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .servicesDiv .servicesCont {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        width: 100%;
    }

    .servicesDiv .servicesCont>div {
        flex: 0 0 auto;
        /* prevent shrinking, allow horizontal scroll */
    }

    .servicesCont img {
        width: 60px;
        height: 60px;
        margin-bottom: 5px;
    }

    .overlayTxt {
        font-size: 12px;
        width: 100%;
    }

    /* Optional: hide scrollbar for a cleaner look */
    .servicesCont::-webkit-scrollbar {
        display: none;
    }

    .servicesCont {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}


/* productsDiv */

.productsDiv {
    background-color: var(--white);
    border-radius: 0 25px 25px 0;
    padding: 25px 25px 25px 60px;
    width: 100%;
    margin-left: -25px;
}

.productsCont {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    grid-auto-rows: minmax(0, 1fr);
    height: calc(100% - 25px);
    justify-items: center;
}

.productsCont>div {
    display: grid;
    grid-template-rows: 20px 100px 30% auto 40px;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    padding: 25px;
    text-align: center;
}

.productsCont .title {
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    margin: 0;
}

.productsCont img {
    height: 50px;
    width: auto;
    justify-self: center;
    align-self: center;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}

.productsCont .subtitle {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    align-content: center;
}

.productsCont .text {
    font-size: 16px;
    margin: 0;
}

.productsCont .btn {
    padding: 10px;
    width: 60%;
    align-self: end;
    justify-self: center;
}

@media (max-width: 768px) {
    .productsDiv {
        width: calc(100% - 20px);
        margin-left: 0;
        margin-top: -20px;
        border-radius: 0 0 25px 25px;
        padding: 40px 10px 10px;
    }

    .productsCont {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        height: auto;
    }

    .productsCont>div {
        padding: 10px;
        grid-template-rows: auto auto auto auto auto;
        width: 85%;
    }

    .productsCont .title {
        font-size: 14px;
    }

    .productsCont img {
        height: 20px;
    }

    .productsCont .subtitle {
        font-size: 14px;
    }

    .productsCont .text {
        font-size: 14px;
    }

    .productsCont .btn {
        width: 80%;
        padding: 8px;
    }
}


/* Start hidden */
.welcomeSect img,
.whoWeAreSect div,
.servicesDiv div,
.productsCont div,
.callToActionSect p,
.callToActionSect a {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.welcomeSect .btn {
    opacity: 0;
    transform: translateY(40px);
}

/* Fade in when visible */
.welcomeSect img.fade-in,
.welcomeSect .btn.fade-in,
.whoWeAreSect div.fade-in,
.servicesDiv div.fade-in,
.productsCont div.fade-in,
.callToActionSect.fade-in,
.callToActionSect p.fade-in,
.callToActionSect a.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* callToActionSect */

.callToActionSect {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color2));
    color: var(--black);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.callToActionSect .title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.callToActionSect p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.callToActionSect .btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.callToActionSect .btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .callToActionSect {
        padding: 20px;
    }

    .callToActionSect .title {
        margin: 0;
        font-size: 18px;
    }

    .callToActionSect p {
        font-size: 15p;
    }

    .callToActionSect .btn {
        width: calc(100% - 40px);
    }
}