/* Custom Styles for Course Platform */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
	--primary-gradient: linear-gradient(135deg, #b4d917 0%, #579840 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

            /* Navbar */
            .navbar {
                background: white;
                box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            }
            
            .navbar-brand {
                font-weight: 700;
                background: var(--primary-gradient);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }
            
            .nav-link {
                font-weight: 500;
                color: #4a5568;
                transition: color 0.3s ease;
            }
            
            .nav-link:hover {
                color: #b4d917;
            }
            
            /* Buttons */
            .btn {
                border-radius: 8px;
                padding: 0.5rem 1.5rem;
                font-weight: 500;
                transition: all 0.3s ease;
            }
            
            .btn-primary {
                background: var(--primary-gradient);
                border: none;
            }
            
            .btn-primary:hover {
                opacity: 0.9;
                box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
            }
            
            /* Cards */
            .card {
                border: none;
                border-radius: 12px;
                transition: all 0.3s ease;
            }
            
            /* Footer */
            footer {
                background: #2d3748;
                color: white;
                margin-top: 5rem;
            }
            
            footer a {
                color: #cbd5e0;
                text-decoration: none;
                transition: color 0.3s ease;
            }
            
            footer a:hover {
                color: white;
            }
            
            /* Flash Messages */
            .alert {
                border-radius: 10px;
                border: none;
            }
			

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Sticky elements */
.sticky-top {
    position: sticky;
}

/* Course content styling */
.course-description img,
.section-description img,
.subsection-description img {
    max-width: 100%;
    height: auto;
}

.course-description iframe,
.section-description iframe,
.subsection-description iframe {
    max-width: 100%;
}

/* Video embeds */
.course-description .ql-video,
.section-description .ql-video,
.subsection-description .ql-video {
    width: 100%;
    height: 400px;
}

/* Responsive video embeds */
@media (max-width: 768px) {
    .course-description .ql-video,
    .section-description .ql-video,
    .subsection-description .ql-video {
        height: 250px;
    }
}

/* Lists */
.course-description ul,
.course-description ol,
.section-description ul,
.section-description ol,
.subsection-description ul,
.subsection-description ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Admin sidebar improvements */
@media (max-width: 767.98px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-group-sm .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Hover effects */
.hover-shadow {
    transition: box-shadow 0.3s ease-in-out;
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Badge styling */
.badge {
    font-weight: 500;
}

/* Alert improvements */
.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}

.alert-warning {
    border-left-color: var(--warning-color);
}

.alert-info {
    border-left-color: var(--info-color);
}

/* Form improvements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table improvements */
.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Loading state */
.btn.loading {
    pointer-events: none;
    opacity: 0.65;
}

/* Quill editor overrides */
.ql-editor {
    min-height: 200px;
}

.ql-toolbar {
    background-color: #f8f9fa;
    border-radius: 0.25rem 0.25rem 0 0;
}

.ql-container {
    border-radius: 0 0 0.25rem 0.25rem;
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none;
    }
}

.bg-gradient-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-card {
	border: none;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

.category-card:hover {
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.category-icon {
	font-size: 2.5rem;
	color: #667eea;
}

.course-card {
	border: none;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

.course-card:hover {
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.newsletter-card {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	border: 2px solid rgba(102, 126, 234, 0.2);
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.newsletter-icon {
	font-size: 3rem;
	color: #667eea;
}

/*Blog / vsebina*/
            .blog-content {
                font-size: 1.1rem;
                line-height: 1.8;
            }
            
            .blog-content img {
                max-width: 100%;
                height: auto;
                border-radius: 10px;
                margin: 2rem 0;
            }
            
            .blog-content h2 {
                margin-top: 2rem;
                margin-bottom: 1rem;
                font-weight: 600;
            }
            
            .blog-content h3 {
                margin-top: 1.5rem;
                margin-bottom: 0.75rem;
                font-weight: 600;
            }
            
            .blog-content p {
                margin-bottom: 1.5rem;
            }
            
            .blog-content ul, .blog-content ol {
                margin-bottom: 1.5rem;
                padding-left: 2rem;
            }
            
            .blog-content blockquote {
                border-left: 4px solid #667eea;
                padding-left: 1.5rem;
                margin: 2rem 0;
                font-style: italic;
                color: #6c757d;
            }
			

/*courses*/
            .course-hero-img {
                box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            }
            
            .info-card, .curriculum-card {
                border: none;
                box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            }
            
            .purchase-card {
                border: none;
                box-shadow: 0 5px 30px rgba(102, 126, 234, 0.15);
            }
            
            .original-price-strikethrough {
                text-decoration: line-through;
                color: #6c757d;
                font-size: 1.2rem;
            }
            
            .final-price {
                font-size: 2.5rem;
                font-weight: bold;
                color: #667eea;
            }
            
            .discount-badge {
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                color: white;
                padding: 0.25rem 0.75rem;
                border-radius: 20px;
                display: inline-block;
                font-size: 0.85rem;
            }


/*iz vigor.si*/
/********** Template CSS **********/
:root {
    --primary: #7EBC12;
    --secondary: #FF0F10;
    --light: #F2F2F2;
    --dark: #1D2833;
	--vigorzelena: #ceff00;
}

.text-vigorzelena{border-bottom: 2px #ceff00 solid;}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.video-block {
  position: relative;
}

.video-block .video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-btn {
  transition: all 0.3s;
  position: relative;
  z-index: 99;
}

.video-btn-light .video-btn-icon {
  background: #f8f9fa;
}

.video-btn:hover .video-btn-icon, .video-btn:focus .video-btn-icon {
  background: #b0d903;
  color: #fff;
}

.video-btn i {
  transform: translateX(2px);
}

.video-btn:hover, .video-btn:focus {
  text-decoration: none;
  color: #ceff00;
}

.video-btn-icon {
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid #ceff00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.85rem;
  margin: 8px;
  background: #fff;
  transition: all 0.3s;
}

.video-btn-icon::before, .video-btn-icon::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(176, 217, 3, 0.8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-animation: ripple-1 2s infinite ease-in-out;
  animation: ripple-1 2s infinite ease-in-out;
  z-index: -1;
}

.video-btn-icon::after {
  width: 100%;
  height: 100%;
  border-color: rgba(176, 217, 3, 0.6);
  -webkit-animation: ripple-2 2s infinite ease-in-out;
  animation: ripple-2 2s infinite ease-in-out;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

@-webkit-keyframes ripple-1 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@keyframes ripple-1 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@-webkit-keyframes ripple-2 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes ripple-2 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}


/*** Heading ***/
h1, h2, h3 {font-family: 'Oswald', Sans-serif;}

h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-family: 'Oswald', Sans-serif;
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 8px;
}

/**/
.prozorno {background:none !important;}

.navbar-dark .navbar-nav .nav-link {
    text-transform: uppercase;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--vigorzelena) !important;
}

.navbar-dark .dropdown-menu .nav-link.active {
	color: var(--dark) !important;
	background: var(--light) !important;
}

.navbar-dark .dropdown-menu .nav-link {
    color: var(--dark) !important;
	text-transform: inherit;
}
.navbar-dark .dropdown-menu .nav-link:hover {
	color: var(--dark) !important;
	background: var(--light) !important;
}
@media (max-width: 991.98px) {
    .navbar-dark {
        background: var(--dark) !important;
    }
    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
		padding: 0px 20px;
		background: var(--dark) !important;
		color: #FFFFFF !important;
    }
	.navbar-dark .dropdown-menu a {
		padding: 0.5rem 1rem;
	}
}
.carousel-indicators [data-bs-target]{
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.video-box {
  position: relative;
}
.video-box a span i {
  font-size: 6rem;
  color: #ffffff;
}
.border-animation {
  position: absolute;
  top: 20%;
  left: 0;
  width: 6rem;
  height: 6rem;
  border: 0.55rem solid #fff;
  border-radius: 50%;
  animation: pulse-border 1.5s linear infinite;
}
.border-animation--border-1 {
  animation-delay: 1s;
}
.border-animation--border-2 {
  animation-delay: 1.5s;
}
@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-hero.png),
		url(../img/index-bg.png);
    background-position:
        0px 40%,
        right 0 top 0,
        left 50% top 0,
        left 50% top 50%,
        center bottom -1px,
		0px 0px;
    background-repeat: no-repeat;
}

.ozadje-sivo {
	background: url(../img/ozadje-sivo.jpg);
	background-repeat: no-repeat;
}

@media (prefers-color-scheme: dark) {
	.ozadje-sivo {
		background: none !important;
	}
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 12px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #5A5A5A;
    border-bottom: 1px solid #5A5A5A;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    bottom: 5px;
    left: 0;
    background: var(--vigorzelena);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -30px;
}

.section-title.text-center::after {
    width: 120px;
    left: 50%;
    margin-left: -60px;
}


.service-item {
  position: relative;
  z-index: 1;
  padding: 30px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
  background-color: #fff;
  border-radius: 10px;
  border-top-right-radius: 50px;
  transition: all .3s;
}

.service-item .icon {
  margin-left: 0px;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  transition: all .3s;
}

.service-item h4 {
  transition: all .3s;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-item p {
  transition: all .3s;
  font-size: 15px;
  margin-bottom: 20px;
}

/*
.service-item:hover h4,
.service-item:hover p,
.service-item:hover .text-button a {
  color: #fff;
}
*/
.service-item:hover {
/*
  background-image: url(../img/service-bg.jpg);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
*/
  box-shadow: 0px 0px 15px rgba(206,255,0,0.8);
}

/*** Domain Search ***/
.domain {
    background: url(../img/bg-domain.png) center center no-repeat;
    background-size: contain;
}


/*** Comparison ***/
@media (min-width: 992px) {
    .comparison::after {
        position: absolute;
        content: "";
        width: 1px;
        top: 56px;
        bottom: 20px;
        left: 50%;
        background: #DDDDDD;
    }
}

/* Testimonials - Item
-----------------------------------------------------------------*/

.testimonial {
	position: relative;
	padding: 20px;
	background-color: #FFF;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 5px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.testi-image {
	float: left;
	margin-right: 15px;
}

.testi-image,
.testi-image a,
.testi-image img,
.testi-image i {
	display: block;
	width: 64px;
	height: 64px;
}

.testi-image i {
	text-align: center;
	background-color: #EEE;
	border-radius: 50%;
	line-height: 64px;
	font-size: 28px;
	color: #888;
	text-shadow: 1px 1px 1px #FFF;
}

.testi-image img { border-radius: 50%; }

.testi-content {
	position: relative;
	overflow: hidden;
}

.testi-content p {
	margin-bottom: 0;
	font-family: 'PT Serif', serif;
	font-style: italic;
}

.testi-content p::before,
.testi-content p::after { content: '"'; }

.testi-meta {
	margin-top: 10px;
	font-size: 15px;
	font-weight: bold;
	text-transform: uppercase;
}

.testi-meta::before { content: '\2013'; }

.testi-meta span {
	display: block;
	font-weight: normal;
	color: #999;
	font-size: 13px;
	text-transform: none;
	padding-left: 10px;
}

/*** Testimonial carousel ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item .position-absolute {
    background: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--vigorzelena);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-box a {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  color:  #666666 !important;
}
.team-box .overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  opacity: 0;
  -webkit-transition: all 0.8s;
  transition: all 0.8;
  padding: 15px;
}
.team-box:hover .overlay {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}
.team-item:hover {
    border-color: var(--secondary) !important;
}
.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}
.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Countframe ***/
.countframe h2 {
	color: var(--dark) !important;
	position: relative;
}

.countframe h2 span {
	position: absolute;
	left: -60px;
	top: -60px;
	z-index: -1;
	font-size: 170px;
	color: #e9e9e9;
	background: none;
	-webkit-text-fill-color: #e9e9e9
}

@media (max-width: 767px) {
	.countframe h2 span {
		font-size: 130px;
		left: -30px
	}
}

.countframe p {
	line-height: 2rem !important;

}

@media (max-width: 767px) {
	.countframe p {
		line-height: 1.5rem !important;
	}
}

@media (prefers-color-scheme: dark) {
	.countframe h2 span {
		display: none;
	}
}


/*** Footer ***/
.footer {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-footer.png);
    background-position:
        0px 112px,
        right 0 bottom 0,
        left 50% top 80px,
        left 50% bottom 0,
        top center;
    background-repeat: no-repeat;
}

.footer-nobg {
    background-image:none !important;
	margin-top: 0.2rem !important;
	padding-top: 0 !important;
}

.footer-nobg .container {
	
}

.footer p {
    font-size: 15px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .3);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
