/* Remove default outline on links */
a:focus{
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
/* === HEADER BACKGROUND AND COLORS === */

/* Entire header wrapper background */
.it-header-wrapper {
    background-color: #00264d;
}

.it-nav-wrapper,
.it-header-center-wrapper,
.it-header-navbar-wrapper,
.it-brand-wrapper {
    background-color: transparent !important;
}

/* NAVIGATION BAR */

.it-header-navbar-wrapper nav.navbar {
    background-color: transparent !important;
}

.it-header-navbar-wrapper .navbar-nav .nav-link {
    color: #fff !important;
}

.it-header-navbar-wrapper .navbar-nav .nav-link:hover,
.it-header-navbar-wrapper .navbar-nav .nav-link:focus {
    color: #bfdfff !important;
    text-decoration: underline;
}

/* Dropdown items */
.it-header-navbar-wrapper .navbar-nav .dropdown-item {
    color: #fff !important;
}

.it-header-navbar-wrapper .navbar-nav .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #bfdfff !important;
}

.it-header-navbar-wrapper .navbar-nav .dropdown-menu {
    background-color: #fff !important;
}

.it-header-navbar-wrapper .navbar-nav .dropdown-item {
    color: #000 !important;
}

.it-header-navbar-wrapper .navbar-nav .dropdown-item:hover,
.it-header-navbar-wrapper .navbar-nav .dropdown-item:focus {
    background-color: #f0f0f0 !important;
    color: #000 !important;
}

.it-header-navbar-wrapper .navbar-nav .dropdown-toggle::after {
    border-top-color: #fff;
}

.it-header-navbar-wrapper .navbar-nav .dropdown-menu .dropdown-toggle::after {
    border-top-color: #000;
}
/* Hide close button on desktop */
.btn-close-mobile {
  display: none;
}
/* MOBILE MENU (up to 991.98px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #00264d !important;
    }
    .navbar-nav .nav-link {
        color: #ffffff !important;
    }
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    .navbar-nav .dropdown-item {
        color: #ffffff !important;
    }
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .btn-close-mobile {
      display: block;
    }
}

/* SEARCH ICON COLOR */
.it-header-center-wrapper .it-right-zone a.search-link {
    color: #ffffff;
}

/* TOGGLER ICON COLOR for better visibility on dark background */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* klasat per logo - scaled smaller */
.it-brand-wrapper .custom-logo,
.it-brand-wrapper img {
    max-height: 65px;
    width: auto;          
    max-width: 180px;
    height: auto;
    display: block;
}

.it-brand-wrapper .logo-wrapper {
    display: flex;
    align-items: center;
    height: 55px;
    min-width: 120px;       
    padding: 6px 0;       
}

/* Klasat per search */
#headerSearchOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.search-overlay-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  min-width: 300px;
  max-width: 95vw;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

@media (max-width: 600px) {
  .search-overlay-form {
    padding: 1rem;
    min-width: 0;
    width: 96vw;
  }
}

/* REMOVE pseudo caret — we use real icons */
.navbar-nav .dropdown > .nav-link::after {
    content: none !important;
  }
  
  /* Font Awesome caret */
  .navbar-nav .dropdown-icon {
    font-size: 0.65rem;
    margin-left: 0.4rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .navbar-nav .dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
  }
/* -----------------------------------------------------------------------------
   1) MOBILE (up to 991px)
   ----------------------------------------------------------------------------- */
   @media (max-width: 991.98px) {
    .navbar-collapse {
      position: fixed;
      top: 0; bottom: 0; left: 0;
      width: 100%;
      background-color: #0056a0;
      padding-top: 4rem;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      overflow-y: auto;
      z-index: 1050;
    }
    .navbar-collapse.show {
      transform: translateX(0);
    }
  
  .navbar-collapse .btn-close-mobile {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    opacity: 0.85;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    user-select: none;
    z-index: 1100;
  }

  .navbar-collapse .btn-close-mobile:hover {
    background-color: #fff;
    opacity: 1;
  }
  
    /* vertical links */
    .navbar-nav {
      flex-direction: column;
      margin: 2rem 0 0;
      padding: 0;
    }
    .navbar-nav .nav-link {
      color: #fff;
      font-size: 1.25rem;
      font-weight: 600;
      padding: 1rem 1.5rem;
      text-decoration: none;
    }
    .navbar-nav .nav-link:hover {
      background-color: rgba(255,255,255,0.1);
    }
  
    /* dropdowns indented */
    .navbar-nav .dropdown-menu {
      position: static;
      background: none;
      box-shadow: none;
      padding-left: 1.5rem;
    }
    .navbar-nav .dropdown-item {
      color: #fff;
    }
    .navbar-nav .dropdown-item:hover {
      background-color: rgba(255,255,255,0.2);
    }
  
    /* caret arrows */
    .navbar-nav .dropdown-toggle::after {
      content: "";
      float: right;
      margin-top: 0.5rem;
      border-top: 0.3em solid #fff;
      border-right: 0.3em solid transparent;
      border-left: 0.3em solid transparent;
    }
  }
  
  
  /* -----------------------------------------------------------------------------
     2) DESKTOP (from 992px up)
     ----------------------------------------------------------------------------- */
  @media (min-width: 992px) {
    .navbar-collapse.justify-content-center {
        justify-content: center !important;
      }
    }
    
    /* 2) Add a little downward arrow on any .dropdown > .nav-link */
    .navbar-nav .dropdown > .nav-link::after {
      content: "";
      display: inline-block;
      margin-left: 0.35rem;
      vertical-align: 0.1em;
      border-top: .3em solid currentColor;
      border-right: .3em solid transparent;
      border-left: .3em solid transparent;
    }
    
    /* 3) Optional: add a hover style on the caret itself */
    .navbar-nav .dropdown:hover > .nav-link::after {
      border-top-color: #003366;
    .navbar-nav {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .navbar-nav .nav-item + .nav-item {
      margin-left: 2rem;
    }
  
    /* link colors & hover */
    .navbar-nav .nav-link {
      color: #0056a0;
      font-weight: 600;
      font-size: 1rem;
      padding: 0.75rem 0;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
      color: #003366;
      text-decoration: underline;
    }
  
    .navbar-nav .dropdown-menu {
      border: none;
      box-shadow: 0 2px 6px rgba(0,0,0,.1);
      margin-top: .5rem;
    }
    .navbar-nav .dropdown-item {
      color: #333;
      padding: .5rem 1rem;
    }
    .navbar-nav .dropdown-item:hover {
      background-color: #f0f0f0;
    }
 
    .navbar-nav .dropdown-toggle::after {
      content: "";
      display: inline-block;
      margin-left: .25rem;
      vertical-align: .1em;
      border-top: .3em solid currentColor;
      border-right: .3em solid transparent;
      border-left: .3em solid transparent;
    } 
    .navbar-nav .dropdown-icon {
    font-size: 0.65rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
  }  
  .navbar-nav .dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
  }
  }
/* ----------------------------------------------------------------------------
   Home Cards
   ---------------------------------------------------------------------------- */
   .bg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    padding-bottom: 5rem;
    min-height: 300px;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  
  /* dark gradient overlay */
  .bg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.65),
      rgba(0,0,0,0.1)
    );
    z-index: 1;
    border-radius: inherit;
    transition: opacity .3s ease;
  }
  
  .bg-card h3,
  .bg-card p {
    position: relative;
    z-index: 3;
    color: #fff;
    margin-bottom: 0.75rem;
    opacity: .9;
    transition: transform .3s ease, opacity .3s ease;
  }
  
  /* hover state */
  .animate-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  }
  .animate-card:hover::before {
    opacity: .85;
  }
  .animate-card:hover h3,
  .animate-card:hover p {
    transform: translateY(-6px);
    opacity: 1;
  }
  
  .card-icon-center {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px #fff;
    z-index: 2;
    transition: bottom .3s ease, transform .3s ease;
  }
  .animate-card:hover .card-icon-center {
    bottom: 1.5rem;
    transform: translateX(-50%) translateY(-4px);
  }
  
  .card-link {
    display: block;
    height: 100%;
  }
  
 /* Klasat per kartat e postimeve*/
  .card {
    border-radius: 0.5rem;
    transition: box-shadow 0.2s ease;
  }
  .card:hover {
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.08);
  }
  .card-body {
    padding: 1.5rem;
  }

/* Klasat per single.php */
aside .card {
    border-radius: 0.5rem;
  }
  
  aside h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  /* List items */
  aside ul li a {
    font-size: 0.95rem;
    color: #333;
  }
  
  aside ul li small {
    font-size: 0.85rem;
  }
  
  /* Mobile-specific */
  @media (max-width: 575.98px) {
    aside h5 {
      font-size: 1rem;
    }
  
    aside ul li a {
      font-size: 0.9rem;
    }
  
    aside ul li small {
      font-size: 0.75rem;
    }
  
    .card-body {
      padding: 1rem 1.25rem;
    }
  
    .fas.fa-angle-right,
    .fas.fa-clock,
    .fas.fa-folder-open,
    .far.fa-calendar-alt {
      font-size: 0.8rem;
    }
  }

  /* Klasat per bannerin tek page.php*/
  .page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  
  .page-banner-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
  }

  .page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 200px;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.page-banner-overlay h1 {
  position: relative;
  z-index: 2;
}

/* Fallback banner without background image */
.page-banner.no-background {
  background-color: #e0dff7;
  color: #2c2a4a;
  min-height: 100px;
  padding: 3rem 1rem;
}

/* klast per single galeri */
.foto-gallery-wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* main slider images */
  #singleFotoGallery > li img {
    width: 100%;
    display: block;
    border-radius: 4px;
  }
  
  /* thumbnail pager */
  .foto-gallery-wrapper .lSPager.lSGallery {
    margin-top: 12px;
    text-align: center;
  }
  
  .foto-gallery-wrapper .lSPager li {
    width: 80px;
    margin-right: 6px;
  }
  
  .foto-gallery-wrapper .lSPager li:last-child {
    margin-right: 0;
  }
  
  .foto-gallery-wrapper .lSPager li a {
    display: block;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .foto-gallery-wrapper .lSPager li a img {
    width: 100%;
    display: block;
  }

/* klasat per single video galeri */
.video-embed iframe {
    width: 100%;
    height: 100%;
  }

/* klasat per faqen me koordinatore */

.object-fit-cover {
    object-fit: cover;
  }
  
  .hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  }
  
  .pagination-container .pagination {
    display: flex;
    justify-content: center;
    margin: 0;
  }

    /* Kartet tek koordinatoret */
    .card.hover-shadow:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card-img-top.object-fit-cover {
            object-fit: cover;
            height: 100%;
            width: 100%;
    }

    .card .btn-sm {
        font-size: 0.85rem;
        padding: 0.375rem 0.75rem;
      }
      
      .card h5 {
        font-size: 1.1rem;
      }
      
      .card p {
        font-size: 0.9rem;
      }
      
/* ----------------------------------------------------
   Single Coordinator Layout
   ---------------------------------------------------- */
   .coordinator-sidebar {
    background: #fff;
    border-radius: .25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .coordinator-photo {
    display: block;
    margin: 0 auto;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #eef2f5;
  }
  
  .coordinator-sidebar h2 {
    font-size: 1.25rem;
  }
  
  .fw-medium {
    font-weight: 500;
  }
  
  .contact-info p {
    margin-bottom: .75rem;
    line-height: 1.4;
  }
  
  .coordinator-bio p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
  }
  
  .btn-link {
    color: #0056a0;
    text-decoration: none;
    font-size: .9rem;
  }
  .btn-link:hover {
    text-decoration: underline;
  }
  
  /* small screens tweak */
  @media (max-width: 767.98px) {
    .coordinator-sidebar {
      text-align: center;
    }
    .coordinator-sidebar .contact-info p {
      display: inline-block;
      width: 100%;
    }
    .coordinator-bio {
      text-align: left;
    }
  }
/* --- CONTACT FORM 7 CUSTOM STYLES FOR DPAK --- */

.wpcf7 form {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  max-width: 1100px;
  margin: 32px auto 40px auto;
}

.wpcf7 h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1b3864;
  border-left: 4px solid #1b3864;
  padding-left: .7rem;
  background: #f2f7fb;
  border-radius: 5px;
}

.wpcf7 p {
  margin-bottom: 1.5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafc;
  transition: border .2s;
  margin-top: 4px;
  font-family: inherit;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #3477db;
  background: #fff;
}

.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7 label,
.wpcf7 p {
  font-weight: 500;
  color: #202437;
}

.wpcf7 .cf7-help {
  font-size: 0.95rem;
  color: #888;
  margin-top: 4px;
  display: block;
}

.wpcf7 input[type="checkbox"] {
  accent-color: #3477db;
  margin-right: 8px;
}

.wpcf7 input[type="file"] {
  padding: 6px 0;
  font-size: 1rem;
}

.wpcf7 .wpcf7-submit,
.wpcf7 input[type="submit"] {
  background: #1b3864;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 0.85rem 2.1rem;
  border-radius: 8px;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 0.18s;
  margin-top: 10px;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover {
  background: #215194;
}

.wpcf7 .full-width {
  width: 100%;
  display: block;
}
/* Highlight invalid fields */
.wpcf7-not-valid {
  border-color: #e74c3c !important;
  background: #fff0f0 !important;
}

/* Error message below input */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.98em;
  margin-top: 5px;
  display: block;
  font-weight: 600;
}

/* Two columns for desktop */
.form-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-bottom: 2rem;
}

.form-two-cols > div {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (max-width: 800px) {
  .form-two-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* Responsive adjustments */
@media (max-width: 600px) {
  .wpcf7 form {
    padding: 1rem 0.2rem;
    max-width: 98vw;
  }
  .wpcf7 h3 {
    font-size: 1.08rem;
    padding-left: .5rem;
  }
}
.wpcf7 select,
.wpcf7-form select {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafc;
  color: #202437;
  margin-top: 4px;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  position: relative;
}

/* Add a custom dropdown arrow */
.wpcf7 select {
  background-image:
    linear-gradient(45deg, transparent 49%, #3477db 51%),
    linear-gradient(135deg, #3477db 51%, transparent 49%);
  background-position:
    calc(100% - 26px) calc(1.1em + 2px),
    calc(100% - 22px) calc(1.1em + 2px);
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.wpcf7 select:focus {
  border-color: #3477db;
  background: #fff;
  outline: none;
}

/* Option styles for better readability (note: option can't be fully styled cross-browser) */
.wpcf7 select option {
  color: #202437;
  background: #f8fafc;
}

/* Disabled, placeholder or blank option styling */
.wpcf7 select option:disabled,
.wpcf7 select option[value=""] {
  color: #888;
  font-style: italic;
}

/* Responsive adjustments for select */
@media (max-width: 600px) {
  .wpcf7 select {
    font-size: 1rem;
    padding: 0.5rem 0.6rem;
  }
}
/* klasat per faqen e kontaktit */
/* Container for map + contact info */
.contact-map-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  align-items: flex-start;
}

/* Map container */
.contact-map-wrapper .map-container {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* Make iframe fill the container */
.contact-map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* Contact info container */
.contact-map-wrapper .contact-info {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 400px;
  color: #111;
  font-family: Arial, sans-serif;
}

/* Contact header */
.contact-map-wrapper .contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Contact paragraphs */
.contact-map-wrapper .contact-info p {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {
  .contact-map-wrapper {
    flex-direction: column;
  }
  .contact-map-wrapper .map-container,
  .contact-map-wrapper .contact-info {
    max-width: 100%;
    min-width: 100%;
  }
}
