body {
    margin: 0;
    font-family: "Outfit", Arial, sans-serif;
    font-weight:500;
    background-color: #fdfdfd;
      height:100vh;
      box-sizing: content-box;
  
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 30px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */

.header-logo img {
    height:38px;
    padding-top:5px;
}

/* Menu */



.header-nav a {
    text-decoration: none;
    color: #000;
    font-size: 16px;

}
.header-nav a:hover {
    color:#0082ca;
    
}
.header-nav {
    display:flex;
    gap:35px;
    align-items:center;
}

.nav-item {
    position:relative;
}



/* dropdown */
.has-dropdown{
  position: relative;
}
.has-dropdown .dropdown::before{
  content:'';
  position:absolute;
  top:-6px;
  left:18px;

  width:12px;
  height:12px;

  background:#fff;

  border-left:1px solid rgba(0,0,0,.06);
  border-top:1px solid rgba(0,0,0,.06);

  transform: rotate(45deg);
}
/* Dropdown container */
.has-dropdown .dropdown{
  position: absolute;
  top: calc(100% + 15px);
  left: -20px;

  background: #ffffff;
  min-width: 220px;
  padding-top:5px;
  padding-bottom:10px;
  padding-left:5px;

  border-radius: 14px;

  border: 1px solid rgba(0,0,0,.06);

  box-shadow:
    0 20px 40px rgba(0,0,0,.08),
    0 4px 12px rgba(0,0,0,.05);

  opacity: 0;
  pointer-events: none;

  transform:
    translateY(10px)
    scale(.96);

  transform-origin: top left;

  transition:
    opacity .25s cubic-bezier(.16,1,.3,1),
    transform .25s cubic-bezier(.16,1,.3,1);

  z-index: 999;
}

/* show */
.has-dropdown:hover .dropdown{
  opacity: 1;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);
}
.dropdown a{
  opacity:0;
  transform: translateY(6px);
}

.has-dropdown:hover .dropdown a{
  opacity:1;
  transform: translateY(0);
}
.has-dropdown .dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-20px;   /* bridge height */
  height:20px; /* matches the gap + buffer */
  background:transparent;
}

/* Show dropdown when hovering parent OR dropdown itself */
.has-dropdown:hover .dropdown,
.has-dropdown .dropdown:hover{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0) scale(1);
}
.has-dropdown:hover .dropdown a:nth-child(1){ transition-delay:.05s }
.has-dropdown:hover .dropdown a:nth-child(2){ transition-delay:.09s }
.has-dropdown:hover .dropdown a:nth-child(3){ transition-delay:.13s }
.has-dropdown:hover .dropdown a:nth-child(4){ transition-delay:.17s } 
/* Links */
.dropdown a{
  display: block;

  padding: 11px 14px;

  font-size: 14px;
  font-weight: 500;

  color: #1e293b;

  border-radius: 10px;

  text-decoration: none;

  position: relative;

  transition:
    background .18s ease,
    color .18s ease,
    transform .12s ease;
}

/* sliding highlight effect */
.dropdown a::before{
  content:'';
  position:absolute;
  inset:0;

  background:
    linear-gradient(90deg,
      rgba(11,108,255,.10),
      rgba(11,108,255,.04)
    );

  border-radius: 10px;

  opacity:0;
  transform: scale(.96);

  transition: .18s ease;
}

/* hover */
.dropdown a:hover{
  color:#0b6cff;
  transform: translateX(3px);
}

.dropdown a:hover::before{
  opacity:1;
  transform: scale(1);
}
/* Search button */
.header-search button {
    background: #008fd5;
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    
    /* Animation Properties */
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
    will-change: transform;
}


.header-search button:hover {
    /* Subtle grow effect */
    transform: scale(1.05);
    background: #007bbd; /* Slightly darker shade for feedback */
}

.header-search button:active {
    /* Slight shrink when clicked for a "button press" feel */
    transform: scale(0.98);
}
.site-footer {
    background:#fff;
    margin-top:30px;
    border-top:#1545d61e solid 2px;

}

.footer-top {
    max-width:1200px;
    margin:auto;
    padding:60px 20px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
    align-items: center;
}

/* Logos */
.footer-logos {
    display:flex;
    flex-direction: row;
    gap:20%;
    align-items:center;
    height:40%;
    justify-content: center;
}
#logofirst {
  display:flex;
  flex-direction: column;
}
#logofirst img {
  max-height:100px;
  max-width:100px;
}
.footer-logos img  {
    max-height:225px;
    display:block;
    max-width:225px;
}

/* Headings */
.unit-hours-box h5 {
    color:#030d1d;
    font-size:16px;
  
}
.site-footer h4 {
    margin-bottom:20px;
    font-size:16px;
    color:#0082ca;
}

/* Links */

.footer-links ul {
    list-style:none;
    padding:0;
}

.footer-links li {
    margin-bottom:10px;
}

.footer-links a {
    text-decoration:none;
    color:#333;
    font-size:14px;
}

/* Contact */

.footer-contact p {
    font-size:14px;
    margin:8px 0;
}

/* Social */
a {
    text-decoration: none;
}
.footer-social {
    margin-top:15px;
    
}

.footer-social img {
    width:20px;
    margin-right:10px;
    
}


/* Bottom bar */

.footer-bottom {
    background:#0082ca;
    color:white;
    text-align:center;
    padding:14px;
    font-size:13px;
}
.home-hero {
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:3fr 1fr;
    gap:20px;
}
/* --- RESPONSIVE FOOTER --- */

@media (max-width: 992px) {
    .footer-top {
        /* Switch from 3 columns to 1 for tablet/mobile */
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 20px;
    }

    .footer-logos {
        /* Stack logos or reduce gap */
        flex-direction: column;
        gap: 30px;
        height: auto;
    }

    #logofirst {
        flex-direction: row;
        align-items: center;
        gap:25px;
        
    }

    .footer-social {
        justify-content: center;
        display: flex;
        gap: 5px; /* Better control over spacing on mobile */
    }

    .footer-social img {
        margin-right: 0; /* Clear margins for flex gap */
    }
    .hero-right {
      display:none;
    }
   .slides {
    width:100%;
   
   }
  
   .home-hero {
    grid-template-columns: 1fr;
   }
   .home-blog {
    margin:20px auto !important;
    padding:20px !important;
   }
  
   .hero-slider {
    max-height:300px;
   }
}

@media (max-width: 480px) {
    .footer-logos img {
        /* Ensure logos don't overflow on tiny screens */
        max-width: 180px;
        height: auto;
    }

    .footer-bottom {
        font-size: 11px;
        padding: 20px 10px;
    }
}
/* LEFT SLIDER */

.hero-slider {
    position:relative;
    border-radius:16px;
    overflow:hidden;
    height:450px;
}

.slides {
    height:100%;
}

.slide {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:.4s;
}

.slide.active {
    opacity:1;
}

/* arrows */

.slider-btn {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:white;
    border:none;
    width:36px;
    height:36px;
    border-radius:50%;
    cursor:pointer;
    font-size:22px;
}

.slider-btn.prev { left:15px; }
.slider-btn.next { right:15px; }

/* RIGHT IMAGE */

.hero-right img {
    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:16px;
}


/* Track */

/* =========================
   REFERENCES SLIDER
========================== */
/* REFERENCES SLIDER - SPICED */
.references-slider{
  max-width: 1125px;
  margin: 46px auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

/* side fades (nice “infinite belt” feel) */
.references-slider::before,
.references-slider::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:70px;
  pointer-events:none;
  z-index:2;
  border-radius:15px;
}
.ref-wrapper{ position:relative; z-index:3; }
.ref-btn{ position:relative; z-index:4; }
.references-slider::before{
  left:0;
  background: linear-gradient(to right, #f4f6f8 0%, rgba(244,246,248,0) 100%);
}
.references-slider::after{
  right:0;
  background: linear-gradient(to left, #f4f6f8 0%, rgba(244,246,248,0) 100%);
}

.ref-wrapper{ position:relative; z-index:3; }
.ref-btn{ position:relative; z-index:4; }
/* buttons */
.ref-btn{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  z-index: 10;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.ref-btn:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  background: #fff;
}
.ref-btn:active{
  transform: translateY(0) scale(.98);
}

/* viewport */
.ref-wrapper{
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  cursor: grab;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: scroll-position;
  
  /* 2. Stop the browser from recalculating the whole page layout */
  contain: content;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 0; /* breathe */

  /* IMPORTANT for JS-driven scrollLeft animation */
  scroll-behavior: auto;

  /* helps iOS scrolling feel natural */
  -webkit-overflow-scrolling: touch;

  /* prevent scroll anchoring jump when we wrap */
  overflow-anchor: none;

  position: relative;
  z-index: 1;
}
.ref-wrapper::-webkit-scrollbar{ display:none; }

.ref-wrapper.dragging{
  cursor: grabbing;
  scroll-behavior: auto; /* keep manual drag crisp */
  user-select: none;
}

/* belt */
.ref-track{
  display: flex;

  /* IMPORTANT: must match JS GAP value */
  gap: 18px;

  width: max-content;
  padding: 12px 0;

  /* better touch behavior */
  touch-action: pan-x;
}

/* cards */
.ref-item{
  width: 170px;
  height: 104px;
  max-width:170px;
  background: linear-gradient(180deg, rgba(41, 54, 97, 0.062), rgba(18,99,99,.03));
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  overflow: hidden;
  position: relative;
}

/* subtle sheen */
.ref-item::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-30%) rotate(10deg);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}

.ref-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
}
.ref-item:hover::after{ opacity: 1; }

.ref-wrapper.dragging .ref-item{
  transform: scale(.98);
  filter: saturate(.95);
}

/* image */
.ref-item img{
  max-height: 78%;
  max-width: 86%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: saturate(.95) contrast(1.02);
  transition: transform .18s ease, filter .18s ease;
}
.ref-item:hover img{
  transform: scale(1.03);
  filter: saturate(1) contrast(1.03);
}

/* mobile tweaks */
@media (max-width: 720px){
  .references-slider{ padding: 0 14px; gap: 10px; }
  .references-slider::before,
  .references-slider::after{ width: 46px; }
  .ref-btn{ width: 38px; height: 38px; }
  .ref-item{ width: 150px; height: 96px; }
}
/* BLOG SECTION */

/* BLOG SECTION */

/* =========================
   HOME BLOG BASE
========================== */
.home-blog {
    max-width: 1200px;
    margin: 80px auto;
    padding: 60px 20px;
    padding-bottom: 0;
    text-align: center;
    overflow: hidden; /* Prevents arrows from causing horizontal scroll */
}

.home-blog a { text-decoration: none; }
.blog-head { margin-bottom: 40px; }
.blog-head h2 { font-size: 28px; margin: 0 0 30px; color: #0082ca; }
.blog-head p { font-size: 13px; color: #777; margin: 0; line-height: 1.6; }

.blog-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Viewport */
.blog-wrapper {
    overflow: hidden;
    width: 100%;
   
   
}

/* Track */
.blog-track {
    display: flex;
    gap: 30px;
    transition: transform .35s ease;
    will-change: transform;
}

/* =========================
   ARROWS
========================== */
.blog-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.blog-prev { left: -20px; }
.blog-next { right: -20px; }

.blog-btn:hover {
    background: #0082ca;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* =========================
   CARD STYLES
========================== */
.blog-card {
    width: 520px; /* Desktop Width */
    min-height: 180px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid #0082ca;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    flex: 0 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.blog-card img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    background: #eee;
    transition: transform .35s ease;
}

.blog-text h3 { color: #222; margin: 0 0 10px; font-size: 17px; line-height: 1.4; }
.blog-text p { margin: 0; font-size: 13px; color: #666; line-height: 1.5; }

/* =========================
   RESPONSIVE OVERRIDES
========================== */
@media (max-width: 1280px) {
    .blog-prev { left: 0; }
    .blog-next { right: 0; }
}

@media (max-width: 1024px) {
    .blog-track {
        /* On mobile, we switch to start so the transform math works correctly */
        justify-content: flex-start; 
        padding-left: 20px; /* Gives a peek of the previous card when centered */
    }

    .blog-card {
        /* Calculate width to be almost full screen but centered */
        width: calc(100vw - 60px); 
        max-width: 450px;
        flex-direction: column-reverse;
        height: auto;
        margin: 0 auto;
        border-left:none;
        border-top:4px solid #0082ca;
        border-bottom:4px solid #0082ca;
        border-radius: 0;
    }

    .blog-card img {
        width: 100%;
        height: 200px;
    }

    /* Move arrows inside so they don't break page width */
    .blog-prev { left: 5px; }
    .blog-next { right: 5px; }
}

@media (max-width: 480px) {
    .blog-card {
        width: calc(100vw - 40px);
    }
    
    .blog-track {
        gap: 15px;
        padding-left: 10px;
    }
}

/* =========================
   ANIMATIONS (KEPT FROM ORIGINAL)
========================== */
.home-blog .blog-head,
.home-blog .blog-card {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}

.home-blog .blog-head.is-inview,
.home-blog .blog-card.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,0,0,.1);
}

.blog-card:hover img {
    transform: scale(1.05);
}

@keyframes blogPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.blog-track.is-sliding .blog-card {
    animation: blogPop .32s ease;
}
/* Main Container Spacing */
.blog-gallery-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

/* Header & Title Styling */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 5px;
}

.gallery-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Nav Button Styling - Matching the Screenshot */
.gallery-nav {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nav-btn:hover {
    background: #f9f9f9;
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-btn:active {
    transform: translateY(0) scale(0.96);
}

/* The Scroll Track */
.gallery-scroll-container {
    display: flex;
    gap: 20px; /* Wider gap like the screenshot */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 25px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Image Cards - Matching the Screenshot Rounded Corners */
.gallery-item {
    flex: 0 0 320px; 
    height: 220px;
    border-radius: 24px; /* Deep rounded corners from image */
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Subtle hover effect */
.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    /* 1. Center the Header & Keep Buttons */
    .gallery-header {
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    .gallery-header h2 {
        font-size: 22px;
        flex: 1;
        text-align: left;
    }

    /* Keep buttons visible but maybe slightly smaller */
    .nav-btn {
        width: 38px;
        height: 38px;
    }

    /* 2. The Container Fix */
    .gallery-scroll-container {
        display: flex;
        gap: 0; /* Remove gap here, we use padding on items for spacing */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 10px 0 30px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
       
    }

    /* 3. The "One Image Per Slide" Card */
    .gallery-item {
        flex: 0 0 100%; /* Force card to take full container width */
        width: 100%;
        height: 250px; /* Adjust height as needed */
        scroll-snap-align: center;
        scroll-snap-stop: always;
        
        /* Create the "gap" look using transparent borders or padding 
           so the card itself stays centered */
        box-sizing: border-box;
        padding: 0 20px; 
        background:transparent;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        border-radius: 24px; /* Keep your deep rounded corners */
        object-fit: cover;
    }
}

/* keep your last section styling */

/* =========================
   LAST SECTION REVEAL (slide from bottom)
========================= */

#lastSection{
  max-width:1200px;
  margin:40px auto;
  padding:60px 0;

  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.6s ease,
    transform 1.6s cubic-bezier(.16, 1, .3, 1);

  will-change: opacity, transform;
}
@media (max-width: 1024px) {
  
  #kent {
    max-height:300px;
    height:200px !important;
  }
  
#lastSection{ padding:20px 0;
margin:20px 0;}
}
/* visible state */
#lastSection.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* optional: make image smoother */
#lastSection img{
  display:block;
  width:100%;
  height:auto;
  transform: translateY(0);
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  #lastSection{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* BASIC PAGE */
.page-basic{
  max-width: 1180px;
  margin: 80px auto 120px;
  padding: 0 20px;
}
.page-basic img {
  width:100%;
  border-radius: 15px;
  margin-bottom:15px;
  

}
/* Page Title box */
.page-title-box{
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(11,108,255,.18), transparent 55%),
    linear-gradient(180deg, #eef5ff 0%, #eaf2ff 100%);
  padding: 45px 28px;
  border-radius: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(11,108,255,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  animation: fadeFromTop 900ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.page-title-box h1{
  margin: 0;
  font-size: 26px;
  letter-spacing: -.2px;
  color:rgba(0, 0, 0, 0.863);
}

/* Content container */
.page-content{
  padding: 15px; /* remove heavy padding so card can control spacing */
  padding-top:5px;
}

.page-content p{
    opacity:0;
      font-size: 15px;
    line-height: 2.5;
    margin-bottom: 14px;
    font-weight: 400;
    animation: fadeFromTop 900ms cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay:200ms;
}

/* CORPORATE IDENTITY */
.corporate-identity{
  margin-top: 18px;
  padding: 0;
}

/* Make the section look like a card */
.corporate-identity{
 
  border: 1px solid rgba(230,234,242,.95);
  border-radius: 18px;
 
  padding: 26px;
  display: grid;

  gap: 26px;
  align-items: center;
}

/* Left column: logo area */
.ci-logo{
  max-width: 180px;
  width: 100%;
  height: auto;
  display:block;
  margin: 0;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.10));
}

/* Right side content */
.ci-meta{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.ci-meta h2{
  margin: 0;
  font-size: 18px;
  color: #0f172a;
}
.ci-meta .hint{
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

/* Download button */
.ci-download{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #0b6cff;
  color:#fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration:none;
  width: fit-content;
  box-shadow: 0 12px 22px rgba(11,108,255,.22);
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}

.ci-download:hover{
  background: #0a58d6;
  text-decoration:none;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(11,108,255,.26);
}

.ci-download:active{
  transform: translateY(0);
}

/* Replace old folder icon with a clean icon-like badge */
.folder-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  display:grid;
  place-items:center;
  position: relative;
  overflow: hidden;
}
.folder-icon:before{
  content: "⬇";
  position: static;
  width:auto;height:auto;
  border:none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 860px){
  .corporate-identity{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .ci-logo{
    max-width: 220px;
  }
}
/* ORGANIZATION CHART */
/* PAGE */
/* --- GENEL SAYFA YAPISI --- */
.org-chart-page {
    max-width: 1200px;
    margin: 80px auto 140px;
    padding: 0 20px;
    text-align: center;
}

.org-title {
    font-size: 33px;
    font-weight: 700;
    color: #0082ca;
    margin-bottom: 50px;
    letter-spacing: -.3px;
    opacity: 0;
    transform: translateY(-25px);
    animation: fadeTop 900ms cubic-bezier(.16,1,.3,1) forwards;
}

/* --- ŞEMA (CHART) YAPISI --- */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.org-main { width: 320px; position: relative; display:flex;
flex-direction: row; justify-content: center; }
.org-sub { display: flex; flex-direction: column; gap: 25px; width: 320px; position: relative; }

/* Kartlar */
.org-card {
    background: white;
    border-radius: 18px;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
    transition: .25s cubic-bezier(.16,1,.3,1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 900ms cubic-bezier(.16,1,.3,1) forwards;
    cursor: pointer;
}

.org-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,.12);
}

/* Avatar ve Bilgi */
.org-avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.org-avatar img { width: 100%; height: 100%; object-fit: cover; }
.org-info { text-align: left; }
.org-info span { font-size: 11px; color: #64748b; font-weight: 600; display: block; }
.org-info strong { font-size: 16px; color: #0f172a; display: block; }

/* Bağlantı Çizgileri */
.org-main::after {
    content: ""; width: 2px; height: 30px; background: #dbeafe;
    position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
}
.org-sub::before {
    content: ""; position: absolute; top: -30px; left: 50%; 
    transform: translateX(-50%); width: 2px; height: 30px; background: #dbeafe;
}

/* --- MODAL YAPISI --- */
.org-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

.org-modal.active { opacity: 1; visibility: visible; }

.org-modal-box {
    background: #fff;
    border-radius: 26px;
    width: 850px;
    max-width: 92%;
    max-height: 90vh; /* Mobilde taşmayı önler */
    overflow-y: auto;
    position: relative;
    padding: 50px;
    transform: scale(0.9) translateY(20px);
    transition: .4s cubic-bezier(.16, 1, .3, 1);
}

.org-modal.expand .org-modal-box { transform: scale(1) translateY(0); }

.org-close {
    position: absolute; top: 20px; right: 20px;
    width: 35px; height: 35px; border-radius: 10px;
    background: #0b6cff; color: #fff; border: none; cursor: pointer;
    font-size: 20px; z-index: 10;
}

/* Modal İçerik */
.org-modal-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; display: block; }
.org-modal-role { text-align: center; font-size: 13px; color: #64748b; font-weight: 600; }
.org-modal-name { text-align: center; font-size: 26px; font-weight: 700; margin: 5px 0 40px; color: #0f172a; }

.org-modal-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    text-align: left;
}

.org-block h5 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.org-modal-left ul { list-style: none; padding: 0; margin: 0; }
.org-modal-left li { font-size: 14px; color: #475569; margin-bottom: 8px; }
.org-modal-right { font-size: 15px; line-height: 1.7; color: #334155; }

/* --- RESPONSIVE (MOBİL) --- */
@media (max-width: 900px) {
    .org-main { width:75%; display:flex;
flex-direction: row; justify-content: center; }
    .org-sub {
        width:80%;
    }
    .org-card {
      display:flex;
flex-direction: row; justify-content: center;
    }
    .org-modal-box {
        width:85%;
        padding: 40px 20px 30px;
    }
    
    .org-modal-body {
        grid-template-columns: 1fr; /* Mobilde her şey tek sütun */
        gap: 30px;
    }

    .org-modal-left {
        order: 2; /* İletişim bilgilerini biyografinin altına alabilirsin (opsiyonel) */
        border-top: 1px solid #f1f5f9;
        padding-top: 25px;
    }
    
    .org-modal-right {
        order: 1;
    }
}

/* Animasyonlar */
@keyframes fadeTop { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* MOBILE */



/* PURCHASE PAGES */

.purchase-page {
    max-width:1200px;
    margin:80px auto 100px;
    padding:0 20px;
}

.purchase-title {
    background:
    radial-gradient(900px 300px at 20% 0%, rgba(11,108,255,.18), transparent 55%),
    linear-gradient(180deg, #eef5ff 0%, #eaf2ff 100%);
  padding: 45px 28px;
  border-radius: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(11,108,255,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
   opacity: 0;
  animation: fadeFromTop 900ms cubic-bezier(.16, 1, .3, 1) forwards;
  color:rgba(0, 0, 0, 0.863);
    
}
.purchase-body {
  opacity: 0;
  animation: fadeFromTop 900ms cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: 250ms;
}
.purchase-text {
  opacity: 0;
  animation: fadeFromTop 900ms cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: 350ms;
}

.purchase-image {
  opacity: 0;
  animation: fadeFromTop 900ms cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: 500ms;
}
.purchase-title h1 {
    margin:0;
    font-size:22px;
}

.purchase-body {
    display:flex;
    align-items:flex-start;
    gap:50px;
    padding:0 25px 150px 25px;
}

.purchase-text {
    width:55%
}

.purchase-text p {
    font-size:15px;
    line-height:2;
    margin-bottom:14px;
    font-weight:400;
}

.purchase-image  {
    margin-top:10px;
    width:40%;
  
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    
}
.purchase-image img {
    max-height:400px;
    object-fit:contain;
    max-width:100%;
      border-radius:15px;
}
/* mobile */

@media(max-width:900px){
    .purchase-body{
        flex-direction:column;
    }

    .purchase-image img{
        width:100%;
    }
}
@keyframes fadeFromTop {
  0% {
    opacity: 0;
    transform: translateY(-32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.units-page{
max-width:1200px;
margin:80px auto 100px;
padding:0 20px;
text-align:center;
margin-bottom:150px;
}

.units-title{
font-size:33px;
font-weight: 700;
color:#0082ca;
margin-bottom:40px;
}

/* GRID */

.units-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(215px,1fr));
gap:50px;
padding-top:50px;}
/* --- Stagger animation --- */
.units-grid{
  --stagger: 140ms; /* time between cards (slower) */
  --dur: 1050ms;    /* animation duration (slower) */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

.unit-card{
  position: relative;
  opacity: 0;
  transform: translateY(28px) scale(.985);
  filter: blur(2px);
  will-change: transform, opacity, filter;
}

.unit-card.is-in{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: unitIn var(--dur) var(--ease) both;
  animation-delay: calc(var(--i, 0) * var(--stagger));
}

@keyframes unitIn{
  0%   { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(2px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .unit-card{ opacity: 1; transform: none; filter: none; }
  .unit-card.is-in{ animation: none; }
}
/* CARD */

.unit-card{
background:#f7f7f7cb;
border-radius:18px;
padding:25px 15px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.2s;
}

.unit-card:hover{
transform:translateY(-5px);
}

.unit-card img{
width:100px;
margin-bottom:10px;
box-shadow: 
  inset 0 2px 4px 0 rgba(0, 0, 0, 0.13);
border: 1px solid #e2e8f0;
border-radius: 15px;
padding:15px;
}

.unit-card h3{
margin:10px 0;
color:rgba(0, 0, 0, 0.863);
font-size:17px;
}
.unit-card{
border-radius:22px;
padding:28px 18px;

box-shadow:
0 8px 20px rgba(0,0,0,.08),
0 2px 6px rgba(0,0,0,.2);

transition:.25s ease;
}
.unit-card::after{
content:'';
position:absolute;
inset:0;
border-radius:22px;
box-shadow:0 0 0 2px rgba(11,108,255,.04);
pointer-events:none;
}
/* hover lift like your design */

.unit-card:hover{
transform:translateY(-6px);
box-shadow:
0 18px 40px rgba(0,0,0,.12),
0 6px 12px rgba(0,0,0,.06);
}
/* BUTTONS */

.unit-buttons{
display:flex;
justify-content:center;
gap:15px;
padding:15px;}

.unit-buttons a,
.unit-buttons button{
width:32px;
height:32px;
border-radius:50%;
border:1px solid #0b6cff;
background:white;
color:#0b6cff;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
}
@media (max-width:720px) {
  .units-grid {
    padding:50px;
    padding-top:0;
  }

}
/* MODAL */

/* =========================
   UNIT DETAIL MODAL
   ========================= */

.unit-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

.unit-modal.active{
  display: flex;
}

/* BOX */

.unit-modal-box{
  background: #fff;
  width: 980px;
  max-width: 94%;
  max-height: 90vh;
  overflow-y: auto;

  border-radius: 24px;
  padding: 20px 56px 40px;
  position: relative;

  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

/* CLOSE */

.unit-modal-close{
  position: absolute;
  top: 18px;
  right: 18px;

  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;

  background: #0b6cff;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

/* TITLE */

.unit-modal-title{
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #0b6cff;
  margin-bottom: 20px;
}

/* =========================
   SLIDER
   ========================= */

.unit-slider{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
}

.unit-slide-main{
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

/* ARROWS */

.unit-slide-prev,
.unit-slide-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: rgba(255,255,255,.95);
  color: #0b6cff;
  font-size: 20px;
  font-weight: 700;

  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

.unit-slide-prev{ left: 20px; }
.unit-slide-next{ right: 20px; }

/* =========================
   THUMBNAILS
   ========================= */

.unit-thumbs{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin:14px 0 26px;
}

.unit-thumbs img{
  width: 86px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: .55;
  transition: .2s;
}

.unit-thumbs img.active,
.unit-thumbs img:hover{
  opacity: 1;
  outline: 3px solid #0083ca41;
}

/* =========================
   TEXT CONTENT
   ========================= */

.unit-modal-text{
  font-size: 14px;
  line-height: 2;
  color: #1f2d3d;
  margin-bottom: 22px;
  font-weight:300;
}

.unit-modal-text p{
  margin-bottom: 14px;
}

/* HOURS */

.unit-modal-hours{
  text-align: center;
  font-size: 16px;
  color: #0b6cff;
  font-weight: 600;
  margin: 16px 0;
}

/* PHONE */

.unit-modal-phone{
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #0b6cff;
  margin-top: 10px;
}

/* =========================
   MOBILE
   ========================= */

@media(max-width: 768px){

  .unit-modal-box{
    padding: 28px 22px;
  }

  .unit-modal-title{
    font-size: 26px;
  }

  .unit-slide-main{
    height: 260px;
  }

  .unit-thumbs img{
    width: 64px;
    height: 46px;
  }
  .unit-thumbs {
    max-width:80%;
  }
  .unit-media-card {
    display:flex;
    flex-direction: column;
    align-items: center;
  }
  .unit-slider {
    padding-bottom:0 !important;
  }

}

.unit-hours-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:600;
}

.unit-hours-modal.active{ display:flex; }

.unit-hours-box{
  background:#fff;
  width:520px;
  max-width:92%;
  padding:35px 40px;
  border-radius:18px;
  position:relative;
  text-align:center;
}

.unit-hours-close{
  position:absolute;
  top:12px;
  right:12px;
  border:none;
  background:#0b6cff;
  color:#fff;
  width:26px;
  height:26px;
  border-radius:6px;
  cursor:pointer;
  font-size:16px;
}

.unit-hours-title{
  margin:0 0 10px;
  color:#0b6cff;
  font-size:26px;
}

.unit-hours-content{
  color:#0b6cff;
  font-weight:500;
  line-height:1.6;
}

/* =========================
   BİZE ULAŞIN
========================= */
.contact-page{
  max-width:1200px;
  margin:80px auto 120px;
  padding:0 20px;
  text-align:center;
  display:flex;
  flex-direction: column;
  align-items: center;
}

/* Title */
.contact-page h1{
     font-size:33px;
    font-weight: 700;
    color:#0082ca;
  margin-bottom:32px;
  margin-top:0;
}

/* Map card */
.contact-map{
  width:100%;
  max-width:900px;
  height:450px;
  border-radius:20px;
  overflow:hidden;
  background:#eee;

  box-shadow:
  0 20px 50px rgba(0,0,0,.08),
  0 6px 18px rgba(0,0,0,.06);

  border:1px solid rgba(0,0,0,.06);

  transition:.35s ease;
}

.contact-map:hover{
  transform:translateY(-4px);
  box-shadow:
  0 30px 70px rgba(0,0,0,.12),
  0 10px 28px rgba(0,0,0,.08);
}

.contact-map iframe{
  width:100%;
  height:100%;
  border:none;
}

/* Info section */
.contact-info{
  display:flex;
  justify-content:center;
  gap:30px;
  margin-top:34px;
  flex-wrap:wrap;
  max-width:900px;
  width:100%;
  flex-direction: row;
}

/* Individual cards */
.contact-item{
  display:flex;
  align-items:center;
  gap:15px;
  
  padding:16px 15px;
  border-radius:16px;
  background:#fff;
  box-shadow:
  0 10px 30px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.06);
  transition:.25s ease;
  min-width:340px;
 
}

.contact-item:hover{
  transform:translateY(-4px);
  box-shadow:
  0 18px 40px rgba(0,0,0,.10);
}

/* icon container */
.contact-item .icon{
  width:50px;
  height:50px;
  border-radius:12px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(180deg,#eef5ff,#e6f0ff);

  color:#0b6cff;

  flex-shrink:0;
}

/* svg */
.contact-item svg{
  width:22px;
  height:22px;
}

/* text */
.contact-item p{
  margin:0;
  font-size:15px;
  line-height:1.5;
  color:#1e293b;
font-weight:400}

/* animation */
.contact-map
.contact-item{
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp .9s cubic-bezier(.16,1,.3,1) forwards;
}

.contact-item:nth-child(1){ animation-delay:.2s }
.contact-item:nth-child(2){ animation-delay:.35s }
.contact-item:nth-child(3){ animation-delay:.5s }

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* MOBILE */
@media(max-width:768px){

  .contact-map{
    height:300px;
  }

  .contact-info{
    flex-direction:column;
    align-items:center;
  }

  .contact-item{
    width:100%;
    max-width:400px;
  }

}

/* =========================
   GÖRÜŞ VE ÖNERİLER
========================= */

.feedback-page{
  max-width:1200px;
  margin:80px auto 100px;
  padding:0 20px;
  text-align:center;
}

.feedback-page h1{
  font-size:33px;
font-weight: 700;
color:#0082ca;
  margin-bottom:10px;
}

.feedback-page p{
  color:#444;
  font-size:15px;
  margin-bottom:40px;
}

/* FORM CARD */

.feedback-form{
  max-width:800px;
  margin:0 auto;
  background:#f5f5f5;
  border-radius:18px;
  padding:40px 45px;
  display:flex;
  flex-direction: column;
  gap:15px;
}

/* INPUT GRID */

.form-row{
  display:flex;
  flex-direction: column;
  gap:15px;
}

.feedback-form input,
.feedback-form textarea{
  width:100%;
  border:none;
  border-radius:10px;
  padding:14px 16px;
  font-size:14px;
  background:#fff;
  box-shadow:0 0 0 1px rgba(0,0,0,.06);
}

.feedback-form textarea{
  min-height:140px;
  resize:vertical;
}

/* FULL WIDTH */

.feedback-form .full{
  grid-column:1 / -1;
}

/* KVKK */

.feedback-form .kvkk{
  display:flex;
  align-items:center;
  gap:10px;
  margin:15px 0 25px;
  font-size:13px;
  color:#333;
}

.kvkk input {
    width:20px;
}

/* SUBMIT */

.feedback-form button{
  width:100%;
  border:none;
  background:#3ea1f0;
  color:#fff;
  padding:14px;
  font-size:16px;
  border-radius:10px;
  cursor:pointer;
  transition:.2s;
  margin-top:15px;
}

.feedback-submit:hover{
  background:#2b8be0;
}

/* MOBILE */

@media(max-width:700px){
  .feedback-row{
    grid-template-columns:1fr;
  }

  .feedback-form{
    padding:30px;
  }
}
/* ========================
   SEARCH OVERLAY
======================== */

/* SEARCH OVERLAY */

.search-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.search-overlay.active{
    display:flex;
}

.search-box{
    background:#fff;
    padding:40px;
    border-radius:18px;
    width:600px;
    max-width:90%;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
}

.search-close{
    position:absolute;
    top:5px;
    right:15px;
    border:none;
    color:black;
    width:20px;
    height:20px;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}

.search-form{
    display:flex;
    gap:15px;
}
.search-trigger{
  background:#fff;
  border:1px solid #e3e7ee;
}
.search-form input{
    flex:1;
    padding:14px;
    border-radius:10px;
    border:1px solid #ddd;
    font-size:15px;
}

.search-form button{
    background:#0082ca;
    color:white;
    border:none;
    padding:14px 22px;
    border-radius:10px;
    cursor:pointer;
}
/* =========================
   DUYURULAR PAGE
========================= */

.news-page{
  max-width:1100px;
  margin:80px auto 100px;
  padding:0 20px;
}

.news-head{
  font-size:30px;
  font-weight: 700;
  color:#0082ca;
  text-align:center;
  margin-bottom:60px;
}

.news-head h1{
  font-size:33px;
font-weight: 700;
color:#0082ca;
  margin-bottom:10px;
  margin-top:0;
}

.news-head p{
  color:#666;
  font-size:15px;
  font-weight:400;
}

/* LIST */

.news-list{
  display:flex;
  flex-direction:column;
  gap:50px;
}

/* ITEM */

.news-item{
  display:flex;
  gap:35px;
  align-items:flex-start;
  border-bottom:1px solid #eee;
  padding-bottom:40px;
}

.news-image{
  width:320px;
  flex-shrink:0;
}

.news-image img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:16px;
}

.news-content{
  flex:1;
}

.news-content h2{
  font-size:22px;
  margin-bottom:12px;
}

.news-content p{
  font-size:15px;
  color:#555;
  margin-bottom:18px;
  line-height:1.6;
}

.news-readmore{
  color:#0082ca;
  font-weight:600;
  text-decoration:none;
  transition:.2s;
}

.news-readmore:hover{
  text-decoration:underline;
}

/* MOBILE */

@media(max-width:768px){

  .news-item{
    flex-direction:column;
    align-items:flex-start;
  }

  .news-image{
    width:100%;
  }

  .news-image img{
    height:200px;
  }

}


/* ===== Unit Detail Page ===== */
.unit-detail-page{
  padding: 42px 0 70px;
  background: #f6f8fb;
}

.unit-detail-container{
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}

.unit-detail-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 10px;
}

.unit-back{
  text-decoration:none;
  color:#071f49;
  font-weight:800;
  opacity:.85;
  font-size:19px;
  display:flex;
  align-items: center;
  gap:10px;
}

.unit-back svg {
  color:#0082ca;
}
.unit-back:hover{ opacity:1; }

.unit-detail-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.unit-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 999px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
  text-decoration:none;
  color:#111;
  font-weight:600;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.unit-chip:hover{
  transform: translateY(-1px);
}

.unit-detail-title{
  margin: 35px 0 30px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color:#0082ca;
  margin-left:10px;
}

/* Layout */
.unit-detail-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items:start;
}



/* Media card */
.unit-media-card{
  background:#fff;
  border-radius: 18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 40px rgba(17, 24, 39, .08);
  overflow:hidden;
}

.unit-slider{
  position:relative;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 14px;
}

.unit-slide-frame{
  flex:1;
  border-radius: 14px;
  overflow:hidden;
  background:#eef2f7;
  min-height: 420px;
  display:flex;
  align-items:center;
  justify-content:center;
}

@media (max-width: 980px){
  .unit-slide-frame{ min-height: 280px; }
}

.unit-slide-main{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.unit-slide-empty{
  padding: 40px 18px;
  color:#64748b;
  font-weight:600;
}

.unit-slide-btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  cursor:pointer;
  font-size: 20px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}


/* Thumbs */
.unit-thumbs{
  display:flex;
  gap:10px;
  padding: 6px 14px 14px;
  overflow:auto;
}

.unit-thumb{
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
  border-radius: 12px;
  overflow:hidden;
  flex: 0 0 auto;
  outline: none;
}

.unit-thumb img{
  width: 96px;
  height: 68px;
  object-fit:cover;
  display:block;
  filter: saturate(0.95);
  transform: scale(1);
  transition: transform .15s ease;
}

.unit-thumb:hover img{
  transform: scale(1.03);
}

.unit-thumb.active{
  outline: 2px solid #0083cafb;
  outline-offset: 2px;
}

/* Info cards */
.unit-info-col{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.unit-info-card{
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  gap:10px;
  background:#fff;
  border-radius: 18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .06);
  padding: 35px 35px;
}

.unit-info-card h3{
 margin: 0 0 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color:#64748b;
  padding:0 3px;
}

.unit-detail-text{
  color:#0f172a;
  line-height: 2.5;
  font-size:15px;
  font-weight: 400;
}

.unit-detail-hours{
  color:#0f172a;
  line-height: 1.7;
  font-weight:600;
}

.unit-phone{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  background:#f1f5ff;
  color:#0b6cff;
  text-decoration:none;
  font-weight:800;
}
.unit-phone:hover{ filter: brightness(0.98); }
.unit-detail-text p{ margin: 0 0 12px; }
.unit-detail-text p:last-child{ margin-bottom:0; }
.unit-detail-text a{ color:#0b6cff; font-weight:700; }

.unit-detail-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap:22px;
}

.unit-left-col{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.unit-hours-modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  display:none; align-items:center; justify-content:center;
  padding:18px;
  z-index:9999;
}
.unit-hours-modal.open{ display:flex; }
.unit-hours-box{
  width:min(520px, 100%);
  background:#fff;
  border-radius:16px;
  padding:18px;
  position:relative;
}
.unit-hours-close{
  position:absolute; right:12px; top:10px;
  border:0; background:none; font-size:28px; cursor:pointer;
}
.unit-hours-title{ margin:0 0 6px; }




.unit-side-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.unit-side-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border: 1px solid #eee;
}

.unit-side-btn:hover {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.unit-action-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.unit-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 25px 15px;
  color: #4a5568;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: .08em;
  color: #64748b;
  transition: all 0.2s ease;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .06)
}

.unit-action-btn:hover {
  border-color: #0082ca;
  color: #646363;
  background: #0e08690a;
  transform: translateY(-2px);
 
}

.unit-action-btn svg {
  flex-shrink: 0;
  color:#0082ca;
}


.unit-phone-item {
  display:flex;
  flex-direction: row;
  align-items: center;
  gap:10px;
  font-size: 16px;
  letter-spacing: .08em;
  color: #0082ca;
}

.unit-phone-list {
   display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap:15px;
}



/* Button Disabled State */
.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
}

/* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 70%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Add a zoom cursor to gallery items */
.gallery-item {
    cursor: zoom-in;
}
/* Frontend Table Styling */
.unit-detail-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.unit-detail-text table th, 
.unit-detail-text table td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.unit-detail-text table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #1e293b;
}

.unit-detail-text table tr:nth-child(even) {
    background-color: #f1f5f9;
}

/* Responsive fix: Allows table to scroll on mobile instead of breaking layout */
.unit-detail-text {
    overflow-x: auto;
}
@media (max-width: 980px) {
    .unit-detail-grid { 
        grid-template-columns: 1fr; 
        justify-content: center;
     
    }
    .unit-detail-title { 
        font-size: 28px; 
        margin-left: 0;
        text-align: center;
    }
    .unit-slide-frame { 
        min-height: 300px; 
    }
    .unit-detail-container {
      max-width: 100%;
    }
   
  
}
/* Bu kısım grid'in dışarı taşmasını ve padding almamasını çözer */
.unit-detail-container {
    width: 100% !important;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px; /* Kenarlardan boşluk */
    box-sizing: border-box !important;
}

.unit-detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
    width: 100%;
    box-sizing: border-box; /* Padding'in genişliğe dahil olmasını sağlar */
}

@media (max-width: 980px) {
    .unit-detail-grid {
        display: block; /* Mobilde grid'i iptal et, elemanlar doğal aksın */
        width: 100%;
    }
    
    .unit-left-col, .unit-info-col {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Tabloların ekranı patlatmasını engellemek için kritik hamle */
    .unit-detail-text table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
@media (max-width: 640px) {
    .unit-detail-page { padding: 25px 0 50px; }
    
    .unit-detail-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .unit-detail-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .unit-action-row {
        flex-direction: column;
    }

    .unit-action-btn {
        padding: 18px 15px;
    }

    .unit-info-card {
        padding: 25px 20px;
    }

    .unit-slide-frame {
        min-height: 220px;
    }
}


/* 1. Hide Hamburger on Desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #0082ca;
    border-radius: 3px;
    transition: 0.3s;
}

/* 2. Mobile Styles (Under 1024px) */
@media (max-width: 1024px) {
    /* 1. Ensure Header can contain the menu */
    .site-header {
        position: relative; /* Anchor for the absolute menu */
    }

    /* 2. Changed from Fixed to Absolute + Full Width */
    .header-nav {
        display: none; /* Hide by default */
        position: absolute;
        top: 100%; /* Sits exactly at the bottom of the header */
        left: 0;
        width: 100%;
        height: auto; /* Only as tall as the links */
        max-height: 80vh; /* Prevent it from being taller than the screen */
        overflow-y: auto; /* Scroll inside the menu if it's too long */
        background: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 0;
    }

    /* Show menu when active */
    .header-nav.mobile-active {
        display: flex;
    }

    /* 3. Style the links for a vertical list */
    .nav-item, 
    .header-nav > a {
        width: 100%;
        padding: 15px 25px;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
        box-sizing: border-box;
    }

    /* 4. Dropdown behavior (Accordion) */
    .dropdown {
        display: none;
        position: static; /* Push content down */
        width: 100%;
        background: #f9f9f9;
        padding: 0; /* Let links handle padding */
    }

    .has-dropdown.is-open .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 12px 40px; /* Extra indent for sub-links */
        display: block;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }

    /* 5. Hamburger Button (Keep same logic, just styling) */
    .mobile-menu-toggle {
        display: flex;
        order: 2; /* Moves it to the right if needed */
    }
}
@media (max-width: 1024px) {
    /* 1. The Parent Item */
    .nav-item.has-dropdown {
        display: flex;
        flex-direction: column;
        padding: 0 !important; /* Reset padding to let links fill space */
    }

    /* 2. The Main Link (e.g., Kurumsal) */
    .nav-item.has-dropdown > a {
        padding: 15px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #f0f0f0;
    }

    /* 3. The Sub-Menu (The "Issue" area) */
    .dropdown {
        display: none; /* Hidden by default */
        position: static !important; /* CRITICAL: Pushes content down */
        width: 100% !important;
        background: #fcfcfc;
        box-shadow: none !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* 4. Show when parent is open */
    .has-dropdown.is-open .dropdown {
        display: block;
    }

    /* 5. Sub-links styling */
    .dropdown a {
        padding: 12px 45px !important; /* More indent to show hierarchy */
        font-size: 14px;
        color: #555;
        border-bottom: 1px solid #eee;
        display: block;
    }
    .header-search button {
      padding:10px 15px;
    }
}


@media (max-width:720px) {
  .page-basic {
    margin:20px auto 60px;
  }
  .org-chart-page {
    margin:20px auto 60px;
  }
  .purchase-page {
    margin:20px auto 60px;
  }
  .purchase-body {
    align-items: center;
    flex-direction: column-reverse !important;
    gap:15px;
  }
  .purchase-image {
    width:100%;
    
  }
  .purchase-text {
    width:95%;
  }
  .page-title-box h1 {
    font-size:22px;
    letter-spacing:0;
    font-weight:500;
  }
  .page-content p {
    font-size:14px;
  }
  .contact-page {
    margin:20px auto 60px;
  }
  .feedback-page {
    margin:20px auto 60px;
  }
  .feedback-form {
    justify-content: center;
    align-items: center;
  }
  .form-row {
    display:flex;
    flex-direction: column;
    width:100%;
    justify-content: center;
    align-items: center;
  }
  .news-page {
     margin:20px auto 60px;
  }
  .units-page {
    margin:20px auto 60px;
  }
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
    
    /* MASAÜSTÜ VARSAYILAN: Masaüstü değişkenini kullan */
    background-image: var(--desktop-bg);
}
@media (max-width: 992px) {
    .slide {
        background-image: var(--mobile-bg);
    }
}