#top,
#bottom {
    padding: 100px 0;
    min-height: 80vh;
}

#top {
    background: url(http://portfolio.queenofwhisks.com/demo/overlay/border-bottom-triangle-edge.png) repeat-x center bottom,
    hsl(180, 40%, 80%) url(http://portfolio.queenofwhisks.com/demo/overlay/canvas.png);
    margin-top: 3rem;
}

.ribbon-container {
    background: transparent !important;
    position: relative;
    z-index: 0;
}

.ribbon-heading {
    font-size: 4rem;
    text-align: center;
    text-transform: uppercase;
    margin-top: 2rem;
}

.ribbon {
    background: hsl(30, 90%, 65%);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.5);
    font-family: Charter, serif;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    margin: 0 auto;
    padding: 0.25em 0;
    position: relative;
    width: 70%;
}

.ribbon-container p {
    font-size: 18px;
    margin-top: 1.5rem;
    margin-bottom: 20px;
    margin-left: 20px;
}

.ribbon:before,
.ribbon:after {
    border: 1.5em solid hsl(30, 82%, 62%);
    content: "";
    display: block;
    position: absolute;
    bottom: -1em;
    z-index: -1;
}

.ribbon:before {
    left: -2em;
    border-right-width: 1.5em;
    border-left-color: transparent;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.ribbon:after {
    right: -2em;
    border-left-width: 1.5em;
    border-right-color: transparent;
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.5);
}

.ribbon-content {
    border-top: 0.0625em dashed hsl(30, 90%, 44%);
    border-bottom: 0.0625em dashed hsl(30, 90%, 44%);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.08),
    inset 0px -1px 1px rgba(255, 255, 255, 0.08),
    0px -1px 1px rgba(255, 255, 255, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.08);
    display: block;
    padding: 0.6875em 0;
}

/* --------------------------------------------- */

.section-2-heading h1 {
    color: #f9b940;
    text-align: center;
    padding: 10px;
    font-size: 3rem;
    width: 90%;
    margin: 0 auto;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: 5rem;
}

.imgbox img {
    width: 100%;
}

.it-flexbox {
    display: flex;
    width: 100%;
    flex-direction: row;
    margin-top: 8rem;
    flex-wrap: nowrap;
}

.it-flex {
    width: 20%;
    display: flex;
    flex-direction: column;
    padding: 4%;
    justify-content: center;
}

.it-flexbottom {
    border-bottom: 6px solid #009688;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.it-flextop {
    border-top: 5px solid #009688;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    position: relative;
}

.it-flextop:before {
    content: "";
    width: 1px;
    height: 250px;
    background: #009688;
    position: absolute;
    left: 0; /* border-radius: 64px; */
}

.it-flextop:after {
    content: "";
    width: 1px;
    height: 250px;
    background: #009688;
    position: absolute;
    right: 0;
}

.it-flexbottom {
    box-shadow: inset 0px -20px 0px #03a999;
}

.it-flex.flextop {
    box-shadow: inset 0px 20px 0px #03a999;
}

.stepNumber {
    width: 100%;
    text-align: center;
    border: 1px solid orange;
    border-radius: 50px 0px 50px 0px;
    background: orange;
    color: white;
}

.textbox p {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.box1 {
    position: relative;
    margin: 0 auto;
    max-width: 500px;
    margin-top: 2rem;
    display: none;
}

/* --------------------------------------------- */

.outstaffing-container {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url(/static/assets/it_staffing_bg.avif);
    overflow-x: hidden;
    max-width: 800px;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 50px auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 1s ease-in-out;
}

.heading {
    text-align: center;
    color: #000;
    font-size: 32px;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.outstaffing-card {
    width: calc(33.333% - 20px);
    background: #000;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    animation: slideInCard 1s ease-in-out;
}

.outstaffing-card:hover {
    transform: scale(1.1);
}

.card-heading {
    background: #007bff;
    color: #fff;
    font-size: 20px;
    padding: 15px;
    margin: 0;
    text-align: center;
}

.card-content {
    padding: 20px;
    background-color: #000;
    height: 100%;
}

.card-content p {
    margin: 0;
    line-height: 1.6;
    color: #fff;
    font-size: 12px;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------ */

/* media queries */

@media screen and (max-width: 650px) {
    .ribbon-container {
        margin: 0 2rem;
    }

    .card-container {
        flex-direction: column;
    }

    .outstaffing-card {
        width: 100%;
    }
}

/* ---------------------------------------------------- */
.accelerate-development-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    color: #fff;
    margin: 2rem;
    align-items: center;
    margin-top: 10rem;
}

.accelerate-development-heading h2 {
    font-size: 2rem;
    color: var(--color-light);
}

@media screen and (max-width: 750px) {
    .accelerate-development-section {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }
}

/* ----------------------------------- */

.it-container {
    max-width: 1200px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.background-container {
    position: relative;
    padding-bottom: 100px !important;
    padding-top: 100px !important;
    text-align: center !important;
}

.background-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            from(rgba(23, 27, 38, 0.92)),
            to(rgba(39, 45, 62, 0.92))
    );
}

.background-cover {
    z-index: 2;
    position: relative;
    color: #fff;
}

.line-heading {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.line-heading-left {
    margin: 0;
    text-align: start;
    padding: 0;
}

.line-heading-left h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro",
    "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    line-height: 1.1;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

.line-heading-left h4 {
    font-size: 1.75rem;
    font-weight: 300;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro",
    "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: #05b0e3;
    line-height: 1.1;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

.line-heading p {
    margin-left: 38px;
    margin-top: 0;
    border-left: 3px solid #05b0e3;
    padding: 12px 0 12px 30px;
    line-height: 24px;
    -webkit-box-flex: 1;
    flex: 1;
    font-size: 1rem;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro",
    "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: #bfbfbf;
    text-align: left;
    margin-bottom: 0;
}

/* ------------------------------------ */

.itoutstaff-svg {
    height: 23rem;
    margin-right: 4rem;
}

#envelope {
    animation: float 2s ease-in-out infinite;
}

#star1,
#star2,
#star3,
#star4,
#star5,
#star6 {
    animation: blink 1s ease-in-out infinite;
}

#star2 {
    animation-delay: 100ms;
}

#star3 {
    animation-delay: 500ms;
}

#star4 {
    animation-delay: 700ms;
}

#star5 {
    animation-delay: 300ms;
}

#star6 {
    animation-delay: 200ms;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.outstaff-form {
    min-width: 25rem;
}

.outstaff-form .title {
    color: #fff;
    font-size: 2.5rem;
}

.outstaff-form .form-control {
    background-color: #f2f6f8;
    border: none;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
}

.outstaff-form .form-control.thick {
    height: 3.3rem;
    padding: 0.5rem 3.5rem;
}

.outstaff-form .form-control:focus {
    background-color: #f2f6f8;
    border: none;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
}

.outstaff-form .message .form-control {
    padding: 0.5rem 1.8rem;
}

.outstaff-form ::placeholder {
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #838788;
    position: relative;
    left: 0;
}

.outstaff-form input,
.outstaff-form textarea {
    font-family: "Quicksand", sans-serif;
    color: #212529;
    font-size: 1.1rem;
}

.outstaff-form .icon {
    color: #57565c;
    height: 1.3rem;
    position: absolute;
    left: 1.5rem;
    top: 1.1rem;
}

.btn.btn-primary {
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    height: 2.5rem;
    line-height: 2.5rem;
    padding: 0 3rem;
    border: 0;
    border-radius: 3rem;
    background-image: linear-gradient(131deg, #ffd340, #ff923c, #ff923c, #ff923c);
    background-size: 300% 100%;
    transition: all 0.3s ease-in-out;
}

.btn.btn-primary:hover:enabled {
    box-shadow: 0 0.5em 0.5em -0.4em #ff923c ba;
    background-size: 100% 100%;
    transform: translateY(-0.15em);
}

.itoutstaff-svg {
    margin-right: 0rem !important;
}

.outstaff-form {
    margin-bottom: 5rem;
}

.Contact-us-container {
    gap: 30px;
}

@media screen and (max-width: 800px) {
    .Contact-us-container {
        flex-direction: column;
    }

    .itoutstaff-svg {
        height: 13rem;
        margin-top: 3rem;
    }

    .it-flexbox {
        display: none;
    }

    .box1 {
        display: block;
    }

    .ribbon {
        border-bottom: 1px solid black;
    }
}

@media screen and (max-width: 550px) {
    .ribbon-heading {
        font-size: 3rem;
    }
}
