/* 
* CUSTOM STYLESHEET FOR HELLO THEME CHILD MASTER
* Prioritised styles go here, also assist for multiple devs on same site.
*/

/* Home page banner image/video */

/* The hero section container */

/* Add a dark overlay for better text readability */
/* .hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);    
    z-index: 2;  
} */


/* The video element */


/* Desktop View (992px and above) */
@media (min-width: 992px) {
    .hero-video {
        display:block;
    }
}

.client-logos-section {
    padding: 10px 0;
}

/* Owl Carousel */
/* Image Size */
.owl-carousel .owl-item img{
    width:60%;
    margin: 0 auto;
}

#about-carousel .owl-item img{
    width:80%;
}

.owl-carousel.owl-drag .owl-item div{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.owl-carousel.owl-drag .owl-item div.pt-20{
    padding-top: 20px !important;
}

/* Header Banner Font Size */
.hero-content {
  padding-top: 20vh;
}
.home .hero-content {
  padding-top: 30vh;
}


.hero-title {
    font-size: 1.8rem;
}


/* AO Solutions */


/* ============================================
   SOLUTIONS & SERVICES GRID
   ============================================ */

.solutions-grid,
.services-grid {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.solution-item,
.service-item {
    margin-bottom: 20px;
}

.solution-title,
.service-title {
    color: #F05024;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.solution-description,
.service-description {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    color: #20282D;
}

/* ============================================
   PAYMENT GATEWAY CARD (#payment-gateway)
   ============================================ */

/* #payment-gateway {
    padding: 80px 0;
} */
.main-solutions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: block;
  box-sizing: border-box;
  display: block;
}
.ao-solutions-section {
  background-image: url(/wp-content/uploads/2025/11/low-angle-shot-of-a-modern-business-glass-building-2023-11-27-05-29-40-utc-1.png);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2rem 0;
  width: 100%;
}
.ao-solution {
    background-color: #262F348C;
    color: #fff;
    border-radius: 30px;
    display: block;
    margin: 0 auto 30px;
}
.ao-solution .solution-img-container {
    display: grid;
    align-items: center;
    border-radius: 30px;
    justify-content: center;
    background-color: #20282D;
    padding:50px 0;
}
.ao-solution .solution-img-container img {
    width: 100%;
    margin:0 auto;
    max-width:90%;
}
.ao-solution .solution-img-container.img-grid {
    display: grid;
    place-items: center;
}

.ao-solution .solution-img-container.smaller-logo img {
    max-width:60%;
}

.ao-solution .solution-content {
    flex: 1;
    padding: 10px 20px;
}

.ao-solution .solution-title {
    font-size: 20px;
    font-weight: 700;
    color:#ffffff;
}

.ao-solution .solution-title span {
    font-size: 18px;
    font-weight: 400;
    display:block;
}

.ao-solution .solution-content p,
.ao-solution .solution-content ul li {
    font-size: 14px;
}

.ao-solution .solution-content ul {
    margin: 10px 0 20px;
    padding-left: 20px;
}

/* Services Page */
.services-page-section {
    padding: 60px 20px;
}

.services-page-section {
    padding: 40px 15px;
}

.services-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-page-card {
    position: relative;
    margin: 40px 0;
    border-radius: 25px;
    overflow: visible;
    min-height: 200px;
}

.service-content-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(32, 40, 45, 0.5);
    min-height:290px;
}

.service-header {
    background: #262F34;
    padding: 30px 40px 70px;
	border-radius: 25px 25px 0 0;
    text-align: center;
}


.service-header h3 {
    color: #F05024;
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.service-image {
    width: 100%;
    padding:20px 20px 0;
    max-width: 400px;
    margin:0 auto;
    margin-top:-70px;
    max-height:250px;
    overflow: hidden;
    border-radius: 25px;
}

.service-image img {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.service-body {
    padding: 30px 40px;
    padding: 20px;
    text-align: center;
}

.service-body p {
    font-size: 0.95em;
    line-height: 1.7;
    color: #e8e8e8;
    margin: 0;
}

.service-header h3 {
    font-size: 24px;
}

.service-body p {
    font-size: 0.85em;
}

.call-to-action-container {
    max-width: 1200px;
    margin: 0 auto;
    padding:40px 60px;
    display: grid;
}
.call-to-action-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
}

.call-to-action-container h3 {
    font-size:25px;
}
.call-to-action-container p {
    color:#ffffff;
    font-size:1rem;
}


/* ============================================
   WHAT WE OFFER SECTION (Offer Items)
   ============================================ */

.offer-header {
    padding: 70px 20px;
    text-align: center;
}

.offer-header h1 {
    color: #F24E1E;
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.offer-header p {
    color: #333;
    font-size: 0.95em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.offer-item {
    width: 100%;
    padding: 20px 20px;
}

.offer-item.dark {
    background: #20282D;
    color: white;
}

.offer-item.light {
    color: #333;
}

.offer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding:0 2rem;
    display: grid;
}

.offer-content {
    text-align: center;
    order:2;
}

.offer-item.reverse .offer-content {
    text-align: center;
}

.offer-content .custom-border {
    border-bottom: 2px solid #F24E1E;
    width: 60%;
    display: block;
    margin: 10px auto;
}

.offer-item.reverse .offer-content .custom-border {
    margin-left: auto;
}

.offer-content h2 {
    color: #F24E1E;
    font-size: 20px;
    /* margin-bottom: 20px; */
    font-weight: bold;
}

.offer-content p {
    font-size: 0.95em;
    line-height: 1.6;
}

.offer-item.dark .offer-content p {
    color: white;
}

.offer-item.light .offer-content p {
    color: #333;
}

.offer-image {
    padding: 10px 0;
    order:1;
    text-align: center;
}

.offer-item.reverse .offer-image {
    order: 1;
    justify-content: start;
    align-items: center;
}

.offer-image img {
    height: auto;
}

/* Contact Form on the Country pages */
.form-map-container {
    margin-top:50px;
}

/* Blog styling */
/* Archives */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-container .page-content {
    padding:40px 0;
    max-width: 1200px;
    display: block;
}

.blog-container .post {
    margin:20px auto 50px;
}

.blog-container .post h2.entry-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color:#F05024;
}
.blog-container .post h2.entry-title a {
    color:#F05024;
    text-decoration: none;
}


/* Products page */
.product-header {
    max-width:1200px;
    margin:0 auto;
    padding:80px 0;
}

.product-header, .product-item {
    padding:40px 50px;
}

.product-header p {
    width:100%;
    max-width: 100%;
}

.product-item .product-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width:1200px;
    margin:0 auto;
    padding:20px 0;
}

.product-item .content-text {
    flex:1;
    max-width: 100%;
    text-align: left;
}
.product-item .content-image {
    max-width: 100%;
    width:100%;
    text-align: center;
}

.product-item .content-image img {
    max-width: 100%;
    height: auto;
}

.product-item .content-text .product-features ul {
    margin-left: 20px;
    margin-top: 10px;
}

.product-item.light .content-image {
    text-align: center;
}

.product-item.light-reversed .content-image {
    text-align: center;
}

#card-management-tietoevry .product-description,
#card-management-tietoevry .product-features {
    max-width:1200px;
}

/* .product-item.light .content-text {
    text-align: right;
} */


/*
.product-item.dark .content-text {

} */


@media (min-width: 768px) {
    /* Footer */
    .site-footer:not(.dynamic-footer) {
        padding:40px 0px;
    }

    .contact-section.form-map-section {
        padding:0 2rem;
    }
}

@media (min-width: 992px) {

    /* Header / Menu Fix for desktop */
    .site-header:not(.dynamic-header) {
        max-width:992px;
        /* margin:0 auto; */
    }

    .nav-menu a {
        font-size: 0.80rem;
    }

    .hero-content {
        padding-top: 30vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .ao-solution {
        background-color: #262F348C;
        color: #fff;
        border-radius: 30px;
        display: flex;
        margin: 0 auto 30px;
    }

    .ao-solution .solution-img-container {
        flex: 0 0 430px;
        display: flex;
        align-items: center;
        border-radius: 30px;
        justify-content: center;
        background-color: #20282D;
        padding:0 0;
    }

    .ao-solution .solution-content {
        padding: 10px 40px;
    }

    .ao-solution .solution-title {
        font-size: 32px;
    }

    .ao-solution .solution-content p,
    .ao-solution .solution-content ul li {
        font-size: 16px;
    }

    .service-header {
        padding: 30px 20px 30px;
        text-align: left;
    }

    .service-page-card.reverse .service-header h3 {    
        text-align: right;
    }

    .service-page-card:not(.reverse) .service-body {
        padding-right: 60%;
        text-align: left;
    }

    .service-page-card.reverse .service-body {
        padding-left: 60%;
        text-align: right;
    }

    .service-page-card.reverse .service-body p {    
        text-align: right;
    }

    .service-image {
        position: absolute;
        right:20px;
        left:auto;
        padding: 0 0;
        max-width: 400px;
        border-radius: 20px;
    }

    .service-page-card.reverse .service-image {    
        right:auto;
        left: 20px;
    }

    /* Call to action */
    .call-to-action-container {
        padding:40px 15px;
        display: flex;
    }
    .call-to-action-button-wrapper {
        margin-left: auto;
    }

    /* What we do */
    .offer-item {
        min-height: 300px;
        padding: 0 90px;
    }
    .offer-container {
        display: flex;
        align-items: center;
    }
    .offer-content {
        flex: 1;
        padding: 60px 0px;
        text-align: left;
        order:1;
    }
    .offer-item.reverse .offer-content {
        order: 2;
        text-align: right;
    }
    .offer-content h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .offer-content .custom-border {
        width: 260px;
        margin:10px 0;
    }
    .offer-image {
        flex: 1;
        padding: 40px 0;
        display: flex;
        justify-content: end;
        align-items: center;
        order:2;
    }
    .offer-item.reverse .offer-image {
        order: 1;
    }
    .offer-image img {
        max-width: 415px;
    }

    /* Contact Form on the Country pages */
    /* .contact-section.form-map-section {
        padding:0 2rem;
    } */

    /* Contact Form on the Country pages */
    .form-map-container {
        margin-top:100px;
    }

    .contact-info-list p {
        margin-bottom: 20px;
        font-size: 0.95rem;
        display: flex;
        align-items: flex-start;
        gap: 15px;
        color: #ffffff;
    }

    .contact-info-list svg {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .contact-info-list a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .blog .blog-container .page-content {
        display: grid;
        gap: 40px;
        padding:40px 0;
        max-width: 1200px;
        grid-template-columns: repeat(3, 1fr);
    }


    /* Products page */
    .product-header, .product-item {
        padding:40px 20px;
    }
    .product-item .product-content {
        display: flex;
        flex-direction: row;
        gap: 20px;
        max-width:1200px;
        margin:0 auto;
        padding:20px 0;
    }

    .product-item .content-text {
        flex:1;
        max-width: 50%;
        text-align: left;
    }
    .product-item .content-image {
        max-width: 50%;
        width:100%;
        text-align: right;
    }

    .product-item .content-image img {
        max-width: 100%;
        height: auto;
    }

    .product-item .content-text .product-features ul {
        margin-left: 20px;
        margin-top: 10px;
    }

    .product-item.light .content-image {
        text-align: left;
    }

    .product-item.light-reversed .content-image {
        text-align: right;
    }

}

@media (min-width: 1200px) { 

    /* Header / Menu Fix for desktop */
    .nav-menu a {
        font-size: 0.85rem;
    }

}


@media (min-width: 1400px) { 

    /* Header / Menu Fix for desktop */
    .site-header:not(.dynamic-header) {
        max-width:1400px;
    }

    .nav-menu a {
        font-size: 0.95rem;
    }


}

