@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

:root{
    --white: #fff;
    --red: rgb(255, 0, 0);
    --black: #14171d;
    --grey: #2e2e2e;
    --yellow: #f1c40f;
    --border: rgba(0, 0, 0, 0.07);
    --blue: #1b2945;
    --anno:#878b9757;
    --yellow2:#b3a56e82;
    --grey2: #dbd5cd;
    --grey3: #F3F4F6 ;
    --green:#2e6e71;
    --color-details:var(--yellow);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-family: "Roboto Slab", serif;
    line-height: 1.5;
}
html{overflow-x: hidden;}

a{
    color: inherit;
    text-decoration: none;
}

ul{
    list-style: none;
}

.flex{
    display: flex;
    align-items: center;
}

.gap_x{ 
    gap: 16px; 
    flex-wrap: wrap;
}

.text-center{ text-align: center; }

.mr-m{ margin-right: 8px; }

.mb-m{ margin-bottom: 8px; }

.mb-l{ margin-bottom: 16px; }

.mb-xl{ margin-bottom: 32px; }

.mb-xxl{ margin-bottom: 48px; }

.mt-m{ margin-top: 8px; }

.mt-l{ margin-top: 16px; }

.mt-xl{ margin-top: 32px; }

.mt-xxl{ margin-top: 48px; }

.pb-xl{ padding-bottom: 32px; }

.py_m{ padding: 12px 0; }

.u-p1{ font-size: 24px; }

.u-p2{ font-size: 16px;}

.u-p3{ font-size: 14px; }

.u-p4{ font-size: 13px; }

.u-p5{ font-size: 11px; }

.u-h1{ font-size: 32px; }

.container{
    max-width: 1440px;
    margin: auto;
}

.hide{display: none !important;}

.link_list a,
.footer_links a{position: relative;}

.link_list a:hover,
.footer_links a:hover{
    transition: 0.3s all ease-in-out;
    color: var(--yellow);
}

.link_list a:hover::before,
.footer_links a:hover::before{opacity: 1;}

.link_list a::before,
.footer_links a::before{
    content: "";
    position: absolute;
    left: -14px;
    top: calc(50% - 1px);
    height: 2px;
    width: 10px;
    background: var(--yellow);
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.active{
    position: relative;
    color: var(--yellow);
}

.active::before{
    content: "";
    position: absolute;
    left: -14px;
    top: calc(50% - 1px);
    height: 2px;
    width: 10px;
    background: var(--yellow);
    opacity: 1 !important;
    transition: all 0.3s ease 0s;
}

.yellow_text{ color: var(--yellow); }

.left{ width: 100%; }

top-bar{ 
    display: block;
    background: var(--yellow);
 }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.top-bar .left ul li{
    padding: 0 16px;
}

.top-bar .right ul li{
    padding: 0 8px;
}

.top-bar ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img{
    width: 100%;
    max-width: 144px;
}

.link_list{
    display: flex;
}

.link_list li{
    padding: 0 16px;
}

nav{
    -webkit-box-shadow: 0px 6px 1px -6px rgba(102,102,102,1);
    -moz-box-shadow: 0px 6px 1px -6px rgba(102,102,102,1);
    box-shadow: 0px 6px 1px -6px rgba(102,102,102,1);
}

nav, 
.header {
    position: sticky;
    top: 0;
    z-index: 11;
    background: var(--white);
}

.header{
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.right_border{
    border-right: 1px solid var(--border);
}


.contact_btn{
    border: 2px solid var(--yellow);
    color: var(--black);
    background: var(--yellow);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 50px;
    transition: 0.2s all ease-in ;
    cursor: pointer;
    text-align: center;
    /* width: fit-content; */
}

.contact_btn:hover{
    background: transparent;
    color: var(--yellow);
}

.contact_btn:hover svg path{ 
    fill: var(--yellow);
    transition: 0.2s all ease-in ;
}

.contact_btn_1{
    border: 2px solid var(--yellow);
    color: var(--black);
    background: transparent;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 50px;
    transition: 0.2s all ease-in ;
    cursor: pointer;
    width: 100%;
}

.contact_btn_1 a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.margin_auto{ margin: 0 auto; }

.website a:hover{
    text-decoration: underline;
}

.aboutTeacher{
    display: flex;
    align-items: center;
}

.contactRow select {
    width: 100%; /* Prilagodite širinu */
    padding: 10px; /* Unutrašnje margine */
    font-size: 16px;
    border: 2px solid #ddd; /* Okvir */
    border-radius: 50px!important; /* Zaobljeni uglovi */
    background-color: #f9f9f9; /* Boja pozadine */
    color: #333; /* Boja teksta */
    appearance: none; /* Sklanja standardne strelice na nekim pregledačima */
    -webkit-appearance: none;
    -moz-appearance: none;
}


.contactRow select:focus {
    outline: none; /* Uklanja standardni okvir pri fokusu */
    border-radius: 30px;
}

.contactRow select option {
    background-color: #ffffff; /* Boja pozadine svake opcije */
    color: #333; /* Boja teksta svake opcije */
    padding: 10px; /* Dodaje margine opcijama */
    border-radius: 50px;
}
.contactRow select {
    appearance: none;
    -webkit-appearance: none; /* Uklanja standardnu strelicu u Webkit pregledačima */
    -moz-appearance: none;
}

.featured_card--date{
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--anno);
    color: var(--black);
    z-index: 9;
    padding: 2px 6px;
    border-radius: 0 0.25em 0 0 ;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .not_mobile{ display: none; }
}

@media screen and (max-width: 1024px) {
    .top-bar svg{
        width: 16px;
    }

    top-bar .flex { justify-content: space-around; }

    .link_list[aria-hidden="true"]{
        transform: translateX(100%);
    }

    .link_list{
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100%;
        padding: 5rem 1rem;
        background: var(--white);
        transition: all 0.3s ease-in-out;
        z-index: 3;
        display: flex;
        flex-direction: column;
    }

    .link_list li{ 
        padding: 8px 0; 
        border-bottom: 1px solid var(--grey);
    }

    .link_list a{
        display: block;
        width: 100%;
    }

    .link_list a:hover{
        color: var(--yellow);
    }

    .close_menu{
        position: absolute;
        right: 1rem;
        top: 2rem;
        border-bottom: none !important;
    }

    .footer_links li:not(:last-of-type)
    {  border-bottom: 1px solid var(--grey);
     }

    .borderTop li:not(:last-of-type)
    { border-top: 1px solid var(--grey)}

    .footer_links a:not(.contact_btn){
        width: 100%;
        display: block;
    }
    .socialMedia{
        margin: 12px auto;
    }
    .socialMedia li {
        border-bottom: 0px !important;
        margin:4px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .not_tablet{
        display: none;
    }
}

.banner{
    background-image: url(../images/banner.jpg);
    min-height: 400px;
    height: 40vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.banner::after{
    content: '';
    background: var(--black);
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner_text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 8px;
}

.featuredSection{
    padding: 32px 8px;
}

.featured_text{
    text-align: center;
}

.border_up{
    width: 2px;
    height: 32px;
    background: var(--yellow);
    margin: auto auto 16px auto;
}

.featured_grid{
    display: grid;
    overflow: scroll;
    scroll-snap-type: x mandatory;
    display: grid;
    grid-gap: 16px;
}

.featured_card {
    width: 100%;
    height: auto;
    margin-right: 16px;
    border: 2px solid var(--border);
    border-radius: 0.25em;
    transition: 0.3s all ease-in;
    background: var(--white);
}

.featured_image{ 
    width: 100%;
    aspect-ratio: 2;
    object-fit: contain;
    position: relative;
}

.featured_cardtext{  
    text-align: left;
    color: var(--grey);
    min-height: 88px;
}

.rounded__image {
    background: var(--white);
    border-radius: 50%;
}

.rounded__image img{
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.featured_cours{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured_card-wrap{
    padding: 8px 16px;
}

.table{
    border-top: 1px solid var(--border);
    width: 100%;
    margin-top: 16px;
    padding: 16px 8px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.tabel_row{
    width: 50%;
}

.tabel_row:not(:first-of-type){
    padding-left: 8px;
}

.featured_card:hover {
    box-shadow: 0 -6px 24px rgba(10, 10, 10, 0.09);
}

.featured_title{font-weight: 500;}

.featured_card:hover .featured_title {
    color: var(--yellow);
    transition: 0.3s all ease-in-out;
}

.featured-img{ position: relative; }

.featured-img::after{
    position: absolute;
    content: "";
    background-color: var(--yellow2);
    opacity: 0.8;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all .4s ease 0s;
}

.read-more-button {
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 4;
    visibility: hidden;
    opacity: 0;
}

.read-more-button a {
    background: var(--black);
    color: var(--white);
    display: inline-block;
    padding: 12px 32px;
    text-transform: capitalize;
    margin: 0 10px;
    position: relative;
    z-index: 5;
    font-weight: 600;
    position: related;
    transition: all .4s ease 0s;
    border-radius: 50px;
}

.show-more-button {
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 4;
}

.show-more-button a {
    background: var(--black);
    color: var(--white);
    display: inline-block;
    padding: 12px 32px;
    text-transform: capitalize;
    margin: 0 10px;
    position: relative;
    z-index: 5;
    font-weight: 600;
    position: related;
    transition: all .4s ease 0s;
    border-radius: 50px;
}


.mainSection{
    padding: 48px 16px;
}

.smallSection{
    padding: 32px 16px;
}

.secondarySection{ 
    background: var(--black);
    color: var(--white);
}

.greySection{
    background: var(--grey3);
}

.footer{
    padding: 32px 16px;
}

.footer .right  .flex{ justify-content: flex-end; }

.footer_links li{ padding: 8px 0; }

.contactRow input,
.contactRow select{
    width: 100%;
    padding: 12px 24px;
    margin: 4px 0 8px 0;
    border: 2px solid var(--yellow);
    border-radius: 50px;
}

*:focus {
    outline: none; 
}

.contactRow select{
    background: var(--yellow);
}

.mainSection .blackSection{
    padding: 16px;
}

.contactRow textarea{
    width: 100%;
    padding: 12px 24px;
    margin: 4px 0 8px 0;
    border: 2px solid var(--yellow);
    border-radius: 14px;
}

.yellowSection{
    background: var(--yellow);
}
.mainSection .blackSection{
    padding: 16px;
}

.blackSection{
    background: var(--green);
    color: var(--white);
    text-align: center;
    align-items: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.secondary_btn{
    padding: 12px 24px;
    background: var(--black);
    border: 1px solid var(--black);
    color: var(--white);
    border-radius: 50px;
    width: fit-content;
    transition: 0.3s all ease-in-out;
}

.secondary_btn:hover{
    background: transparent;
    color: var(--black);
}

.full_width{ width: 100%; }

.coursCards{ 
    margin-top: -48px;
    padding: 0 16px 32px 16px;
}

.coursCard{ 
    /*padding: 24px 16px;*/
    /*box-shadow: 0 -6px 24px rgba(10, 10, 10, 0.09);*/
}

.coursCard:first-child,
.coursCard:last-child,
.coursCard:nth-child(2){
    background: var(--grey3);
}

.coursCard:first-child svg path,
.coursCard:first-child ellipse,
.coursCard:last-child svg path{
    fill: var(--yellow) !important;
}

/* .coursCard:nth-child(2){
    background: var(--yellow);
} */

/* .imageText{ background: var(--yellow);} */

.sectionText{ padding: 32px; 
    text-align: center;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 98% !important;
    background-position-y: 50% !important;
}

.textSection{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/yellow_circle.avif);
}

.qouteText{
    position: relative;
    font-family: "Caveat", cursive;
    max-width: 1200px;
    margin: auto;
    font-size: 48px;
}

.textElement{
    position: relative;
    font-family: "Caveat", cursive;
}

.green{
    color: #2e6e71;
    font-family: "Caveat", cursive;
}

/*.textElement::before{
    content: url("../images/zvedza2.svg");
    position: absolute;
    top: auto;
    left: -7rem;
    bottom: -1rem;
    right: auto;
}*/

.textElement::after{
    content: url("../images/zvezde.svg");
    position: absolute;
    top: auto;
    left: 100%;
    bottom: 0;
    right: auto;
}

.cours_column{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cours_column:not(:last-child){
    border-right: 1px solid var(--anno);
    padding-right: 12px;
}

.border_bottom{
    border-bottom: 1px solid var(--anno);
}

summary::marker{color: var(--yellow);}

.float-right{ float: right; }

.coursTable{
    border: 1px solid var(--anno);
    padding: 0 16px 16px 16px;
}

.stickySection{
    padding: 16px 16px 32px 16px;
    border: 1px solid var(--anno);
    margin: 16px;
    margin-bottom: 0px;
}



#text {
    /*display: -webkit-box; - ovo odkomentarisi*/
    -webkit-line-clamp: 4; /* Ograniči tekst na 4 linije */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Dodaje '...' na kraju */
   /* transition: max-height 0.3s ease;*/
    /*max-height: 8em; /* Prilagoditi visinu da odgovara 4 linije */
    word-break: break-word; /* Pomaže kod sečenja reči */
    /*hyphens: auto; Omogućava korektno deljenje reči */
}

#text.expanded {
    -webkit-line-clamp: unset; /* Ukloni ograničenje za broj linija */
    max-height: none; /* Dozvoli da se prikaze ceo tekst */
}
*/




.showMore{
    border: none;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

@media screen and (min-width: 769px) {   
    .qouteText{ font-size: 100px; }

    

    

    .coursTeacher{
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-top: 32px;
    }

    .coursTeacher .teacher img{ 
        width: 80px; 
        height: 80px;
    }

    .mainSection{ padding: 64px 16px; }

    .top-bar{ padding: 16px 32px; }

    .header{ 
        padding: 16px 32px; 
    }

    .logo img{ max-width: 220px; }

    .tabel_row:not(:first-of-type){
        padding-left: 24px;
    }

    .featured_card:hover .featured-img::after{
        width: 100%;
    }

    .featured_card:hover .read-more-button{
        visibility: visible;
        opacity: 1;
    }

    .featured_grid{ 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 34px;
        overflow: unset;
    }

    .featured_card{ 
        margin-right: 0;
        height: auto;
    }

    .section-text{
        max-width: 640px;
        margin: auto;
        position: relative;
    }

    .section-text::after{
        content: '';
        border: 5px solid var(--yellow);
        width: 120%;
        height: 130%;
        position: absolute;
        top: -20%;
        left: -10%;
        z-index: 0;
    }

    .section-text p{
        position: relative;
        z-index: 1;
    }

    .footer{  padding: 64px 32px; }

    .rights{ 
        border-top: 1px solid var(--yellow2); 
        padding-top: 32px;
    }

    .contactForm{
        max-width: 640px;
        margin: auto;
    }

    .yellowSection{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .mainSection .blackSection{
        padding: 16x;}

    .half_width{
        max-width: 50%;
        margin-bottom: 0;
    }

    .marginBottom{ margin-bottom: 124px; }
}

#myBtnContainer{
    overflow: hidden;
    padding-bottom: 32px;
  }
  
  .filterDiv {
    display: none!important; /* Hidden by default */
  }
  
  /* The "show" class is added to the filtered elements */
  .show {
    display: block!important;
  }
  
  /* Style the buttons */
  .btnf {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #f1f1f1;
    cursor: pointer;
    margin-top: 8px;
  }
  
  /* Add a light grey background on mouse-over */
  .btnf:hover {
    background-color: #ddd;
  }
  
  /* Add a dark background to the active button */
  .btnf.activef {
    background-color: #666;
    color: white;
  }


  .swiper-slide {
    height: auto!important;
  }


  .swiper-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
  }
 

.swiper-pagination{
    position: relative!important;
    top: 24px !important;
    height: 48px;
    color: #000000!important;
}

img{
    display: block;
}


.swiper-wrapper{
    position: relative !important;
    
}

.infoSection ul{
    list-style: disc;
    padding-left: 20px;
}

@media screen and (min-width: 480px) and (max-width: 1025px) {
    .courseFlex {
        display: flex;
        flex-direction: row-reverse;
    }

    .w__60{ width: 60%; }
    .w__40{ width: 40%; }
}

@media screen and (min-width: 1025px) {
    .u-p2{ font-size: 18px; }

    .u-p3{ font-size: 16px; }

    .u-h1{ font-size: 48px; }
    
    .not_desktop{ display: none; }

    .featuredSection{ padding: 64px;}

    .contact__grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .buttons__flex{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .buttons__flex .contact_btn_1{
        margin-bottom: 0;
    }

    .stickySection{
        padding: 16px 16px 32px 16px;
        border: 1px solid var(--anno);
        margin-bottom: 64px;
    }

    .coursCards{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 64px 64px 64px;
    }

    .coursCard{ 
        padding: 48px 32px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .blackSection{
        display: flex;
        justify-content: space-between; 
        text-align: left;
        align-items: center;
        margin: auto;
        display: flex;
        flex-direction: row;
        padding: 16px 32px;      
    }

    .blackSection p{
        max-width: 50%;
        margin-bottom: 0;
    }

    .footer_desk{
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .imageText{
        display: grid;
        grid-template-columns: 55% 45%;
    }

    .sectionImage{
        grid-column: 2 / 2;
        grid-row: 1 / -1;
        width: 100%;
        height: 110%;
        margin: -1.5rem 0;
    }

    .sectionImage img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .sectionText{
        grid-column: 1 / 2;
        grid-row: 1 / -1;
        width: 100%;
        margin: 0;
        padding: 32px;
        align-content: center;
        text-align: left;
    }

    .max-container{
        max-width: 65%;
        margin-left: 0;
    }

    .courseSection{
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .stickySection{
        max-width: 25%;
        margin-top: -15%;
        position: sticky;
        top: 120px;
        background: var(--white);
        align-self: flex-start;
        height: auto;
    }

}

.cours__row{
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.stickyButton{
    position: sticky;
    bottom: 0px;
    height: auto;
    border-radius: 0;
    z-index: 11;
    border: 2px solid var(--green);
    color: var(--white);
    background: var(--green);
}

.stickyButton:hover{
    border: 2px solid var(--green);
    color: var(--white);
    background: var(--green);
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
    .featuredSection .featured_title_stars .u-p2{
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) {
    .contact__grid{
        grid-template-columns: 2fr 1.2fr;
    }
}


.center {
    justify-content: center;
}

.form-message .alert-success{ 
    color: var(--white);
    padding: 8px;
    background: var(--green);
    text-align: center;
}

.form-message .alert-danger{
    color: var(--white);
    padding: 8px;
    background: var(--red);
    text-align: center;
 }