/* CSS Variables */
:root {
    --primary-color: #2a75a6;
    --secondary-color: #0e2231;
    --light-color: #ffffff;
    --dark-color: #0e2231;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Utility Classes */
.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(42, 117, 166, 0.1);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: rgba(14, 34, 49, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.dropdown-menu {
    background: white;
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(42, 117, 166, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #102532;
    margin-bottom: 25px;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); */
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 30px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: var(--primary-color);
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-content {
    padding-right: 30px;
}

.about-tabs {
    border-bottom: none;
    gap: 10px;
}

.about-tabs .nav-link {
    background: transparent;
    border: 2px solid #e9ecef;
    color: #666;
    border-radius: var(--border-radius);
    padding: 12px 20px;
    font-weight: 600;
    transition: var(--transition);
}

.about-tabs .nav-link.active,
.about-tabs .nav-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    padding-top: 20px;
}

.tab-pane p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: var(--box-shadow);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Company Overview */
.company-overview {
    background: linear-gradient(rgba(14, 34, 49, 0.9), rgba(42, 117, 166, 0.9)), 
                url('../img/finance-money-debt-credit-balance-concept.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
}

.company-overview .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 34, 49, 0.8);
}

.service-item {
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    margin-bottom: 15px;
}

/* Services Section */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(42, 117, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-slider .owl-stage-outer {
    padding: 30px 0;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-content {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    text-align: center;
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote i {
    color: white;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    font-style: italic;
    margin: 30px 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius) !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: var(--secondary-color);
    border-radius: var(--border-radius) !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(42, 117, 166, 0.1);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px 25px;
    line-height: 1.7;
}

/* Contact Section */
.contact-info {
    padding: 30px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(42, 117, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-details h5 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-details p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-floating > label {
    color: #666;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(42, 117, 166, 0.25);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-info-footer {
    margin-top: 20px;
}

.contact-item-footer {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item-footer i {
    width: 20px;
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.footer-credit {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-tabs {
        flex-direction: column;
    }
    
    .about-tabs .nav-link {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Mobile dropdown menu improvements */
    .navbar-nav .dropdown-menu {
        background: rgba(14, 34, 49, 0.95);
        border: none;
        box-shadow: none;
        margin-top: 0;
        border-radius: 0;
    }
    
    .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background: rgba(42, 117, 166, 0.3);
        color: white !important;
    }
    
    .navbar-nav .dropdown-item.active {
        background: var(--primary-color);
        color: white !important;
    }
    
    .navbar-nav .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.2);
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Owl Carousel Custom Styles */
.owl-nav {
    display: none;
}

.owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.owl-dot.active,
.owl-dot:hover {
    background: var(--primary-color);
}

/* Hide testimonials dots completely */
.testimonials-section .owl-dots,
.testimonials-slider .owl-dots {
    display: none !important;
}

/* AOS Animation Adjustments */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Contact Page Specific Styles */
.contact-hero {
    min-height: 60vh;
}

.contact-info-card {
    background: white;
    padding: 40px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card .contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(42, 117, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-card .contact-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-info-card h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info-card p {
    margin: 0;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--secondary-color);
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    background: var(--secondary-color);
    height: 500px;
    display: flex;
    align-items: center;
    padding: 40px;
}

.map-info-content {
    color: white;
}

.map-info h3 {
    color: white;
    margin-bottom: 20px;
}

.map-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.location-details {
    margin-bottom: 30px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.location-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
}

.location-item div {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 600;
}

/* Services Page Styles */
.service-hero {
    min-height: 60vh;
    /* display: flex; */
    align-items: center;
}

.service-detail-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.service-detail-header {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    text-align: center;
}

.service-detail-header i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-detail-content {
    padding: 40px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(42, 117, 166, 0.05);
    border-radius: 8px;
}

.service-feature i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h5 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Najpopularniji';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-period {
    color: #666;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Benefits Section */
.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(42, 117, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .map-info {
        height: auto;
        padding: 30px 20px;
    }
    
    .contact-info-card {
        margin-bottom: 30px;
    }
    
    .service-detail-content {
        padding: 30px 20px;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .service-detail-header {
        padding: 20px;
    }
    
    .cta-section {
        text-align: center;
    }
    
    .cta-section .btn {
        margin-top: 20px;
        width: 100%;
    }
}