body {
    margin: 0;
    font-family: "Inter", sans-serif;
}

.navbar {
    background: linear-gradient(180deg, #f7c95f, #fdb235);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-menu-item a {
    color: #0a0a3a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 12px;
}

    .nav-menu-item a:hover {
        background: #0a0a3a;
        color: #ffc247;
        border-radius: 10px;
    }

    .signup {
        margin-right: 50px;
    }

    .signup a {
        background-color: #0a0a3a;
        color: white;
        border-radius: 30px;
        padding: 8px 16px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
    }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {

    body {
        margin: 0;
        font-family: Arial, sans-serif;
    }

        body:has(.navbar .nav-container .active) {
            height: 100vh;
            overflow: hidden;
        }

    .navbar:has(.nav-container .active) {
        height: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

        .nav-menu.active {
            display: flex;
            padding-top: 50px;
        }

    .nav-menu-item,
    .signup {
        width: 100%;
    }

        .signup a {
            display: inline-block;
            width: 90%;
            text-align: center;
        }
}
.lang-btn{
    position:relative;
}

.lang-btn .lang-item {
    display: none;
    align-items: center;
    gap: 6px;
    color: #0a0a3a;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 12px;
    transition: background 0.3s, color 0.3s;
    width:20px;
}
    .lang-btn .selected-lang-item {
        display: flex;
        border: 2px solid #0a0a3a;
        border-radius: 20px;
        transition: border 1s ease;
    }
    .lang-btn:hover .selected-lang-item {
        border: 2px solid #0a0a3a;
        border-bottom: 0;
        border-radius: 0;
        border-radius: 15px 15px 0 0;
    }
    .lang-btn .hidden-item {
        position: absolute;
        transition: border 1s ease;
    }
    .lang-btn:hover .hidden-item {
        border: 2px solid #0a0a3a;
        border-top: none;
        border-radius: 0 0 15px 15px;
    }
    .lang-btn .lang-item:hover {
        background-color: #0a0a3a;
        color: white;
        border-radius:0;
    }
    .lang-btn:hover .lang-item {
        display: flex;
    }


        @media (max-width: 768px) {
            .lang-btn {
        width: 100%;
    }

        .lang-btn a {
            display: inline-block;
            width: 90%;
            text-align: center;
        }
}


.footer {
    background-color: #0a0a3a;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-left {
    flex: 1 1 50%;
    min-width: 300px;
    width: 50%;
}

    .footer-left h2 {
        font-weight: bold;
        margin-bottom: 20px;
    }

.social-icons a {
    margin-right: 10px;
    display: inline-block;
    color: #fff;
    font-size: 35px;
}

.social-icons img {
    width: 32px;
    height: 32px;
}

.footer-links {
    margin: 20px 0;
}

    .footer-links a {
        margin-right: 20px;
        color: white;
        text-decoration: underline;
    }

.footer-left p {
    font-size: 14px;
    margin: 8px 0;
}

.footer-left .disclaimer {
    font-size: 12px;
    color: #ccc;
    margin-top: 20px;
}

.footer-right {
    width: 50%;
    display: flex;
    justify-content: center;
}
    .footer-right img{
        width:50%;
    }

    .newsletter-box {
        background-color: #ffc24b;
        padding: 30px;
        border-radius: 30px;
        color: #000;
        width: 100%;
        max-width: 400px;
    }

    .newsletter-box h3 {
        margin: 0 0 10px;
    }

    .newsletter-box p {
        font-size: 14px;
        margin-bottom: 20px;
    }

.newsletter-form {
    display: flex;
    flex-wrap: nowrap;
}

    .newsletter-form input {
        flex: 1;
        padding: 10px;
        border: none;
        border-radius: 20px 0 0 20px;
    }

    .newsletter-form button {
        padding: 10px 20px;
        background-color: #0a0a3a;
        color: white;
        border: none;
        border-radius: 0 20px 20px 0;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column-reverse; /* inverser l'ordre */
        align-items: flex-start;
    }

    .footer-right {
        margin-top: 0;
        width: 100%;
    }

    .footer-left {
        width: 100%;
        margin-top: 30px; /* espace entre les deux */
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form input,
        .newsletter-form button {
            width: 100%;
            border-radius: 20px;
            margin-bottom: 10px;
        }

        .newsletter-form button {
            border-radius: 20px;
        }
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: url(../../../img/home/6934641_3491783.svg);
    background-repeat:no-repeat;
    background-size:cover;
}

    .hero h1 {
        font-size: 3.5rem;
        font-weight: 900;
        color: #111047;
        margin-bottom: 20px;
    }
    .hero h3 {
        font-size: 2.6rem;
        font-weight: 600;
        color: #111047;
        margin-bottom: 20px;
        margin-top:0;
    }

    .hero p {
        margin: 0 auto 30px;
        color: #ffc247;
        font-size: 2.3rem;
        line-height: 1.6;
    }

.get-started {
    background-color: #0a0a3a;
    color: #ffc247;
    border: none;
    border-radius: 42px;
    cursor: pointer;
    padding: 16px 52px 15.5px 20px;
    position: relative;
    line-height: 22.5px;
    font-weight: 800;
}

    .get-started:hover {
        background-color: #ffc247;
        color: #0a0a3a;
    }

/* CORPORATE VALUES SECTION */
.corporate-values {
    background: linear-gradient(180deg, #f7c95f, #fdb235);
    padding: 15px;
    padding-bottom: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.corporate-values-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-size: contain;
    width: 95vw;
    overflow: hidden;
    border-radius: 20px 100px;
    max-width: 1500px;
    height: 300px;
}

.cardV {
    color: white;
    position: relative;
    box-shadow: 12px 12px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -6px 4px 9px -4px rgba(0,0,0,0.75);
    background-repeat: no-repeat;
    background-size: cover;
}
.b1 {
    background-image: url(../../../img/home/Innovation.jpg);
}
.b2 {
    background-image: url(../../../img/home/Proximity.jpg);
}
.b3 {
    background-image: url(../../../img/home/Engagement.jpg);
}
    .cardV::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        opacity: .5;
        background: black;
    }

.boundry {
    background: linear-gradient(180deg, #f7c95f, #fdb235);
    width:20px;
}

    .cardV p {
        text-align: center;
        margin: 0 auto;
        line-height: 1.5;
        padding: 2.3em;
        z-index:1000;
    }

.corporate-values h1, .h21 h1 {
    display: flex;
    justify-content: center;
    font-weight: 800;
    font-size: 2.1em;
    color: #02033b;
    padding: 25px;
    margin-bottom: 45px;
}
    .h21 h1{
        padding:0;
    }

    .stars {
        display: flex;
        justify-content: center;
    }

.title {
    font-weight: 800;
    z-index:1000;
    /*price section*/
}

#pricing {
    background: #f5f8ff;
    padding: 4rem 1rem;
    font-family: 'Segoe UI', sans-serif;
    background: url(../../../img/home/6934641_3491783.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.card {
    flex: 1;
    min-width: 280px;
    max-width: 330px;
    background: #fff;
    border: 2.8px solid #001c80;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: -3px 2px 3px 5px rgb(190 190 190 / 83%);
}

    .card.popular {
        background: #00156a;
        color: white;
        transform:scaleY(1.1);
    }

        .card.popular .plan-name {
            background: #eee;
            color: #00156a;
        }

        .card.popular .badge {
            position: absolute;
            top: 0.5rem;
            left: 2rem;
            color: #00156a;
            font-weight: bold;
            width: 75.7px;
            border-radius: 3.69px;
            background-color: #a9b2ff;
            height: 22.2px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            font-family: Roboto;
        }

.plan-name {
    font-weight: bold;
    background-color: #f1f1f1;
    padding: 5.5px 13.8px;
    border-radius: 5.54px;
    display: inline-block;
    position: relative;
    letter-spacing: 0.01em;
    line-height: 27.7px;
    font-weight: 600;
    right: 7em;
    top: 0.5rem;
}

.plan-description {
    margin: 1rem 0;
}

.plan-price {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.per-month {
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.features {
    list-style: none;
    padding: 0;
    text-align: left;
}

    .features li {
        margin-bottom: 0.5rem;
    }

        .features li i {
            margin-right: 0.5rem;
        }

.start-trial {
    margin-top: 1.5rem;
    background: #000;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    width: 276px;
    border-radius: 3.69px;
    height: 36.9px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px 64.6px;
    box-sizing: border-box;
}

    .start-trial.yellow {
        background: #fdd56a;
        color: black;
    }

.no-cc {
    font-size: 0.85rem;
    color: gray;
    margin-top: 0.5rem;
}

    .no-cc.light {
        color: #ccc;
    }

@media screen and (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
}


/*section*/

.aside {
    background-color: #f3f8ff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 84px 5%;
    margin: 0 auto;
    background-color: white;
    background: url(../../../img/home/6934641_3491783.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.div10 {
    width: 90%;
    max-width: 1056px;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.h21 {
    position: relative;
    top: auto;
    left: auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.div11 {
    position: relative;
    top: auto;
    left: auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    font-size: 19px;
}

.a1 {
    border-radius: 42px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem 2rem;
}

.span1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 0.5rem;
}

.spanafter-icon2 {
    width: 1.25rem;
    position: relative;
    margin: 0 !important;
    top: auto;
    left: auto;
    height: auto;
    z-index: 1;
    vertical-align: middle;
}

.div12 {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    font-size: 23px;
    gap: 30px;
    width: 100%;
}

.div13 {
    width: 100%;
    position: relative;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.a2,
.a3,
.a4 {
    position: relative;
    top: auto;
    left: auto;
    border-radius: 48px;
    background-color: #fff;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 2rem;
    box-sizing: border-box;
    flex: 1 1 calc(33% - 40px);
    min-width: 300px;
    max-width: 340px;
    background: linear-gradient(180deg, #f7c95f, #fdb235);
    box-shadow: -3px 2px 3px 5px rgb(190 190 190 / 83%);
}

.figurelatest-insights-218357,
.figurelatest-insights-217525-icon {
    width: 100%;
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    object-fit: cover;
}

.build-your-vision-with-our-web,
.equipe-mixte-de-programmeurs-t-icon {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.div14,
.div15,
.div16 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.website-creation-and,
.community-management,
.design-and-graphics {
    width: 100%;
    position: relative;
    line-height: 1.3em;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    flex-shrink: 0;
}

.showcase-websites {
    margin: 0;
}

.showcase-websites-dynamic-container,
.social-media-management-visual-container,
.brand-guidelines-logo-container {
    width: 100%;
    position: relative;
    font-size: 1rem;
    line-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.professionalism {
    position: relative;
    line-height: 1.2em;
    font-weight: 800;
    font-size: 0.9rem;
}

.p,
.p1,
.p2 {
    margin: 0 !important;
    position: absolute;
    height: auto;
    width: fit-content;
    top: 1.5rem;
    left: 1.5rem;
    border-radius: 48px;
    background-color: #f3f8ff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    z-index: 2;
    text-align: left;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #f7c95f, #fdb235);
}

.mainprimary {
    margin-top: 40px; /* replaces absolute positioning */
    width: 100%;
    top: 810px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 36px;
}

/*========================design========================*/
.certosoftwarecom {
    width: 100%;
    position: relative;
    text-align: left;
    font-size: 60px;
    color: #02033b;
    font-family: Inter;
}

.section1 {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 84px 5%;
    margin: 0 auto;
    background: linear-gradient(180deg, #f7c95f, #fdb235);
}

.div17 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 0;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

.div18 {
    flex: 1 1 45%;
    min-width: 300px;
    height: auto;
    position: relative;
    text-align: left;
    width: 45%;
}

.showcase-websites {
    margin: 0;
}

.showcase-websites-dynamic-container1 {
    width: 100%;
}

.lets-build-your-container {
    letter-spacing: -0.72px;
    line-height: 1.2em;
    font-weight: 800;
    font-size: clamp(30px, 4.5vw, 60px);
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: left;
}

.we-help-businesses {
    font-size: 1.15rem;
    line-height: 1.6em;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 1.25rem;
    text-align: left;
}

.spanafter-icon3 {
    width: 1.25rem;
    height: auto;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.span2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.a5 {
    border-radius: 42px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem;
    cursor: pointer;
}

.get-started {
    position: relative;
    line-height: 1.2em;
    font-weight: 800;
    z-index: 0;
    font-size: 1.2rem;
}

.div19 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2.5rem;
}

.figure {
    position: absolute;
    height: calc(100% + 14px);
    width: calc(100% + 14px);
    top: -7px;
    right: -7px;
    bottom: -7px;
    left: 7px;
    background-color: #ffc247;
}

.adobestock-350132639-scaled-2-icon {
    z-index: 1;
    position: relative;
    height: 100%;
    width: 100%;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    max-width: 100%;
    overflow: hidden;
    max-height: 100%;
    object-fit: cover;
}

.div20 {
    width: 29.25rem; /*here*/
    height: 29.25rem; /*here*/
    position: relative;
}

/*========================responsive========================*/
@media (max-width: 1024px) {
    .aside, .section1 {
        padding: 60px 3%;
    }

    .div10 {
        width: 90%;
        height: auto;
    }

    .h21 {
        position: relative;
        padding: 0;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .our-services {
        font-size: clamp(36px, 6vw, 56px);
        white-space: normal; /* Allow wrapping */
    }

    .div11 {
        position: relative;
        top: auto;
        left: auto;
        padding: 0;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .div12 {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 3rem;
        width: 100%;
    }

    .div13 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .a2,
    .a3,
    .a4 {
        position: relative;
        top: auto;
        left: auto;
        width: calc(50% - 10px); /* Two columns */
        min-width: 300px;
        max-width: 340px; /* Keep max-width for consistency */
        height: auto;
        margin-bottom: 20px;
    }

    .p,
    .p1,
    .p2 {
        margin: 1rem auto;
    }

    .div19 {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .corporate-values-cards {
        border-radius: 0;
        overflow: initial;
        width: auto;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-image: none;
        height: auto;
    }
    .cardV {
        margin-bottom: 20px;
        border-radius: 10px 50px;
        overflow: hidden;
        
    }
        .cardV p,.cardV .title{
            z-index:1000;
            color:white;
        }
    .hero, .aside, #pricing {
        background: none;
    }
    .boundry {
        height: 0;
        width: 0;
    }
    .aside,
    .section1 {
        padding: 40px 3%;
        flex-direction: column;
        align-items: center;
    }

    .h21 {
        margin-bottom: 1.5rem;
    }

    .our-services {
        font-size: clamp(28px, 8vw, 40px);
    }

    .div11 {
        margin-top: 1.5rem;
    }

    .div12 {
        flex-direction: column; /* Stack cards vertically */
        gap: 20px;
        margin-top: 2rem;
    }

    .a2,
    .a3,
    .a4 {
        width: 95%;
        max-width: 400px;
        margin-bottom: 0; /* Remove extra margin if gap is used */
    }

    .p,
    .p1,
    .p2 {
        margin: 1rem auto;
    }

    .div17 {
        gap: 20px;
    }

    .lets-build-your-container {
        font-size: clamp(24px, 7vw, 36px);
    }

    .we-help-businesses {
        font-size: 1rem;
    }

    .div19 {
        margin-top: 2rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .aside,
    .section1 {
        padding: 30px 2%;
    }

    .our-services {
        font-size: clamp(24px, 6vw, 30px);
    }

    .a1 {
        padding: 0.8rem 2rem;
    }

    .get-started {
        font-size: 1rem;
    }

    .div14,
    .div15,
    .div16 {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .website-creation-and,
    .community-management,
    .design-and-graphics {
        font-size: 1.2rem;
    }

    .showcase-websites-dynamic-container,
    .social-media-management-visual-container,
    .brand-guidelines-logo-container {
        font-size: 0.9rem;
    }

    .lets-build-your-container {
        font-size: clamp(20px, 6vw, 28px);
    }

    .we-help-businesses {
        font-size: 0.9rem;
    }

    .a5 {
        padding: 0.8rem 2rem;
    }
}
/* Responsive design */
@media (max-width: 768px) {
    .section1 {
        flex-direction: column;
        padding: 40px 5%;
        align-items: center;
    }

    .div17 {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .div18 {
        width: auto; /* remove the forced 45% width */
        max-width: 100%; /* make it flexible */
        padding: 0;
    }

    .a5 {
        padding: 12px 30px;
    }

    .get-started {
        font-size: 14px;
    }

    .spanafter-icon3 {
        width: 16px;
        height: 12px;
    }

    .div20 {
        max-width: 360px;
        width: 100%;
        height: 360px; /*here*/
        right: 8px; /*here*/
    }

    .figure {
        top: -5px;
        left: 5px;
    }
}
