/**** 01. Front ****/

.hero-wrap {position: relative; z-index: 1; background-size: cover; background-position: center center;}
.hero-wrap.bg-image  .breadcrumb-item a, .hero-wrap.bg-image  .breadcrumb-item {color: #fff;}

.hero-one .title-style-one .title {font-size: 60px; font-size: clamp(40px, 4.6vw, 60px);}
.hero-one p {font-size: 1.2rem;}
.hero-one p.text-lg {font-size: 1.4rem; line-height: 1.5;}
.wearetroia-section h3 {font-size: 46px; font-weight: 700;}

.hero-cta-box {background-size: cover; background-position: center center; width: 200px; min-height: 150px; display: block; position: relative;}
.hero-cta-box .cta-title {width: 60%; font-size: 14px; line-height: 1.3;}
.hero-cta-box .btn {width: 30px; height: 30px; line-height: 30px; color:#fff;}
.hero-cta-box .btn i {font-size: 13px;}

.hero-cta-box:hover .btn-circle, .hero-cta-box:focus .btn-circle {background: var(--bg-dark); color:#fff !important;}
@media (min-width: 1199px) {
  .wearetroia-section h3 {font-size: 70px;}
}

/* Why Troia */
.whytroia-section .highlight-number {right: -40px; top: 15%; max-width: 240px;}
.whytroia-section .highlight-number h2 {font-size: 70px;}
.whytroia-section .highlight-number p {line-height: 1.3; font-size: 14px; font-weight: 600;}

/* We are Troia */
.wearetroia-section .borderbox {border:1px solid #fff;}
.wearetroia-section .borderbox p {line-height: 1.3;}
/* Industries */
.card-industry {min-height: 220px;}
.card-industry p {font-size: 16px;}
.card-industry .card-icon {
  width: 80px;
  flex-shrink: 0;
}
.card-industry .card-icon img {
  width: 100%;
  height: auto;
}
.card-industry:hover {background: #616059;}
.card-industry:hover p {color: #fff;}
@media (min-width: 992px) {
.whytroia-section.img-up img {margin-top: -60px;}
.whytroia-section.img-down img {margin-bottom: -60px;}
}

@media (max-width: 1199px) {
  .text-lg {font-size: 19px;}
}


/* Partners */
.partner-logos {position: relative;}

.partner-logos  .prev_b {position: absolute; left: -40px; bottom: 40%;}
.partner-logos  .next_b {position: absolute; right: -30px; bottom: 40%;}
.partnerSliderOne{}

.partnerSliderOne .item {
  height: 100px;
  margin: 0 25px;
  border: 2px solid #fff;
  padding: 30px;
  border-radius: 8px;
}
.partnerSliderOne .item img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}





/**** 05. Moduls ****/

/** News **/

/* Card two */
.card-post-two {
  position: relative;
  overflow: hidden;
}
.card-post-two a {display: block;}
.card-post-two .card-body h3 {font-size: 20px;}
.card-post-two .card-body.light-bg h3 a, .card-body.light-bg small, .card-body.light-bg p {color: #fff;}
.card-post-two a i {color: var(--bg-light);}
.card-post-two h2 {font-size: 28px; font-weight: 700;}
.card-post-two.card-news h2 {font-size: 22px; font-weight: 700;}
.card-post-two .card-body p {font-size: 16px;}

.card-post-two .card-padding-default {padding: 40px 90px 40px 40px;}
.card-post-two:hover {color: var(--bg-dark);}
.card-post-two:hover .btn-circle {background: var(--bg-dark); color:#fff;}
.card-post-two:hover .btn-circle.hover-white {
    background-color:#fff;
    color: var(--heading);
}
.card-post-two:hover p, .card-post-two:hover p {color: var(--bg-dark); }
.card-post-two .position-relative {
  position: relative;
}

.card-post-two img {
  transition: transform .3s ease;
}

/* Overlay čez sliko */
.card-post-two .card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow-one);
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  z-index: 1;

  /* tranzicija za obe smeri */
  transition: opacity .3s ease;
}

/* Hover efekti */
.card-post-two:hover .card-image img {
  transform: scale(1.02);
}

.card-post-two:hover .card-image::after {
  opacity: 0.6;
}
/** Industries **/
.industries-listing .card-post-two .card-icon, .hero-wrap .card-icon{
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--yellow-one);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    z-index: 2;
    left: 50%;
    top: 95%;
    bottom: auto;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: var(--heading);
}

.industries-listing .card-post-two {background: #fff;}

.industries-listing .card-post-two .card-icon img {
  filter:
  invert(16%)
  sepia(3%)
  saturate(548%)
  hue-rotate(32deg)
  brightness(89%)
  contrast(88%);
}

/** Events **/

:root{
  --event-date-size: 160px;   /* circle diameter */
  --event-media-min-h: 260px; /* mobile image min height */
}

.event{
  position: relative;
  overflow: hidden;
  background:#3f3f3a;
}

.event-media{ 
  min-height: var(--event-media-min-h);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height:100%;
}
@media (min-width:768px){
  .event-media{ min-height:auto; }
}
.event-date{ 
  position:absolute;
  width:var(--event-date-size);
  height:var(--event-date-size);
  border-radius:50%;
  background:var(--yellow-one);
  display:flex;align-items:center;justify-content:center;
  text-align:center;line-height:1;z-index:2;
  left:50%;
}
.event-date strong{display:block;font-size:3rem;font-weight:800;}
.event-date small{display:block;font-size:.9rem;opacity:.85;margin-top:.15rem;}

.event-date{
  top: auto;
  bottom: 50%;
  transform: translate(-50%, 0%);
}
.date-bridge{ 
  height: calc(var(--event-date-size) / 2); /* just enough spacer below image */
}

/* Desktop: center in whole card */
@media (min-width:768px){
  .event-date{
    top:50%; bottom:auto;
    transform:translate(-50%, -50%);
  }
  .date-bridge{display:none;}
}
.event-content{ 
  color:#fff; padding:2rem;
}
.event-content h2 a {color: #fff; font-size: 28px;}
@media (min-width:768px){
  .event-content{padding-right: calc(2rem + var(--event-date-size) / 2);}
}

/** Event cards front **/
.card-post-two.front-event-card .event-date {    top: 100%;
  bottom: auto;
  transform: translate(-50%, -50%);}
.card-post-two.front-event-card .place {font-size: 20px;}
.card-post-two.front-event-card .place i {color: var(--yellow-one);}
.card-post-two.front-event-card h3 {font-size: 22px;}

/**** 05. Sidebars ****/


/* ---- Sidebar wrap ---- */
.troia-sidebar { max-width: 420px; }
.sidebar-card {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
}

/* ---- INDUSTRIJE list ---- */
.industry-item{
  display:flex; align-items:center; gap:.9rem;
  background:#fff; color:#2a2a28;
  padding:.7rem 1rem; border-radius:12px;
  border:1px solid rgba(0,0,0,.06);
  text-decoration:none; box-shadow:none;
  font-size: 15px;
}
.industry-item .industry-label{ font-weight:600; }
.industry-item .industry-bullet{
  width:30px; height:30px; border-radius:999px;
  display:grid; place-items:center; flex:0 0 30px;
  background: var(--yellow-one);
  color:#1f1f1f;
}

.sidebar-card .card-body{ background:#e9e9e7; border-radius:12px; }

/* ACTIVE state */
.industry-item.active{
  background: var(--bg-light); color:#fff;
  border-color: transparent;
}
.industry-item.active .industry-bullet{ background: var(--yellow-one); color:#1f1f1f; }

/* ---- DOWNLOADS panel ---- */
.downloads-panel{
  background: #3f403c; /* temnejša plošča od var(--bg-light) */
  border-radius:14px; padding:1.5rem;
  border:1px solid rgba(255,255,255,.08);
}
.downloads-panel h4{ margin-left:.25rem; }

/* karta za prenos */
.download-card{
  display:flex; align-items:center; gap:1rem;
  padding:1.1rem; border-radius:14px;
  border:1px solid rgba(255,255,255,.5);
  text-decoration:none; color:#fff;
  margin-bottom:1rem;
}
.download-card:last-child{ margin-bottom:0; }

.doc-icon{
  position:relative; width:54px; height:54px; flex:0 0 54px;
  border-radius:999px; display:grid; place-items:center;
  background: var(--yellow-one); color:#1f1f1f;
}
.doc-icon .fa-file-pdf{ font-size:24px; line-height:1; }
.doc-badge{
  position:absolute; bottom:-6px; left:50%; transform:translateX(-50%);
  font-size:.65rem; font-weight:800; letter-spacing:.3px;
  background:#1f1f1f; color:#fff; padding:.15rem .4rem; border-radius:999px;
}


/**** Linked items ****/

/* Yellow cards */
.pill-link{
  background: var(--yellow-one);
  color: #1f1f1f;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
}
.pill-link:hover {color: var(--heading);}
.pill-link h3 {font-size: 24px; font-weight: 700;}
.pill-link span {var(--heading);}
.pill-link .pill-category {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  opacity: .8;
  margin-bottom: .15rem;
}

.pill-link .circle-btn{
  width: 42px; height: 42px;
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  display: grid; place-items: center;
  flex: 0 0 42px;
  font-weight: 800;
  line-height: 1;
}

.pill-link.pill-smaller {padding: .9rem 1.1rem;}
.pill-link.pill-smaller h3 {font-size: 18px; font-weight: 700;}
.pill-link.pill-smaller .circle-btn {width: 33px; height: 33px; flex: 0 0 33px; font-size: 14px;}

/* Hover/Focus */

.pill-link:hover .circle-btn,
.pill-link:focus-visible .circle-btn{
  transform: scale(1.02);
  background: var(--bg-dark);
  color:#fff;
}



/**** 06. Content inner ****/

.excerpt p {font-size: 18px; font-weight: 600;}

.content-inner h2 {font-size: 24px; font-weight: 600; color: var(--yellow-one);} 
.content-inner h3 {font-size: 18px; font-weight: 600; color: var(--yellow-one);} 
.content-inner p + h2, .content-inner ul + h2 {margin: 30px 0 10px;} 
.content-inner p + h3, .content-inner ul + h3 {margin: 30px 0 10px;}
.content-inner p {font-size: 18px; line-height: 1.4;}
.content-inner p a {color: var(--deep-blue);}
.content-inner p a:hover {color: #000;} 
.content-inner p.par-big {font-size: 130%;}
.content-inner p.par-small {font-size: 80%;}
.content-inner p.par-highlight {background: #edf9ff; padding: 15px; margin: 20px -15px;}
.content-inner p.par-alternative {border-top: 2px solid #f05038; border-bottom: 2px solid #f05038; padding: 12px 0;}
.content-inner p.par-comment {background: #f05038; padding: 20px; color: #fff;  float: right; width: 30%; margin: 10px;}
.content-inner p img+br {content: " "; display: none; }

.content-inner table {width: 100%; margin-bottom: 40px;}
.content-inner table tr td {border-bottom: 1px solid #eee; padding: 2px 5px;}

.content-inner .fr-img-caption {text-align: left;}
.content-inner .fr-img-caption img {margin-bottom: 4px;}
.content-inner .fr-img-caption .fr-inner {border-bottom: 1px solid #ccc; font-size: 15px; font-weight: 700; padding:2px 0; display: block;}

.content-inner .btn-one {color: var(--heading);}

blockquote {
  margin: 0 10px 30px;
  padding: 0 15px;
  border-left: 2px solid #da3636;
}

/*------ content images -------*/

.fr-img-caption .fr-img-wrap {
  padding: 0;
  display: inline-block;
  width: 100%;
  margin: auto;
}

.content-inner .detail img.fr-dii.fr-fir {
  float: right;
  margin: 5px 0 5px 5px;
  max-width: calc(100% - 5px);
}

.content-inner .detail img.fr-dii.fr-fil {
  float: left;
  margin: 5px 15px 5px 0;
  max-width: calc(100% - 5px);
}

.content-inner .fr-img-caption.fr-dii.fr-fil {
  float: left;
  margin: 5px 25px 5px 0;
  max-width: calc(100% - 5px);
}

.content-inner .fr-img-caption.fr-dii.fr-fir {
  float: left;
  margin: 5px 5px 5px 0;
  max-width: calc(100% - 5px);
}


/** Icons List **/

.feature-list{
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
  display: grid;
  gap: 18px; /* spacing between cards */
}

.feature{
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature__icon{
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow-one);
  display: grid;
  place-items: center;
}
.feature__icon i{
  font-size: 18px;
  color: #111; /* dark check like the screenshot */
}

.feature__body h3{
  margin: 2px 0 3px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
  font-weight: 700;
  color: #2b2b2b;
}
.feature__body p{
  margin: 0;
  color: #555;
}

/* Small screens: keep it comfy */
@media (max-width: 520px){
  .feature{
    padding: 18px;
    gap: 14px;
  }
  .feature__icon{
    flex-basis: 48px; width:48px; height:48px;
  }
  .feature__icon i{ font-size: 20px; }
}

/**** 07. Contact ****/

.contact-section-five .form-wrapper {padding: 60px 0 85px;}
.address-block-three h4 {font-size: 20px; font-weight: 600;}

.form-style-three {
  max-width: 648px;
  padding-left: 100px;
}
.form-style-three .form-title {
  font-size: 62px;
  color: #fff;
}
.form-style-three label {font-size: 14px; color: rgba(0, 0, 0, 0.5); margin-bottom: 5px;}
.form-style-three .input-group-meta input,
.form-style-three .input-group-meta textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border: none;
  border-radius: 8px;
  background: #F2F2F2;
  padding: 0 20px;
  font-size: 16px;
}
.form-style-three .input-group-meta input {height: 60px;}
.form-style-three .input-group-meta textarea {min-height: 165px; padding: 15px 20px;}
.form-style-three [class*="theme-btn-"] {font-size: 14px; text-transform: uppercase; border-radius: 8px;}
.form-style-three .selectize-input {
  display: block !important;
  font-size: 16px;
  line-height: 60px; 
  height: 60px;
  background: #F2F2F2;
  color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 0 0 0 20px;
  border:none;
  box-shadow: none;
}
.form-style-three .selectize-input .item {
  line-height: 60px; 
  color: var(--heading);
  display: block;
}
.form-style-three .selectize-dropdown {
  border: none;
  border-radius: 8px;
  box-shadow: 0 13px 35px -12px rgb(35 35 35 / 10%); 
  margin: -1px 0 0;
}
.form-style-three .selectize-dropdown .option {
  font-size: 16px;
  color: #4f4f4f;
  line-height: 35px;
}
.form-style-three .selectize-dropdown .option:hover,
.form-style-three .selectize-dropdown .active, .form-style-three .selectize-dropdown .selected {color: #fff; background: var(--yellow-one);}
/*--Dark Style ---*/
.dark-bg .form-style-three label {color: rgba(255, 255, 255, 0.5);}
.dark-bg .form-style-three .input-group-meta input,
.dark-bg .form-style-three .input-group-meta textarea {background: rgba(255, 255, 255, 0.15); color: #fff;}
.dark-bg .intl-tel-input .country-list {background: #353535; color: #fff;}
.dark-bg .form-style-three .selectize-input {background: rgba(255, 255, 255, 0.15);}
.dark-bg .form-style-three .selectize-dropdown {background: #353535;}
.dark-bg .form-style-three .selectize-dropdown .option,
.dark-bg .form-style-three .selectize-input .item {color: #fff;}