/* Code God - Main Stylesheet */
/* High-Performance CSS with Modern Design */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);
    
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

p {
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(52, 58, 64, 0.95) !important;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand img {
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(108, 117, 125, 0.9)),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&h=1080&fit=crop&auto=format') center/cover;
    position: relative;
    color: white;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-stats {
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    padding: 2rem;
}

.service-card-front {
    background-color: var(--white);
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-back {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-back h4 {
    margin-bottom: 1rem;
}

.service-card-back p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-card-back .service-features {
    text-align: left;
}

/* Service Overview Cards */
.service-overview-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.service-overview-card .service-image {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.service-overview-card .service-image img {
    transition: var(--transition);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-overview-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overview-card .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.5rem;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Technology Cards */
.tech-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Portfolio Cards */
.portfolio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-tags {
    margin-top: 1rem;
}

.portfolio-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

/* Training Section */
.training-section {
    background: var(--light-color);
}

.feature-item {
    display: flex;
    align-items: center;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

footer a {
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color) !important;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

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

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

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-color);
    transform: translateY(-2px);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .tech-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .tech-card {
        padding: 1.5rem 1rem;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
}

/* Privacy Page Styles */
.privacy-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
}

.privacy-toc {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.privacy-toc h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.privacy-toc ul {
    padding-left: 0;
}

.privacy-toc li {
    margin-bottom: 0.5rem;
}

.privacy-toc a {
    color: #6c757d;
    transition: color 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.privacy-toc a:hover,
.privacy-toc a.fw-bold {
    color: var(--primary-color);
}

.privacy-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.privacy-section h4 {
    color: #495057;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.contact-info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
}

.contact-info-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Contact Form Styles */
.contact-card {
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-request-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-check-label {
    cursor: pointer;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-buttons .btn {
    transition: all 0.3s ease;
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Alert Customizations */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-info {
    background-color: #e7f3ff;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-success {
    background-color: #d1edff;
    color: #0f5132;
}

.alert-primary {
    background-color: #cfe2ff;
    color: #084298;
}

/* Responsive Design for Privacy Page */
@media (max-width: 768px) {
    .privacy-toc {
        position: static !important;
        margin-bottom: 2rem;
    }
    
    .privacy-section {
        padding: 1.5rem 0;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .service-request-form {
        padding: 1.5rem;
    }
}

/* Terms of Service Page Styles */
.terms-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="terms-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><rect x="0" y="0" width="1" height="1" fill="rgba(255,255,255,0.1)"/><rect x="12" y="12" width="1" height="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23terms-pattern)"/></svg>');
    opacity: 0.4;
}

.terms-hero .container {
    position: relative;
    z-index: 1;
}

.terms-highlights .highlight-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-toc {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    top: 100px;
}

.terms-toc h5 {
    color: #495057;
    margin-bottom: 1rem;
    font-weight: 600;
}

.terms-toc ul {
    max-height: 500px;
    overflow-y: auto;
}

.terms-toc li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.terms-toc li:before {
    content: "§";
    position: absolute;
    left: 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: bold;
}

.terms-toc a {
    color: #495057;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.terms-toc a:hover,
.terms-toc a.fw-bold {
    color: #007bff;
}

.terms-section {
    scroll-margin-top: 100px;
}

.terms-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.terms-section h4 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.terms-section h4:before {
    content: "▪";
    color: #007bff;
    margin-right: 0.5rem;
}

.terms-section ul {
    padding-left: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.terms-section .alert {
    border-left: 4px solid #007bff;
    border-radius: 0.25rem;
}

.terms-section .alert-info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.terms-section .alert-warning {
    background-color: #fff3cd;
    border-left-color: #ff9800;
}

.terms-section .alert-danger {
    background-color: #f8d7da;
    border-left-color: #dc3545;
}

/* Terms responsive styles */
@media (max-width: 768px) {
    .terms-hero {
        padding: 3rem 0;
    }
    
    .terms-hero h1 {
        font-size: 2.5rem;
    }
    
    .terms-toc {
        position: static !important;
        margin-bottom: 2rem;
    }
    
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .terms-section h4 {
        font-size: 1.2rem;
    }
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #007bff;
    z-index: 9999;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice.hide {
    transform: translateY(100%);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-notice-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-notice-icon {
    font-size: 2rem;
    color: #ffc107;
    flex-shrink: 0;
}

.cookie-notice-message h5 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-weight: 600;
}

.cookie-notice-message p {
    margin: 0;
    color: #e9ecef;
    line-height: 1.5;
}

.cookie-notice-message a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-notice-message a:hover {
    color: #0056b3;
}

.cookie-notice-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-notice-actions .btn {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.cookie-notice-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.cookie-accept-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.cookie-decline-btn {
    background: #6c757d;
    border: none;
}

.cookie-decline-btn:hover {
    background: #5a6268;
}

.cookie-settings-btn {
    border: 1px solid #dee2e6;
    color: #ffffff;
}

.cookie-settings-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cookie-settings-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-settings-modal.show .cookie-settings-content {
    transform: scale(1);
}

.cookie-settings-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.cookie-settings-header h4 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.cookie-settings-header .btn-close {
    font-size: 1.2rem;
}

.cookie-settings-body {
    padding: 0 1.5rem;
}

.cookie-settings-body > p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #f8f9fa;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cookie-category-header .form-check {
    margin: 0;
}

.cookie-category-header .form-check-label {
    margin-left: 0.5rem;
    color: #495057;
}

.cookie-category-header .badge {
    font-size: 0.75rem;
}

.cookie-category-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.cookie-settings-footer {
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-settings-footer .btn {
    min-width: 120px;
}

/* Cookie Notice Responsive */
@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-notice-text {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-notice-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-notice-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cookie-settings-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cookie-notice {
        padding: 1rem 0;
    }
    
    .cookie-notice-message h5 {
        font-size: 1rem;
    }
    
    .cookie-notice-message p {
        font-size: 0.9rem;
    }
    
    .cookie-notice-actions {
        gap: 0.5rem;
    }
    
    .cookie-notice-actions .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Toast Enhancements */
.toast-container .toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.toast-container .toast .toast-body {
    padding: 1rem;
}

/* Cookie Preference Link in Footer */
.cookie-preferences-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.cookie-preferences-link:hover {
    color: #007bff;
    text-decoration: underline;
}