﻿/* common/css/mobile.css */








/* ─── Desktop (≥1024px): hide mobile nav + header + reps ───────────── */
@media only screen and (min-width: 1024px) {
  /* mobile drawer & toggle */
  .nav-toggle,
  .nav-toggle-label,
  .nav-overlay,
  nav.mobile-nav,
  /* page header used for mobile */
  .page-header,
  /* the “Our Representatives” mobile section */
  .representatives-section {
    display: none !important;
  }
}

/* ─── Mobile (≤1024px): hide desktop top‐banner & nav ──────────────── */
@media only screen and (max-width: 1024px) {
  .ust-bg {
    display: none !important;
  }
}





@media only screen and (max-width: 1024px) {
    /* Make your page wrapper fluid */
    .page {
        width: auto !important;
        margin: 0 15px !important;
        padding: 0 !important;
    }

    /* ========== HEADER/SLIDER ========== */
    #header {
        height: 300px !important;
    }

    .headerimg {
        height: 300px !important;
        background-size: cover !important;
    }

    #headertxt {
        bottom: 15px !important;
        left: 15px !important;
        padding: 8px !important;
        font-size: 0.9rem !important;
    }

    /* Hide desktop menu, you can un-comment a mobile nav if you build one */
    .menu {
        display: none !important;
    }
    /* .mobile-nav { display: block !important; } */

    /* ========== INTRO + SECTOR ========== */
    .intro-sector {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .introductionnnn,
    .sectorr {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: auto !important;
    }
    /* If using the grid on .sectorr, collapse to one column */
    .sectorr {
        grid-template-columns: 1fr !important;
        width: auto !important;
    }

    /* ========== BOX‑310 (Mission, Quality) ========== */
    .box-310 {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px !important;
    }

    /* ========== NEWS & GALLERY ========== */






    /* ========== IMAGES FLUID ========== */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* ========== TYPOGRAPHY ========== */
    body {
        font-size: 14px !important;
    }

    h1, h2, h3, h4 {
        font-size: 1.2rem !important;
    }

    /* ========== CONTACT GRID (if on homepage/contact page) ========== */
    .contact-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(5, auto) !important;
    }

    .contact-map {
        grid-column: 1 !important;
        grid-row: 5 !important;
        min-height: 200px !important;
    }

    /* ========== FOOTER ========== */
    .iletisim,
    .temsilci-ftr,
    .footer-reps {
        width: auto !important;
        float: none !important;
        text-align: center !important;
        margin: 10px auto !important;
    }
    /* prevent any accidental horizontal scroll */
    html, body {
        overflow-x: hidden !important;
    }


    /* Make “Contact” and “Representatives” headings larger & bold */
  .footer-bg .iletisim .ilt-bs,
  .footer-bg .temsilci-ftr .tm-bs {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
  }

  /* Tidy up contact details */
  .footer-bg .iletisim .adres,
  .footer-bg .iletisim .telefon,
  .footer-bg .iletisim .mails {
    font-size: 1rem !important;
    line-height: 1.5;
    margin-bottom: 0.25rem;
  }

  /* Add spacing before representatives list */
  .footer-bg .temsilci-ftr {
    margin-top: 1rem;
  }

  /* Style the reps links for readability */
  .footer-bg .footer-reps {
    padding: 0;
    margin: 0.5rem 0 1.5rem;
    list-style: none;
  }
  .footer-bg .footer-reps li {
    margin-bottom: 0.75rem;
  }
  .footer-bg .footer-reps li a {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
  }


    /* ensure all major wrappers can’t exceed viewport */
    .page,
    #headernav-outer,
    .main-bottom-bg,
    .footer-bg,
    .faaliyet-panelgl,
    .jv-bg {
        max-width: 100% !important;
        width: auto !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    /* override that hard‑coded header nav width */
    #headernav-outer {
        margin: 0 auto !important;
    }

    /* collapse carousel padding that could push out */
    .faaliyet-panelgl {
        padding-left: 0 !important;
        margin: 15px 0 !important;
    }

    /* make sure any fixed‑width elements you missed also shrink */
    [style*="width: 1140px"], /* e.g. inline or attribute widths */
    [style*="width: 1000px"] {
        width: auto !important;
        max-width: 100% !important;
    }

    /* lastly, catch any rogue absolute or relative elements */
    * {
        box-sizing: border-box;
    }
    /* ====== Smaller fonts for mobile ====== */
    body {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    /* Headings */
    h1 {
        font-size: 1.4rem !important; /* was ~1.6rem */
    }

    h2 {
        font-size: 1.2rem !important; /* was ~1.4rem */
    }

    h3, h4 {
        font-size: 1rem !important; /* keep these small & legible */
    }

    /* Paragraphs, list items, links */
    p,
    li,
    .menu ul li a,
    .buttonnnn,
    .devam,
    .tum-detay {
        font-size: 0.875rem !important; /* ~14px → ~12px */
    }

    /* Sector‑box buttons */
    .sectorr div[class$='-btn'] {
        font-size: 0.75rem !important; /* ~12px → ~10px */
        line-height: 1.2 !important;
    }

    /* Tighten up spacing */
    .introductionnnn p,
    .introductionnnn ul li,
    .hb-bs,
    .hbr-text,
    .foto-galeri-bs {
        margin-bottom: 0.5em !important;
    }

    /* Optional: if you still see any oversized text, force-check with: */
    * {
        font-size: inherit !important;
    }
    /* ====== Section Boundaries & Wrappers ====== */
    .main-bottom-color-bg,
    .main-bottom-bg,
    .footer-bg,
    .jv-bg {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
    }

    /* ====== Banner Slider (Header) ====== */
    #headernav-outer {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }

    #back, #control, #next {
        width: 40px !important;
        height: 40px !important;
        margin: 0 5px !important;
        background-size: contain !important;
    }

    /* ====== Representatives Carousel ====== */
    .faaliyet-panelgl {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .faaliyetgl li {
        float: none !important;
        width: 45% !important; /* two per row */
        margin: 5px !important;
        box-sizing: border-box !important;
    }

    /* ====== Footer Cleanup ====== */
    .footer-bg .page {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .iletisim,
    .temsilci-ftr,
    .footer-reps {
        width: 100% !important;
        float: none !important;
        margin: 5px 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .footer-reps {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
    }

    .copy,
    .threeinfour {
        width: 100% !important;
        text-align: center !important;
        margin: 5px 0 !important;
        float: none !important;
    }
      /* ====== Footer Contact Section Cleanup ====== */
  .iletisim {
    display: flex                !important;
    flex-direction: column      !important;
    align-items: center         !important;
    justify-content: center     !important;
    width: 100%                 !important;
    float: none                 !important;
    margin: 10px 0              !important;
    padding: 0                  !important;
    text-align: center          !important;
  }
  .iletisim .adres,
  .iletisim .telefon,
  .iletisim .mails {
    display: block              !important;
    margin: 5px 0               !important;
    width: 100%                 !important;
    max-width: 300px            !important;
    box-sizing: border-box      !important;
  }
/* ——— Button Spacing Reset ——— */
.buttonnnn,
.devam,
.tum-detay,
.site-btn {
  /* restore desktop spacing */
  margin: 15px 0 0 0 !important;
  padding: 0 15px !important;
  width: auto !important;
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 32px !important;
}

/* ——— Sector Box Buttons ——— */
.machinery-btn,
.decor-btn,
.spare-btn,
.chemical-btn,
.consultancy-btn {
  margin: 10px auto 0 auto !important;   /* center under each image */
  padding: 0 !important;                 /* let desktop CSS control it */
  width: 190px !important;               /* desktop width */
  line-height: 38px !important;          /* desktop line‑height */
  background-position: center bottom !important; /* keep your icon bar */
  display: inline-block !important;
  font-size: 12px !important;            /* desktop font */
}

/* ——— Slider Arrows ——— */
#back, #control, #next {
  width: 56px !important;
  height: 56px !important;
  margin: 0 8px !important;
  background-size: cover !important;
}
        /* ====== Mobile: Center Photo & Video Gallery ====== */
.foto-galeri-blm .faaliyet-panelgl2,
.foto-galeri-blm .faaliyetgl2 {
  width: 100%            !important;
  margin: 0 auto         !important;
  text-align: center     !important;
  overflow: hidden       !important;
  box-sizing: border-box !important;
}

.foto-galeri-blm .faaliyetgl2 li {
  float: none              !important;
  display: inline-block    !important;
  margin: 0 5px            !important; /* small gutter between items */
}

.foto-galeri-blm .faaliyetgl2 li img {
  display: block           !important;
  margin: 0 auto           !important;
  width: auto !important;  /* let max-width rule take over */
  max-width: 90vw !important; /* image will never exceed 90% of viewport */
  height: auto !important;
}

  /* 2‑column grid with minimal gaps */
  .sectorr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: auto !important;
    grid-gap: 2px !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }

  /* Center “Consultancy” under both columns */
  .sectorr .consultancy {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    max-width: 48% !important;
  }

  /* Turn each tile into [big image][button] stack */
  .sectorr > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 4px 0 !important;
    box-sizing: border-box !important;
  }

  /* Make the picture fill most of the tile */
  .sectorr .sector-img {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-height: 100px !important;   /* ← bump this to make pics even bigger */
    object-fit: cover !important;
    margin-bottom: 4px !important;
  }

  /* Full‑width button beneath each image */
  .sectorr div[class$='-btn'] {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 25px !important;     /* ← adjust for taller/shorter buttons */
    padding: 0 8px !important;
    font-size: 0.7rem ;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
    background-size: cover !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
  }

      /* Shrink the main wrapper gutters */
  .page,
  #headernav-outer,
  .main-bottom-bg,
  .footer-bg {
    margin: 0 8px !important;       /* only 8px on each side now */
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* If you also padded individual sections, override those too */
  .main-bottom-color-bg,
  .jv-bg,
  .haber-blm,
  .foto-galeri-blm {
    padding: 0 8px !important;
  }

/* 1) Force html/body to never overflow and match viewport width */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* 2) Ensure all your main container sections span exactly the viewport */
  .page,
  #header,
  #headernav-outer,
  .main-bottom-color-bg,
  .main-bottom-bg,
  .jv-bg,
  .haber-blm,
  .foto-galeri-blm,
  .footer-bg {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* 3) Catch any inline‑widths or images that leak out */
  [style*="width"],
  img,
  iframe {
    max-width: 100vw !important;
    width: auto   !important;
    box-sizing: border-box !important;
  }
    /* ====== About Us Text Tweak ====== */
  .introductionnnn {
    padding: 10px !important;         /* give some breathing room */
    font-size: 0.9rem !important;      /* overall smaller base text */
    line-height: 1.4 !important;       /* tighter yet legible */
  }
  .introductionnnn h1 {
    font-size: 1.3rem !important;      /* smaller heading */
    margin-bottom: 0.5em !important;
  }
  .introductionnnn p,
  .introductionnnn ul {
    font-size: 0.8rem !important;      /* smaller paragraph/list text */
    margin-bottom: 0.75em !important;  /* consistent spacing */
  }
  .introductionnnn ul li {
    padding-left: 1em !important;      /* indent bullets nicely */
  }
  /* ====== Mobile: Add side margins to sector grid ====== */
  .sectorr {
    /* keep your 2×3 layout but inset it from the edges */
    margin: 0 10px !important;     /* 10px left/right space */
    width: auto !important;        /* allow margin to take effect */
    max-width: calc(100% - 20px) !important; /* full width minus margins */
    box-sizing: border-box !important;
    /* you can also bump gap slightly if you like */
    grid-gap: 6px !important;
  }
/* ====== Mobile: Add side margins to Mission/Vision/Quality boxes ====== */
.box-310 {
    float: none !important;
    width: calc(100% - 20px) !important; /* full width minus gutters */
    max-width: calc(100% - 20px) !important;
    margin: 10px auto !important; /* 10px top/bottom, auto center */
    padding: 0 10px !important; /* optional inner padding */
    box-sizing: border-box !important;
}
  /* ====== Mobile: Add gutters to News & Gallery ====== */
  .haber-blm,
  .foto-galeri-blm {
    float: none                 !important;
    width: calc(100% - 20px)    !important; /* 10px each side */
    max-width: calc(100% - 20px) !important;
    margin: 15px auto           !important; /* vertical spacing + center */
    padding: 0 10px             !important; /* inner gutter */
    box-sizing: border-box      !important;
  }

  /* Ensure each news item also doesn’t span edge‑to‑edge */
  .hb-box {
    margin: 10px 0 !important;
    padding: 10px !important;
  }

  /* Gallery UL centering already in place; just ensure the inner items fit */
  .faaliyetgl2 {
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* tighten up the remaining paragraph */
  .introductionnnn > p:first-of-type {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 10px !important;  /* small side padding */
    text-align: justify !important;
  }
.introductionnnn {
    font-size: 0.8rem    !important;  /* base text smaller */
    line-height: 1.4     !important;
  }
  .introductionnnn h1 {
    font-size: 1.2rem    !important;  /* make the heading smaller */
    margin-bottom: 0.5em !important;
  }
  .introductionnnn p {
    font-size: 0.75rem   !important;  /* shrink paragraph text */
    margin-bottom: 0.75em !important;
  }
  .introductionnnn ul li {
    font-size: 0.75rem   !important;  /* shrink list items */
    margin-bottom: 0.5em !important;
  }

}

















/* ─── Hide mobile nav elements on desktop ───────────────────────────── */
.nav-toggle,
.nav-toggle-label,
.nav-overlay,
nav.mobile-nav,
.page-header {
    display: none; /* hide on desktop */
}

/* ─── Mobile (≤1024px): Right‑Edge Blue Drawer ───────────────────────── */
@media only screen and (max-width: 1024px) {


















  /* 2) Burger toggle (top‑right) */
  .nav-toggle-label {
    display: block !important;
    position: fixed;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #0a3a66;
    color: #fff;
    font-size: 1.75rem;
    text-align: center;
    line-height: 36px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1002;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .nav-toggle-label:hover {
    background: #08304f;
  }
  .nav-toggle-label:active {
    transform: scale(0.9);
  }

  /* 3) Dimmed overlay */
  .nav-overlay {
    display: block !important;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 58, 102, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }
  .nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* 4) Drawer panel */
  nav.mobile-nav {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0; right: 0;
    width: 80vw; max-width: 280px;
    height: 100vh;
    background: #0a3a66;
    padding: 60px 20px 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
  }
  .nav-toggle:checked ~ nav.mobile-nav {
    transform: translateX(0);
  }
  /* 5) MENU heading in the drawer */
  .mobile-nav-header {
    position: absolute;
    top: 90px;              /* just under the burger */
    left: 50%;              /* center horizontally */
    transform: translateX(-50%);
    width: auto;
    margin: 0;
    z-index: 1003;
    text-align: center;
  }
  .mobile-menu-title {
    color: #fff;            /* white on blue */
    font-size: 1.25rem;     /* adjust as desired */
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
  }




  /* 6) Interactive links */
  .mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
  }
  .mobile-nav-links li + li {
    margin-top: 8px;
  }
  .mobile-nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .mobile-nav-links a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(4px);
  }
  .mobile-nav-links a::after {
    content: '›';
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    transition: transform 0.2s ease;
  }
  .mobile-nav-links a:hover::after {
    transform: translateX(4px);
  }

  /* 7) Footer at bottom (plain text) */
  .mobile-nav-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
  }
  .mobile-nav-footer p {
    margin: 6px 0;
    padding: 0;
    background: none;
    border: none;
    line-height: 1.4;
  }
   /* show on mobile */
  .page-header {
    display: block !important;
    background: #0a3a66;    /* match your header/footer blue */
    padding: 5px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1003;          /* above everything else */
  }
  .page-header .page {
    padding: 0 15px;
  }
	.page-header__logo {
		display: block;
		margin: 4px 2px 4px 8px;
		width: 40px; /* adjust as needed */
		height: 40px; /* adjust as needed */
		background: url('../images/mobilelogo.png') no-repeat center/contain;
	}
    /* push logo + text all the way to the right */
    .page-header__inner {
        display: flex;
        justify-content: flex-start; /* ← change from center to flex‑end */
        width: 100%;
        box-sizing: border-box;
    }

    /* if you’re not using a separate .page-header__inner wrapper, you can do it on .page directly: */
    .page-header .page {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }


    /* tweak the logo */
    .page-header__logo {
        margin-right: 0px; /* space between logo & text */
    }

	/* ─── Mobile Header Title Styling ────────────────────────────────────── */
	.page-header__title {
		font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; /* a clean, professional sans */
		font-size: 0.9rem !important; /* bigger than the previous 1rem */
		font-weight: 700; /* extra bold for impact */
		color: #fff; /* keep it white on your blue bar */
		margin: 16px 0px 0px; /* space from the logo */
		line-height: 1; /* center vertically with the logo */
	}

	/* push everything else below the header */
	body,
	#header,
	.nav-toggle-label,
	.nav-overlay {
		margin-top: 56px !important; /* header height + some breathing room */
	}
	/* push drawer content lower so MENU + links sit further down */
	nav.mobile-nav {
		padding: 140px 20px 20px !important;
	}






/* ========================
   Our Representatives Grid
   ======================== */

/* Section title */
.representatives-section .section-title {
  font-size: 1.75rem;
  color: #00539f;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* 2×3 grid with consistent gaps */
.representatives-section .rep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px 16px;           /* 20px row‑gap, 16px column‑gap */
  max-width: 640px;
  margin: 0 auto 40px;      /* center + bottom space */
  padding: 0 16px;
}

/* Center the 5th card across both columns */
.representatives-section .rep-grid .rep-card:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 60%;               /* narrower than full width */
}

/* Card styling */
.representatives-section .rep-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.representatives-section .rep-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Logo image fill */
.representatives-section .rep-card img {
  width: 100%;
  max-height: 70px;
  object-fit: cover;
  margin-bottom: 4px;
  border-radius: 4px;
}

/* Name label */
.representatives-section .rep-card__name {
  background: rgba(0, 83, 159, 0.1);
  width: 100%;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #00539f;
  text-align: center;
  border-radius: 0 0 12px 12px;
  transition: background 0.2s ease;
}
.representatives-section .rep-card:hover .rep-card__name {
  background: rgba(0, 83, 159, 0.2);
}



}




/* ─── More compact About Us layout (≤1024px) ─────────────────────────── */
@media only screen and (max-width: 1024px) {
  /* Container padding */
  .main-bottom-color-bg .page.clearfix {
    padding: 0 12px !important;
  }

  /* Full‑width panels */
  .left-blm,
  .right-blm {
    width: 100% !important;
    float: none !important;
    margin-bottom: 16px !important;
  }

  /* Tabs header */
  .tabs-bg {
    width: 100% !important;
    text-align: left !important;
    background: #00539f !important;
    color: #fff !important;
    padding: 8px !important;
    font-size: 1rem !important;         /* smaller */
    border-radius: 4px !important;
  }

  /* Sidebar links */
  .left-menu {
    width: 100% !important;
    margin-top: 6px !important;
  }
  .left-menu ul li a {
    padding: 8px 0 !important;
    font-size: 0.9rem !important;       /* smaller */
    border-bottom: 1px solid #e1e1e1 !important;
  }
  .left-menu ul li a.on {
    font-weight: 700 !important;
  }

  /* Breadcrumbs */
  .bread {
    font-size: 0.8rem !important;       /* smaller */
    margin-bottom: 12px !important;
  }

  /* Content headings & text */
  .text-blmps h2 {
    font-size: 1.2rem !important;       /* smaller */
    margin-bottom: 8px !important;
  }
  .text-blmps p,
  .text-blmps ul {
    font-size: 0.9rem !important;       /* smaller */
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }
  .text-blmps ul {
    padding-left: 1em !important;
  }
}












/* ─── Add horizontal margins/padding to About Us section (≤1024px) ─────── */
@media only screen and (max-width: 1024px) {
  /* Give the outer “page” container breathing room */
  .main-bottom-color-bg .page {
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box;
  }

  /* Stack panels full‑width but inset from the edges */
  .left-blm,
  .right-blm {
    width: calc(100% - 16px) !important; /* account for 16px on each side */
    margin: 0 auto 24px !important;
    float: none !important;
  }

  /* Ensure the tabs header also insets */
  .tabs-bg {
    margin: 0 16px !important;
  }
}

/* ─── Hide the “ABOUT US” tabs header on mobile (≤1024px) ──────────── */
@media only screen and (max-width: 1024px) {
  .tabs-bg {
    display: none !important;
  }
}


/* ─── Center left‑menu links on mobile (≤1024px) ───────────────────── */
@media only screen and (max-width: 1024px) {
  /* Ensure the menu container centers its children */
  .left-menu {
    text-align: center !important;
  }
  /* Make each link block‑level and center its text */
  .left-menu ul#navigation-menu li a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;  /* optional vertical padding */
  }
}





/* ─── Remove footer contact icons on mobile (≤1024px) ─────────────── */
@media only screen and (max-width: 1024px) {
  /* Target the contact fields that use background‑icons */
  .iletisim .adres,
  .iletisim .telefon,
  .iletisim .mails,
  .iletisim .faks {
    /* Remove any background image or icon */
    background-image: none !important;
    /* Also clear any background shorthand */
    background: none !important;
    /* Reset padding that was making room for the icon */
    padding-left: 0 !important;
  }
}



/* ─── Footer: Smaller text on mobile (≤1024px) ───────────────────────── */
@media only screen and (max-width: 1024px) {
  /* Shrink section headings */
  .footer-bg .iletisim .ilt-bs,
  .footer-bg .temsilci-ftr .tm-bs {
    font-size: 1.15rem !important;       /* e.g. from 1.25rem down to 1rem */
    font-weight: 600 !important;
  }

  /* Shrink contact details */
  .footer-bg .iletisim .adres,
  .footer-bg .iletisim .telefon,
  .footer-bg .iletisim .mails {
    font-size: 0.85rem !important;    /* e.g. from 1rem down to 0.85rem */
    line-height: 1.4 !important;
  }

  /* Shrink representative links */
  .footer-bg .footer-reps li a {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
}








/* HIDE MOBILE FOOTER ON DESKTOP */
@media only screen and (min-width: 1024px) {
  .mobile-footer {
    display: none !important;
  }
}

/* HIDE DESKTOP FOOTER ON MOBILE */
@media only screen and (max-width: 1024px) {
  .footer-bg,
  .page-footer {
    display: none !important;
  }

  .mobile-footer {
    display: block !important;
    background: #0a3a66;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px 12px;
    box-sizing: border-box;
  }

  .mobile-footer a {
    color: #fff;
    text-decoration: none;
  }

  /* Top: Logo + Company Name */
  .mf-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .mf-logo {
    width: 80px;
    height: auto;
    display: block;
    margin-bottom: 8px;
  }

  .mf-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }

  /* Two-column layout */
  .mf-main {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mf-col {
    width: 48%;
  }

  .mf-col h4 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
  }

  .mf-col p,
  .mf-col ul {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 8px 0;
  }

  .mf-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mf-col ul li {
    margin-bottom: 4px;
  }

  /* Bottom section: copyright + credit */
  .mf-bottom {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.9;
  }

  .mf-credit {
    margin-top: 4px;
    font-style: italic;
  }
}










@media only screen and (max-width: 1024px) {
  .footer-bg,
  .page-footer {
    display: none !important;
  }

  .mobile-footer {
    display: block !important;
    background: #0a3a66;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding: 20px 12px;
    width: 100vw;
    box-sizing: border-box;
  }

  .mobile-footer a {
    color: #fff;
    text-decoration: none;
  }

  .mf-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .mf-logo-link {
    display: inline-block;
  }

  .mf-logo {
    width: 80px;
    height: auto;
    margin-bottom: 8px;
  }

  .mf-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
  }

  .mf-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mf-col {
    width: 48%;
  }

  .mf-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
    margin-bottom: 10px;
  }

  .mf-col p,
  .mf-col ul {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 4px 0;
  }

  .mf-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mf-col ul li {
    margin-bottom: 6px;
    transition: color 0.2s;
  }

  .mf-col ul li a:hover {
    text-decoration: underline;
    color: #ffcc00;
  }

  .mf-bottom {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.4;
  }

  .mf-credit {
    margin-top: 4px;
    font-style: italic;
  }
















}

@media only screen and (min-width: 1024px) {
  .mobile-footer {
    display: none !important;
  }



}









/* ===== Mobile Footer Styles ===== */

/* Hide on desktop */
.mobile-footer {
  display: none;
}

@media only screen and (max-width: 1024px) {
  /* Show mobile footer */
  .mobile-footer {
    display: block;
    background: #0a3a66;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .mobile-footer a {
    color: #fff;
    text-decoration: none;
  }

  .mobile-footer a:hover {
    text-decoration: underline;
  }

  /* Top Logo + Company Name */
  .mf-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 50px;
  }

  .mf-logo {
    max-width: 55px !important;
  }

    .mf-title {
        font-size: 1.25rem;
        font-weight: 700;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

  /* Main section: Contact + Reps */
  .mf-main {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .mf-col {
    width: 48%;
    box-sizing: border-box;
  }

  .mf-col h4 {
    font-size: 0.6rem !important;
    margin-bottom: 8px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
  }

  .mf-col p,
  .mf-col ul {
    font-size: 0.5rem !important;
    line-height: 1.4;
    margin: 0 0 8px 0;
  }

  .mf-col ul {
    list-style: none;
    padding: 0;
  }

    .mf-col ul li {
        margin-bottom: 6px;
        padding-left: 10px;
        font-size: 0.65rem !important;
        position: relative;
    }

  .mf-col ul li::before {
    content: "\2022";
    color: #ffffffcc;
    position: absolute;
    left: 0;
  }

  /* Bottom copyright area */
  .mf-bottom {
    text-align: center;
    font-size: 0.4rem !important;
    opacity: 0.8;
  }


    .mf-bottom p {
        text-align: center;
        font-size: 0.65rem !important;
        opacity: 0.8;
    }


  .mf-credit {
    margin-top: 4px;
    font-weight: 400;
    font-size: 0.65rem !important;
  }
}









.mobile-footer {
  background: #0a3a66;
  color: #fff;
  padding: 20px 12px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 0.1rem;
}
.mf-title {
  font-size: 0.7rem !important;
}
.mf-main {
    font-size: 0.8rem !important;
}
.mf-col h4 {
    font-size: 0.8rem !important;
}
.mf-col p,
.mf-col ul {
    font-size: 0.7rem !important;
}
.mf-bottom {
    font-size: 0.6rem !important;
}









.nav-overlay {
  /* let this element be present (for styling), but not receive clicks */
  pointer-events: none;
}
.nav-toggle:checked ~ .nav-overlay {
  /* once checked, allow clicks so it can close the menu */
  pointer-events: auto;
}









/* ─── Center various galleries on mobile ───────────────────── */
@media only screen and (max-width: 1024px) {
  /* common gallery wrappers */
  .faaliyet-panelgl,           /* desktop reps slider */
  .faaliyet-panelgl ul,
  .faaliyetgl,
  .faaliyetgl2,                /* photo/video galleries */
  .gallery,                    /* any .gallery wrapper */
  .foto-galeri-blm             /* legacy gallery class */ 
  {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  /* gallery items (slides/cards/images) */
  .faaliyet-panelgl li,
  .faaliyetgl li,
  .representatives-grid > a,
  .sectorr > a,
  .gallery-item,
  .foto-galeri-blm .faaliyetgl2 li {
    margin: 8px !important;
    width: auto !important;
  }

  /* fluid images inside galleries */
  .faaliyet-panelgl img,
  .faaliyetgl img,
  .representatives-grid img,
  .sectorr .sector-img,
  .gallery-item img,
  .foto-galeri-blm img {
    max-width: 90vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }


/* ─── Center the gallery on mobile ───────────────────────────────── */
.faaliyet-panelgl2 {
  position: relative;
  overflow: hidden;
  padding: 0 10px;          /* small side gutters */
  box-sizing: border-box;
  text-align: center;       /* center the inline-flex list */
}

.faaliyetgl2 {
  display: inline-flex !important;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 auto;           /* center the flex container */
}

.faaliyetgl2 li {
  flex: none !important;    /* prevent flex items from stretching */
  margin: 0 !important;
}

.faaliyetgl2 img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 10px auto;
}

/* ─── Position arrows at center vertically ───────────────────────── */
.faaliyet_solgl2,
.faaliyet_saggl2 {
  margin: 10px auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.faaliyet_solgl2 { left: 10px; }
.faaliyet_saggl2 { right: 10px; }


}

















@media only screen and (max-width: 1024px) {


  /* Hide everything else */
    #headertxt,
    .header-bg,
    .jv-bg,
    .menu,
    .top-blm-sag,
    .logo,
    #headernav,
    #headernav-outer {
        display: none !important;
    }
}















@media only screen and (max-width: 1024px) {
  .mobile-jv-bg {
    background: #f9f9f9;
    padding: 16px 10px;
    overflow: hidden;
  }

  .mobile-tm-bs {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0a3a66;
  }

  .mobile-carousel-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-carousel li {
    flex: 0 0 auto;
    width: 120px;
  }

  .mobile-carousel img {
    height: auto;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
  }
    /* 1) let each carousel item shrink to the image width */
  .mobile-carousel li {
    /* remove the fixed 120px width */
    width: 98px !important;
  }

  /* 2) force the img to fill its container */
  .mobile-carousel img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }
}




/* ─── Hide mobile‐only carousel on desktop ───────────────── */
@media only screen and (min-width: 1024px) {
  .mobile-jv-bg,
  .mobile-tm-bs,
  .mobile-carousel-wrapper,
  .mobile-carousel {
    display: none !important;
  }
}



@media only screen and (max-width: 1024px) {
  .page img[alt="Section divider"] {
    display: none !important;
  }
  .intro-sector {
    gap: 0 !important;
    margin-top: 0 !important;
  }
}












/* ─── Mobile “We Are Representing” Slider Container ─────────────── */
@media only screen and (max-width: 1024px) {
  /* outer wrapper: background + vertical padding */
    .mobile-jv-bg {
        background: rgba(184, 184, 184, 0.95) !important; /* last value is opacity: 0.0–1.0 */
        padding: 20px 0; /* 20px top/bottom, full-width */
        overflow: hidden;
    }

  /* constrain & center your content */
  .mobile-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* section heading */
  .mobile-tm-bs {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00539f;
    margin-bottom: 16px;
  }

  /* horizontal scroll wrapper */
  .mobile-carousel-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* the flex-row of logos */
  .mobile-carousel {
    display: flex;
    gap: 12px;
    padding: 4px;
    margin: 0;
    list-style: none;
  }

  .mobile-carousel li {
    flex: 0 0 auto;
    width: 100px;             /* adjust as needed */
  }

  .mobile-carousel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
  }
}





/* === Mobile Contact Section Styles === */
@media only screen and (max-width: 1024px) {
  .mobile-contact-section {
    display: block;
    background: #f4f6f9;
    padding: 20px 16px;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
  }

  .mobile-contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-contact-card {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  .mobile-contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #0a3a66;
    font-weight: 600;
  }

  .mobile-contact-card p,
  .mobile-contact-card a {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    text-decoration: none;
  }

  .mobile-contact-card a:hover {
    text-decoration: underline;
  }

  .mobile-map-section {
    margin-top: 10px;
  }

  .map-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0a3a66;
    margin-bottom: 8px;
  }

  .mobile-map-frame {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  }
}

/* Hide this block on desktop */
@media only screen and (min-width: 1024px) {
  .mobile-contact-section {
    display: none !important;
  }
}



@media only screen and (max-width: 1024px) {
    .contact-section {
        display: none !important;
    }
}













/* ========== Mobile-Friendly Request Form Overrides ========== */
@media (max-width: 1024px) {
  /* Container tweaks */
  .request-form-section {
    padding: 20px 5px;        /* 5px side padding so boxes end 5px from edges */
    background-color: #fff;
    overflow-x: hidden;       /* prevent any horizontal overflow */
  }

  /* Form title */
  .request-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0056b3;
  }

  /* Fieldset wrappers */
  .request-form fieldset {
    width: calc(100% - 10px); /* account for 5px side padding each */
    margin: 0 0 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  /* Section-headers (fieldset legends) — bigger & bold */
  .request-form legend {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #0056b3;
  }

  /* Single-column full-width fields */
  .request-form .form-group {
    width: calc(100% - 10px);
    margin: 0 0 1rem 0;
  }

  /* Labels above inputs — bold & slightly larger */
  .request-form label {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #0056b3;
  }

  /* Inputs, selects, textareas */
  .request-form input,
  .request-form select,
  .request-form textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
  }

  /* Larger message box */
  .request-form textarea#message {
    min-height: 200px;
  }

  /* “Please select” styling */
  .request-form select {
    color: #333;
  }
  .request-form select option:first-child {
    color: #0056b3;
  }

  /* Submit button full-width */
  .request-form button {
    width: calc(50% - 10px);
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    background-color: #0056b3;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .request-form button:hover {
    background-color: #003f7f;
  }
}







/* ===== Dark-blue text for Contact Section ===== */
.contact-section .contact-card h3,
.contact-section .contact-card p,
.contact-section .contact-card p a {
  color: #0056b3;
}

/* ===== Dark-blue text for Request Form ===== */
.request-form-section h2,
.request-form-section label,
.request-form-section legend {
  color: #0056b3;
}



@media (max-width: 1024px) {
    .mobile-contact-card h3,
    .mobile-contact-card p,
    .mobile-contact-card p a {
        color: #0056b3;
    }
}



/* ===== Dark-blue Submit Button ===== */
.request-form button {
  background-color: #0056b3 !important;
  border-color:    #0056b3 !important;
  color:           #fff;
}

.request-form button:hover,
.request-form button:focus {
  background-color: #003f7f !important;
  border-color:    #003f7f !important;
}






/* ─── Mobile Banner Slider ─── */
@media (max-width: 1024px) {
  .mobile-banner-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 16px; /* space under slider */
  }
  .mobile-banner-slider .slides {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .mobile-banner-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
  }
  .mobile-banner-slider .slide.active {
    opacity: 1;
  }

  /* Optional caption */
  .mobile-banner-slider .slide .text {
    position: absolute;
    bottom: 8px; left: 8px;
    color: #fff;
    font-size: 0.9em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
  }
  .mobile-banner-slider .slide .text h2 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
  }
  .mobile-banner-slider .slide .text p {
    margin: 2px 0 0;
    font-size: 0.85em;
  }

  /* Dots */
  .mobile-banner-slider .dots {
    position: absolute;
    bottom: 8px; right: 8px;
    display: flex;
    gap: 6px;
  }
  .mobile-banner-slider .dots .dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
  }
  .mobile-banner-slider .dots .dot.active {
    background: #fff;
    transform: scale(1.3);
  }
  .mobile-banner-slider .dots .dot:hover {
    transform: scale(1.2);
  }

}



@media only screen and (max-width: 1024px) {
  /* 1) Kill the slider’s bottom‐margin */
  .mobile-banner-slider {
    margin-bottom: 10px !important;
  }

  /* 2) Remove that 70px top‐padding so the menu (left‐blm) sits flush */
  .main-bottom-bg .page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}





/* Subtitle background */
@media (max-width: 1024px) {
    .mobile-banner-slider .slide .text p {
        margin: 2px 0 0;
        font-size: 0.85em;
        /* new: */
        background: rgba(0, 0, 0, 0.6);
        display: inline-block;
        padding: 4px 6px;
        border-radius: 3px;
    }
}







/* ─── Mobile Banner Slider ─── */
@media (max-width: 1024px) {
  .mobile-banner-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .mobile-banner-slider .slides { position: relative; width:100%; height:100%; }
  .mobile-banner-slider .slide {
    position: absolute; top:0; left:0;
    width:100%; height:100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
  }
  .mobile-banner-slider .slide.active { opacity: 1; }
  .mobile-banner-slider .slide .text h2 {
    margin:0; font-size:1.1em; font-weight:600; color:#fff;
    text-shadow:0 1px 4px rgba(0,0,0,0.5);
  }
  .mobile-banner-slider .slide .text p {
    font-size:0.85em;
    background: rgba(0,0,0,0.6);
    display:inline-block;
    padding:4px 6px;
    border-radius:3px;
    color:#fff;
    text-shadow:0 1px 2px rgba(0,0,0,0.5);
  }
  .mobile-banner-slider .dots {
    position:absolute; bottom:8px; right:8px;
    display:flex; gap:6px;
  }
  .mobile-banner-slider .dots .dot {
    width:8px; height:8px;
    background:rgba(255,255,255,0.5);
    border-radius:50%;
    transition: background 0.3s, transform 0.2s;
  }
  .mobile-banner-slider .dots .dot.active {
    background:#fff;
    transform:scale(1.3);
  }
  .mobile-banner-slider .dots .dot:hover {
    transform:scale(1.2);
  }
}



@media (max-width: 1024px) {
    /* 1) Hide the old banner slider elements */
    #headerimg1,
    #headerimg2,
    #headertxt {
        display: none !important;
    }

    /* 2) Kill any default spacing on the mobile slider */
    .mobile-banner-slider {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3) If you wrapped the slider in a page‐wrapper with padding,
        nuke that too so it flushes full-width */
    .mobile-page,
    .mobile-jv-bg {
        padding: 0 !important;
        margin: 0 !important;
    }
}








@media (max-width: 1024px) {
    /* Remove any gap under the banner… */
    .mobile-banner-slider {
        margin-bottom: 0 !important;
    }
    /* …and any gap above the reps slider */
    .mobile-jv-bg {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}







@media only screen and (max-width: 1024px) {
    /* kill the old desktop slider wrapper completely */
    #header {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}



/* 1) give the reps‐slider wrapper an extra 5px of background at the bottom */
.mobile-jv-bg {
  padding-bottom: 5px !important;
}

/* 2) restyle the “Our Partners” heading in the reps slider */
.mobile-tm-bs {
  /* pick a darker shade & a nicer web-font */
  font-weight: 900 !important;
  /* optional tweak to letter-spacing for polish */
  letter-spacing: 0.5px;
}




@media only screen and (max-width: 1024px) {
  /* 1) hide desktop */
  .sectorr {
    display: none !important;
  }

  /* 2) mobile grid fills screen */
  .mobile-sectors {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px 16px;
    box-sizing: border-box;
    justify-items: stretch;
  }

  /* 3) tile style */
  .mobile-sectors__item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .mobile-sectors__item:hover,
  .mobile-sectors__item:focus-within {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .mobile-sectors__item:active {
    transform: scale(0.98);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  }

  /* 4) link */
  .mobile-sectors__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
  }

  /* 5) image */
  .mobile-sectors__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #b8b8b8;
  }

  /* 6) base button */
  .mobile-sectors__button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
  }



  /* 7) bar images */
  .mobile-sectors__button--machinery {
    background-image: url("../images/machionary-bar.png");
  }
  .mobile-sectors__button--decor {
    background-image: url("../images/paper-bar.png");
  }
  .mobile-sectors__button--spare {
    background-image: url("../images/sparepart-bar.png");
  }
  .mobile-sectors__button--chemical {
    background-image: url("../images/chemical bar.png");
  }
  .mobile-sectors__button--consultancy {
    background-image: url("../images/consultancy-bar.png");
  }

  /* 8) center the 5th item in its own row */
  .mobile-sectors__item:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center; /* this is what centers it */
    width: calc(50% - 6px); /* 50% minus half the gap */
  }

    /* 6) base button */
    .mobile-sectors__button {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 38px;
        padding: 0 8px;
        font-size: 12px;
        font-weight: 600;
        color: #fff;
        max-width: 246px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        white-space: nowrap;
        overflow: hidden;
        text-align: center;
        /* rounded bottom corners */
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        /* ensure it's stuck to bottom of tile */
        margin-top: auto;
    }

    /* 7) bar images */
    .mobile-sectors__button--machinery {
        background-image: url("../images/machionary-bar.png");

    }

    .mobile-sectors__button--chemical {
        background-image: url("../images/chemical bar.png");
        font-size: 85% !important; /* reduce text size only */
    }

    .mobile-sectors__button--decor {
        background-image: url("../images/paper-bar.png");
    }

    .mobile-sectors__button--spare {
        background-image: url("../images/sparepart-bar.png");
    }

    .mobile-sectors__button--consultancy {
        background-image: url("../images/consultancy-bar.png");
    }
    /* 5) image */
    .mobile-sectors__image {
        height: auto;
        max-height: 146px; /* ⬅️ limit max image width */
    }

}







.font12 {
    font-size: 12px !important;
}









