/*

    Theme Name: Astra
    Theme URI: https://wpastra.com/
    Author: Brainstorm Force
    Author URI: http://localhost/alaska-programi/
    Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
    Template: astra
    Version: 1.0.0
    Requires at least: 5.3
    WC requires at least: 3.0
    WC tested up to: 9.6
    Tested up to: 6.8
    Requires PHP: 5.3
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: astra
    Domain Path: /languages
    Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
    AMP: true

*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ===== Base html/body ===== */
html, body {
  overflow: auto;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow: hidden;
}
:root {
  --gap: clamp(16px, 2vw, 32px);
  --card-min: 280px;
  /* primjer dodatnih varijabli */
  --clr-accent: #f37021;
  --clr-primary: #1f035e;
  --radius: 0.75rem;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  line-height: 1.6;
}

/* SHORTCODE ZA HERO GOLDERORDER */

body .elementor-widget-shortcode {
  margin-left: -12px !important;
  padding-left: 0 !important;
  margin-top: -12px !important;
}

body .elementor-widget-shortcode section.hero-section {
  margin-left: -12px !important;
  padding-left: 0 !important;
}

body.page-id-2179 .hero-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  align-self: center;
  text-align: center;
  min-height: 60vh; 
  padding: 0;
}

body.page-id-2179 .hero-section h1 {
  color: #F7C15E;
}

body.page-id-2179 .hero-section h2 {
  color: #fff;
  transform: translateY(-1rem);
}

body.page-id-2179 .hero-container {
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}



/* -------------------------- */
/* GLOBAL STILOVI 
/* -------------------------- */

/* Sprečava iskakanje headera kod zoomiranja */
.ast-header-break-point .main-header-bar,
.main-header-bar,
.ast-primary-header-bar {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;   
}

/* HERO SEKCIJA */
.hero-section {
  background-image: url('https://alaska-programi.com/wp-content/uploads/2025/06/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  padding: 80px 0; /* Umjesto height */
  display: flex;
  align-items: center;
  color: white;
  font-family: 'Courier New', monospace;
  margin: 0;
  box-sizing: border-box;
}

.hero-container {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px; 
}

.hero-container h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-family: 'Roboto Mono', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, monospace;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
  max-width: 630px;
  white-space: normal;
  word-break: break-word;
}

.hero-container p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-family: 'Roboto Mono', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, monospace;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-block-end: 2rem;
  max-width: 60ch;  /* Dodano */
}

.hero-button {
  display: inline-block;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-accent, #f37021);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-button{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  background: var(--clr-accent, #f37021);
  color:#fff;
  padding:0.75rem 1.5rem;
  font-weight:600;
  border-radius:6px;
  text-decoration:none;
  cursor:pointer;
  transition: background-color .3s ease;
}

.hero-button:hover {
  background-color: #d95f1c;
}

/* ===== SERVICE HEADER ===== */
.service{
  display:flex;                  
  align-items:center;             
  flex-wrap:nowrap;               
  gap:clamp(12px,2vw,24px);         
}
.service-title{
  margin:0;
  font-size:clamp(1.5rem,4vw,2.125rem);
  font-weight:700;
}
.service-underline {
  height: 3px;
  background-color: red;
  width: 100px;
  margin-left: 11px;
}
.document-icons {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
   gap:clamp(16px,4vw,40px);
}
.doc-icon {
  width: 60px;
}

/* ===== APPLICATION HEADER ===== */
.section-title{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;                       
  gap:clamp(12px,2vw,24px);               
}
.text-applications{
  max-width: 150ch;                      
  margin-inline: 2rem;                       
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--clr-text, #ccc);
}
.section-title h2 {
  margin: 10px; 
  font-size:clamp(1.5rem,4vw,2.125rem);
  font-weight: bold; 
  color: #FFFFFF;
}
.section-heading{
  margin-inline: 0;                    
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-heading, #fff);       
  text-align: center;                    
}
.underline{
  flex:0 0 clamp(64px,20%,120px); 
  height:var(--line-thickness,3px);
  background:var(--clr-accent,#f37021);
}

/* FOOTER */
footer.custom-footer {
  width: 100%;
  text-align: center;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
  background-color: #00142F;
  padding: 1.5rem 1rem;
  margin: 0;
  line-height: 1.4;
  box-sizing: border-box;
  height: auto;
}

.footer-about > h3 {
  color: white;
}

.my-card-wrapper {
  text-align: center;
  margin-top: -1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: auto;
  max-width: 100%;
}

.card-1 img,
.card-3 img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.card-2 img {
  height: 74%;
}

.card-3 img {
  height: 74%;
}

.applications {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color: black;
  box-sizing: border-box;
}

.applications img {
  height: 50%;
}

/* Stil za sve kartice */
.applications > .application-card1 {
  background-color: #fff;
  text-align: center;
  overflow: hidden;
  border: 1px solid #222;
  box-sizing: border-box;
  width: 31%;
}

.applications > .application-card1 img {
  height: 81%;
}
.applications > .application-card2 img {
  height: 81%;
}
.applications > .application-card3 img {
  height: 81%;
}

/* Stil za sve kartice */
.applications > .application-card2 {
  background-color: #fff;
  text-align: center;
  overflow: hidden;
  border: 1px solid #222;
  box-sizing: border-box;
  width: 31%;
}
/* Stil za sve kartice */
.applications > .application-card3 {
  background-color: #fff;
  text-align: center;
  overflow: hidden;
  border: 1px solid #222;
  box-sizing: border-box;
  width: 31%;
}

/* Slika */
.applications img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tekst ispod slike */
.card-caption {
  padding: 15px 10px;
  font-size: 18px;
  font-weight: bold;
  color: white;
}

/* Boje */
.purple {
  background-color: #1f035e;
}
.orange {
  background-color: #cc5500;
}

/* DEFAULT širina: 300px */
.application-card1,
.application-card2,
.application-card3 {
  width: 300px;
}

.footer {
  background-color: #00142A;
  color: white;
  font-family: 'Poppins', sans-serif;
  /* width: 100%; */
}

.footer-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* margin-left: 6.8rem; */
  gap: 2rem;
  /* width: 100%; */
}

.footer-logo-section,
.footer-contact,
.footer-links {
  flex: 1 1 100%;
  min-width: 220px;
}

.footer-contact {
  flex: 1 1 100%;
  min-width: 150px;
  margin-left: 3rem;
  color: white;
}

.footer-about{
  margin-left:  1rem;
}

.desktop-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-subtitle {
  font-size: 1.2rem;
}

.footer-contact  h3 {
  color: white;
  margin-top: -3rem;
}

.footer-contact-heading {
  margin-top: 11rem;
  font-size: 25px;
}


.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  width: 371px;
  transform: translateY(4rem);
  line-height: 1.9;
}

.footer-contact i,
.footer-social i {
  margin-right: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--clr-accent, #f37021);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start; /* ili flex-end za desno */
  margin-top: 2rem;
}

.footer-social .social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.footer-social .social-icon i {
  padding-left: 0.6rem;
}

.footer-contact-list li i.fa-phone {
  transform: rotate(95deg);
}

.footer-social .facebook {
  background-color: #1877F2;
}
.footer-social .instagram {
  background-color: #C13584; 
  color: white;
}
.footer-social .linkedin {
  background-color: #0077B5;
}

.footer-social a {
  font-size: 1.2rem;
  color: white;
}

.footer-links-heading{
  color: white;

}
.footer-link-list {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  align-self: self-start;
  margin-left: 0;
  transform: translate3d(0, 3.2rem, 0)
}

.footer-bottom {
 display: flex;
 flex-direction: row;
 justify-content: center;
 align-items: center;
 border-top: 1px solid #fff;
 transform: translateY(1rem)
}

/*************** ERROR 404 ******************/

#content > div {
  display: block;
}
body.error404 .hero-section{
  width: 100vw;
  margin-top: -2rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#content > div {
  display: inline;
  margin-bottom: -11rem;
}


/* -------------------------- */
/* DESKTOP: 1025px i više */
/* -------------------------- */
@media (min-width: 1025px) {

  .my-card-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .my-card-wrapper .card {
    width: 32%;
    box-sizing: border-box;
    text-align: center;
  }

  .my-card-wrapper .card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
  }

  .my-card-wrapper .card p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
  }
}






/* -------------------------- */
/* MOBILNI UREĐAJI: do 767px */
/* -------------------------- */
@media (max-width: 767px) {
  .ast-primary-header-bar,
  .main-header-bar,
  .site-primary-header-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .service {
    margin-right: 32.3rem;
  }
  .document-icons {
    margin-top: -6rem;
    margin-left: -13rem;
  }
  .elementor-element-26d4528 .doc-icon {
  width: 38px;
  margin-right: 8px;
  }
  .text-service {
    margin: 2rem;
    margin-top: -3rem;
  }
  .service-underline {
    display: block; 
    height: 3px;
    width: 100px;
    background-color: red;
    padding-left: 100px;
  }
  .my-card-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
  }
  .card-1,
  .card-2,
  .card-3 {
    width: 90%;
    max-width: 100%;
  }
  .card-1 img,
  .card-2 img,
  .card-3 img {
    width: 100%;
    height: 220px; 
    object-fit:inherit;
  }
  .section-title {
    display: flex;
    max-width: 100%;
    width: 100%;
    padding-left: 2rem;
    }
   .text-applications {
      display: flex;
      justify-content: flex-end;
      padding-left: 0;
    }
   .applications {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  .applications > .application-card1 {
    width: 90%;
    height: 17rem;
    object-fit: cover;
  }
  .applications > .application-card2 {
    width: 90%;
    height: 17rem;
    object-fit: cover;
  }
  .applications > .application-card3 {
    width: 90%;
    height: 17rem;
    object-fit: cover;
  }
   .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
   /* Sakrij "ALASKA PROGRAMI" tekst */
  .logo-title,
  .logo-subtitle {
    display: none;
  }
}
  

/* MOBILE */
/* MALI EKRANI MOBILNIH TELEFONA */
@media (max-width: 360px) {

/* SERVISI */
  .heading-service {
    margin-left: -9rem;
    margin-top: -2rem;
  }
  .service {
    margin-right: 4.7rem;
  }
  .service-title {
    font-size: 18px;
  }
  .service-underline {
    width: 50px;
  }
  .document-icons {
    margin-left: -53vw;
    margin-top: -22vw;
    display: flex;
    gap: 27px;
    width: 39%;
  }
  .text-service {
    font-size: 14px;
    padding: 1rem 1rem;
    margin-top: -6rem;
    text-align: left;
    width: 99%;
  }
  .my-card-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .card-1,
  .card-2,
  .card-3 {
    width: 91%;
    max-width: 100%;
    min-height: auto;
    margin: -18px;
    margin-left: -2rem;
    padding: 1px;
    margin-bottom: 5px;
    font-size: 15px;
  }
  .card-1 img,
  .card-2 img,
  .card-3 img {
    width: 98%;
    height: 150px; /* ili druga željena visina */
    object-fit: revert-layer;
    display: block;
  }
  .card-1 strong,
  .card-2 strong,
  .card-3 strong {
    font-size: 18px;
  }
  .card-1 p,
  .card-2 p,
  .card-3 p {
    font-size: 15px;
    line-height: 1.5;
  }
  /* APPLICATION */
  .section-heading {
     margin-left: 3rem !important;
     font-size: 20px !important;
  }
   .text-applications {
    margin-left: 2rem !important;
    font-size: 14px !important;
    line-height: 1.6;
    width: 84%;
    text-align: left;
  }
  .applications {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .application-card1,
  .application-card2,
  .application-card3 {
    display: block;
    width: 90% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 1.3rem;
    height: 200px; 
    background-color: black;
  }
  .applications > div[class^="application-card"] {
    background-color: black;
  }
  .application-card1 img,
  .application-card2 img,
  .application-card3 img {
    width: 100%;
    height: 140px !important;
    object-fit: revert-layer;
    display: block;
    /* background: black; */
  }
    .card-caption {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 20%;       /* smanjena visina */
    padding-top: 3px;
    margin-bottom: 0;
  }
  /* FOOTER */
   /* 3. Kontakt */
  .footer-contact {
    align-items: center;
    text-align: center;
    margin-top: 2rem !important;
    margin-left: 2rem !important;
  }
}



/* SREDNJI EKRANI MOBILNIH TELEFONA */
@media (min-width: 361px) and (max-width: 414px) {

  /* SERVISI */
  .service-title {
    font-size: 20px;
  }
  .service-underline {
    width: 60px;
    height: 2px;
  }
  .heading-service {
    margin: -17vw;
    margin-left: -10.5rem;
  }
  .document-icons {
    margin-left: -32vw;
    margin-top: -22vw;
    display: flex;
    gap: 27px;
    width: 39%;
  }
  .text-service {
    font-size: 14px;
    padding: 0 1.6rem;
    margin-top: -6rem;
    text-align: left;
  }
  .my-card-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .card-1,
  .card-2,
  .card-3 {
    width: 91%;
    max-width: 100%;
    min-height: auto;
    margin: -18px;
    padding: 1px;
    margin-bottom: 5px;
    font-size: 15px;
  }

  .card-1 img,
  .card-2 img,
  .card-3 img {
    width: 100%;
    height: 180px; /* ili druga željena visina */
    object-fit: revert-layer;
    display: block;
  }

  .card-1 strong,
  .card-2 strong,
  .card-3 strong {
    font-size: 18px;
  }

  .card-1 p,
  .card-2 p,
  .card-3 p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* APPLICATIONS */

  .section-heading {
     margin-left: 3rem !important;
  }

  .text-applications {
    margin-left: 2rem !important;
    font-size: 14px !important;
    line-height: 1.6;
    width: 88.9%;
    text-align: left;
  }
  .applications {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .application-card1,
  .application-card2,
  .application-card3 {
    display: block;
    width: 90% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    height: 200px; 
  }

  .application-card1 img,
  .application-card2 img,
  .application-card3 img {
    width: 100%;
    height: 160px;
    object-fit: revert-layer;
    display: block;
  }

  .card-caption {
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  height: 60px;            
  padding-top: 3px;
  }
}

/* ✅ Veliki mobiteli (do 425px) */
@media (min-width: 415px) and (max-width: 480px) {

  /* SERVICE */

  .service {
    margin-left: -12.9rem !important;
    margin-top: -3rem;
  }

  .service-title {
    font-size: 20px;
    margin-left: 1rem;
  }

  .document-icons {
    margin-top: -5.7rem;
    margin-left: -7rem !important;
    width: 40%;
    gap: 40px;
  }

  .text-service {
    font-size: 15px;
    width: 89%;
    margin-left: 2rem;
    margin-top: -6rem;

  }

  .my-card-wrapper {
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .card-1,
  .card-2,
  .card-3 {
    flex:1 1 60%; 
  }

  .card-1 img
  {
    width: 88%;
    height: 200px; 
    object-fit: revert-layer;
    display: block;
  }
  .card-2 img {
    width: 88%;
    height: 180px;
    object-fit: revert-layer; 
  }

  .card-3 img {
    width: 88%;
    height: 200px;
    object-fit: revert-layer;
  }

  /* APPLICATION */
  
  .section-title h2 {
  display: flex; 
  align-items: center; 
  padding-left: 1.7rem;
  font-size: 20px;
  }

  .text-applications {
    width: 93%;
    margin-left: 1.7rem;
    font-size: 15px;
  }
    .applications {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
  }

  .applications > div[class^="application-card"] {
    width: 95%;
  margin-left: -1rem;
  margin-bottom: 1rem;
  height: auto; 
  min-height: 200px; 
  }

.applications > div[class^="application-card"] > img {
    object-fit: revert-layer;
    width: 100%;
    height: 160px;
    object-position: center;
  }

  .applications > div[class^="application-card"] > .card-caption {
    padding-top: 0.7rem;
    text-align: center;
    font-size: 15px;
    color: white;
    height: 41px;
    }
  }

  /* SAMO ZA FOOTER JER SE PONAVLJA KOD VELIKI I SREDNJIH EKRANA */
  @media (min-width: 320px) and (max-width: 480px) {

    .footer {
      display: flex;
      justify-content: center;
      align-items: center;
      padding-right: 1rem;
    }

    .desktop-logo-row {
    display: flex;
    flex-direction: column;
    }

    .logo-text {
      display: none;
    }

    .footer-contact-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-left: 0;
      font-size: 1rem;
      margin-left: 1rem;
      transform: translateY(2rem);
    }

    .footer-contact-heading {
      margin: 0 0 0 1rem;
      color: white;
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
    }

    ul.footer-link-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-self: stretch;
      align-items: center;
      transform: translateY(1rem);

    }

  .footer-bottom {
    width: 112vw;
    height: auto;
    background-color: #00142A;
    color: white;
    text-align: center;
    padding: 0.2rem;
    font-size: 0.875rem;
    border-top: 1px solid #fff;
    position: absolute;
    transform: translate(-0.5rem, 30rem);
    padding-bottom: 80px;
  }
  .footer-bottom > p {
    margin-left: 3rem;
  }

/* Sakrij tekst "ALASKA PROGRAMI" */
   .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Sakrij "ALASKA PROGRAMI" tekst */
    .logo-title,
    .logo-subtitle {
      display:block;
  }

  /* 1. Logo */
  .tablet-logo-stack {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-centered {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .logo-centered img {
    width: 100px;
    height: auto;
  }

  /* 2. O nama */
  .footer-about {
    order: 2;
    margin: 2rem;
    padding: 0;
  }

#content > div > footer > div.footer-container > div.footer-logo-section > div.footer-about > h3 {
    color: white;
  }


  .footer-about p {
    color: white;
    text-align: center;
    margin: 0 auto 10px auto;
    max-width: 280px;
  }

  /* 3. Kontakt */
  .footer-contact {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 3rem;
    padding: 0;
  }

  /* Ciljamo div koji sadrži sve <p> elemente ispod h3 */
  .footer-contact > div {
    margin-top: 10px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; 
  }

  .footer-contact p {
    margin: 0;
    max-width: 280px;
    color: white;
    line-height: 0.2;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }

  .footer-links {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    padding-right: 0rem;
    line-height: 1.2;
  }

  .footer-links h3 {
    margin-bottom: 5px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
  }

  .footer-links p {
    margin: 4px 0;
    line-height: 0.9;
  }

  .footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
     line-height: 0.2;
  }

  /* Ako trebaš i unutrašnji wrapper kraće: */
  /* umjesto: #colophon > div > ... > .footer-links > div */
  .footer-container .footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-links-groups {
    transform: translateY(10px);
}


  /* 5. Društvene mreže — POSLJEDNJE */
  .footer-social {
    order: 5;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    }

    .social-icon,
    .linkedin-custom-icon {
      font-size: 18px;
    }
  }

  /* =================================================== */
/* 📱 4. Tableti i veliki mobiteli: 481px do 767px     */
/* =================================================== */

@media (min-width: 481px) and (max-width: 767px) {

  /* HERO. SECTION */

  .hero-container {
    padding: 0 2rem;
  }
  .hero-container h1 {
    font-size: 2.4rem;
  }
   .service {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 1.4rem;
}
.service-title {
  font-size: 22px;
}
.document-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 1.1rem;
  margin-left: 0;
  padding-left: 0.2rem;
  width: auto;
  transform: translateX(-3rem); /* 👈 dodatni pomak ulijevo */
      margin-right: calc((100vw - 481px) * 0.05);

  }
    .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 1rem;
    padding: 0;
  }
  .footer-contact-paragraph {
    margin-top: 1rem;
  }
  .footer-links-heading{
    transform: translateY(2rem);
  }

  h3.footer-contact-heading {
      transform: translateY(2rem);
  }

  .footer-social {
    margin-top: -1rem;
  }

  ul.footer-link-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-right: 12rem;
  }
 h3.footer-links-heading {
    position: relative;
    left: -4rem;
    top: 2rem;
    transform: translateX(-50%);
    margin: 0 auto;
    text-align: center;
    width: max-content; /* ili fiksna širina ako želiš */
}
  /* .footer-links-groups {
    margin-left: -15rem;
    text-align: center;
    margin-top: -2rem;  
  } */
   .footer-links {
    margin-left: 14rem;
   }
 
}

@media (min-width: 501px) and (max-width: 767px) {

 /* MENI */
  .ast-header-break-point .site-header .main-header-bar-wrap .site-branding {
  margin-left: 1rem;
}
.menu-toggle {
  margin-right: 1rem;
}

/* ICONS */
  .document-icons {
    margin-left: clamp(5rem, 10vw, 18rem);
  }
  
}

@media (min-width: 800px) {
  .footer-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    width: 110%;
    margin: 0 auto;
    padding: 2rem clamp(6rem, 5vw, 0rem) !important;
    box-sizing: border-box;
  }

  .footer-logo-section,
  .footer-contact,
  .footer-links {
    flex: 0 0 23%;
    min-width: 150px;
    text-align: left;
  }

  .footer-social {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 120%; /* ✅ stabilno unutar footer-container */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

   /* MENI */
  .menu-toggle {
  margin-right: 1rem;
  }
  .ast-header-break-point .site-header .main-header-bar-wrap .site-branding {
  margin-left: 1rem;
  }

  .hero-container {
        max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }


  .document-icons {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
     margin-left: -14rem;
    margin-right: 0;
    width: 152%;
  }
  .service-underline {
    display: flex;
    width: 100px;
    height: 4px;
    background-color: red;
    margin-top: 8px;
  }
  .service {
    display: flex;
    align-items: center; 
    width: 300px; 
    gap: 0.75rem; 
    padding-right: 0.625rem; 
  }
    .service-title {
      margin-left: 1.5rem;
  }
    .service-underline {
    display: inline-block;
    width: 100px;
    height: 4px;
    background-color: red;
    }
    .text-service {
      margin-left: 2rem;
      width: 93%;
    }
    .my-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0rem;
    justify-content: space-evenly;
    align-items: stretch;
    height: 315px;
    }
    .card-1,
    .card-2,
    .card-3 {
      flex: 0 0 32%;
      box-sizing: border-box;
      padding: 1rem;
      background-color: #f0f0f0;
      height: 300px;
      text-align: center;
    }
    .card-1 img,
    .card-2 img,
    .card-3 img {
      width: 100%;
      height: 190px;
    }
    .section-title {
     margin-left: 2rem;
    }
    .text-applications {
      width: 94.9%;
      margin-left: 2rem;
    }
    .applications {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      align-items: stretch; 
    }
    .application-card1,
    .application-card2,
    .application-card3 {
      flex: 0 0 29%;
      box-sizing: border-box;
      height: 220px;
      text-align: center;
      flex-direction: column;
      justify-content: space-between;
    }
    .card-caption {
      margin: -0.4rem;
    }
    /* FOOTER */
     .footer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 2rem;
        padding: 2rem;
        /* transform: translate3d(-5rem, -3rem, 1rem); */
     }
      .footer-about {
        width: 105%;
      }
      .footer-contact h3 {
        font-size: 1.25rem;
        margin-top: 3.6rem;
      }
     .footer-contact-list {
        transform: translateY(4rem);
      }
     .footer-links {
        margin: 4rem 9rem;
      }
      .footer-links ul {
        transform: translateY(3.4rem);
      }
     .footer-logo-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }
     .footer-social {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        align-self: baseline;
        padding-left: 0.9rem;
        transform: translate3d(0, -2rem, 0);
      }
      .footer-contact-list,
      .footer-link-list {
        padding: 0;
        margin: 0;
        list-style: none;
      }
      .footer-contact-list li,
      .footer-link-list li {
        margin-bottom: 0.5rem;
      }
   }

@media (min-width: 1025px) {
  .footer-container {
    width: clamp(99%, 100vw, 2200px); 
    margin: 0 auto;
    padding-right: clamp(8rem, 14vw, 20rem);
    gap: 2.5rem;
  }

  .footer-logo-section,
  .footer-contact,
  .footer-links {
    flex: 0 0 30%;
    min-width: 220px;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
  }
}

   @media (min-width: 1023px) {
  .footer-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    width: 119%;
    max-width: 1310px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .footer-logo-section,
  .footer-contact,
  .footer-links {
    flex: 0 0 32%;
    min-width: 220px;
    margin-left: 1rem;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .hero-container {
    transform: translateX(1rem);
  }
  .document-icons {
    transform: translateX(6.9rem); 
  }
  .text-service {
    width: 96%;
  }

  .section-title {
    margin-left: 2.5rem !important;
  }

  .text-applications {
    margin-left: 2.5rem;
  }

  .footer-social {
    margin-left: -5rem !important;
  }
  .footer-social {
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
    align-self: center;
    padding-left: 4rem;
    width: 115%;
  }
}

@media (min-width: 1025px) and (max-width: 2025px) {
  .heading-service {
    margin-inline-start: 2rem !important; 
    max-width: 200px;
    width: 200%; 
  }
  .document-icons {
    transform: translateX(-7rem);
    width: 128%;
  }
  .text-service {
    width: 95%;
    margin-left: 2.5rem;
  }
  .my-card-wrapper {
  display: flex;
  flex-wrap: nowrap; 
  justify-content: space-between; 
  gap: 1rem; 
  padding: 0.5rem;
  width: 96%;
   box-sizing: border-box;
}

.my-card-wrapper img {
  width: 85%;
  height: clamp(150px, 20vw, 250px);
  object-fit: cover;
}

.my-card-wrapper strong {
  display: inline-block;
  width: clamp(100px, 91%, 400px);
  max-width: 100%;
  overflow-wrap: break-word;
}

.my-card-wrapper .card-2 strong {
  padding: 0.6rem;
}
.card-1,
.card-2,
.card-3 {
  flex: 0 0 33.3333%;
  max-width: 100%;
  padding: 0.1rem;                     
  margin: 0;
  box-sizing: border-box;
}
.section-title {
  margin-left: 2.1rem;
}
.text-applications {
  width: 100%;
}
.applications {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  transform: translateX(1rem);
  width: 96%;
}

.application-card1, .application-card2, .application-card3 {
  display: flex;
  flex: 0 0 30%;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-container {
  display: flex;
  flex-wrap: nowrap;           
  justify-content: space-between; 
  align-items: center;            
  gap: 2rem;                     
  width: 100%;
  box-sizing: border-box;
}
.footer-links {
  flex: 1;
  min-width: 220px;
  margin: 1rem 0 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* transform: translate3d(-5rem, 0rem, 0); */
}
.footer-social {
  transform: scale(1) translate(0.8rem, 0rem);
  width: auto;
  }
}

@media (min-width: 1400px) and (max-width: 2500px) {
    .my-card-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
  }
  .card-1,
  .card-2,
  .card-3 {
    flex: 0 0 30%;
    max-width: 32%;
    box-sizing: border-box;
    padding: 0;
    text-align: center;
  }
   .my-card-wrapper img {
    width: 100%;
    height: clamp(250px, 20vw, 360px);
    object-fit: cover;
  }
  .my-card-wrapper strong {
    display: inline-block;
    width: 100%;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.8rem;
    word-break: break-word;
  }

  .text-applications {
    margin-left: 1rem;
  }

   .footer-container {
   display: flex;
   flex-wrap: nowrap;
   justify-content: center;
   align-items: center;
   gap: 2rem;
   padding: 0; 
  } 
}

@media (min-width: 2560px) and (max-width: 3839px) {
  .my-card-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 3rem;
    padding: 2rem 4rem;
    max-width: 2200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 95%;
  }
  .card-1,
  .card-2,
  .card-3 {
    flex: 0 0 36%;
    box-sizing: border-box;
    padding: 0;
    text-align: center;
    font-size: 1.2rem;
    transform: translateX(-6rem);
  }
  .my-card-wrapper img {
    width: 100%;
    height: clamp(200px, 20vw, 300px);
    object-fit: cover;
  }
  .my-card-wrapper strong {
    font-size: 1.4rem;
    margin-top: 0.5rem;
    display: inline-block;
    width: 100%;
  }

footer {
  min-height: 0 !important;
}
  .footer-container {
   display: flex;
   flex-wrap: nowrap;
   justify-content: center;
   align-items: center;
   gap: 2rem;
   padding: 0; 
  }
   .footer-social {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; 
    justify-content: flex-start; 
    align-items: center;
    gap: 2rem; 
    margin-left: 1rem;  
  }
  div.footer-links {
    transform: translate3d(11rem, 10px, 10px);
  }
  div.footer-contact {
    transform: translate3d(5rem, 10px, 10px);
  }
}

.cky-btn-revisit-wrapper {
  display: none !important;
}