@font-face {
    font-family: Comfortaa;
    src: url('../font/Comfortaa/Comfortaa-VariableFont_wght.ttf');
}

@font-face {
    font-family: Montserrat;
    src: url('../font/Montserrat/Montserrat-VariableFont_wght.ttf');
}

:root {
    --color-1: #051428;
    --color-2: #053278;
    --color-3: #96c8e6;
}

*,
html {
    scroll-behavior: smooth !important;
}

body {
    background: #051428;
    color: white;
    font-family: 'Comfortaa', cursive;
    font-size: 17px;
    line-height: 27px;
    background-image: url(../img/ARP-IT-4-MIRROR2.webp);
  background-position: bottom right;
  background-repeat: no-repeat;
   background-attachment:fixed;
}

input,
textarea {
    border: 2px solid var(--color-3) !important;
    border-radius: 10px;
    background: white;
    padding: 10px 20px;
}

button {
    background: var(--color-3);
    padding: 15px 40px;
    border: none;
    color: white;
    font-family: 'Comfortaa';
    border-radius: 10px;
    font-size: 1.3rem;
}

h1,
h2,
h3,
h4,
h5 {
    color: white;
    font-family: 'Comfortaa', cursive;
    clear: both;
}

h1 {
    font-size: 3rem;
    line-height: 4rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 3.2rem;
}

h3 {
    font-size: 2rem;
    line-height: 2.7rem;
}

@media (min-width:768px) and (max-width:1400px) {
    h1 {
        font-size: 2rem;
        line-height: 2.4rem;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }
}

@media (min-width:320px) and (max-width:767px) {
    h1 {
        font-size: 2rem;
        line-height: 2.4rem;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }
}

p {
    color: white;
    font-family: 'Montserrat';
    font-size: 15pt;
    margin: 0;
    line-height: 2.6rem;
}

a {
    color: white;
    font-family: 'Comfortaa';
}

form {
    margin-top: 2.67em;
}

form>* {
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

li {
    width: 100%;
    padding: 8px 0;
    list-style-type: square;
}

.fa-solid,
.fa-regular {
    margin-right: 10px;
}

.button {
    background: var(--color-3);
    padding: 5px 25px;
    font-family: 'Comfortaa';
    color: white;
    border-radius: 10px;
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 1rem;
    border: 1px solid #ffffff;
}

.margin_top_25 {
    margin-top: 25px;
}

.margin_bottom_25 {
    margin-bottom: 25px;
}

.margin_top_50 {
    margin-top: 50px;
}

.margin_bottom_50 {
    margin-bottom: 50px;
}


.text_line_left {
    padding-left: 70px;
    position: relative;
}

.text_line_left:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: calc(100% - 24px);
    background: var(--color-3);
    border-radius: 10px;
}

.text_line_right {
    padding-right: 40px;
    position: relative;
}

.text_line_right li {
    list-style-type: none;
}

.text_line_right:before {
    content: " ";
    position: absolute;
    right: 0;
    width: 10px;
    height: 100%;
    background: var(--color-3);
    border-radius: 10px;
}

@media (min-width:320px) and (max-width:767px) {

    .text_line_right,
    .text_line_left {
        padding-left: 40px;
    }
}

.header_img {
    width: 100%;
}

.text_light_blue {
    color: var(--color-3);
}

.header_container {
    background-image: url(../img/ARP-IT-4-EDIT.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    position: relative;
}

.text_container {
    position: relative;
}

.header_logo {
    width: 500px;
    margin: 70px 0;
}

.header_menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.5rem;
    z-index: 2;
    position: absolute;
    border-radius: 10px;
    text-align: right;
    padding: 15px;
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: calc((100vw - 1400px)/2 + 221px);
    transition: 0.6s !important;
    transition-timing-function: ease;
    min-width: 220px;
}

.header_menu.text_line_left:before {
    transition: opacity 0.8s;
    opacity: 0;
}

.header_menu ul {
    width: fit-content;
    margin: 0;
}

.header_menu li {
    transition: 0.6s;
    white-space: nowrap;
}

.header_menu_scroll {
    position: fixed;
    background: #3a5e8d73;
    backdrop-filter: blur(5px);
    width: calc(((100vw - 1400px) / 2) - 90px);
    top: 80px;
}

.header_menu_scroll ul.text_line_right:before {
    transition: opacity 0.4s;
    opacity: 0;
}

.header_menu_scroll li {
    width: 0;
}

.header_menu_scroll.text_line_left:before {
    opacity: 1;
}

.header_menu.text_line_left:before {
    top: 0;
    height: 100%;
}

.header_menu a {
    transition: 0.6s;
}

.header_menu a:hover {
    padding-right: 10px;
}

.header_menu_scroll a:hover {
    padding-left: 10px;
}

.header_text {
    position: absolute;
    bottom: 50px;
}

.mobile_menu_button {
    display: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.mobile_header {
    display: none;
}

@media (min-width:320px) and (max-width:767px) {
    .header_logo {
        margin-top: 110px;
    }

    .header_menu_scroll .mobile_menu_button {
        display: block;
    }

    .header_menu {
        width: 100vw;
        top: 0;
        border-radius: 0;
        background: #3a5e8d;
    }

    .header_menu_scroll ul {
        display: none;
        width: auto;
    }

    .header_menu_scroll a:hover {
        padding-left: 0px;
    }

    .header_menu.text_line_left:before {
        opacity: 0;
    }

    .header_logo {
        width: 100%;
    }

    .header_logo_link {
        flex-grow: 1;
    }

    .header_container {
        background-position: 58% 27%;
        background-size: auto 74%;
    }

    .mobile_header {
        display: flex;
        justify-content: space-between;
        padding: 0 25px;
    }

    .mobile_header img {
        height: 30px
    }
}

.intro_container {
    background-image: url(../img/ARP-IT-1-EDIT.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 100px;
}

@media (min-width:320px) and (max-width:767px) {
    .intro_container {
        background-image: none;
    }
}

.specialty_bar_container {
    width: 100%;
    max-width: 480px;
    margin-bottom: 30px;
}

.specialty_bar_container:last-of-type {
    margin-bottom: 0;
}

.specialty_bar_background {
    position: relative;
    height: 15px;
    width: 100%;
    background: var(--color-3);
    border-radius: 10px;
}

.specialty_bar {
    position: absolute;
    left: 0;
    top: 10;
    height: 100%;
    background: var(--color-2);
    border-radius: 10px;
}

.logo_container {
    background-image: url(../img/ARP-IT-6-EDIT.webp);
    background-size: 100% 600px;
    background-repeat: no-repeat;
    background-position: center center;
    height: 600px;
}

@media (min-width:320px) and (max-width:767px) {
    .logo_container {
        background-size: 190% 600px;
        padding: 5vh 0;
    }
}

.logo_container img {
    width: 20%;
    filter: brightness(0) invert(1);
    padding: 0 20px;
}


@media (min-width:320px) and (max-width:767px) {
    .logo_container img {
        width: 50%;
    }

}

.blog_element {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}

.blog_element img {
    width: 300px;
    border-radius: 10px;
    margin-right: 20px;
}

.blog_element_text {
    display: flex;
    justify-content: space-between;
}

.blog_element_text p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog_element .button {
    align-self: flex-end;
}

.linkedin_logo {
    margin-top: 20px;
    width: 150px;
}

@media (min-width:320px) and (max-width:767px) {
    .blog_element {
        flex-wrap: wrap;
    }

    .blog_element img {
        width: 100%
    }
}

.white_pattern_container {
    background: linear-gradient(342deg, var(--color-3), white, white, white);
    padding: 9vh 0;
    position: relative;
    min-height: 100vh;
}

.white_pattern_container:before {
    content: " ";
    background: url(../img/ARP-IT-PATTERN.svg);
    background-size: 500px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.white_pattern_container * {
    position: relative;
    z-index: 1;
}

.white_pattern_container h1,
.white_pattern_container h2,
.white_pattern_container p {
    color: var(--color-1) !important;
}

.footer_container {
    background-image: url(../img/ARP-IT-5-EDIT.webp);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    padding-top: 20vh;
}

@media (min-width:320px) and (max-width:767px) {
    .footer_container {
        background-size: auto 60%;
    }
}

.copyright_footer {
    position: absolute;
    bottom: 0;
}

.copyright_footer .screen_width {
    border-top: 1px solid var(--color-3);
}

.copyright_footer p,
.copyright_footer a {
    color: var(--color-3) !important;
    font-size: smaller;
}

.center_block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 0 auto;
    height: auto;
    display: block;
    clear: both;
    overflow: hidden;
}

/* Card Style */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    align-items: stretch; /* ensures equal height for all children */
}

@media screen and (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.card_1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #FFFFFF;
    background: linear-gradient(155deg, rgba(255, 255, 255, 1) 50%, rgba(150, 200, 230, 1) 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 100%;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
    border: 1px solid aliceblue;
    color: #333 !important;
    vertical-align: text-top;
}

.card_1:hover {
    transform: translateY(-5px);
}

.card_1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card_1-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem;
    text-align: left;
    flex-grow: 1; /* allows content to fill space */
}

.card_1 h3 {
    margin: 1.5rem 5% 0.5rem 5%;
    font-size: 1.2rem;
    line-height: 1.4rem;
    min-height: 3rem;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #051428;
}

.card_1 p {
    margin: 0 5% 20px 5%;
    flex-grow: 1;
    display: flex;
    color: #333 !important;
    padding-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5rem;
    font-weight: 300 !important;
    margin-bottom: 0;
}

.card_1 ul {
text-align: left;
}

.card_1 li {
    color: #333 !important;
    font-size: 0.95rem;
    line-height: 1.25rem;
    font-weight: 300 !important;
    padding: 5px 0;
}

.card_1 button {
    margin-top: auto;
    border: none;
    outline: 0;
    padding: 12px;
    color: white;
    background-color: var(--color-1);
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    border-radius: 0 0 10px 10px;
    transition: background-color 0.2s ease;
}


.card_1 button:hover {
    background-color: var(--color-2);
}

.main_header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 25px 40px;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.main_header.scroll {
    background-color: #051428;
    padding: 10px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.site_logo {
    height: 120px;
    transition: height 0.3s ease;
}

.main_header.scroll .site_logo {
    height: 40px;
}

.main_nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main_nav li {
    display: inline-block;
}

.main_nav a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main_nav a:hover {
    text-decoration: underline;
}

.horizontal_spread {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.align_center {
    align-items: center;
}

.text_container {
    padding-top: 160px;
}

.menu_toggle {
    display: none;
}

/* Responsive breakpoint */
@media (max-width: 768px) {
    .menu_toggle {
        display: block;
        color: white;
        font-size: 26px;
        cursor: pointer;
        z-index: 1001;
    }

    .main_nav {
        position: absolute;
        top: 100%;
        /* push menu below header */
        left: 0;
        width: 100%;
        /* make menu full width */
        box-sizing: border-box;
    }

    .main_nav ul {
        flex-direction: column;
        background-color: #0a1a2f;
        display: none;
        padding: 10px 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .main_nav ul.open {
        display: flex;
    }

    .main_nav ul li {
        text-align: center;

    }

    .main_nav ul li a {
        display: block;

    }

    .main_nav>.text_line_right,
    .main_nav>.text_line_left {
        padding: 0 !important;
    }

    .horizontal_spread {
        flex-wrap: nowrap;
    }

    .site_logo {
        height: 50px !important;
    }

    .main_header {
        padding: 10px 20px;
    }

    .text_container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.menu_toggle {
    padding-left: 10px;
}

.text_shadow {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.83);
}