/* General Reset and Base Styles */
html, body {
    width: 100% !important;
}

/* Header Styles */
#heder {
    min-width: 0 !important;
}

.menu-link:hover{
    color: #c74382 !important;
  }

  .ml-mobile{
    color:black;
  }
/* Typography */
p,h1,h2:not(#zaMeneNaslov) {
    word-break: keep-all !important;
    overflow-wrap: normal;
}

#naslov{
    color: white;
    text-align: center;
}

#podnaslov2{
    text-align: center;
}

#podnaslov1, #podnaslov2, #zaSekcijaBrand{
    font-family: 'Great Vibes', cursive !important;
}

.rakopisno-naslov{
    font-family: 'Great Vibes', cursive !important;
    font-size: 3rem!important;
}

#zaMeneNaslov{
    word-break: keep-all;
    overflow-wrap:break-word!important;
}

.kvalifikacii{
    font-family: "Domine", serif;
    font-weight: bold;
    color:white;
}

/* Service Card Styles */
.service-card .uagb-heading-text {
    margin-bottom: 50px !important;
    text-align: center;
    color: #333333;
}

.service-card ul {
    margin-top:20px;
    font-family: 'Poppins', sans-serif;
    padding-left: 30px;
}



/* Site Title */
.site-title a {
    font-family: 'Great Vibes', cursive !important;
    font-size: 50px;
    white-space: nowrap;
}

/* Navigation Menu Links */
.menu-link {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ml-mobile{
    padding-left: 32px !important;;
    padding-right: 32px !important;;
    padding-top: 10px !important;;
    padding-bottom:  10px !important;;
}

/* Header Menu */
.main-header-menu.ast-menu-shadow.ast-nav-menu.ast-flex.submenu-with-border.stack-on-mobile {
    flex-wrap: nowrap;
}

/* Hero Section */
#realHero{
    /* background-image: url('../images/aboutHero.png'); */
    background-image: url('../images/about3.png');
    background-position: left;
}

#hero{
    max-width: 55%;
    /* padding-bottom: clamp(0px, 3vw, 300px); */
    padding-bottom: 0px;
    margin-left:30%!important;
    margin-right:6%!important;
}

.wp-block-uagb-container.uagb-block-8ecd5811 {
    padding-top: 300px;
    padding-bottom: 300px;
}

.wp-block-uagb-container.uagb-block-8ecd5811.alignfull.uagb-is-root-container::before {
    background-color: transparent !important;
}

/* Hero gradient color */
.wp-block-uagb-container.uagb-block-8ecd5811.alignfull.uagb-is-root-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(190, 58, 118, 0) 40%, rgba(190, 58, 118, 0.2) 80%); */
}

/* Hero Text */
.wp-block-uagb-info-box.uagb-block-2a03356b.uagb-infobox__content-wrap.uagb-infobox-icon-above-title.uagb-infobox-image-valign-top h1 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.wp-block-uagb-info-box.uagb-block-2a03356b.uagb-infobox__content-wrap.uagb-infobox-icon-above-title.uagb-infobox-image-valign-top p:not(.kvalifikacii) {
    /* font-family: 'Great Vibes', cursive !important; */
    font-size: 40px;
    
}

/* Second Hero Section */
.wp-block-uagb-container.uagb-block-dacaaaef.alignfull.uagb-is-root-container {
    background-image: url(../images/macaFav4.png) !important;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px !important;
}

/* Prevent Wrapping */
.nowrap {
    flex-wrap: nowrap;
}

.ast-custom-button {
    white-space: nowrap;
}



/* Service Card: Holistic Method */
.hollistic-method-card {
    background: linear-gradient(to bottom, rgba(240, 233, 207, 0.9), rgba(240, 233, 207, 0.8)) !important;
    transition: 0.3s ease-in-out;
    color: #333333;
}

.hollistic-method-card:hover {
    cursor: pointer;
}

/* Service Card: Breathing Techniques */
.atem-techniken-card {
    background: linear-gradient(to bottom, rgba(235, 148, 171, 0.9), rgba(235, 148, 171, 0.8)) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333333;
    transition: 0.3s ease-in-out;
}

.atem-techniken-card:hover {
    cursor: pointer;
}

/* Service Card: Speech Improvement */
.sprechverbesserung-card {
    background: linear-gradient(to bottom, rgba(228, 89, 59, 0.9), rgba(228, 89, 59, 0.8)) !important;
    color: #333333;
    transition: 0.3s ease-in-out;
}

.sprechverbesserung-card:hover {
    cursor: pointer;
}

/* Titles and Subtitles */
.uagb-ifb-title:not(#zaMeneNaslov):not(#sertifikatiNaslov) {
    white-space: nowrap;
}

.uagb-desc-text, .uagb-ifb-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

.entry-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    white-space: nowrap;
}

.entry-content h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
}

/* Show More Button */
.show-more-btn {
    margin-top: 20px !important;
}

/* Image Styles */

/* Maca "Za" sekcija */
.uag-image-68 {
    height: 770px !important;
    object-position: right;
    /* left: 0;
    right: auto; */
}

.glowing-text {
    color: white; /* Text color */
    text-shadow: 
    /* Horizontal offset, vertical offset, blur radius, color */
      /* 0 0 5px white, 
      0 0 10px white,
      0 0 20px white, */
      0 0 40px white;
  }

  .tilted-text {
    transform: rotate(-5deg); /* Rotate text by 5 degrees */
    display: block; /* Ensures the transform applies correctly */
  }


#ekspertizaKarti{
    grid-template-columns: minmax( 1px, 1fr)!important;
}

#zaSekcija{
    padding-top: 100px;
    justify-content: center;
    
}

#zaSekcijaTekst{
    margin-left:0;
    margin-right:0;
    max-width: 100%;
}

#macaZa{
    border-top-right-radius:30px;
    border-bottom-left-radius: 30px;
}

#zaSekcijaNaslov{
    color: black !important;
}

/* Поднаслов хиро */
#zaSekcijaPodnaslov{
    font-family: 'Great Vibes', cursive!important;
}

#zaSekcijaSlikaKontejner{
    margin-right:30px;
}


#listaZaSekcija{
    padding-left: 30px;
    font-family: 'Poppins', sans-serif;
}

#listaZaSekcija li{
    text-align: start;
}


/* Social icons */
.uagb-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .uagb-social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .uagb-social-icon.facebook { background-color: #3b5998; }
  .uagb-social-icon.instagram { background-color: #e4405f; }
  .uagb-social-icon.twitter { background-color: #1da1f2; }
  .uagb-social-icon.linkedin { background-color: #0077b5; }
  
  .uagb-social-icon:hover {
    opacity: 0.8;
  }
  
  .certificate{
    transition: all 0.3s ease-in-out;
  }
  .certificate:hover{
    cursor: pointer;
    transform: scale(1.04);
  }

  .img-cnt-bio-sect{
    margin-bottom:25px;
  }
  .img-cnt-bio-sect img{
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

/* Био секција */
.bio-section {
    overflow: hidden;
    width: 75%;
  }
  
  .bio-image {
    float: left;
    width: 450px;
    max-width: 60%;
    margin: 0 50px 50px 0;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  
  .bio-text p {
    text-align: start;
    margin-bottom: 1em;
    /* font-family: sans-serif; */
    line-height: 1.6;
  }
  
  /* Responsive behavior */
  @media (max-width: 768px) {
    .bio-image {
      float: none;
      display: block;
      max-width: 100%;
      width: 100%;
      margin: 0 auto 20px auto;
    }
  }




  /* Gallery */
  .grid {
    position: relative;
    margin-left: -5px;
    margin-right: -5px;
}

.grid-sizer,
.grid-item {
    width: 33.3333%; /* 3 columns */
}

@media (max-width: 768px) {
    .grid-sizer,
    .grid-item {
        width: 50%; /* 2 columns on tablet */
    }
}

@media (max-width: 480px) {
    .grid-sizer,
    .grid-item {
        width: 100%; /* 1 column on mobile */
    }
}

.grid-item {
    margin-bottom: 10px;
    padding: 5px;
    box-sizing: border-box;
}

.grid-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.grid-item,
.grid-item a {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}
  /*  */



.naslov-na-sekcija{
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}


  
  
/*  */

/* Responsive Design */
@media (min-width:1600px){
    #naslov {
        font-size: 76px !important;
        
    }

    #podnaslov1, #podnaslov2, #zaSekcijaBrand {
        font-size: 60px !important;
    }
    #kvalifikacii{
        font-size:30px;
    }
    #zaSekcijaPodnaslov{
        font-size:35px;
    }
}

@media (min-width:1360px) and (max-width:1599px){
    #naslov {
        font-size: 68px !important;
    }
    #podnaslov1, #podnaslov2, #zaSekcijaBrand {
        font-size: 52px !important;
    }
    #kvalifikacii{
        font-size:25px;
    }

    #zaSekcijaPodnaslov{
        font-size:32px;
    }
}

@media (min-width:992px) and (max-width:1359px){
    #naslov {
        font-size: 60px !important;
    }
    #podnaslov1, #podnaslov2, #zaSekcijaBrand {
        font-size: 44px !important;
    }
    #kvalifikacii{
        font-size:23px;
    }
    #zaSekcijaPodnaslov{
        font-size:30px;
    }
}


/* Large Screens (Desktops, 1200px and above) */
@media (min-width: 1200px) {
    
    
    body {
        font-size: 18px ; /* Base font size for large screens */
    }


    h1:not(#naslov):not(#podnaslov1):not(#podnaslov2):not(#kvalifikacii) {
        font-size: 48px !important;
    }

    h2:not(#naslov):not(#podnaslov1):not(#podnaslov2):not(#kvalifikacii):not(.rakopisno-naslov) {
        font-size: 36px !important;
    }

    h3:not(#naslov):not(#podnaslov1):not(#podnaslov2):not(#kvalifikacii) {
        font-size: 28px !important;
    }

    p:not(#naslov):not(#podnaslov1):not(#podnaslov2):not(#kvalifikacii):not(#zaSekcijaPodnaslov):not(#zaSekcijaBrand) {
        font-size: 21px !important;
    }

    .uagb-desc-text{
        font-size: 21px !important;
    }

    .uagb-ifb-desc:not(#podnaslov1):not(#podnaslov2){
        font-size: 21px !important;
    }

    .entry-content h3 {
        font-size: 28px !important;
    }

    .entry-content h6 {
        font-size: 20px !important;
    }
}

/* Average Laptops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 16px !important; /* Base font size for laptops */
    }

    

    /* #hero p {
        font-size: 32px !important;
    } */

    h1:not(#naslov) {
        font-size: 40px !important;
    }

    h2:not(.rakopisno-naslov) {
        font-size: 32px !important;
    }

    h3 {
        font-size: 24px !important;
    }

    p:not(#podnaslov1):not(#podnaslov2):not(#zaSekcijaPodnaslov):not(#zaSekcijaBrand) {
        font-size: 19px !important;
    }

    .uagb-desc-text{
        font-size: 19px !important;
    }

    .uagb-ifb-desc:not(#podnaslov1):not(#podnaslov2){
        font-size: 19px !important;
    }

    .entry-content h3 {
        font-size: 24px !important;
    }

    .entry-content h6 {
        font-size: 18px !important;
    }
}

/* Average Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        font-size: 14px !important; /* Base font size for tablets */
    }

    #naslov {
        font-size: 48px !important;
    }

    #podnaslov1, #podnaslov2, #zaSekcijaBrand {
        font-size: 36px !important;
    }

    .kvalifikacii{
        font-size:21px;
    }

    #zaSekcijaPodnaslov{
        font-size: 28px;;
    }

    h1:not(#naslov) {
        font-size: 32px !important;
    }

    h2:not(.rakopisno-naslov) {
        font-size: 28px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    p:not(#podnaslov1):not(#podnaslov2):not(#zaSekcijaPodnaslov):not(#zaSekcijaBrand) {
        font-size: 17px !important;
    }

    .uagb-desc-text {
        font-size: 17px !important;
    }

    .uagb-ifb-desc:not(#podnaslov1):not(#podnaslov2){
        font-size: 17px !important;
    }

    .entry-content h3 {
        font-size: 20px !important;
    }

    .entry-content h6 {
        font-size: 16px !important;
    }
}

/* Mobile Phones (up to 767px) */
@media (max-width: 767px) {
    body {
        font-size: 12px !important; /* Base font size for mobile phones */
    }

    #naslov {
        font-size: 36px !important;
    }

    #podnaslov1, #podnaslov2, #zaSekcijaBrand {
        font-size: 28px !important;
    }

    .kvalifikacii{
        font-size:19px;
    }

    #zaSekcijaPodnaslov{
        font-size: 26px;;
    }
    h1:not(#naslov) {
        font-size: 28px !important;
    }

    h2:not(.rakopisno-naslov) {
        font-size: 24px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    p:not(#podnaslov1):not(#podnaslov2):not(#zaSekcijaPodnaslov):not(#zaSekcijaBrand) {
        font-size: 15px !important;
    }

    .uagb-desc-text {
        font-size: 15px !important;
    }

    .uagb-ifb-desc:not(#podnaslov1):not(#podnaslov2){
        font-size: 15px !important;
    }
    .entry-content h3 {
        font-size: 16px !important;
    }

    .entry-content h6 {
        font-size: 14px !important;
    }
}

/* Additional Responsive Adjustments */
@media (max-width: 499px) {
    #naslov {
        font-size: 13px;
    }

    #podnaslov, #podnaslov2{
        font-size: 20px;
    }

    #kvalifikacii{
        font-size: 18px;
    }

    #zaSekcijaPodnaslov{
        font-size: 24px;;
    }
    .site-title a {
        font-size: 10vw;
    }
}

@media (max-width: 649px) {
    .uagb-ifb-title {
        white-space: wrap;
    }
}



@media (max-width:679px){
    .uag-image-68 {
        object-position: center;

    }
}

@media (max-width:520px){
    .uag-image-68 {
        width: 100% !important;
        height: auto !important;
    }
}

@media(max-width:500px){
    .entry-content h3, h2{
        white-space: wrap!important;
        word-break: keep-all;
    }

    #zaSekcijaTekst{
        max-width: 100%;
    }
}



@media (max-width: 1145px) {
    /* Hide the desktop menu when under new breakpoint */
    #ast-desktop-header {
      display: none;
    }

  
    /* Show the mobile menu toggle if needed (just in case) */
    #ast-mobile-header {
      display: flex;
    }
  }
  
  @media(max-width:899px){
    #realHero{
        background-image: url('../images/about3.png');
        background-position: left;
    }
}

@media (min-width:1200px){
    #hero{
        max-width: 100%;
    }
}

@media (max-width:550px){
    #hero{

        margin-left:5%!important;
        margin-right:5%!important;
        max-width: 100%;
    }
    #realHero{
        display: flex;
        justify-content: center;

    }
}

@media (max-width:699px){
    .bio-section{
        width:100%;
    }
}