/* Custom Styles */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Buttons */
.btn {
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Forms */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: slideIn 0.5s ease-out;
}

/* Utility Classes */
.top-alerts-container {
    position: sticky;
    top: 56px;
    z-index: 1030;
}

.top-alerts-container .alert {
    margin-bottom: 0.75rem;
}

#gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    border-radius: 0;
}

body {
    padding-bottom: 80px;
}

.alert.d-none {
    display: none !important;
}

.text-muted {
    color: #6c757d !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Services Section */
.services-preview {
    padding: 80px 0;
}

/* Rotating Text Animation */
.rotating-text-container {
    position: relative;
    height: 2.5rem; /* Adjust based on line height */
    overflow: hidden;
}

.rotating-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    white-space: nowrap;
}

.rotating-text.active {
    opacity: 1;
}

/* Rotating Services */
.rotating-service-container {
    position: relative;
    min-height: 500px;
}

.service-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
}

.service-block.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.service-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #007bff;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: #0056b3;
}

/* Service Details Animation */
.service-details {
    animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    transition: all 0.3s ease;
    color: #ffffff !important;
}

.cta-section h3 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.75rem;
}

.cta-section p {
    color: #ffffff !important;
    opacity: 0.95;
    font-size: 1.1rem;
}

.cta-section i {
    color: #ffffff !important;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
