/* Main Styles for Agdjzw
   Blueprint Technical Style with Magazine Layout
   Date: 2025 */


body {
    font-family: 'Red Hat Display', sans-serif;
    color: #2E3440;
    background-color: #F9FBFD;
    line-height: 1.6;
}


.blueprint-bg {
    background-color: #E8F1F9;
    background-image: url('../images/tech-blueprint-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.blueprint-container {
    position: relative;
}

.blueprint-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 92, 145, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 92, 145, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.measurement-line {
    position: relative;
    margin: 2rem 0;
}

.measurement-line::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    height: 5px;
    width: 1px;
    background-color: #0A5C91;
}

.measurement-line::after {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    height: 5px;
    width: 1px;
    background-color: #0A5C91;
}

.measurement-label {
    font-size: 0.7rem;
    color: #0A5C91;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(249, 251, 253, 0.8);
    padding: 0 5px;
}


.primary-color {
    color: #0A5C91;
}

.accent-color {
    color: #FF7A45;
}

.success-color {
    color: #3DAD66;
}

.alert-color {
    color: #E63946;
}

.bg-primary {
    background-color: #0A5C91;
}

.bg-accent {
    background-color: #FF7A45;
}

.bg-light-grid {
    background-color: #F0F4F8;
}

.bg-dark-grid {
    background-color: #1F2937;
    color: #F9FBFD;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0A5C91;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.text-bold {
    font-weight: 700;
}


.magazine-layout {
    column-count: 3;
    column-gap: 2rem;
    margin: 2rem 0;
}

.magazine-layout h2, 
.magazine-layout h3, 
.magazine-layout h4 {
    column-span: all;
}

.magazine-layout p {
    margin-bottom: 1rem;
}

.magazine-layout img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 992px) {
    .magazine-layout {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .magazine-layout {
        column-count: 1;
    }
}


.two-column {
    column-count: 2;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .two-column {
        column-count: 1;
    }
}


.container-fluid {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

header {
    padding: 1rem 0;
    background-color: #F9FBFD;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .navbar-brand img {
    height: 40px;
}


.navbar {
    padding: 0.5rem 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #2E3440;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #0A5C91;
}

.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #0A5C91;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link:focus::after,
.navbar-light .navbar-nav .active .nav-link::after {
    transform: scaleX(1);
}

.navbar-light .navbar-nav .active .nav-link {
    color: #0A5C91;
    font-weight: 700;
}

.dropdown-menu {
    border: 1px solid rgba(10, 92, 145, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    padding: 0.5rem;
}

.dropdown-item {
    color: #2E3440;
    padding: 0.5rem 1rem;
    font-weight: 400;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #E8F1F9;
    color: #0A5C91;
}

.dropdown-item.active {
    background-color: #0A5C91;
    color: #F9FBFD;
}


.hero {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    color: #2E3440;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(249, 251, 253, 0.85);
    z-index: 0;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
}


.feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    background-color: #F9FBFD;
    border: 1px solid rgba(10, 92, 145, 0.2);
    position: relative;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 92, 145, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 92, 145, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: 0;
    border-radius: 0.25rem;
}

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

.feature-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FF7A45;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}


.chart-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #F9FBFD;
    border: 1px solid rgba(10, 92, 145, 0.2);
    border-radius: 0.25rem;
    position: relative;
}

.chart-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 92, 145, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 92, 145, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
    border-radius: 0.25rem;
}

.stats-container {
    padding: 3rem 0;
    background-color: #0A5C91;
    color: #F9FBFD;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-item .odometer {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #F9FBFD;
}

.stat-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
}


.form-container {
    padding: 2rem;
    background-color: #F9FBFD;
    border: 1px solid rgba(10, 92, 145, 0.2);
    border-radius: 0.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 92, 145, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 92, 145, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
    border-radius: 0.25rem;
}

.form-control {
    border: 1px solid rgba(10, 92, 145, 0.2);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0A5C91;
    box-shadow: 0 0 0 0.2rem rgba(10, 92, 145, 0.25);
}

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

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0A5C91;
    border-color: #0A5C91;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #084B78;
    border-color: #084B78;
}

.btn-accent {
    background-color: #FF7A45;
    border-color: #FF7A45;
    color: white;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #E56A3A;
    border-color: #E56A3A;
    color: white;
}

.btn-outline-primary {
    border-color: #0A5C91;
    color: #0A5C91;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #0A5C91;
    color: #F9FBFD;
}

.iti {
    width: 100%;
}


.img-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.img-feature {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}


footer {
    background-color: #2E3440;
    color: #F9FBFD;
    padding: 3rem 0 2rem;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #0A5C91, #FF7A45);
}

footer h5 {
    color: #F9FBFD;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #FF7A45;
}

footer a {
    color: #F9FBFD;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: #FF7A45;
    text-decoration: none;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: #FF7A45;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(249, 251, 253, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
}

.cookie-settings-btn {
    cursor: pointer;
    color: #FF7A45;
    text-decoration: underline;
}


.modal-blueprint {
    border-radius: 0.25rem;
    overflow: hidden;
}

.modal-blueprint .modal-header {
    background-color: #0A5C91;
    color: #F9FBFD;
    position: relative;
}

.modal-blueprint .modal-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: 0;
}

.modal-blueprint .modal-title {
    color: #F9FBFD;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.modal-blueprint .modal-body {
    position: relative;
}

.modal-blueprint .modal-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 92, 145, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 92, 145, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.modal-blueprint .modal-content {
    position: relative;
    z-index: 1;
}

.modal-blueprint .close {
    color: #F9FBFD;
    opacity: 0.8;
    text-shadow: none;
}

.modal-blueprint .close:hover {
    opacity: 1;
}


.cookie-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: #F9FBFD;
    border: 1px solid rgba(10, 92, 145, 0.2);
    border-radius: 0.25rem;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-consent.visible {
    display: block;
}

.cookie-settings-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(10, 92, 145, 0.1);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #3DAD66;
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}


.bg-light-blue {
    background-color: #E8F1F9;
}

.border-primary {
    border: 1px solid rgba(10, 92, 145, 0.2) !important;
}

.shadow-sm {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.shadow-md {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) !important;
}

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

.position-relative {
    position: relative !important;
}

.overflow-hidden {
    overflow: hidden !important;
}


.measurement-box {
    position: relative;
    padding: 1.5rem;
    margin: 1rem 0;
}

.measurement-box::before,
.measurement-box::after {
    content: "";
    position: absolute;
    background-color: #0A5C91;
    opacity: 0.2;
}

.measurement-box::before {
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-image: linear-gradient(to right, #0A5C91, transparent);
}

.measurement-box::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, #0A5C91);
}


.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

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

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stat-item .odometer {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .magazine-layout,
    .two-column {
        column-count: 1;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}


.thanks-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thanks-container i {
    font-size: 5rem;
    color: #3DAD66;
    margin-bottom: 2rem;
}

.thanks-container h1 {
    margin-bottom: 1.5rem;
}

.thanks-container p {
    max-width: 600px;
    margin-bottom: 2rem;
}


.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.policy-date {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    border-bottom: 1px solid rgba(10, 92, 145, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.contact-info {
    padding: 2rem;
    background-color: #F9FBFD;
    border-radius: 0.25rem;
    margin-bottom: 2rem;
}

.contact-info i {
    color: #FF7A45;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.map-container {
    height: 400px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.25rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.article-meta {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(10, 92, 145, 0.1);
    color: #666;
}

.article-meta i {
    color: #0A5C91;
    margin-right: 0.5rem;
}

.article-featured-image {
    margin-bottom: 2rem;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

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

.article-content h2 {
    margin-top: 2rem;
}

.article-footer {
    padding-top: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(10, 92, 145, 0.1);
}