/* =========================================
   Custom Services Page Styles
   Following High-End Visual Design Patterns
========================================= */

/* Hero Section */
.service-header {
    background-color: #0b111e;
    color: #fff;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.service-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}

.service-hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #01e4a9;
    /* Brand Accent */
    margin-bottom: 20px;
}

.service-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 65ch;
    line-height: 1.6;
}

/* Intro Section */
.intro-section {
    background-color: #f8fafc;
}

.intro-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #01e4a9;
    font-weight: 700;
    margin-bottom: 15px;
}

.intro-title {
    font-size: 35px;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.intro-desc {
    font-size: 16px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-spaces {
    padding-top: 80px;
}

/* Service Split Screen */
.section-color {
    background: #f8fafc;
}

.service-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #01e4a9;
    font-weight: 700;
    margin-bottom: 12px;
    background: rgba(1, 228, 169, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.service-title {
    font-size: 35px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.sub-title-desc {
    font-size: 25px !important;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.service-list li .solution-one__list__icon {
    position: absolute;
    left: 0;
    top: 1px;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Dark Grid */
.service-dark-grid {
    background-color: #0b111e;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.dark-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.dark-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.dark-card h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.dark-card h4::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #01e4a9;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Light Cards (Minimalist) */
.service-light-cards {
    background-color: #fff;
}

.light-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.light-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    border-color: #fff;
}

.light-card i {
    font-size: 36px;
    color: #01e4a9;
    margin-bottom: 20px;
}

.light-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

/* Typographic List */
.typo-list {
    display: flex;
    flex-direction: column;
}

.typo-item {
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.typo-item:first-child {
    border-top: 1px solid #ddd;
}

.typo-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0;
    transition: color 0.3s ease;
}

.typo-item:hover h3 {
    color: #01e4a9;
}

/* Immersive Background Section */
.service-immersive-bg {
    background-image: url('../images/resources/solution-1-1.jpg');
    /* We will use existing asset */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
    background-attachment: fixed;
}

.service-immersive-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.immersive-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.immersive-list li {
    font-size: 16px;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.immersive-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #01e4a9;
    margin-right: 12px;
}

/* Utility */
.max-w-700 {
    max-width: 700px;
}

/* Fix floating circle image in reversed layouts */
@media (min-width: 992px) {
    .flex-lg-row-reverse .solution-one__image {
        text-align: left;
        padding-right: 30px;
        /* Push away from the text column to prevent overlapping */
    }

    .flex-lg-row-reverse .solution-one__image__two {
        left: auto;
        right: -20px;
        /* Shift it slightly inward so it aligns better with the text */
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .service-hero-title {
        font-size: 40px;
    }

    .intro-title {
        font-size: 32px;
    }

    .service-title {
        font-size: 28px;
    }

    .immersive-list ul {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 40px 30px;
    }
}

/* Industry Card */
.sector-card {
    border: 1px solid #0460A7;
    border-radius: 12px;
    padding: 30px;
    background: #fff;
    margin-bottom: 40px;
}

.sector-card__image-wrap {
    position: relative;
    padding: 15px;
    z-index: 1;
}

.sector-card__image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 35%;
    background-color: #0460A7;
    border-radius: 20px;
    z-index: -1;
}

.sector-card__image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
    height: 35%;
    background-color: #0460A7;
    border-radius: 20px;
    z-index: -1;
}

.sector-card__image-wrap img {
    border-radius: 12px;
    width: 100%;
    display: block;
    z-index: 1;
    position: relative;
}

.sector-card__content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.sector-card__title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.sector-card__desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sector-card__subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.sector-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sector-card__list li {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sector-card__list .icon-check {
    color: #0460A7;
    font-size: 18px;
    position: relative;
    top: 3px;
}

.sector-card__btn {
    display: inline-block;
    background-color: #0460A7;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.sector-card__btn:hover {
    background-color: #03487c;
    color: #fff;
}

/* Fix invisible arrow icon in book-appointment CTA buttons */
.book-appointment__button .iqm-btn--white .iqm-btn__icon {
    color: #ffffff;
}

.book-appointment__button .iqm-btn--base .iqm-btn__icon {
    color: #ffffff;
}

/* White text on Contact Us Today button in CTA section — on hover only */
.book-appointment__button .iqm-btn--white:hover .iqm-btn__text {
    color: #ffffff;
}

/* Custom Client Header banner layout */
.client-header {
    position: relative;
    margin-top: 85px;
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
}

@media (max-width: 1199px) {
    .client-header {
        padding-top: 150px;
        padding-bottom: 75px;
    }
}

@media (max-width: 767px) {
    .client-header {
        margin-top: 0px;
        padding-top: 180px;
        padding-bottom: 80px;
    }
}

.client-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.client-header .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 1800px) {
    .client-header__col {
        width: 100%;
    }

    .client-header__content {
        max-width: 600px;
    }
}

.client-header__title {
    margin-bottom: 26px;
    font-size: 45px;
    color: #fff;
    font-weight: 700;
    text-transform: capitalize;
}

@media (max-width: 1199px) {
    .client-header__title {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .client-header__title {
        font-size: 35px;
    }
}

@media (max-width: 767px) {
    .client-header__title {
        font-size: 30px;
    }
}

/* Partners Grid Section */
.partners-section {
    background-color: #ffffff;
}

.partners-subtitle {
    color: #0460A7;
    /* Purple accent matching screenshot */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.partners-title {
    font-size: 36px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 50px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #0460A7;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}



.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Contact Page Button Hover Color Fix */
.contact-btn:hover .iqm-btn__text,
.contact-btn:hover .iqm-btn__icon {
    color: #ffffff !important;
}

/* Media Section Styles (Enhanced UI & Space Fix) */
.media-section {
    position: relative;
    background-color: #f4f8fb;
    padding: 80px 0; /* Handled by section-space */
    overflow: hidden;
}

.media-section .sec-title {
    margin-bottom: 40px !important;
}

.media-section__bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.media-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 320px; /* Reduced height for compact proportional display */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(4, 96, 167, 0.12);
    background: #ffffff;
    display: block;
    text-decoration: none;
}

@media (max-width: 991px) {
    .media-img-box {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .media-img-box {
        height: 200px;
    }
}

.media-img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 3;
}

.media-img-box:hover::before {
    left: 150%;
}

.media-img-box:hover {
    transform: translateY(-8px);
    border-color: rgba(4, 96, 167, 0.35);
}

.media-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.media-img-box:hover img {
    transform: scale(1.04);
}

.media-img-box__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(11, 17, 30, 0.1) 0%,
        rgba(11, 17, 30, 0.6) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.media-img-box:hover .media-img-box__overlay {
    opacity: 1;
}

.media-img-box__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0460A7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    box-shadow: 0 10px 25px rgba(4, 96, 167, 0.4);
}

.media-img-box:hover .media-img-box__btn {
    transform: scale(1);
}

.media-img-box__btn:hover {
    background: #03487c;
    color: #ffffff;
}

.media-img-box__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(4, 96, 167, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 18px;
    border-radius: 30px;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.media-img-box__tag i {
    font-size: 12px;
}

/* Media Press Card Enhanced Styles */
.media-press-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(4, 96, 167, 0.07);
    border: 1px solid rgba(4, 96, 167, 0.12);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-press-card:hover {
    transform: translateY(-8px);
    border-color: rgba(4, 96, 167, 0.3);
}

.media-press-card .media-img-box {
    border-radius: 14px;
    border: none;
}

.media-press-card__content {
    padding: 18px 10px 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.media-press-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #0b111e;
    margin: 0;
    letter-spacing: -0.2px;
}

.media-press-card__date {
    background: #eef6fc;
    color: #0460A7;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

