* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background-color: #12121c;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.navbar {
    background: #1a1a2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: fixed; /* fiksira navbar na vrhu */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.logo {
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    margin-left: 30px;
}
.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 30px;
}
.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}
.nav-links a:hover {
    color: #00bcd4;
}
main {
    flex: 1;
    padding-top: 80px; 
}
.hero {
    height: 845px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url("images/hero.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    animation: fadeIn 2s ease-in-out;
}
.hero p {
    margin-top: 15px;
    font-size: 20px;
    color: #ccc;
}
.info-section {
  position: relative;
  background: url("images/popularni.jpg") center/cover no-repeat;
  padding: 40px 30px;
  color: white;
}
.info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.info-section > * {
  position: relative;
  z-index: 1;
}
.section {
  margin-bottom: 80px;
  text-align: center;
}
.container {
  max-width: 1200px;
  margin: auto;
}
.benefits-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}
.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 25px;
  width: 260px;
  border-radius: 16px;
  transition: 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-8px);
}
.benefit-card span {
  font-size: 40px;
}
.testimonials-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 50px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 25px;
  width: 280px;
  border-radius: 16px;
  font-style: italic;
  transition: 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
}
.testimonial-card h4 {
  margin-top: 15px;
  font-style: normal;
  font-weight: bold;
}
footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding: 40px 20px 20px;
    text-align: center;
}
.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
}
.footer-links a:hover {
    color: #00bcd4;
}
.footer-social {
    margin-bottom: 10px;
}
.footer-social a {
    color: #ccc;
    text-decoration: none;
}
.footer-social a:hover {
    color: #00bcd4;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.courses-section2 {
    padding: 25px 40px 80px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url("images/kursevi.jpg") center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}
.courses-section2 h1 {
    font-size: 44px;
    margin-bottom: 25px;
    color: #ffffff;
    animation: fadeIn 2s ease-in-out;
}
.courses-section2 p {
    margin-bottom: 50px;
    font-size: 22px;
    color: #ccc;
}
.courses-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.course-card2 {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;

    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.course-card2:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}
.course-card2 img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.course-card2 h3 {
    margin-bottom: 10px;
    color: #ffffff;
}
.course-card2 p {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 15px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00bcd4;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}
.btn:hover {
    background-color: #0097a7;
}
.courses-section3 {
    padding: 93px 40px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url("images/detalji.jpg") center/cover no-repeat;
    background-attachment: fixed;
}
.courses-section3 h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 36px;
}
.courses-section3 p {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 22px;
}
.courses-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 992px) {
    .courses-details-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}
@media (max-width: 600px) {
    .courses-details-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}
.course-detail-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;

    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.course-detail-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}
.course-detail-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
}
.course-detail-card p {
    color: #e0e0e0;
    font-size: 15px;
    margin-bottom: 12px;
}
.course-detail-card .price {
    font-weight: bold;
    color: #ffcc00;
    font-size: 18px;
}
.prijava {
    padding: 65px 20px 29px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url("images/prijava.jpg") center/cover no-repeat;
    background-attachment: fixed;
}
.prijava h1 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 30px;
}
form {
    max-width: 520px;
    margin: 0 auto;
    padding: 40px;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
form label {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}
form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    transition: 0.3s ease;
    display: block;          /* osigurava da select i inputi budu u ravni */
    box-sizing: border-box;  /* padding se uračunava u širinu */
}
form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border: 1px solid #00bcd4;
    box-shadow: 0 0 10px #00bcd4;
}
form select option {
    background: rgba(26,26,46,0.95);
    color: white;
    padding: 10px;
}
.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
form input[type="radio"] {
    width: auto;
    margin-right: 5px;
}
form button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}
form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,188,212,0.6);
}
.error {
    color: #ff4d4d;
    font-size: 13px;
}
#form-msg {
    margin-top: 20px;
    color: #4caf50;
    font-weight: bold;
    text-align: center;
}
#kurs {
    margin-left: 0px;
}
.autor {
    display: flex;
    justify-content: center;   
    align-items: center;       
    height: 786px;         
    background-image: url('images/autor.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}
.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(31, 32, 73, 0.15);   
    backdrop-filter: blur(30px);             
    -webkit-backdrop-filter: blur(10px);     
    border-radius: 16px;                     
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    margin-top: 10px;
    max-width: 800px;
    gap: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.profile img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.6);
}
.profile-info h1 {
    margin-bottom: 30px;
}
.profile-info p {
    margin-bottom: 15px;
}
@media(max-width: 600px) {
    .profile {
        flex-direction: column;
        align-items: center;
    }

    .profile img {
        width: 150px;
        height: 150px;
    }

    .profile-info h1 {
        text-align: center;
    }
}
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

}