:root {
    --bs-link-color: #4682B4;
    --bs-link-hover-color: #4169E1;
    --dark-blue: #0B2531;
    --light-blue: #9BDEFF;
    --text-gray: #8892b0;
}

body {
    font-size: 1rem;
    padding-top: 4.875rem;
    font-family: "Montserrat", sans-serif;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    color: #2C3E50;
}

a {
    color: #4682B4;
}

a:hover {
    color: #4169E1;
}

.btn-primary {
    --bs-btn-bg: #4682B4;
    --bs-btn-border-color: #4682B4;
    --bs-btn-hover-bg: #4169E1;
    --bs-btn-hover-border-color: #4169E1;
    --bs-btn-active-bg: #4169E1;
    --bs-btn-active-border-color: #4169E1;
    --bs-btn-disabled-bg: #4682B4;
    --bs-btn-disabled-border-color: #4682B4;
}

.btn-outline-primary {
    --bs-btn-color: #4682B4;
    --bs-btn-border-color: #4682B4;
    --bs-btn-hover-bg: #4169E1;
    --bs-btn-hover-border-color: #4169E1;
    --bs-btn-active-bg: #4169E1;
    --bs-btn-active-border-color: #4169E1;
    --bs-btn-disabled-color: #4682B4;
    --bs-btn-disabled-border-color: #4682B4;
}

blockquote {
    border-left: 5px solid #4682B4;
    padding-left: 15px;
    color: #7F8C8D;
    background-color: #ECF0F1;
}

/* Header */
#top-navbar .navbar-brand img {
    max-height: 3.25rem;
}

#top-navbar .dropdown-flags {
    min-width: 1rem;
}

/* Hero */
.hero {
    min-height: 70vh;
    padding: 10rem 0;
    display: flex;
    align-items: center;
}

/* Breadcrumbs */
.breadcrumb-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.breadcrumb {
    font-size: 0.875rem;
}

/* Articles */
.articles-section {
    margin-bottom: 4rem;
}

.articles-item-date {
    font-size: 0.75rem;
}

.articles-list {
    margin-bottom: 2rem;
}

.articles-list h4 {
    padding-top: 1rem;
}

.article-categories {
    margin-bottom: 2rem;
}

.article-date {
    font-size: .75rem;
    color: #444;
}

.article-image {
    margin-bottom: 2rem;
    text-align: center;
}

/* About project */
.about-project {
    margin: 0 auto 4rem auto;
    max-width: 40rem;
}

/* Search page */
.search-form {
    margin-bottom: 2rem;
    width: 100%;
}

.search-results {
    margin-bottom: 2rem;
    width: 100%;
}

/* Full page */
.full-page {
    margin-bottom: 4rem;
    padding-top: 4rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 50rem;
    margin: 0 auto 2rem auto;
}

.text-content h1 {
    margin-bottom: 2rem;
}

.text-block {
    margin-bottom: 4rem;
}

.contact-block {
    margin-bottom: 4rem;
}

.pagination-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination-container nav {
    margin-bottom: .5rem;
}

/* Footer */
footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .nav {
    margin-bottom: 4rem;
}

footer .footer-search {
    margin-bottom: 4rem;
}

footer .footer-search form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

footer .copyright {
    margin-bottom: 4rem;
}

/* Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    overflow: scroll;
    padding-top: 5rem;
    top: 0;
}

#cookieForm {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.cookieText {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.cookieText h2 {
    font-size: 1rem;
}

.cookieText label {
    margin-right: 0.5rem;
}

.cookieButtons {
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    min-width: 15rem;
}

.cookieButtons .btn {
    margin-bottom: .25rem;
}

/* Other */
#top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: none;
    z-index: 10;
    cursor: pointer;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .cookie-consent {
        overflow: visible;
        padding: 2rem;
        top: auto;
    }

    #cookieForm {
        flex-direction: row;
    }

    .cookieText {
        margin-bottom: 0rem;
        font-size: 1rem;
    }

    .cookieText h2 {
        font-size: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}

/* Home Page Styles */
.hero-section {
    position: relative;
    background-color: var(--dark-blue);
    background-size: cover;
    background-position: center;
    display: flex;
    min-height: calc(100vh - 90px);
    align-items: center;
    color: white;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(292deg, transparent 5.51%, rgba(11, 37, 49, 0.8));
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: white;
    font-family: "Open Sans", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--light-blue);
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.scroll-down-btn:hover {
    transform: translate(-50%, 5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.scroll-down-btn i {
    font-size: 20px;
    animation: bounce 2s infinite;
}

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

.content-section {
    padding: 5rem 0;
}

.bg-light-section {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: #2C3E50;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.feature-card-simple {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card-simple:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4682B4, #4169E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card-simple h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.feature-card-simple p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.partner-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #555;
}

.benefit-item i {
    color: #4682B4;
    font-size: 1.2rem;
}

.partner-image {
    position: relative;
}

.partner-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    margin-top: 2rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4682B4;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .scroll-down-btn {
        bottom: 50px;
    }
    
    .content-section {
        padding: 3rem 0;
    }
}

/* Partner Modal Styles */
.partner-form .modal-header {
    background: linear-gradient(135deg, #4682B4, #4169E1);
    color: white;
    border-bottom: none;
}

.partner-form .modal-header .modal-title {
    color: white;
    font-weight: 600;
}

.partner-form .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.partner-form .modal-header .btn-close:hover {
    opacity: 1;
}

.partner-form .modal-body {
    padding: 2rem;
}

.partner-form .form-label {
    font-weight: 500;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.partner-form .form-control {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.partner-form .form-control:focus {
    border-color: #4682B4;
    box-shadow: 0 0 0 0.2rem rgba(70, 130, 180, 0.1);
}

.partner-form .form-check-input:checked {
    background-color: #4682B4;
    border-color: #4682B4;
}

.partner-form .btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(70, 130, 180, 0.2);
    transition: all 0.3s ease;
}

.partner-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(70, 130, 180, 0.3);
}

.partner-form .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: 2px solid #6c757d;
    background-color: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.partner-form .btn-secondary:hover {
    background-color: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .partner-form .modal-dialog {
        margin: 1rem;
    }
    
    .partner-form .modal-body {
        padding: 1.5rem;
    }
}