/* =========================================================
   Consolidated Styles for Migrated Sections (UI/UX Page)
   Contains styles for Hero, About Us, etc.
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

/* --- Compatibility Variables --- */
:root {
    --ridda-primary-color: #ff8c72;
    --ridda-secondary-color: #ff8c72;
    --ridda-heading-color: #181C61;
    --ridda-border-color: rgba(24, 28, 97, 0.1);
    --ridda-heading-font: "Manrope", sans-serif;
    --ridda-base-font: "Inter", sans-serif;

    --hs-primary-color: #ff8c72;
    --hs-secondary-color: #ff8c72;
    --hs-heading-color: #181C61;
    --hs-base-color: #181C61;
    --hs-border-color: rgba(3, 27, 225, 0.1);
    --hs-heading-font: "Manrope", sans-serif;
    --hs-base-font: "Inter", sans-serif;
}

/* --- Global Section Scoping --- */
.hero-section-uiux,
.about-area {
    font-family: var(--ridda-base-font);
}

.hero-section-uiux *,
.about-area * {
    box-sizing: border-box;
}

/* --- Shared Components from Ridda --- */
.section-title {
    margin-top: -10px;
    position: relative;
    text-align: left;
}

.section-title h2 {
    margin-bottom: 22px;
    letter-spacing: -1px;
    text-transform: capitalize;
    color: var(--ridda-heading-color);
}

@media only screen and (max-width: 991px) {
    .section-title h2 {
        font-size: 42px;
    }
}

.subtitle {
    font-weight: 600;
    padding: 10px 20px;
    background: transparent;
    border-radius: 10px;
    color: var(--ridda-heading-color);
    display: inline-block;
    border: 1px solid var(--ridda-border-color);
    margin-bottom: 15px;
}

.theme-btn,
a.theme-btn {
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
    overflow: hidden;
    text-align: center;
    padding: 12px 32px;
    border-radius: 10px;
    position: relative;
    align-items: center;
    display: inline-flex;
    color: #ffffff;
    justify-content: center;
    text-transform: capitalize;
    background: var(--ridda-primary-color);
    text-decoration: none;
    font-size: 14px;
}

.theme-btn:hover,
a.theme-btn:hover {
    background: #fc7662;
    color: white;
}

.list-style-one li {
    display: flex;
    font-weight: 500;
    color: var(--ridda-heading-color);
    font-family: var(--ridda-heading-font);
    align-items: flex-start;
}

.list-style-one li:before {
    color: white;
    font-size: 10px;
    content: "\f00c";
    margin-top: 6px;
    font-weight: 900;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    background: var(--ridda-heading-color);
    line-height: 18px;
    border-radius: 50%;
    text-align: center;
    font-family: "Font Awesome 5 Free";
    flex-shrink: 0;
}

.list-style-one li:not(:last-child) {
    margin-bottom: 8px;
}

/* --- Hero Area Four --- */
.hero-section-uiux {
    background: transparent;
    background-image: url('../../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #181C61;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-section-uiux .hs-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 120px 30px 80px;
}

.hero-section-uiux .hero-content-four h1 {
    font-family: var(--hs-heading-font);
    line-height: 1.2;
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: -1px;
    text-align: center;
}

.hero-section-uiux .hero-content-four p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto 20px;
    color: #ffffff;
    text-align: center;
}

.hero-section-uiux .theme-btn {
    display: block;
    margin: 30px auto 10px;
    width: fit-content;
}

/* --- Why Choose Us Section --- */
.about-area {
    padding: 20px 0;
    /* Reduced padding since it's inside another container */
    position: relative;
    background-image: url('../../images/brands-bg.svg');
    background-size: cover;
    background-position: center;
    color: var(--ridda-heading-color);
}

.about-area p,
.about-area h5 {
    color: var(--ridda-heading-color);
}

.about-circles {
    max-width: 325px;
    margin-bottom: 55px;
}

.about-circles .circle {
    width: 170px;
    height: 170px;
    padding: 10px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ridda-heading-color);
    font-weight: 700;
    background: white;
}

.about-circles .circle.bgc-black {
    background: #000;
    color: white;
    border-color: #000;
}

.about-circles .circle.bgc-primary {
    background: var(--ridda-primary-color);
    border-color: var(--ridda-primary-color);
    color: white;
}

.about-circles .circle.bgc-blue {
    background: var(--ridda-heading-color);
    border-color: var(--ridda-heading-color);
    color: white;
}

.about-circles .circle:not(:last-child) {
    margin-bottom: -12%;
}

.about-content-four h2 {
    color: var(--ridda-heading-color);
    font-weight: 800;
    margin-bottom: 22px;
}

@media only screen and (min-width: 480px) {
    .about-content-four .list-style-one {
        display: flex;
        flex-wrap: wrap;
    }

    .about-content-four .list-style-one li {
        width: 48%;
    }
}

.about-four-image-part img {
    max-width: 100%;
}

/* Helper Utilities */
.rel {
    position: relative;
}

.z-1 {
    z-index: 1;
}

.mt-10 {
    margin-top: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.my-30 {
    margin: 30px 0;
}

.rpt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}

.px-xl-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.pt-130 {
    padding-top: 130px;
}

.gap-50 {
    gap: 50px 0;
}

.bordered-x {
    border-left: 1px solid var(--ridda-border-color);
    border-right: 1px solid var(--ridda-border-color);
}

/*******************************************************/

/***************** ## Design Principles ****************/

/*******************************************************/

/* Design Principles (Grid Layout) */

.work-process-item-two {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    background: white;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 40px 35px 15px;
    border: 1px solid var(--ridda-border-color);
}

@media only screen and (max-width: 375px) {
    .work-process-item-two {
        padding-left: 28px;
        padding-right: 28px;
    }
}

.work-process-item-two .number {
    width: 45px;
    height: 45px;
    font-weight: 700;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    line-height: 43px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 28px;
    display: inline-block;
    border: 1px solid var(--ridda-border-color);
}

.work-process-item-two h6 {
    margin-bottom: 15px;
}

@media only screen and (min-width: 376px) {
    .work-process-item-two h6 {
        font-size: 20px;
    }
}

.work-process-item-two .arrow {
    opacity: 0.5;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    margin-bottom: 15px;
}

.work-process-item-two:hover {
    border-color: var(--ridda-heading-color);
}

.work-process-item-two:hover .number {
    color: var(--ridda-heading-color);
    background: var(--ridda-primary-color);
    border-color: var(--ridda-primary-color);
}

.work-process-item-two:hover .arrow {
    opacity: 1;
}

.work-process-item-two.style-two {
    padding-bottom: 18px;
}

.work-process-item-two.style-two .number {
    margin-bottom: 18px;
}

/* --- Hero Shapes & Animations --- */
@keyframes rotated_circle_reverse {
    0% {
        transform: rotate(-360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.hero-shape {
    position: absolute;
    z-index: -1;
    max-width: 15%;
    left: 75%;
    top: 10%;
    animation: rotated_circle_reverse 20s infinite linear;
}

@media only screen and (max-width: 991px) {
    .hero-shape {
        left: 75%;
        max-width: 25%;
    }
}

/* --- Projects Section from Ridda --- */
.project-area {
    position: relative;
    z-index: 1;
}

.project-item {
    position: relative;
    margin-bottom: 30px;
}

.project-item .image {
    width: 100%;
    height: 400px;
    /* Force consistent height */
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.project-item .image img {
    width: 100%;
    height: 100%;
    /* Fill the container */
    object-fit: cover;
    /* Maintain aspect ratio and fill the container */
    transition: 0.5s;
}

.project-item:hover .image img {
    transform: scale(1.1);
}

.project-item .content {
    opacity: 0;
    transition: 0.35s;
    position: absolute;
    left: 35px;
    bottom: 25px;
    z-index: 2;
}

@media only screen and (max-width: 479px) {
    .project-item .content {
        left: 20px;
        bottom: 10px;
    }
}

.project-item .content .category,
.project-item .content h6,
.project-item .content h4 {
    line-height: 1.4;
    background: white;
    padding: 8px 20px;
    margin-bottom: 0;
    color: var(--ridda-heading-color);
    display: block;
    width: fit-content;
    text-decoration: none;
}

.project-item .content .category {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

@media only screen and (max-width: 375px) {
    .project-item .content .category {
        display: none;
    }
}

.project-item .content h6,
.project-item .content h4 {
    font-family: var(--ridda-heading-font);
}

.project-item .content h6 a,
.project-item .content h4 a {
    color: inherit;
    text-decoration: none;
}

@media only screen and (max-width: 575px) {

    .project-item .content h6,
    .project-item .content h4 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 479px) {

    .project-item .content h6,
    .project-item .content h4 {
        font-size: 18px;
    }
}

.project-item:hover .content {
    opacity: 1;
    bottom: 35px;
}

@media only screen and (max-width: 479px) {
    .project-item:hover .content {
        bottom: 20px;
    }
}


*******************************************************/
/******************* ## Work Process *******************/
/*******************************************************/

.working-process-area {
    position: relative;
    z-index: 1;
    background-color: #fff;
}

.working-process-area .container {
    max-width: 1290px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.working-process-area .bordered-x {
    border-left: 1px solid rgba(24, 28, 97, 0.1);
    border-right: 1px solid rgba(24, 28, 97, 0.1);
}

.working-process-area .pt-130 {
    padding-top: 80px;
}

.working-process-area .rpt-100 {
    padding-top: 80px;
}

.working-process-area .pb-80 {
    padding-bottom: 80px;
}

.working-process-area .rpb-50 {
    padding-bottom: 50px;
}

.work-process-item {
    margin-bottom: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media only screen and (max-width: 575px) {
    .work-process-item .image {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
}

.work-process-item .image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
}

.work-process-item .image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 7px;
}

.work-process-item .circle {
    width: 40px;
    height: 40px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    margin: 30px auto;
    background: #fff;
    position: relative;
    border-radius: 50%;
    border: 1px solid #181C61;
}

@media only screen and (max-width: 575px) {
    .work-process-item .circle {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
}

.work-process-item .circle:before {
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    background: #181C61;
    border-radius: 50%;
}

.work-process-item .content {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-align: center;
    border-radius: 7px;
    background: #fff;
    padding: 30px 20px 15px;
    border: 1px solid rgba(24, 28, 97, 0.1);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 300px;
}

@media only screen and (max-width: 575px) {
    .work-process-item .content {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }
}

.work-process-item .content p,
.work-process-item .content h5 {
    color: #181C61;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.work-process-item .content h5 {
    margin-bottom: 18px;
    font-family: var(--ridda-heading-font);
    font-weight: 700;
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .work-process-item .content p {
        font-size: 15px;
    }
}

.work-process-item:hover .circle {
    background: #0024ff;
    border-color: #0024ff;
}

.work-process-item:hover .circle:before {
    background: #fff;
}

.work-process-item:hover .content {
    background: #0024ff;
}

.work-process-item:hover .content p,
.work-process-item:hover .content h5 {
    color: #fff;
}

.work-process-line {
    top: 39%;
    left: -5%;
    z-index: -1;
    width: 116.5%;
    position: absolute;
}

@media only screen and (max-width: 1199px) {
    .work-process-line {
        display: none;
    }
}

.work-process-line img {
    width: 100%;
}

.work-process-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

@media only screen and (max-width: 991px) {
    .working-process-area .pt-130 {
        padding-top: 100px;
    }
}

@media only screen and (max-width: 767px) {
    .working-process-area .pt-130 {
        padding-top: 80px;
    }
    
    .working-process-area .pb-80 {
        padding-bottom: 50px;
    }
}


.working-process-area .text-white {
    color: #fff !important;
}


.hero-left-shape {
    position: absolute;
    z-index: -1;
    max-width: 300px;
    left: -80px;
    top: 45%;
    transform: translateY(-50%) scaleX(-1);
}

@media only screen and (max-width: 991px) {
    .hero-left-shape {
        max-width: 250px;
        left: -75px;
    }
}

@media only screen and (max-width: 767px) {
    .hero-left-shape {
        max-width: 200px;
        left: -50px;
    }
}
