/* =========================================================
   HASDEMIR YAPI - INNER PAGES FULL CSS
   Tüm iç sayfalar için kapsamlı, responsive CSS
   ========================================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1e2d3d;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0da7ed; text-decoration: none; transition: color .2s; }
a:hover { color: #0b3b5d; }
ul, ol { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}
h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
p { color: #4a5568; line-height: 1.8; margin: 0; }

/* ---- LAYOUT ---- */
.ip-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.ip-section { padding: 80px 0; background: #fff; }
.ip-section-alt { padding: 80px 0; background: #f4f8fc; }
.ip-section-dark { padding: 80px 0; background: #071b2f; }

/* ---- PAGE HERO (BREADCRUMB BANNER) ---- */
.ip-page-hero {
  background: linear-gradient(135deg, #071b2f 0%, #0b3b5d 50%, #0da7ed 100%);
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
}
.ip-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 200"><path fill="rgba(255,255,255,0.03)" d="M0,100 C360,180 1080,20 1440,100 L1440,200 L0,200Z"/></svg>') no-repeat bottom;
  background-size: cover;
}
.ip-page-hero-inner {
  position: relative;
  z-index: 2;
}
.ip-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.ip-breadcrumb a, .ip-breadcrumb span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.ip-breadcrumb a:hover { color: #fff; }
.ip-breadcrumb .sep { color: rgba(255,255,255,0.4); font-size: 10px; }
.ip-breadcrumb .trail-end { color: #fff; }
.ip-page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ip-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7ee4ff;
  margin-bottom: 12px;
  display: block;
}

/* ---- TOP BAR ---- */
#top-bar {
  background: #071b2f;
  padding: 10px 0;
  width: 100%;
}
#top-bar-inner.ip-container { max-width: 1200px; }
.top-bar-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-content .inner,
.top-bar-socials .inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-content .content,
.top-bar-content a,
#top-bar a,
#top-bar span {
  color: #f1f5f9 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
#top-bar a:hover { color: #0da7ed !important; }
.top-bar-socials .icons { display: flex; gap: 10px; }
.top-bar-socials .icons a { font-size: 14px; }

/* ---- SITE HEADER ---- */
#site-header-wrap { position: relative; z-index: 100; }
#site-header, .premium-site-header {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(7,27,47,0.1) !important;
  position: relative;
  width: 100%;
  z-index: 999;
}
#site-header-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.premium-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 0;
  gap: 20px;
}
#site-logo img { width: auto; max-height: 42px; display: block; }

/* ---- HEADER SIZE NORMALIZATION ---- */
:root {
  --hd-header-container-max: 1200px;
  --hd-header-height-desktop: 88px;
  --hd-header-height-tablet: 74px;
  --hd-header-height-mobile: 68px;
  --hd-header-logo-max: 42px;
}

#top-bar-inner.ip-container,
#site-header-inner.ip-container,
#top-bar-inner.container,
#site-header-inner.container {
  max-width: var(--hd-header-container-max);
  margin-left: auto;
  margin-right: auto;
}

#site-header .premium-header-inner,
#site-header .wrap-inner.premium-header-inner {
  min-height: var(--hd-header-height-desktop);
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

#site-header #site-logo img,
#site-header .main-logo img {
  max-height: var(--hd-header-logo-max) !important;
  width: auto;
}

#site-header #main-nav > ul > li > a,
#site-header #menu-primary-menu > li > a,
#site-header .premium-nav-menu > li > a {
  line-height: 1.2 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* ---- NAVIGATION ---- */
.premium-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
#main-nav .menu,
#menu-primary-menu {
  display: flex !important;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
}
#main-nav .menu li a,
#menu-primary-menu li a {
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  white-space: nowrap;
  transition: background .2s, color .2s;
  text-decoration: none;
}
#main-nav .menu li a:hover,
#menu-primary-menu li a:hover,
#menu-primary-menu li.current-menu-item > a {
  color: #0da7ed !important;
  background: rgba(13,167,237,0.08);
}

/* sub-menu */
#main-nav .menu li { position: relative; }
#main-nav .menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(7,27,47,0.15);
  min-width: 200px;
  padding: 8px 0;
  z-index: 9999;
  list-style: none;
}
#main-nav .menu li:hover ul.sub-menu { display: block; }
#main-nav .menu li ul.sub-menu li a {
  padding: 10px 18px;
  font-size: 13px;
  color: #0f172a !important;
  border-radius: 0;
}
#main-nav .menu li ul.sub-menu li a:hover {
  background: #f4f8fc;
  color: #0da7ed !important;
}

/* CTA button in header */
.premium-btn-primary {
  background: linear-gradient(135deg, #0da7ed, #0b3b5d) !important;
  color: #fff !important;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.premium-btn-primary:hover { opacity: .88; transform: translateY(-1px); color: #fff !important; }
.premium-btn-secondary {
  background: transparent !important;
  color: #0b3b5d !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  border: 2px solid #0b3b5d;
  white-space: nowrap;
  transition: all .2s;
  text-decoration: none;
}
.premium-btn-secondary:hover { background: #0b3b5d !important; color: #fff !important; }
.premium-header-cta { margin-left: 8px; }

/* mobile hamburger */
.mobile-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(13,167,237,0.1);
  border: none;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
  z-index: 10001;
  padding: 0;
}
.mobile-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all .3s;
  transform-origin: center;
}
/* hamburger → X animation */
.mobile-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-button.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile sub-menu expand */
@media (max-width: 991px) {
  #main-nav .menu li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: auto;
    padding-left: 8px;
    transition: transform .3s;
    display: inline-block;
  }
  #main-nav .menu li.menu-item-has-children.sub-open > a::after {
    transform: rotate(180deg);
  }
  #main-nav .menu li:hover ul.sub-menu { display: none; }
  #main-nav .menu li.sub-open > ul.sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(13,167,237,0.06);
    border-radius: 8px;
    margin: 4px 0;
    padding: 4px 0;
  }
}

/* hide old search in header on inner pages */
#header-search { display: none !important; }

/* ---- SECTION HEADING ---- */
.ip-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.ip-section-heading .ip-heading-copy { flex: 1; min-width: 260px; }
.ip-section-heading .ip-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0da7ed;
  margin-bottom: 12px;
  display: block;
}
.ip-section-heading h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: #0f172a;
  margin-bottom: 14px;
  font-weight: 800;
}
.ip-section-heading p {
  font-size: 16px;
  color: #4a5568;
  max-width: 540px;
}
.ip-center-heading { text-align: center; justify-content: center; }
.ip-center-heading .ip-heading-copy { text-align: center; }
.ip-center-heading h2, .ip-center-heading p { max-width: 720px; margin-left: auto; margin-right: auto; }
.ip-divider {
  display: block;
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, #0da7ed, #0b3b5d);
  border-radius: 2px;
  margin: 16px 0;
}
.ip-center-heading .ip-divider { margin: 16px auto; }

/* ---- CARDS GRID ---- */
.ip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ip-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ip-cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- SERVICE / FEATURE CARD ---- */
.ip-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 8px 32px rgba(7,27,47,0.07);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(13,167,237,0.08);
}
.ip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(7,27,47,0.12);
}
.ip-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0da7ed, #0b3b5d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 22px;
}
.ip-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.ip-card p { font-size: 14.5px; color: #516273; line-height: 1.7; }

/* flat card (no icon) */
.ip-flat-card {
  background: #f4f8fc;
  border-radius: 16px;
  padding: 28px 24px;
  border-left: 4px solid #0da7ed;
}
.ip-flat-card h4 { font-size: .95rem; color: #0f172a; margin-bottom: 8px; font-weight: 700; }
.ip-flat-card p { font-size: 14px; color: #516273; }

/* ---- TWO-COLUMN SPLIT ---- */
.ip-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ip-split-img { border-radius: 24px; overflow: hidden; }
.ip-split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; border-radius: 24px; }
.ip-split-copy {}
.ip-split-copy h2 { margin-bottom: 20px; }
.ip-split-copy p { margin-bottom: 20px; }

/* ---- CHECKLIST ---- */
.ip-checklist { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.ip-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #1e2d3d;
}
.ip-checklist li i {
  color: #0da7ed;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---- COUNTERS SECTION ---- */
.ip-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ip-counter-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}
.ip-counter-card strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.ip-counter-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- ACCORDION ---- */
.ip-accordion { display: flex; flex-direction: column; gap: 12px; }
.ip-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s;
}
.ip-accordion-item.active { box-shadow: 0 6px 20px rgba(7,27,47,0.08); border-color: #0da7ed; }
.ip-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
}
.ip-accordion-trigger i { color: #0da7ed; transition: transform .3s; font-size: 13px; }
.ip-accordion-item.active .ip-accordion-trigger i { transform: rotate(180deg); }
.ip-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 24px;
}
.ip-accordion-item.active .ip-accordion-body { max-height: 600px; padding: 0 24px 20px; }
.ip-accordion-body p { font-size: 14.5px; color: #516273; line-height: 1.8; }

/* ---- TABS ---- */
.ip-tabs {}
.ip-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ip-tab-btn {
  background: none;
  border: none;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #516273;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s;
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px 8px 0 0;
}
.ip-tab-btn.active { color: #0da7ed; border-bottom-color: #0da7ed; background: #f0f9ff; }
.ip-tab-pane { display: none; }
.ip-tab-pane.active { display: block; }
.ip-tab-pane p { font-size: 15px; color: #4a5568; line-height: 1.8; margin-bottom: 16px; }

/* ---- CONTACT FORM ---- */
.ip-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.ip-contact-info-card {
  background: #f4f8fc;
  border-radius: 20px;
  padding: 36px;
}
.ip-contact-info-card h3 { margin-bottom: 24px; font-size: 1.3rem; }
.ip-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e2e8f0;
}
.ip-info-item:last-child { border-bottom: none; }
.ip-info-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #0da7ed, #0b3b5d);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.ip-info-text h5 { font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.ip-info-text p { font-size: 13px; color: #516273; }
.ip-info-text a { color: #0da7ed; }

.ip-form-wrap { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 8px 32px rgba(7,27,47,0.07); }
.ip-form-wrap h3 { margin-bottom: 28px; font-size: 1.3rem; }
.ip-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-form-full { grid-column: 1 / -1; }
.ip-form-group { display: flex; flex-direction: column; gap: 6px; }
.ip-form-group label { font-size: 13px; font-weight: 600; color: #0f172a; }
.ip-form-group input,
.ip-form-group textarea,
.ip-form-group select {
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #1e2d3d;
  background: #f9fafb;
  transition: border .2s, box-shadow .2s;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
}
.ip-form-group input:focus,
.ip-form-group textarea:focus {
  outline: none;
  border-color: #0da7ed;
  box-shadow: 0 0 0 3px rgba(13,167,237,0.12);
  background: #fff;
}
.ip-form-group textarea { min-height: 130px; resize: vertical; }

/* ---- PROJECT GRID ---- */
.ip-project-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.ip-filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #516273;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Montserrat', sans-serif;
}
.ip-filter-btn:hover,
.ip-filter-btn.active {
  background: #0da7ed;
  border-color: #0da7ed;
  color: #fff;
}
.ip-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ip-project-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(7,27,47,0.08);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.ip-project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(7,27,47,0.14); }
.ip-project-thumb {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.ip-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.ip-project-card:hover .ip-project-thumb img { transform: scale(1.06); }
.ip-project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,27,47,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.ip-project-card:hover .ip-project-overlay { opacity: 1; }
.ip-project-overlay a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0da7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.ip-project-body {
  padding: 22px 20px;
}
.ip-project-body h5 {
  font-size: .98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.ip-project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ip-project-tags span {
  background: #f0f9ff;
  color: #0da7ed;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* ---- TIMELINE ---- */
.ip-timeline { position: relative; padding-left: 30px; }
.ip-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, #0da7ed, #0b3b5d);
}
.ip-timeline-item { position: relative; margin-bottom: 40px; }
.ip-timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #0da7ed;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #0da7ed;
}
.ip-timeline-year {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0da7ed;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.ip-timeline-item h4 { font-size: 1rem; color: #0f172a; margin-bottom: 8px; }
.ip-timeline-item p { font-size: 14.5px; color: #516273; }

/* ---- SIDEBAR ---- */
.ip-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}
.ip-sidebar-widget {
  background: #f4f8fc;
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 24px;
}
.ip-sidebar-widget h4 {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0da7ed;
}
.ip-sidebar-nav { display: flex; flex-direction: column; gap: 0; }
.ip-sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  color: #1e2d3d;
  transition: color .2s;
}
.ip-sidebar-nav a:last-child { border-bottom: none; }
.ip-sidebar-nav a:hover { color: #0da7ed; }
.ip-sidebar-nav a i { font-size: 11px; color: #aac; }
.ip-sidebar-cta {
  background: linear-gradient(135deg, #0da7ed, #0b3b5d);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
}
.ip-sidebar-cta h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.ip-sidebar-cta p { color: rgba(255,255,255,.8); font-size: 13.5px; margin-bottom: 20px; }
.ip-sidebar-cta a {
  background: #fff;
  color: #0b3b5d;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}
.ip-sidebar-cta a:hover { background: #f0f9ff; }

/* gallery grid in sidebar */
.ip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ip-gallery-grid a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .2s;
}
.ip-gallery-grid a:hover img { transform: scale(1.05); }

/* download buttons */
.ip-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  transition: all .2s;
}
.ip-download-btn:hover {
  border-color: #0da7ed;
  color: #0da7ed;
  background: #f0f9ff;
}
.ip-download-btn i { font-size: 18px; color: #0da7ed; }

/* ---- TEAM CARDS ---- */
.ip-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ip-team-card { text-align: center; }
.ip-team-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 18px;
}
.ip-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.ip-team-card h4 { font-size: 1rem; color: #0f172a; margin-bottom: 4px; }
.ip-team-card span { font-size: 13px; color: #0da7ed; font-weight: 600; }

/* ---- PARTNERS STRIP ---- */
.ip-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px 0;
}
.ip-partners img {
  max-height: 52px;
  width: auto;
  filter: grayscale(1) opacity(0.6);
  transition: filter .2s;
}
.ip-partners img:hover { filter: grayscale(0) opacity(1); }

/* ---- CTA BAND ---- */
.ip-cta-band {
  background: linear-gradient(135deg, #071b2f 0%, #0b3b5d 60%, #0da7ed 100%);
  padding: 70px 0;
}
.ip-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ip-cta-band-copy {}
.ip-cta-band-copy .ip-eyebrow { color: #7ee4ff; }
.ip-cta-band-copy h2 { color: #fff; margin-bottom: 12px; max-width: 560px; }
.ip-cta-band-copy p { color: rgba(255,255,255,.75); max-width: 480px; }
.ip-cta-btn-white {
  background: #fff !important;
  color: #0b3b5d !important;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
  border: none;
  transition: all .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.ip-cta-btn-white:hover { background: #f0f9ff !important; transform: translateY(-2px); }

/* ---- FOOTER ---- */
.premium-site-footer {
  background: #071b2f;
  padding-top: 0;
  color: #fff;
}
.premium-site-footer * { color: #fff !important; }
.premium-site-footer a { color: rgba(255,255,255,.8) !important; }
.premium-site-footer a:hover { color: #0da7ed !important; }
.premium-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 56px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-cta-text .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7ee4ff;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.footer-cta-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: #fff;
  font-weight: 700;
  max-width: 600px;
}
.premium-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
}
.footer-widget {}
.footer-logo { max-height: 48px; width: auto; margin-bottom: 18px; }
.footer-widget > p { font-size: 14px; color: rgba(255,255,255,.7) !important; line-height: 1.8; margin-bottom: 20px; }
.footer-widget h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7ee4ff !important;
  margin-bottom: 20px;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.75) !important;
}
.footer-contact-list li i { color: #0da7ed !important; margin-top: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.7) !important;
  transition: color .2s, padding .2s;
}
.footer-links a:hover { color: #0da7ed !important; padding-left: 4px; }
.footer-social-icons { display: flex; gap: 10px; margin-top: 6px; }
.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff !important;
  transition: background .2s;
}
.footer-social-icons a:hover { background: #0da7ed; }
#bottom {
  background: rgba(0,0,0,.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.bottom-bar-inner-wrap {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-align: center;
}

/* ---- MAP EMBED ---- */
.ip-map { border-radius: 20px; overflow: hidden; margin-top: 48px; }
.ip-map iframe { width: 100%; height: 400px; border: none; display: block; }

/* ---- ABOUT INTRO SPLIT ---- */
.ip-about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ip-about-intro-img { position: relative; border-radius: 24px; overflow: hidden; }
.ip-about-intro-img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; border-radius: 24px; }
.ip-about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #0da7ed, #0b3b5d);
  border-radius: 18px;
  padding: 20px 24px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(7,27,47,0.2);
}
.ip-about-badge strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.ip-about-badge span { font-size: 12px; font-weight: 600; opacity: .85; letter-spacing: 0.04em; }

/* ---- SERVICES OVERVIEW ---- */
.ip-services-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---- CONTACT ICON BOXES ---- */
.ip-contact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.ip-contact-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(7,27,47,0.07);
  border: 1px solid #e2e8f0;
  transition: transform .2s, box-shadow .2s;
}
.ip-contact-box:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(7,27,47,0.1); }
.ip-contact-box .ip-info-icon { margin: 0 auto 20px; }
.ip-contact-box h5 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.ip-contact-box p { font-size: 13.5px; color: #516273; line-height: 1.7; }
.ip-contact-box .ip-more-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0da7ed;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- TESTIMONIALS ---- */
.ip-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ip-testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(7,27,47,0.07);
  border-top: 3px solid #0da7ed;
}
.ip-testimonial-card .ip-stars { color: #fbbf24; font-size: 14px; margin-bottom: 14px; }
.ip-testimonial-card blockquote {
  font-size: 14.5px;
  color: #516273;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 18px;
  position: relative;
  padding: 0;
  background: none;
}
.ip-testimonial-card .ip-testimonial-author { display: flex; align-items: center; gap: 12px; }
.ip-testimonial-card .ip-testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.ip-testimonial-card .ip-testimonial-author h6 { font-size: .85rem; color: #0f172a; margin-bottom: 2px; }
.ip-testimonial-card .ip-testimonial-author span { font-size: 12px; color: #94a3b8; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .ip-cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ip-counters { grid-template-columns: repeat(2, 1fr); }
  .ip-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  /* header nav collapse */
  .mobile-button { display: flex; }
  #site-header-inner { position: relative; }
  #site-header .premium-header-inner,
  #site-header .wrap-inner.premium-header-inner {
    min-height: var(--hd-header-height-tablet);
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .premium-header-inner { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; }
  .premium-header-actions {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 16px 40px rgba(7,27,47,0.18);
    padding: 20px 24px;
    z-index: 9999;
    border-top: 2px solid #0da7ed;
    gap: 8px;
  }
  .premium-header-actions.open { display: flex; }
  #main-nav .menu,
  #menu-primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
  }
  #main-nav .menu li,
  #menu-primary-menu li { width: 100%; }
  #main-nav .menu li a,
  #menu-primary-menu li a {
    padding: 12px 16px;
    font-size: 15px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .premium-header-cta { width: 100%; text-align: center; display: block !important; margin-left: 0; }

  /* grids */
  .ip-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-project-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-team-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .ip-split { grid-template-columns: 1fr; gap: 36px; }
  .ip-about-intro { grid-template-columns: 1fr; gap: 40px; }
  .ip-services-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ip-sidebar-layout { grid-template-columns: 1fr; }
  #sidebar, .ip-sidebar { order: -1; }
  .ip-contact-boxes { grid-template-columns: 1fr 1fr; }
  .premium-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ip-cta-band-inner { flex-direction: column; align-items: flex-start; }
  .ip-about-badge { display: none; }
}

@media (max-width: 767px) {
  #site-header .premium-header-inner,
  #site-header .wrap-inner.premium-header-inner {
    min-height: var(--hd-header-height-mobile);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .ip-section { padding: 56px 0; }
  .ip-section-alt { padding: 56px 0; }
  .ip-section-dark { padding: 56px 0; }
  .ip-page-hero { padding: 50px 0 36px; }
  .ip-cards-grid { grid-template-columns: 1fr; }
  .ip-cards-grid-2 { grid-template-columns: 1fr; }
  .ip-project-grid { grid-template-columns: 1fr; }
  .ip-team-grid { grid-template-columns: 1fr 1fr; }
  .ip-contact-boxes { grid-template-columns: 1fr; }
  .ip-testimonial-grid { grid-template-columns: 1fr; }
  .ip-counters { grid-template-columns: repeat(2, 1fr); }
  .ip-section-heading { flex-direction: column; align-items: flex-start; }
  .premium-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .premium-footer-cta { flex-direction: column; align-items: flex-start; }
  .ip-form-grid { grid-template-columns: 1fr; }
  .top-bar-inner-wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ip-split-img { order: -1; }
}

@media (max-width: 480px) {
  .ip-container { padding: 0 16px; }
  .ip-card { padding: 24px 18px; }
  .ip-form-wrap { padding: 24px 18px; }
  .ip-contact-info-card { padding: 24px 18px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}

/* ---- BLOG LIST ---- */
.ip-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ip-blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(7,27,47,0.07);
  border: 1px solid rgba(13,167,237,0.08);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.ip-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(7,27,47,0.13);
}
.ip-blog-card-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.ip-blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.ip-blog-card:hover .ip-blog-card-img-wrap img { transform: scale(1.05); }
.ip-blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ip-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ip-blog-chip {
  background: rgba(13,167,237,0.1);
  color: #0da7ed;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ip-blog-date {
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ip-blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0 0 10px;
  line-height: 1.4;
}
.ip-blog-card-body h3 a {
  color: #0f172a !important;
  text-decoration: none;
  transition: color .2s;
}
.ip-blog-card-body h3 a:hover { color: #0da7ed !important; }
.ip-blog-card-body > p {
  color: #516273 !important;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 20px;
  flex: 1;
}
.ip-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0da7ed !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s, color .2s;
}
.ip-blog-read-more:hover { gap: 10px; color: #0b3b5d !important; }
.ip-blog-read-more i { font-size: 11px; }

/* ---- BLOG ARTICLE ---- */
.ip-article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}
.ip-article-body {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(7,27,47,0.07);
  border: 1px solid rgba(13,167,237,0.08);
}
.ip-article-hero-img {
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
  display: block;
}
.ip-article-content { padding: 40px; }
.ip-article-content h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #0f172a !important;
  margin: 0 0 16px;
  line-height: 1.3;
}
.ip-article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}
.ip-article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b !important;
}
.ip-article-meta i { color: #0da7ed; }
.ip-article-description {
  font-size: 16px;
  color: #334155 !important;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: rgba(13,167,237,0.06);
  border-left: 4px solid #0da7ed;
  border-radius: 0 12px 12px 0;
}
.ip-article-post-content {
  font-size: 16px;
  color: #374151 !important;
  line-height: 1.9;
}
.ip-article-post-content p { margin: 0 0 18px; color: #374151 !important; }
.ip-article-post-content h2 { color: #0f172a !important; font-size: 1.4rem; margin: 30px 0 14px; }
.ip-article-post-content h3 { color: #0f172a !important; font-size: 1.2rem; margin: 24px 0 10px; }
.ip-article-gallery-wrap {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.ip-article-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.ip-article-gallery-head h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a !important;
}
.ip-article-gallery-head span {
  font-size: 12px;
  font-weight: 700;
  color: #0b3b5d !important;
  background: rgba(13,167,237,0.12);
  border-radius: 999px;
  padding: 6px 10px;
}
.ip-article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ip-article-gallery-grid a {
  border-radius: 12px;
  overflow: hidden;
  display: block;
  box-shadow: 0 5px 18px rgba(7,27,47,0.12);
}
.ip-article-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.ip-article-gallery-grid a:hover img {
  transform: scale(1.05);
}
.ip-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}
.ip-sidebar-widget {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(7,27,47,0.06);
  border: 1px solid rgba(13,167,237,0.08);
}
.ip-sidebar-widget h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0da7ed;
}
.ip-sidebar-widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ip-sidebar-widget li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.ip-sidebar-widget li:last-child { border-bottom: none; }
.ip-sidebar-widget li strong { font-size: 12px; color: #94a3b8 !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.ip-sidebar-widget li span { font-size: 13px; color: #0f172a !important; font-weight: 600; text-align: right; }
.ip-related-section { margin-top: 48px; padding-top: 40px; border-top: 2px solid #f1f5f9; }
.ip-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #516273 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color .2s;
}
.ip-back-link:hover { color: #0da7ed !important; }
.ip-404-wrap { text-align: center; padding: 80px 20px; }
.ip-404-wrap i { font-size: 4rem; color: #cbd5e1; margin-bottom: 24px; }
.ip-404-wrap h2 { color: #0f172a !important; margin-bottom: 12px; }
.ip-404-wrap p { color: #516273 !important; margin-bottom: 28px; }

/* blog responsive */
@media (max-width: 991px) {
  .ip-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-article-grid { grid-template-columns: 1fr; }
  .ip-article-sidebar { position: static; }
}
@media (max-width: 767px) {
  .ip-blog-grid { grid-template-columns: 1fr; }
  .ip-article-content { padding: 24px 20px; }
  .ip-article-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- CRITICAL OVERRIDES ---- */
/* Footer CTA button must keep dark text */
.premium-site-footer .ip-cta-btn-white,
.ip-cta-band .ip-cta-btn-white {
  color: #0b3b5d !important;
  background: #ffffff !important;
}
.premium-site-footer .ip-cta-btn-white:hover,
.ip-cta-band .ip-cta-btn-white:hover {
  background: #e8f4fe !important;
  color: #071b2f !important;
}

/* Dark sections: p rengi beyaz olmalı */
.ip-section-dark p,
.ip-section-dark span,
.ip-cta-band p,
.ip-cta-band span,
.ip-cta-band-copy p,
.ip-cta-band-copy span {
  color: rgba(255,255,255,0.82) !important;
}
.ip-section-dark h1,
.ip-section-dark h2,
.ip-section-dark h3,
.ip-cta-band h2,
.ip-cta-band-copy h2 {
  color: #ffffff !important;
}
.ip-cta-band .ip-eyebrow { color: #7ee4ff !important; }

/* Footer text fix - body.page p override */
.premium-site-footer p,
.premium-site-footer span,
.premium-site-footer li,
.premium-site-footer h2,
.premium-site-footer h3,
.footer-cta-text h2 {
  color: #ffffff !important;
}
.premium-footer-cta .footer-cta-text h2 { color: #fff !important; }

/* Counters text */
.ip-counter-card strong { color: #fff !important; }
.ip-counter-card span { color: rgba(255,255,255,0.7) !important; }

/* Page hero text */
.ip-page-hero h1,
.ip-page-hero span,
.ip-page-hero .ip-eyebrow { color: #ffffff !important; }
.ip-breadcrumb a,
.ip-breadcrumb span { color: rgba(255,255,255,0.75) !important; }
.ip-breadcrumb .trail-end { color: #fff !important; }

/* Service page button group */
.ip-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.ip-btn-group a { text-decoration: none; }

/* Top bar icons - make sure text is visible */
#top-bar .content,
#top-bar a,
#top-bar span {
  color: #f1f5f9 !important;
  text-decoration: none;
}

/* FA icons in header/topbar - ensure they show */
#top-bar i,
.top-bar-socials i {
  color: #0da7ed !important;
  font-size: 14px;
}
.top-bar-content i { color: #0da7ed !important; }
.top-bar-socials .icons a i { color: rgba(255,255,255,0.85) !important; }
.top-bar-socials .icons a:hover i { color: #0da7ed !important; }

/* footer social icons styling */
.footer-social-icons a i { color: #fff !important; }

/* Fix any white-on-white buttons */
.premium-btn-primary i,
.premium-btn-primary span { color: #fff !important; }
.premium-btn-secondary { color: #0b3b5d !important; }
.premium-btn-secondary:hover { color: #fff !important; }

/* Sidebar links */
.ip-sidebar-nav a { color: #1e2d3d !important; }
.ip-sidebar-nav a:hover { color: #0da7ed !important; }
.ip-sidebar-cta p { color: rgba(255,255,255,0.85) !important; }
.ip-sidebar-cta h4 { color: #fff !important; }

/* Info items in contact */
.ip-info-text h5 { color: #0f172a !important; }
.ip-info-text p { color: #516273 !important; }
.ip-info-text a { color: #0da7ed !important; }
.ip-contact-box h5 { color: #0f172a !important; }
.ip-contact-box p { color: #516273 !important; }

/* Project card text */
.ip-project-body h5 { color: #0f172a !important; }
.ip-project-body p { color: #516273 !important; }

/* Timeline text */
.ip-timeline-item h4 { color: #0f172a !important; }
.ip-timeline-item p { color: #516273 !important; }

/* Accordion text */
.ip-accordion-trigger { color: #0f172a !important; }
.ip-accordion-body p { color: #516273 !important; }

/* Flat card text */
.ip-flat-card h4 { color: #0f172a !important; }
.ip-flat-card p { color: #516273 !important; }

/* Card text */
.ip-card h3 { color: #0f172a !important; }
.ip-card p { color: #516273 !important; }

/* Tab text */
.ip-tab-pane p { color: #4a5568 !important; }
.ip-tab-btn { color: #516273 !important; }
.ip-tab-btn.active { color: #0da7ed !important; }

/* Section heading text */
.ip-section-heading p { color: #4a5568 !important; }
.ip-section-heading h2 { color: #0f172a !important; }

/* ---- UNIFIED HEADER VISUAL (ALL PAGES) ---- */
#site-header,
.premium-site-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #ffffff !important;
}

#site-header .premium-header-inner,
#site-header .wrap-inner.premium-header-inner {
  min-height: 132px !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  gap: 24px !important;
}

#site-header #site-logo img,
#site-header .main-logo img {
  max-height: 48px !important;
}

#site-header #main-nav > ul,
#site-header #menu-primary-menu,
#site-header .premium-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

#site-header #main-nav > ul > li > a,
#site-header #menu-primary-menu > li > a,
#site-header .premium-nav-menu > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 10px 18px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

#site-header #main-nav > ul > li.current-menu-item > a,
#site-header #menu-primary-menu > li.current-menu-item > a,
#site-header .premium-nav-menu > li.current-menu-item > a {
  min-height: 90px !important;
  min-width: 90px !important;
  padding: 12px 20px !important;
  background: rgba(13, 167, 237, 0.16) !important;
  color: #0b8ec9 !important;
}

@media (max-width: 991px) {
  #site-header .premium-header-inner,
  #site-header .wrap-inner.premium-header-inner {
    min-height: 96px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  #site-header #main-nav > ul > li.current-menu-item > a,
  #site-header #menu-primary-menu > li.current-menu-item > a,
  #site-header .premium-nav-menu > li.current-menu-item > a {
    min-height: 48px !important;
    min-width: 48px !important;
    padding: 10px 14px !important;
  }
}

@media (max-width: 767px) {
  #site-header .premium-header-inner,
  #site-header .wrap-inner.premium-header-inner {
    min-height: 78px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* ---- MOBILE CTA + FOOTER POLISH ---- */
@media (max-width: 767px) {
  .ip-cta-band {
    padding: 24px 0 !important;
  }

  .ip-cta-band-inner {
    background: linear-gradient(135deg, #071b2f 0%, #0b3b5d 60%, #0da7ed 100%) !important;
    border-radius: 26px !important;
    padding: 22px 18px !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  .ip-cta-band-copy {
    text-align: left !important;
  }

  .ip-cta-band-copy h2 {
    font-size: 1.55rem !important;
    line-height: 1.28 !important;
    margin-bottom: 10px !important;
    max-width: 100% !important;
  }

  .ip-cta-band-copy p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
  }

  .ip-cta-band .ip-cta-btn-white,
  .premium-site-footer .ip-cta-btn-white {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    text-align: center !important;
    letter-spacing: 0.02em !important;
    white-space: normal !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .premium-site-footer {
    padding-top: 0 !important;
  }

  .premium-footer-cta {
    padding: 30px 0 24px !important;
    gap: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  }

  .footer-cta-text h2 {
    font-size: 1.35rem !important;
    line-height: 1.32 !important;
    max-width: 100% !important;
  }

  .premium-footer-grid {
    padding: 26px 0 28px !important;
    gap: 20px !important;
  }

  .footer-widget {
    padding-bottom: 2px !important;
  }

  .footer-widget h3 {
    margin-bottom: 12px !important;
  }

  .footer-contact-list,
  .footer-links {
    gap: 9px !important;
  }
}

@media (max-width: 480px) {
  .ip-cta-band-inner {
    border-radius: 22px !important;
    padding: 20px 14px !important;
  }

  .ip-cta-band-copy h2 {
    font-size: 1.35rem !important;
  }

  .ip-cta-band-copy p {
    font-size: 0.95rem !important;
  }

  .footer-cta-text h2 {
    font-size: 1.2rem !important;
  }
}

/* ---- MOBILE NAV TOGGLE MODE ---- */
@media (max-width: 991px) {
  .mobile-button {
    display: flex !important;
  }

  #site-header-inner {
    position: relative !important;
  }

  #site-header .premium-header-inner,
  #site-header .wrap-inner.premium-header-inner {
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .premium-header-actions {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    background: #ffffff !important;
    border: 1px solid rgba(13,167,237,0.18) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(7,27,47,0.18) !important;
    padding: 14px !important;
    z-index: 9999 !important;
    gap: 8px !important;
  }

  .premium-header-actions.open {
    display: flex !important;
  }

  #main-nav,
  #main-nav .menu,
  #menu-primary-menu {
    width: 100% !important;
  }

  #main-nav .menu,
  #menu-primary-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
  }

  #main-nav .menu li,
  #menu-primary-menu li {
    width: 100% !important;
  }

  #main-nav .menu li a,
  #menu-primary-menu li a {
    width: 100% !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .premium-header-cta {
    width: 100% !important;
    margin-left: 0 !important;
    text-align: center !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
  }

  .premium-header-actions.open #main-nav {
    display: block !important;
    width: 100% !important;
    order: 1 !important;
  }

  .premium-header-actions.open #main-nav .menu,
  .premium-header-actions.open #menu-primary-menu,
  .premium-header-actions.open .premium-nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .premium-header-actions.open #main-nav .menu > li,
  .premium-header-actions.open #menu-primary-menu > li,
  .premium-header-actions.open .premium-nav-menu > li {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
  }
}

/* ---- MOBILE FOOTER COMPACT TUNING ---- */
@media (max-width: 767px) {
  .premium-site-footer .ip-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .premium-footer-cta {
    padding: 22px 0 18px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .premium-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .footer-widget,
  .footer-widget > p,
  .footer-widget h3,
  .footer-contact-list,
  .footer-links {
    text-align: center !important;
  }

  .footer-widget {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .footer-logo {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 14px !important;
  }

  .footer-widget:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer-widget > p {
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .footer-links,
  .footer-contact-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-contact-list li,
  .footer-links li {
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    white-space: normal !important;
  }

  .footer-links li a,
  .footer-contact-list li a,
  .footer-contact-list li span {
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.7 !important;
  }

  .footer-social-icons {
    justify-content: center !important;
  }

  .footer-widget > p {
    margin-bottom: 12px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .footer-contact-list li,
  .footer-links li {
    margin-bottom: 4px !important;
  }

  #bottom .bottom-bar-inner-wrap {
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* ---- TOP BAR + MOBILE LOGO FINAL FIX ---- */
@media (min-width: 768px) and (max-width: 1024px) {
  #top-bar {
    padding: 8px 0 !important;
  }

  #top-bar-inner,
  #top-bar-inner.ip-container,
  #top-bar-inner.container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .top-bar-inner-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 16px !important;
    row-gap: 6px !important;
  }

  .top-bar-content .inner,
  .top-bar-socials .inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    line-height: 1.35 !important;
  }

  .top-bar-socials .inner {
    justify-content: flex-end !important;
  }

  .top-bar-content .content,
  .top-bar-content a,
  .top-bar-socials .text,
  #top-bar a,
  #top-bar span {
    font-size: 12px !important;
  }
}

@media (max-width: 767px) {
  #top-bar {
    padding: 8px 0 !important;
  }

  #top-bar-inner,
  #top-bar-inner.ip-container,
  #top-bar-inner.container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .top-bar-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .top-bar-content,
  .top-bar-socials {
    width: 100% !important;
  }

  .top-bar-content .inner,
  .top-bar-socials .inner {
    justify-content: center !important;
    gap: 10px !important;
  }

  .top-bar-content .content,
  .top-bar-content a,
  .top-bar-socials .text,
  #top-bar a,
  #top-bar span {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  #site-header .premium-header-inner,
  #site-header .wrap-inner.premium-header-inner {
    position: relative !important;
    justify-content: center !important;
    padding-left: 56px !important;
    padding-right: 56px !important;
  }

  #site-header #site-logo,
  #site-header #site-log-inner {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  #site-header #site-logo img,
  #site-header .main-logo img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #site-header .mobile-button,
  .mobile-button {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}
