/* Main style file */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* General styles */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    padding-top: 78px; /* Padding for fixed header */
    background-color: #f8f9fa;
}

/* Service Icon Styles */
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-icon i {
    color: white;
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 18px;
}

.language-toggle {
    min-width: 70px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #d9e4f2;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-weight: 650;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.language-toggle:hover,
.language-switcher.open .language-toggle {
    border-color: #b7cff0;
    color: #1557b0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.language-chevron {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.18s ease;
}

.language-switcher.open .language-chevron {
    transform: translateY(1px) rotate(225deg);
}

.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1100;
    min-width: 166px;
    padding: 6px;
    border: 1px solid #d9e4f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.language-switcher.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 10px;
    border: 0;
    background: transparent;
    color: #334155;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.lang-btn span:last-child {
    color: #8492a6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-btn:hover {
    background: #f3f8ff;
    color: #1557b0;
}

.lang-btn.active {
    background: #eaf3ff;
    color: #1557b0;
    box-shadow: inset 0 0 0 1px rgba(21, 87, 176, 0.08);
}

/* Mobile language switcher */
@media (max-width: 991px) {
    .navbar {
        padding: 0 4px;
    }

    .navbar-collapse {
        padding: 12px 0 16px;
        border-top: 1px solid #edf2f7;
        margin-top: 10px;
    }

    .navbar-nav {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 12px !important;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 12px;
        justify-content: flex-start;
        align-self: flex-start;
        width: auto;
    }

    .language-menu {
        left: 0;
        right: auto;
    }
}

/* Sayfa yükleme animasyonu */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header style */
header {
    background-color: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    padding: 0;
    min-height: 78px;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar {
    min-height: 78px;
    padding: 0;
}

.navbar .container-fluid {
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: 0;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }

    .navbar-nav {
        margin-left: auto !important;
        align-items: center;
    }

    .language-switcher {
        flex: 0 0 auto;
    }
}

.navbar-toggler {
    border: 1px solid #d8e2f0;
    border-radius: 10px;
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(21, 87, 176, 0.14);
}

.navbar-brand img {
    width: 124px;
    max-height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    color: #4b5563 !important;
    padding: 9px 15px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: #eef5ff;
    color: #1557b0 !important;
}

/* Hero section */
.hero-section {
    color: #fff;
    padding: 100px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.7) 0%, rgba(25,118,210,0.8) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-actions {
    align-items: center;
}

.hero-actions .btn {
    min-width: 156px;
    font-weight: 600;
}

.hero-actions .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: #1557b0;
    box-shadow: 0 12px 28px rgba(4, 28, 63, 0.2);
}

.hero-actions .btn-primary:hover {
    background: #f4f8ff;
    border-color: #f4f8ff;
    color: #0f4aa0;
    box-shadow: 0 14px 32px rgba(4, 28, 63, 0.28);
}

.hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.72);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
    color: #ffffff;
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Services page cards */
.card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card .btn {
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 8px 25px;
}
    border: none;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #1a73e8, #4285f4);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card .card-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a73e8;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #1a73e8;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Feature cards */
.feature-card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    background-color: #fff;
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #1a73e8, #4285f4);
    transition: height 0.4s ease;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #d0e1ff;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #1a73e8;
    transition: all 0.4s ease;
    background-color: rgba(26, 115, 232, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
    color: #0d62d9;
}

/* Technology cards */
.tech-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    background-color: #fff;
}

.tech-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.tech-card .card-body {
    padding: 30px;
}

.tech-card .card-title {
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 15px;
}

.tech-card .card-text {
    color: #555;
    margin-bottom: 20px;
}

/* Contact form */
.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.contact-form .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #1a73e8;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: #1a73e8;
    font-size: 1.2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f4f8;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

/* Sosyal medya ikonları için özel renkler */
.social-links a.facebook-icon {
    background: linear-gradient(45deg, #1877F2, #2892FF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.social-links a.twitter-icon {
    background: linear-gradient(45deg, #000000, #333333);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.social-links a.instagram-icon {
    color: #E1306C; /* Instagram pembe */
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links a.facebook-icon:hover {
    background: linear-gradient(45deg, #1877F2, #2892FF);
    color: #fff !important;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.social-links a.twitter-icon:hover {
    background: linear-gradient(45deg, #000000, #333333);
    color: #fff !important;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.social-links a.instagram-icon:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    color: #fff !important;
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 60px 0 30px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #1a73e8;
    text-decoration: none;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    body {
        padding-top: 60px;
    }
}

/* Servis bölümü için grid düzeni */
.services-section .row {
    display: flex;
    flex-wrap: wrap;
}

.services-section .col-md-6,
.services-section .col-lg-4 {
    display: flex;
}

/* Haber kartları için grid düzeni */
.news-section {
    background-color: #f5f9ff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #d0e1ff;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.news-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(26, 115, 232, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

.news-section h2 {
    color: #1a73e8;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.news-section .lead {
    position: relative;
    z-index: 1;
}

.news-section .row {
    display: flex;
    flex-wrap: wrap;
}

.news-section .col-md-4 {
    display: flex;
}

/* Teknoloji bölümü için grid düzeni */
#tech-container .row {
    display: flex;
    flex-wrap: wrap;
}

#tech-container .col-md-6,
#tech-container .col-lg-4 {
    display: flex;
}

/* Servis kartları için grid düzeni */
.center-card {
    box-shadow: 0 15px 35px rgba(26, 115, 232, 0.25) !important;
    border-left: 4px solid #1a73e8 !important;
    transform: translateY(-15px);
    position: relative;
    z-index: 1;
    border-radius: 14px;
    background-color: #fcfdff;
}

.center-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.3) !important;
}

.row.g-4.justify-content-center {
    display: flex;
    justify-content: space-evenly;
    margin: 0 -15px;
}

.row.g-4.justify-content-center > div {
    padding: 0 15px;
    margin-bottom: 30px;
}
#services-container .row {
    display: flex;
    flex-wrap: wrap;
}

#services-container .col-md-6 {
    display: flex;
}

/* Kart içerikleri için flex düzeni */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-body {
    flex: 1 0 auto;
    padding: 30px;
}

/* Servis kartları için iyileştirmeler */
.service-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding: 25px;
  margin-bottom: 30px;
  background-color: #fff;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Teknoloji bölümleri için iyileştirmeler */
.tech-section {
  margin-bottom: 60px;
}

.tech-section h2 {
  color: #333;
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* İletişim sayfası için iyileştirmeler */
.contact-hero {
  background-color: #1a73e8;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.contact-form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: -50px;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.contact-info {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
}

.contact-info h3 {
  color: #1a73e8;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info i {
  color: #1a73e8;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Genel başlık stilleri */
.page-title {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  font-weight: 600;
}

/* Danışmanlık bölümü için iyileştirmeler */
.consulting-section {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin-top: 50px;
  border-radius: 10px;
}

.consulting-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.consulting-list {
  list-style: none;
  padding-left: 0;
}

.consulting-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.consulting-list li:last-child {
  border-bottom: none;
}

.consulting-list li:before {
  content: "✓";
  color: #1a73e8;
  margin-right: 10px;
  font-weight: bold;
}

/* Buton stilleri */
.btn-primary {
  background-color: #1a73e8;
  border-color: #1a73e8;
  padding: 10px 25px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1557b0;
  border-color: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.btn-outline-light {
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Home sections: professional card system */
.services-section {
    position: relative;
    z-index: 3;
    margin-top: -36px;
    padding-bottom: 72px !important;
}

.services-section .container,
.innovation-section .container {
    max-width: 1180px;
}

.service-card,
.feature-card {
    height: 100%;
    margin-bottom: 0;
    padding: 30px 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transform: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::before,
.feature-card::before {
    content: none;
}

.service-card:hover,
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 87, 176, 0.18);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
}

.service-card h3,
.feature-card h3 {
    margin: 0 0 12px;
    color: #0f172a !important;
    font-size: 1.28rem;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: 0;
}

.service-card p,
.feature-card p {
    margin-bottom: 0;
    color: #526071 !important;
    font-size: 0.98rem;
    line-height: 1.72;
}

.services-section .service-card .service-icon,
.feature-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #eef5ff !important;
    color: #1557b0 !important;
    box-shadow: none !important;
    font-size: 1.72rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.services-section .service-card .service-icon i,
.feature-icon i {
    color: currentColor !important;
}

.services-section .service-card:hover .service-icon,
.feature-card:hover .feature-icon {
    transform: translateY(-2px);
    background: #1557b0 !important;
    color: #ffffff !important;
}

.services-section .service-card {
    min-height: 270px;
}

.services-section .service-card h3 {
    max-width: 280px;
}

.innovation-section {
    padding: 72px 0 86px !important;
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-eyebrow {
    margin-bottom: 10px;
    color: #1557b0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.innovation-section h2 {
    max-width: 760px;
    margin: 0 auto 14px;
    color: #0f172a;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 0;
}

.innovation-section .lead {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: #526071;
    font-size: 1.05rem;
    line-height: 1.72;
}

@media (max-width: 991px) {
    .services-section {
        margin-top: 0;
        padding-top: 48px !important;
    }
}

/* News CTA and footer refinement */
.news-section {
    margin: 0;
    padding: 72px 0 !important;
    border: 0;
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
    border-radius: 0;
    background: #f3f8ff;
    box-shadow: none;
}

.news-section::after {
    content: none;
}

.news-section h2 {
    max-width: 520px;
    margin-bottom: 16px !important;
    color: #0f172a;
    font-size: clamp(2rem, 3vw, 2.55rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}

.news-section .lead {
    max-width: 560px;
    color: #526071;
    font-size: 1.05rem;
    line-height: 1.72;
}

.news-section .btn-primary {
    border-radius: 8px;
    padding: 11px 22px;
    font-weight: 700;
}

.news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.site-footer {
    background: #1f252b;
    color: #ffffff;
    padding: 34px 0 22px;
}

.site-footer .container {
    max-width: 1180px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.footer-brand p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .news-section {
        padding: 56px 0 !important;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        gap: 14px 18px;
    }
}

/* Technologies page refinement */
.tech-hero {
    padding: 92px 0 54px;
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.tech-hero h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(2.3rem, 4vw, 3.45rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.tech-hero .lead {
    max-width: 850px;
    margin: 0 auto;
    color: #526071;
    font-size: 1.08rem;
    line-height: 1.78;
}

.tech-overview {
    padding: 42px 0 34px;
    background: #ffffff;
}

.tech-overview-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 38px;
    border: 1px solid rgba(21, 87, 176, 0.12);
    border-radius: 10px;
    background: #f3f8ff;
}

.tech-overview-panel h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.18;
    font-weight: 800;
}

.tech-overview-panel p {
    max-width: 720px;
    margin: 0;
    color: #526071;
    font-size: 1rem;
    line-height: 1.72;
}

.tech-overview-panel .btn {
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
}

.tech-grid-section {
    padding: 48px 0 82px;
    background: #ffffff;
}

.tech-decision-section {
    padding: 22px 0 24px;
    background: #ffffff;
}

.tech-decision-section .container {
    max-width: 1180px;
}

.tech-decision-header {
    max-width: 780px;
    margin-bottom: 26px;
}

.tech-decision-header h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.14;
    font-weight: 800;
}

.tech-decision-header p:not(.section-eyebrow) {
    margin: 0;
    color: #526071;
    font-size: 1.02rem;
    line-height: 1.72;
}

.tech-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tech-decision-card {
    min-height: 230px;
    padding: 26px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.tech-decision-card:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 87, 176, 0.18);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.1);
}

.tech-decision-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #eef5ff;
    color: #1557b0;
    font-size: 1.22rem;
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.tech-decision-card:hover .tech-decision-icon {
    transform: translateY(-2px);
}

.tech-decision-card h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.14rem;
    line-height: 1.3;
    font-weight: 800;
}

.tech-decision-card p {
    margin: 0;
    color: #526071;
    font-size: 0.96rem;
    line-height: 1.68;
}

.tech-capability-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 330px;
    padding: 30px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.tech-capability-card:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 87, 176, 0.18);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.1);
}

.tech-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #eef5ff;
    color: #1557b0;
    font-size: 1.62rem;
}

.tech-capability-card h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.28rem;
    line-height: 1.24;
    font-weight: 800;
}

.tech-capability-card p {
    margin: 0 0 22px;
    color: #526071;
    font-size: 0.98rem;
    line-height: 1.72;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(21, 87, 176, 0.12);
    border-radius: 999px;
    background: #f8fbff;
    color: #1557b0;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.tech-cta {
    padding: 0 0 82px;
    background: #ffffff;
}

.tech-cta-panel {
    padding: 58px 42px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(21, 87, 176, 0.96), rgba(32, 112, 216, 0.94));
    color: #ffffff;
}

.tech-cta-panel .section-eyebrow,
.tech-cta-panel h2,
.tech-cta-panel p {
    color: #ffffff;
}

.tech-cta-panel h2 {
    max-width: 760px;
    margin: 0 auto 16px;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.14;
    font-weight: 800;
}

.tech-cta-panel p:not(.section-eyebrow) {
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    line-height: 1.72;
}

.tech-cta-panel .btn {
    border-radius: 8px;
    padding: 12px 24px;
    color: #1557b0;
    font-weight: 800;
}

@media (max-width: 991px) {
    .tech-hero {
        padding: 82px 0 44px;
    }

    .tech-overview-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .tech-capability-card {
        min-height: 300px;
    }

    .tech-decision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .tech-overview-panel,
    .tech-decision-card,
    .tech-capability-card,
    .tech-cta-panel {
        padding: 26px 22px;
    }

    .tech-decision-section {
        padding-top: 14px;
    }

    .tech-grid-section {
        padding: 34px 0 58px;
    }
}

/* Services page refinement */
.services-page-hero {
    padding: 92px 0 54px;
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.services-page-hero h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(2.3rem, 4vw, 3.45rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.services-page-hero .lead {
    max-width: 880px;
    margin: 0 auto;
    color: #526071;
    font-size: 1.08rem;
    line-height: 1.78;
}

.services-page-grid {
    padding: 42px 0 72px;
    background: #ffffff;
}

.services-page-grid .container,
.services-process-section .container,
.services-cta .container {
    max-width: 1180px;
}

.service-page-card {
    min-height: 330px;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07) !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-page-card:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 87, 176, 0.18) !important;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.1) !important;
}

.service-page-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px !important;
    background: #eef5ff !important;
    color: #1557b0 !important;
}

.service-page-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.3rem;
    line-height: 1.24;
    font-weight: 800;
}

.service-card-kicker {
    margin-bottom: 16px !important;
    color: #1557b0 !important;
    font-size: 0.88rem !important;
    font-weight: 700;
}

.service-page-card p {
    color: #526071;
    font-size: 0.98rem;
    line-height: 1.72;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #1557b0;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.service-card-link:hover {
    color: #0f4aa0;
}

.services-process-section {
    padding: 0 0 76px;
    background: #ffffff;
}

.services-process-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.services-process-header h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.14;
    font-weight: 800;
}

.services-process-header p:not(.section-eyebrow) {
    margin: 0;
    color: #526071;
    font-size: 1.02rem;
    line-height: 1.72;
}

.services-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.services-process-step {
    position: relative;
    min-height: 270px;
    padding: 26px 22px 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.services-process-step::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #1557b0, #4b9cff);
}

.process-step-number {
    display: block;
    margin-bottom: 18px;
    color: #1557b0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.process-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #eef5ff;
    color: #1557b0;
    font-size: 1.25rem;
}

.services-process-step h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.12rem;
    line-height: 1.3;
    font-weight: 800;
}

.services-process-step p {
    margin: 0;
    color: #526071;
    font-size: 0.95rem;
    line-height: 1.68;
}

.services-cta {
    padding: 0 0 82px;
    background: #ffffff;
}

.services-cta-panel {
    background:
        linear-gradient(135deg, rgba(21, 87, 176, 0.96), rgba(32, 112, 216, 0.94)) !important;
}

.services-cta-panel h2 {
    margin: 0 auto 14px;
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.14;
    font-weight: 800;
}

.services-cta-panel p {
    max-width: 680px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    line-height: 1.72;
}

.services-cta-panel .btn {
    border-radius: 8px;
    padding: 12px 24px;
    color: #1557b0;
    font-weight: 800;
}

@media (max-width: 991px) {
    .services-page-hero {
        padding: 82px 0 44px;
    }

    .services-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .service-page-card,
    .services-cta-panel {
        padding: 26px 22px !important;
    }

    .services-process-grid {
        grid-template-columns: 1fr;
    }

    .services-process-step {
        min-height: 0;
    }
}

/* Contact page: compact, professional layout */
.contact-hero {
    background: linear-gradient(135deg, #1557b0 0%, #1a73e8 55%, #3f7ff0 100%);
    color: #ffffff;
    padding: 120px 0 72px;
    text-align: center;
}

.contact-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    font-weight: 800;
}

.contact-hero p {
    margin: 0 auto;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-content-section {
    padding: 44px 0 72px;
}

.contact-form,
.contact-info {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.contact-form {
    padding: 28px;
    margin-top: -36px;
    position: relative;
    background: #ffffff;
}

.contact-section-title {
    margin-bottom: 22px;
    font-size: 1.85rem;
    line-height: 1.15;
    font-weight: 800;
}

.contact-form .form-label {
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-form .mb-3 {
    margin-bottom: 18px !important;
}

.contact-form .form-control {
    min-height: 50px;
    padding: 11px 15px;
    border-radius: 10px;
    border: 1px solid #d8e0eb;
    font-size: 0.98rem;
    margin-bottom: 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
}

.contact-info {
    padding: 28px;
    height: auto;
    background: #f8fbff;
}

.contact-info p {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #334155;
    line-height: 1.6;
}

.contact-info p strong {
    display: inline-block;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 0.95rem;
}

.contact-info i {
    margin-right: 0;
    color: #1a73e8;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-social-block {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-subtitle {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-social-block .social-links a {
    font-size: 1.35rem;
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 108px 0 56px;
    }

    .contact-content-section {
        padding-top: 32px;
    }

    .contact-form {
        margin-top: -24px;
    }
}

@media (max-width: 575px) {
    .contact-hero {
        padding: 96px 0 48px;
    }

    .contact-form,
    .contact-info {
        padding: 22px;
    }

    .contact-section-title {
        font-size: 1.55rem;
    }
}

/* Contact page refinement: B2B software inquiry */
.contact-hero {
    padding: 108px 0 96px;
    background: #1557b0;
}

.contact-hero-content {
    max-width: 780px;
}

.contact-content-section {
    padding: 0 0 78px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
}

.contact-content-section .container,
.contact-map-section .container {
    max-width: 1180px;
}

.contact-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
    transform: translateY(-32px);
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 14px 18px;
    border: 1px solid rgba(21, 87, 176, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.contact-trust-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef5ff;
    color: #1557b0;
    font-size: 1.05rem;
}

.contact-form,
.contact-info {
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.contact-form {
    margin-top: 0;
    padding: 34px;
}

.contact-form .section-eyebrow,
.contact-info .section-eyebrow {
    margin-bottom: 6px;
    color: #1557b0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.68;
}

.contact-section-title {
    margin-bottom: 26px;
    color: #0f172a;
    font-size: clamp(1.42rem, 1.8vw, 1.72rem);
    line-height: 1.18;
    font-weight: 800;
}

.contact-form .contact-section-title,
.contact-info .contact-section-title {
    max-width: none;
    color: #0f172a;
    font-family: inherit;
    font-size: clamp(1.42rem, 1.8vw, 1.72rem);
    line-height: 1.18;
    font-weight: 800;
}

.contact-form .row {
    margin-bottom: 18px;
}

.contact-form .form-label {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 700;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    color: #1f2937;
    font-size: 0.95rem;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #1557b0;
    box-shadow: 0 0 0 4px rgba(21, 87, 176, 0.12);
}

.contact-form textarea.form-control {
    min-height: 154px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 168px;
    min-height: 48px;
    border-radius: 8px;
}

.contact-submit-btn i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(3px);
}

.contact-info {
    padding: 32px;
    background: #ffffff;
}

.contact-info .contact-section-title {
    max-width: 220px;
    color: #0f172a;
    font-size: 1.48rem;
}

.contact-info a {
    color: #1557b0;
    font-weight: 700;
    text-decoration: none;
}

.contact-info a:hover {
    color: #0f4aa0;
}

.contact-detail-list {
    display: grid;
    gap: 16px;
}

.contact-info p {
    margin-bottom: 0;
}

.contact-info > p:not(.section-eyebrow),
.contact-detail-list p {
    padding: 15px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #f8fbff;
}

.contact-info i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef5ff;
}

.contact-next-steps {
    margin-top: 22px;
    padding: 18px;
    border-radius: 8px;
    background: #f3f8ff;
}

.contact-next-steps h4 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 750;
}

.contact-next-steps ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #526071;
    font-size: 0.94rem;
    line-height: 1.55;
}

.contact-social-block {
    margin-top: 22px;
}

.contact-subtitle {
    color: #1557b0;
    font-size: 0.96rem;
    font-weight: 700;
}

.contact-social-block .social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social-block .social-links a {
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid rgba(21, 87, 176, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #1557b0;
    font-size: 1.1rem;
    box-shadow: none;
}

.contact-social-block .social-links a.linkedin-icon {
    background: #ffffff;
    color: #1557b0;
}

.contact-social-block .social-links a.twitter-icon {
    background: #ffffff;
    color: #0f172a;
}

.contact-social-block .social-links a.instagram-icon {
    background: #ffffff;
    color: #c13584;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.contact-social-block .social-links a:hover {
    border-color: rgba(21, 87, 176, 0.24);
    background: #eef5ff;
    color: #1557b0 !important;
    box-shadow: none;
    transform: translateY(-2px);
}

.contact-map-section {
    padding: 56px 0 82px;
    border-top: 1px solid #dbeafe;
    background: #f8fbff;
}

.contact-map-section h2 {
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
}

.contact-map-section .map-container {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 94px 0 74px;
    }

    .contact-intro-grid {
        grid-template-columns: 1fr;
        transform: translateY(-24px);
    }
}

@media (max-width: 575px) {
    .contact-content-section {
        padding-bottom: 56px;
    }

    .contact-form,
    .contact-info {
        padding: 24px;
    }

    .contact-trust-item {
        align-items: flex-start;
    }
}

/* Contact page typography system */
.contact-hero .contact-eyebrow,
.contact-form .section-eyebrow,
.contact-info .section-eyebrow,
.contact-map-section .section-eyebrow {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1557b0;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 1;
}

.contact-hero .contact-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.contact-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.45rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
}

.contact-section-title,
.contact-map-section h2 {
    margin: 0 0 24px;
    color: #0f172a;
    font-size: clamp(1.45rem, 2vw, 1.75rem);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-info .contact-section-title {
    max-width: none;
    font-size: clamp(1.42rem, 1.8vw, 1.72rem);
}

.contact-map-section h2 {
    margin-bottom: 24px !important;
    font-size: clamp(1.65rem, 2.4vw, 2rem);
}

.contact-trust-item span,
.contact-form .form-label,
.contact-info p strong,
.contact-next-steps h4,
.contact-subtitle {
    color: #0f172a;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: 0;
}

.contact-trust-item span {
    font-size: 0.9rem;
}

.contact-info p,
.contact-next-steps li,
.contact-map-section .text-center p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info a {
    color: #1557b0;
    font-size: 0.95rem;
    font-weight: 750;
}

.contact-form .form-control,
.contact-form .form-select {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 500;
}

.contact-form .form-control::placeholder {
    color: #64748b;
}

.contact-social-block .contact-subtitle {
    margin-bottom: 14px;
    color: #1557b0;
}

@media (max-width: 575px) {
    .contact-hero h1 {
        font-size: 2.15rem;
    }
}

/* Shared subpage hero alignment, matched to the Home page rhythm */
.services-page-hero,
.tech-hero,
.news-hero {
    min-height: 280px;
    padding: 82px 0 46px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(216, 226, 240, 0.72);
}

.services-page-hero .container,
.tech-hero .container,
.news-hero .container {
    max-width: 1180px;
}

.services-page-hero h1,
.tech-hero h1,
.news-hero h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(2.7rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.services-page-hero .lead,
.tech-hero .lead,
.news-hero .lead {
    max-width: 830px;
    margin: 0 auto;
    color: #526071;
    font-size: 1.03rem;
    line-height: 1.72;
}

.news-hero-content {
    max-width: 830px;
}

@media (max-width: 991px) {
    .services-page-hero,
    .tech-hero,
    .news-hero {
        min-height: 250px;
        padding: 70px 0 38px;
    }
}

@media (max-width: 575px) {
    .services-page-hero,
    .tech-hero,
    .news-hero {
        min-height: auto;
        padding: 56px 0 34px;
    }

    .services-page-grid,
    .tech-overview,
    .news-page-section {
        padding-top: 34px;
    }
}

/* Shared motion system */
[data-animate] {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.58s ease,
        transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, transform;
}

[data-animate="fade"] {
    transform: none;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.service-card,
.feature-card,
.service-page-card,
.tech-capability-card,
.contact-trust-item,
.contact-form,
.contact-info,
.tech-overview-panel,
.services-process-step {
    backface-visibility: hidden;
}

.service-card:hover,
.feature-card:hover,
.service-page-card:hover,
.tech-capability-card:hover,
.services-process-step:hover,
.contact-trust-item:hover {
    transform: translateY(-4px);
}

.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.service-page-card:hover .service-page-icon,
.services-process-step:hover .process-step-icon,
.tech-capability-card:hover .tech-card-icon,
.contact-trust-item:hover i {
    transform: translateY(-2px);
}

.service-card .service-icon,
.feature-card .feature-icon,
.service-page-icon,
.process-step-icon,
.tech-card-icon,
.contact-trust-item i {
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.service-card-link i,
.contact-submit-btn i,
.services-cta-panel .btn,
.tech-cta-panel .btn,
.news-section .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.service-card-link:hover i,
.contact-submit-btn:hover i {
    transform: translateX(3px);
}

.services-cta-panel .btn:hover,
.tech-cta-panel .btn:hover,
.news-section .btn:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.news-image {
    transition: transform 0.45s ease, box-shadow 0.22s ease;
}

.news-image:hover {
    transform: translateY(-3px) scale(1.01);
}

.news-card .card-img-top {
    transition: transform 0.45s ease;
}

.news-card {
    overflow: hidden;
}

.news-card:hover .card-img-top {
    transform: scale(1.035);
}

/* News page */
.news-hero {
    min-height: 240px;
    padding: 72px 0 38px;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 1) 100%),
        radial-gradient(circle at 18% 20%, rgba(30, 118, 230, 0.12), transparent 32%);
    border-bottom: 1px solid rgba(216, 226, 240, 0.72);
}

.news-hero-content {
    max-width: 830px;
    margin: 0 auto;
    text-align: center;
}

.news-hero h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(2.35rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.news-hero .lead {
    max-width: 830px;
    margin: 0 auto;
    color: #526071;
    font-size: 1.03rem;
    line-height: 1.72;
}

.news-page-section {
    padding: 42px 0 86px;
    background: #fff;
}

.news-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto 28px;
}

.news-toolbar h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.18;
    font-weight: 800;
}

.news-filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.news-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d8e2f0;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.news-filter-btn small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef5ff;
    color: #1557b0;
    font-size: 11px;
    font-weight: 800;
}

.news-filter-btn:hover,
.news-filter-btn.active {
    border-color: rgba(21, 87, 176, 0.28);
    background: #eef5ff;
    color: #1557b0;
}

.news-filter-btn.active {
    box-shadow: inset 0 0 0 1px rgba(21, 87, 176, 0.1);
}

.news-list {
    max-width: 1120px;
    margin: 0 auto;
}

.news-featured {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-featured:hover,
.news-featured:focus-visible {
    border-color: rgba(30, 118, 230, 0.35);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
    outline: none;
}

.news-featured-image-wrap {
    min-height: 320px;
    background: #eef5ff;
}

.news-featured-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.news-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 40px;
}

.news-featured-content h2 {
    margin: 12px 0 14px;
    color: #0f172a;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 800;
    line-height: 1.12;
}

.news-featured-content p:not(.section-eyebrow) {
    color: #5d6b80;
    font-size: 16px;
    line-height: 1.7;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.news-card-meta {
    margin-bottom: 12px;
    color: #6b7a90;
    font-size: 13px;
    font-weight: 700;
}

.news-read-more,
.news-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: auto;
    width: 38px;
    height: 38px;
    border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 7%, transparent);
    color: #1557b0;
    font-size: 17px;
    font-weight: 800;
}

.news-read-more i,
.news-card-link i {
    transition: transform 0.2s ease;
}

.news-featured:hover .news-read-more i,
.news-card:hover .news-card-link i {
    transform: translateX(3px);
}

.news-grid {
    margin-top: 0;
}

.news-list > .row {
    align-items: stretch;
}

.news-state {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
    padding: 42px 28px;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    background: #f8fbff;
    color: #5d6b80;
    text-align: center;
}

.news-state i {
    color: #1e76e6;
    font-size: 30px;
}

.news-state p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.news-state-warning {
    border-color: #f6d48d;
    background: #fff8e6;
}

.news-card {
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    border-radius: 999px;
    background: #1e76e6 !important;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-card:hover,
.news-card:focus-visible {
    border-color: rgba(30, 118, 230, 0.35);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-3px);
    outline: none;
}

.news-card .card-img-top {
    height: 188px;
    object-fit: cover;
}

.news-card .card-body {
    min-height: 300px;
    padding: 24px;
}

.news-card .card-title {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.18;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card .card-text {
    margin-bottom: 24px;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.news-detail-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(216, 226, 240, 0.9);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.news-detail-modal .modal-header {
    align-items: flex-start;
    gap: 18px;
    padding: 30px 42px 22px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
}

.news-detail-modal .modal-title {
    max-width: 780px;
    color: #0f172a;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.16;
}

.news-detail-modal .btn-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 999px;
    background-size: 13px;
    opacity: 0.62;
    transition: background-color 0.18s ease, opacity 0.18s ease;
}

.news-detail-modal .btn-close:hover,
.news-detail-modal .btn-close:focus {
    background-color: #f3f7fd;
    opacity: 1;
}

.news-detail-modal .modal-body {
    padding: 0 42px 44px;
    background: #ffffff;
}

.news-detail-meta {
    max-width: 760px;
    margin: 20px auto 18px;
    color: #6b7a90;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.news-detail-image {
    width: 100%;
    max-width: 920px;
    height: clamp(240px, 34vw, 360px);
    display: block;
    object-fit: cover;
    margin: 0 auto 32px;
    border-radius: 8px;
    background: #eef5ff;
}

#newsContent {
    max-width: 760px;
    margin: 0 auto;
    color: #334155;
    font-size: 17px;
    line-height: 1.82;
    text-align: justify;
    text-justify: inter-word;
}

#newsContent p {
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .news-hero {
        min-height: auto;
        padding: 48px 0 30px;
    }

    .news-hero h1 {
        font-size: 2rem;
    }

    .news-hero .lead {
        font-size: 16px;
    }

    .news-page-section {
        padding: 34px 0 64px;
    }

    .news-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .news-filter-controls {
        justify-content: flex-start;
        width: 100%;
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-image-wrap,
    .news-featured-image {
        min-height: 220px;
    }

    .news-featured-content {
        padding: 24px;
    }

    .news-featured-content h2 {
        font-size: 1.65rem;
    }

    .news-card .card-body {
        min-height: 292px;
    }

    .news-detail-modal .modal-header {
        padding: 22px 20px 16px;
    }

    .news-detail-modal .modal-title {
        font-size: 1.5rem;
    }

    .news-detail-modal .modal-body {
        padding: 0 20px 28px;
    }

    .news-detail-meta {
        margin-top: 16px;
        font-size: 12px;
    }

    .news-detail-image {
        height: 220px;
        margin-bottom: 24px;
    }

    #newsContent {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* Final shared alignment for Services, Technologies, and News pages */
.services-page-hero,
.tech-hero,
.news-hero {
    min-height: 280px;
    padding: 82px 0 46px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(216, 226, 240, 0.72);
}

.services-page-hero .container,
.tech-hero .container,
.news-hero .container {
    max-width: 1180px;
}

.services-page-hero h1,
.tech-hero h1,
.news-hero h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(2.7rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.services-page-hero .lead,
.tech-hero .lead,
.news-hero .lead {
    max-width: 830px;
    margin: 0 auto;
    color: #526071;
    font-size: 1.03rem;
    line-height: 1.72;
}

.news-hero-content {
    max-width: 830px;
}

@media (max-width: 991px) {
    .services-page-hero,
    .tech-hero,
    .news-hero {
        min-height: 250px;
        padding: 70px 0 38px;
    }
}

@media (max-width: 575px) {
    .services-page-hero,
    .tech-hero,
    .news-hero {
        min-height: auto;
        padding: 56px 0 34px;
    }

    .services-page-grid,
    .tech-overview,
    .news-page-section {
        padding-top: 34px;
    }
}

/* Final card system for Services, Technologies, and News pages */
.service-page-card,
.services-process-step,
.tech-overview-panel,
.tech-decision-card,
.tech-capability-card,
.news-card {
    border-color: rgba(15, 23, 42, 0.09) !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
}

.service-page-card,
.tech-capability-card,
.news-card {
    overflow: hidden;
}

.service-page-card:hover,
.services-process-step:hover,
.tech-decision-card:hover,
.tech-capability-card:hover,
.news-card:hover,
.news-card:focus-visible {
    border-color: rgba(21, 87, 176, 0.24) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-3px);
}

.service-page-card h3,
.tech-capability-card h3,
.tech-decision-card h3,
.services-process-step h3,
.news-card .card-title {
    letter-spacing: 0;
}

.service-card-link,
.news-card-link,
.news-read-more {
    min-height: 32px;
    text-decoration: none;
}

.service-card-link:hover,
.news-card-link:hover,
.news-read-more:hover {
    color: #0f4aa0;
}

.services-cta-panel,
.tech-cta-panel {
    border-radius: 8px !important;
}

.services-cta-panel .btn,
.tech-cta-panel .btn {
    border-radius: 8px;
    min-height: 46px;
}

.news-card .card-body {
    min-height: 314px;
}

@media (max-width: 767px) {
    .news-card .card-body {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* News radar editorial refresh */
.news-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 78%),
        radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at 82% 28%, rgba(5, 150, 105, 0.1), transparent 28%);
}

.news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 87, 176, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(21, 87, 176, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
    opacity: 0.7;
    pointer-events: none;
    animation: newsGridDrift 16s linear infinite;
}

.news-hero::after {
    content: '';
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 22px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(21, 87, 176, 0.12);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 34px rgba(21, 87, 176, 0.035),
        inset 0 0 0 76px rgba(5, 150, 105, 0.028);
    pointer-events: none;
    animation: newsRadarPulse 4.8s ease-in-out infinite;
}

.news-hero .container {
    position: relative;
    z-index: 1;
}

.news-hero-content h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    transform-origin: center bottom;
    animation: newsHeroTitleIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.news-hero-content h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(420px, 72%);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1557b0, #10b981, #ef4444);
    box-shadow: 0 10px 28px rgba(21, 87, 176, 0.22);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation:
        newsHeadlineRule 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards,
        newsHeadlineGlow 3.2s ease-in-out 1.35s infinite;
}

.news-hero .lead {
    animation: newsHeroFadeUp 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

@keyframes newsHeroTitleIn {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translate3d(0, 28px, 0) scale(0.97);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes newsHeroFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes newsHeadlineRule {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes newsHeadlineGlow {
    0%,
    100% {
        filter: saturate(1);
        opacity: 0.86;
    }

    50% {
        filter: saturate(1.35);
        opacity: 1;
    }
}

@keyframes newsGridDrift {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 56px 56px, 56px 56px;
    }
}

@keyframes newsRadarPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.95;
    }
}

.news-page-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-toolbar {
    align-items: center;
    justify-content: center;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(216, 226, 240, 0.82);
}

.news-toolbar:has(.news-filter-controls:empty) {
    display: none;
}

.news-filter-controls {
    row-gap: 12px;
}

.news-filter-btn {
    min-height: 42px;
    padding: 9px 12px 9px 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.news-filter-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #1557b0;
    box-shadow: 0 0 0 4px rgba(21, 87, 176, 0.09);
}

.news-filter-ai .news-filter-dot,
.news-card-ai,
.news-featured-ai {
    --news-tone: #2563eb;
}

.news-filter-software .news-filter-dot,
.news-card-software,
.news-featured-software {
    --news-tone: #059669;
}

.news-filter-security .news-filter-dot,
.news-card-security,
.news-featured-security {
    --news-tone: #dc2626;
}

.news-filter-cloud .news-filter-dot,
.news-card-cloud,
.news-featured-cloud {
    --news-tone: #7c3aed;
}

.news-filter-web .news-filter-dot,
.news-card-web,
.news-featured-web {
    --news-tone: #0891b2;
}

.news-filter-automation .news-filter-dot,
.news-card-automation,
.news-featured-automation {
    --news-tone: #ea580c;
}

.news-filter-technology .news-filter-dot,
.news-card-technology,
.news-featured-technology {
    --news-tone: #1557b0;
}

.news-filter-btn .news-filter-dot {
    background: var(--news-tone, #1557b0);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--news-tone, #1557b0) 12%, transparent);
}

.news-filter-btn:hover,
.news-filter-btn.active {
    border-color: color-mix(in srgb, var(--news-tone, #1557b0) 34%, #d8e2f0);
    background: color-mix(in srgb, var(--news-tone, #1557b0) 8%, #ffffff);
    color: #0f172a;
}

.news-featured {
    position: relative;
    border-color: color-mix(in srgb, var(--news-tone, #1557b0) 22%, #d8e2f0);
}

.news-featured::before,
.news-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--news-tone, #1557b0);
    opacity: 0.9;
    z-index: 2;
}

.news-featured-image-wrap,
.news-card-media {
    position: relative;
    overflow: hidden;
    background: #eef5ff;
}

.news-featured-image,
.news-card .card-img-top {
    transform: scale(1.001);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.22s ease;
}

.news-featured:hover .news-featured-image,
.news-card:hover .card-img-top {
    transform: scale(1.055);
    filter: saturate(1.05);
}

.news-featured-content {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
        linear-gradient(90deg, color-mix(in srgb, var(--news-tone, #1557b0) 10%, transparent), transparent);
}

.news-featured-content .section-eyebrow {
    color: var(--news-tone, #1557b0);
}

.news-featured .category-badge,
.news-card .category-badge {
    background: var(--news-tone, #1557b0) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.news-card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
}

.news-card .card-body {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.news-card-meta {
    min-height: 18px;
    color: #64748b;
    letter-spacing: 0;
}

.news-card-link,
.news-read-more {
    color: var(--news-tone, #1557b0);
}

.news-grid > [class*="col-"] {
    opacity: 0;
    animation: newsCardEnter 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.news-grid > [class*="col-"]:nth-child(2) {
    animation-delay: 70ms;
}

.news-grid > [class*="col-"]:nth-child(3) {
    animation-delay: 140ms;
}

.news-grid > [class*="col-"]:nth-child(4) {
    animation-delay: 210ms;
}

.news-grid > [class*="col-"]:nth-child(5) {
    animation-delay: 280ms;
}

@keyframes newsCardEnter {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 991px) {
    .news-hero::after {
        opacity: 0.45;
    }
}

@media (max-width: 575px) {
    .news-toolbar {
        padding-bottom: 16px;
    }

    .news-filter-controls {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .news-filter-btn {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-hero::before,
    .news-hero::after,
    .news-hero-content h1,
    .news-hero-content h1::after,
    .news-hero .lead {
        animation: none !important;
    }

    .news-hero-content h1::after {
        transform: translateX(-50%) scaleX(1);
    }
}

/* Unified inner-page hero typography: keeps the home hero untouched. */
.services-page-hero h1,
.tech-hero h1,
.news-hero h1,
.contact-hero h1 {
    margin-right: auto;
    margin-left: auto;
    max-width: 920px;
    font-family: inherit;
    font-size: clamp(2.1rem, 3.6vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-wrap: balance;
}

.services-page-hero h1,
.tech-hero h1,
.news-hero h1 {
    color: #07152e;
}

.services-page-hero .lead,
.tech-hero .lead,
.news-hero .lead,
.contact-hero p {
    max-width: 820px;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.62;
    letter-spacing: 0;
}

.services-page-hero,
.tech-hero,
.news-hero {
    padding-top: 88px;
}

.contact-hero h1 {
    color: #ffffff;
}

.news-hero-content h1 {
    display: inline-block;
}

@media (max-width: 991px) {
    .services-page-hero h1,
    .tech-hero h1,
    .news-hero h1,
    .contact-hero h1 {
        max-width: 760px;
        font-size: 2.25rem;
    }

    .services-page-hero .lead,
    .tech-hero .lead,
    .news-hero .lead,
    .contact-hero p {
        font-size: 1.12rem;
    }
}

@media (max-width: 575px) {
    .services-page-hero h1,
    .tech-hero h1,
    .news-hero h1,
    .contact-hero h1 {
        max-width: 100%;
        font-size: 2rem;
        line-height: 1.16;
    }

    .services-page-hero,
    .tech-hero,
    .news-hero {
        padding-top: 64px;
    }
}

/* Inner-page heading hierarchy: secondary headings must not overpower page H1. */
.services-page-grid h2,
.services-page-grid h3,
.services-process-header h2,
.services-process-step h3,
.services-cta-panel h2,
.tech-overview-panel h2,
.tech-decision-header h2,
.tech-decision-card h3,
.tech-capability-card h3,
.tech-cta-panel h2,
.contact-content-section h2,
.contact-content-section h3,
.contact-map-section h2,
.news-featured-content h2,
.news-card .card-title {
    font-weight: 500;
    letter-spacing: 0;
}

.services-process-header h2,
.services-cta-panel h2,
.tech-decision-header h2,
.tech-cta-panel h2,
.contact-map-section h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.18;
}

.tech-overview-panel h2,
.news-featured-content h2 {
    font-size: clamp(1.5rem, 2.15vw, 1.9rem);
    line-height: 1.2;
}

.services-page-grid h3,
.services-process-step h3,
.tech-decision-card h3,
.tech-capability-card h3,
.contact-content-section h2,
.contact-content-section h3,
.news-card .card-title {
    font-size: clamp(1.12rem, 1.55vw, 1.38rem);
    line-height: 1.25;
}

.news-featured-content .section-eyebrow,
.news-card-meta,
.category-badge {
    font-weight: 650;
}

@media (max-width: 575px) {
    .services-process-header h2,
    .services-cta-panel h2,
    .tech-decision-header h2,
    .tech-cta-panel h2,
    .contact-map-section h2,
    .tech-overview-panel h2,
    .news-featured-content h2 {
        font-size: 1.5rem;
    }

    .services-page-grid h3,
    .services-process-step h3,
    .tech-decision-card h3,
    .tech-capability-card h3,
    .contact-content-section h2,
    .contact-content-section h3,
    .news-card .card-title {
        font-size: 1.16rem;
    }
}
