/* Base Styles */
:root {
    --primary-color: #fd7e14;  /* Orange primary for dark theme */
    --secondary-color: #6c757d;  /* Bootstrap secondary gray */
    --accent-color: #ffc107;  /* Warning yellow accent */
    --dark-color: #f8f9fa;  /* Light color for text in dark theme */
    --light-color: #212529;  /* Dark color for backgrounds */
    --white: #ffffff;
    --black: #000000;
    --warning-color: #ffc107;  /* Bootstrap warning color */
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px; /* Height of fixed navbar */
    background-color: #212529 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--warning-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    text-align: center;
    color: var(--warning-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--warning-color);
}

/* Dark theme card overrides */
.card {
    background-color: #343a40 !important;
    border: 1px solid #495057 !important;
    color: #f8f9fa !important;
}

.card-body {
    background-color: transparent !important;
}

.card-title {
    color: #ffc107 !important;
}

.accordion-item {
    background-color: #343a40 !important;
    border: 1px solid #495057 !important;
}

.accordion-button {
    background-color: #495057 !important;
    color: #f8f9fa !important;
    border: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.accordion-body {
    background-color: #343a40 !important;
    color: #f8f9fa !important;
}

/* Form elements for dark theme */
.form-control {
    background-color: #495057 !important;
    border: 1px solid #6c757d !important;
    color: #f8f9fa !important;
}

.form-control:focus {
    background-color: #495057 !important;
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
    color: #f8f9fa !important;
}

.form-select {
    background-color: #495057 !important;
    border: 1px solid #6c757d !important;
    color: #f8f9fa !important;
}

.form-select:focus {
    background-color: #495057 !important;
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
}

/* Buttons */
.btn-primary {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

.btn-primary:hover {
    background-color: #ffca2c !important;
    border-color: #ffc720 !important;
    color: #212529 !important;
}

.btn-outline-primary {
    color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-outline-primary:hover {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

/* Navigation */
.navbar {
    padding: 1.2rem 0;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.98) 0%, rgba(33, 37, 41, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 1030;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(33, 37, 41, 0.98) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light) !important;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.brand-text {
    display: inline-block;
    line-height: 1.2;
    font-size: 1.4rem;
}

.text-accent {
    color: var(--warning-color);
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.6rem 1rem;
    margin: 0 0.2rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--accent-color), #ff9a3c);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link:focus:after,
.navbar-dark .navbar-nav .nav-link.active:after {
    width: 60%;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    margin-top: 0.8rem;
    background: rgba(33, 37, 41, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.1), transparent);
    color: #fff;
    padding-left: 1.75rem;
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    opacity: 1;
    color: var(--accent-color);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Button */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #ff8c42);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 107, 53, 0.4);
}

.btn-accent:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    background: transparent;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    transition: all 0.3s ease;
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .btn-accent {
        padding: 0.5rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-collapse {
        background: rgba(33, 37, 41, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 10px;
        margin: 0.5rem -1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.05);
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .nav-item {
        margin: 0.2rem 0;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        margin: 0.1rem 0;
        border-radius: 8px;
    }
    
    .navbar-dark .navbar-nav .nav-link:after {
        display: none;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .dropdown-menu {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0.3rem 0 0.3rem 1rem;
        padding: 0.5rem 0;
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.6rem 1.5rem;
    }
    
    .btn-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 36px;
    }
    
    .navbar-toggler {
        width: 40px;
        height: 40px;
    }
    
    .btn-back-to-top {
        width: 42px;
        height: 42px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1rem;
    }
}

/* Technologie Section */
#technologie {
    background-color: #f8f9fa;
}

#technologie .card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#technologie .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

#technologie .card-body {
    padding: 30px 20px;
}

#technologie .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

#technologie .card:hover .icon-box {
    transform: scale(1.1);
}

#technologie h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

#technologie p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../img/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-slider .carousel-item {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Carousel timing adjustments */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.3s;
}

.carousel-item.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content .badge {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: inline-block;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-content .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-content .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.hero-content .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e94e1b 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 78, 27, 0.3);
}

.hero-content .btn-outline-light {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
}

.hero-content .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(233, 78, 27, 0.4);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
    z-index: 5;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #ff6b35;
    width: 30px;
    border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slider {
        height: auto;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 6rem 1.5rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        opacity: 0.7;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 5rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .carousel-indicators {
        margin-bottom: 1rem;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
}

footer h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    padding-left: 0;
}

/* Contact Section */
#kontakt {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#kontakt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
}

#kontakt .card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#kontakt .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
    transition: all 0.3s ease;
}

#kontakt .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#kontakt .card:hover::before {
    height: 8px;
}

#kontakt .form-control,
#kontakt .form-select {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #e1e5ee;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

#kontakt .form-control:focus,
#kontakt .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    background-color: #fff;
}

#kontakt .form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
}

#kontakt .btn-primary {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    border: none;
    position: relative;
    overflow: hidden;
}

#kontakt .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

#kontakt .btn-primary:active {
    transform: translateY(0);
}

#kontakt .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f0f4f8;
    color: #0d6efd;
    margin-right: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

#kontakt .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0d6efd, #6f42c1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

#kontakt .social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

#kontakt .social-links a:hover::before {
    opacity: 1;
}

#kontakt .icon-box-sm {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    color: #0d6efd;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#kontakt .d-flex:hover .icon-box-sm {
    transform: scale(1.1);
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.1));
}

/* Map container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Form validation styles */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.was-validated .form-check-input:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.was-validated .form-control:valid,
.was-validated .form-select:valid,
.was-validated .form-check-input:valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus,
.was-validated .form-check-input:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.85em;
    color: #dc3545;
    font-weight: 500;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-feedback {
    display: block;
}

/* Success message */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #0d6efd, #6f42c1);
}

.alert-success {
    background-color: #f0f9f0;
    color: #0f5132;
    border-left: 4px solid #198754;
}

.alert .btn-close {
    padding: 0.75rem;
    background-size: 0.75rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.alert .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Custom checkbox */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.form-check-label {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 5px;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .navbar-dark .navbar-nav .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        border: none;
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.5rem 1rem;
    }
    
    .dropdown-item:hover {
        background-color: transparent;
        color: var(--accent-color);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

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

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.rounded-lg {
    border-radius: 1rem !important;
}
