/*
 * One text scale for every page.
 *
 * The template sets font sizes section by section, so pages drifted apart: About's story
 * was 20px, Services' intro 24px, Projects' descriptions 14-15px, Home's cards 13-14px,
 * and a few headings 28-48px where the rest of the site uses 45px.
 * This file is loaded last on every page and is the one place to change text sizes:
 *
 *   Section headings   45px laptop · 36px small laptop · 40px tablet · 30px large phone · 26px phone
 *   Box headings       35px laptop · 30px tablet/small laptop · 26px phone  (headings inside boxes/forms)
 *   Body text          16px, 30px line height
 *   Card text          14px  (short descriptions inside cards)
 *   Checklist items    18px bold
 *
 * Small print (copyright line, tags, dates) is meant to be smaller and is not changed here.
 * !important is needed because many of the old sizes are inline styles or !important rules.
 */

/* ---------- Section headings ---------- */
.section-title .title {
    font-size: 45px !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .section-title .title {
        font-size: 36px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .section-title .title {
        font-size: 40px !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .section-title .title {
        font-size: 30px !important;
    }
}

@media (max-width: 575.98px) {
    .section-title .title {
        font-size: 26px !important;
    }
}

/* ---------- Box headings (inside the dark technology box and the contact form box) ---------- */
.technology-box .section-title .title,
.home-contact-box form .section-title .title {
    font-size: 35px !important;
}

@media (max-width: 1199.98px) {
    .technology-box .section-title .title,
    .home-contact-box form .section-title .title {
        font-size: 30px !important;
    }
}

@media (max-width: 767.98px) {
    .technology-box .section-title .title,
    .home-contact-box form .section-title .title {
        font-size: 26px !important;
    }
}

/* ---------- Body text ---------- */
.testimonial-slide-active-5 .testimonial-slide-item .text p,               /* About: company story */
.infetech-about-area.infetech-about-service-area .infetech-about-content p, /* Services: intro */
.scw-project-row-text {                                                    /* Projects: descriptions */
    font-size: 16px !important;
    line-height: 30px !important;
}

/* ---------- Card text ---------- */
.services-scroll-container .service-card p, /* Home: service cards */
.card-details p,                            /* Home: project card details */
.feature-item .feature-content p {          /* Home: AI feature items */
    font-size: 14px !important;
}

/* Home hero blurb: 16px from 640px up (Tailwind's sm:text-[16px]!), card size below that.
   Don't put a Tailwind text-[..]! class back on it: Tailwind's !important rules live in a
   cascade layer, and layered !important rules beat this file whatever the specificity. */
@media (max-width: 639.98px) {
    .infetech-banner-area p.text-wrap {
        font-size: 14px !important;
    }
}

/* ---------- Checklist items ---------- */
.infetech-about-content ul li,
.offer-list ul li {
    font-size: 18px !important;
}
