/* ==========================================================================
   Motil Equipment - Main Stylesheet
   ========================================================================== */

/* CSS Variables */
:root {
    --primary: #2F8A2D;
    --primary-dark: #247522;
    --primary-light: #3DA63B;
    --accent: #E63946;
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-light: #f0f7f0;
    --bg-footer: #e8f5e8;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Wrapper */
.page-wrapper {
    overflow-x: hidden;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
}

.phone-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.phone-btn i {
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu .nav-link {
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .hamburger {
        display: flex;
    }

    .phone-btn span {
        display: none;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
}

.section-header.center .section-description {
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 650px;
    z-index: 10;
}

.slide-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.slide-title {
    font-size: 62px;
    font-style: italic;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-title .highlight {
    color: var(--primary-light);
}

.slide-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.slider-nav:hover {
    background: var(--primary);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .slide-content {
        left: 5%;
        right: 5%;
        max-width: none;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-description {
        font-size: 16px;
    }

    .slider-nav {
        display: none;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.image-main img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
}

.image-secondary img {
    border-radius: 10px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-size: 48px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    line-height: 1.4;
}

.about-content .about-lead {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-content .about-text {
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-features .feature {
    display: flex;
    gap: 15px;
}

.about-features .feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.about-features .feature-content h4 {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-features .feature-content p {
    font-size: 14px;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    gap: 40px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.about-stats .stat {
    text-align: center;
}

.about-stats .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.about-stats .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -100px;
        margin-left: auto;
        display: block;
    }

    .experience-badge {
        top: 20px;
        left: 20px;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.service-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.service-number {
    font-size: 60px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--bg-light);
    line-height: 1;
    margin-bottom: 10px;
}

.service-title {
    font-size: 32px;
    font-style: italic;
    margin-bottom: 20px;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-medium);
}

.service-features li i {
    color: var(--primary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row.reverse {
        direction: ltr;
    }

    .service-image {
        min-height: 250px;
    }

    .service-content {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   Equipment Grid
   ========================================================================== */
.equipment-section {
    padding: 100px 0;
    background: var(--white);
}

.equipment-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #eee;
    border-radius: 50px;
    background: transparent;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.equipment-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.equipment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.1);
}

.equipment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(47, 138, 45, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.equipment-card:hover .equipment-overlay {
    opacity: 1;
}

.btn-quote {
    background: var(--white);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
}

.btn-quote:hover {
    background: var(--text-dark);
    color: var(--white);
}

.equipment-info {
    padding: 20px;
}

.equipment-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.equipment-name {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 8px;
}

.equipment-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.equipment-price {
    font-weight: 600;
}

.equipment-price .price {
    color: var(--primary);
    font-size: 18px;
}

.equipment-price .unit {
    color: var(--text-light);
    font-size: 14px;
}

@media (max-width: 1200px) {
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-choose-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

.feature-box .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--text-medium);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-box .feature-title {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-box .feature-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920') center/cover no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(47, 138, 45, 0.9);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.cta-title {
    font-size: 42px;
    font-style: italic;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    font-size: 14px;
    color: var(--text-light);
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-info .social-links {
    display: flex;
    gap: 10px;
}

.contact-info .social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
}

.contact-info .social-links a:hover {
    background: var(--primary-dark);
}

.contact-info .social-links a i {
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-wrapper h3 {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.validation-message {
    color: var(--accent);
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ==========================================================================
   Blog Section & Cards
   ========================================================================== */
.blog-section {
    padding: 100px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-card-image {
    display: block;
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
}

.blog-card-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.blog-card-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blog-card-footer .read-time {
    font-size: 13px;
    color: var(--text-light);
}

.blog-card-footer .read-time i {
    margin-right: 5px;
}

.blog-card-footer .read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.blog-card-footer .read-more:hover {
    color: var(--primary-dark);
}

.blog-card-footer .read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-card-footer .read-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blog Listing Page
   ========================================================================== */
.blog-listing {
    padding: 80px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.blog-search {
    display: flex;
    margin-bottom: 30px;
}

.blog-search input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 50px 0 0 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.blog-search button {
    padding: 14px 25px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.blog-search button:hover {
    background: var(--primary-dark);
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-pill {
    padding: 8px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    background: transparent;
    color: var(--text-medium);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.filter-pill .count {
    opacity: 0.7;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.sidebar-widget h4 {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.recent-posts li,
.related-posts li {
    margin-bottom: 15px;
}

.recent-posts li:last-child,
.related-posts li:last-child {
    margin-bottom: 0;
}

.recent-posts a,
.related-posts a {
    display: flex;
    gap: 15px;
}

.recent-posts img,
.related-posts img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-post-info,
.related-info {
    flex: 1;
}

.recent-post-info .title,
.related-info .title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-info .title:hover,
.related-info .title:hover {
    color: var(--primary);
}

.recent-post-info .date,
.related-info .date {
    font-size: 12px;
    color: var(--text-light);
}

.category-list li,
.archive-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.category-list li:last-child,
.archive-list li:last-child {
    border-bottom: none;
}

.category-list a,
.archive-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-medium);
    font-size: 14px;
}

.category-list a:hover,
.archive-list a:hover {
    color: var(--primary);
}

.category-list span,
.archive-list span {
    color: var(--text-light);
}

.sidebar-cta {
    background: var(--primary);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--white);
    font-size: 20px;
    font-style: italic;
    margin-bottom: 10px;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 20px;
}

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

.sidebar-cta .btn-primary:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    background: transparent;
    color: var(--text-medium);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-num {
    width: 40px;
    height: 40px;
    border: 2px solid #eee;
    border-radius: 50%;
    background: transparent;
    color: var(--text-medium);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.page-num:hover,
.page-num.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

/* ==========================================================================
   Blog Post Page
   ========================================================================== */
.post-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.post-hero-content {
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.post-hero .breadcrumb {
    margin-bottom: 20px;
}

.post-hero .breadcrumb a,
.post-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.post-hero .breadcrumb a:hover {
    color: var(--white);
}

.post-hero .separator {
    margin: 0 10px;
}

.post-category-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.post-hero h1 {
    font-size: 42px;
    font-style: italic;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.post-meta i {
    margin-right: 8px;
}

.post-content-section {
    padding: 60px 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.post-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-medium);
}

.post-body h2 {
    font-size: 28px;
    font-style: italic;
    margin: 40px 0 20px;
}

.post-body h3 {
    font-size: 22px;
    font-style: italic;
    margin: 30px 0 15px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    border-radius: 10px;
    margin: 30px 0;
}

.post-body ul,
.post-body ol {
    margin: 20px 0 20px 30px;
}

.post-body li {
    margin-bottom: 10px;
    list-style: disc;
}

.post-body ol li {
    list-style: decimal;
}

.post-body blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tags-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 10px;
}

.tag {
    background: var(--bg-light);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-medium);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.share-label {
    font-weight: 600;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.linkedin { background: #0077B5; }

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    font-size: 40px;
    color: var(--white);
}

.author-info h4 {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 10px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.nav-post {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-post:hover {
    border-color: var(--primary);
}

.nav-post.next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-post:hover .nav-title {
    color: var(--primary);
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.related-section {
    padding: 80px 0;
    background: var(--bg-light);
}

@media (max-width: 991px) {
    .post-hero h1 {
        font-size: 32px;
    }

    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .post-hero {
        height: 400px;
    }

    .post-hero h1 {
        font-size: 26px;
    }

    .post-meta {
        gap: 15px;
        font-size: 13px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Page Hero
   ========================================================================== */
.page-hero {
    position: relative;
    height: 350px;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.page-hero h1 {
    font-size: 48px;
    font-style: italic;
    color: var(--white);
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.page-hero .breadcrumb a,
.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumb a:hover {
    color: var(--white);
}

.page-hero .breadcrumb .current {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .page-hero {
        height: 280px;
    }

    .page-hero h1 {
        font-size: 32px;
    }
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-page-content {
    padding: 100px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-intro-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.mv-card h3 {
    font-size: 22px;
    font-style: italic;
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.core-values {
    margin-bottom: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.value-number {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--bg-light);
    margin-bottom: 10px;
}

.value-item h4 {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.services-intro {
    padding: 80px 0 40px;
}

.additional-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.additional-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

.additional-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--text-medium);
    transition: var(--transition);
}

.additional-card:hover .additional-icon {
    background: var(--primary);
    color: var(--white);
}

.additional-card h3 {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 15px;
}

.additional-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.additional-card ul {
    text-align: left;
}

.additional-card ul li {
    font-size: 13px;
    color: var(--text-medium);
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.additional-card ul li:last-child {
    border-bottom: none;
}

.service-process {
    padding: 80px 0;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.process-step h4 {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.process-connector {
    width: 80px;
    height: 2px;
    background: var(--primary);
    margin-top: 30px;
}

@media (max-width: 991px) {
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-connector {
        display: none;
    }

    .process-steps {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .additional-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Equipment Page
   ========================================================================== */
.equipment-intro {
    padding: 80px 0 40px;
}

.equipment-cta {
    padding: 60px 0;
    background: var(--bg-light);
}

.equipment-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.equipment-cta-content h3 {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 15px;
}

.equipment-cta-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.faq-item h4 {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-footer);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer .social-links {
    display: flex;
    gap: 10px;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
}

.footer .social-links a:hover {
    background: var(--primary-dark);
}

.footer-col h4 {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-medium);
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-info i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}

.contact-info span,
.contact-info a {
    color: var(--text-medium);
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-bottom {
    background: var(--primary);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-bottom p {
    text-align: center;
    color: var(--white);
    font-size: 14px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Loading & States
   ========================================================================== */
.loading-spinner {
    text-align: center;
    padding: 60px 0;
    color: var(--text-light);
}

.loading-spinner i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.loading-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.loading-page i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.no-results {
    text-align: center;
    padding: 60px 0;
}

.no-results i {
    font-size: 50px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.not-found {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.not-found i {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 20px;
}

.not-found h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.not-found p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.no-posts {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* ==========================================================================
   Blazor Specific
   ========================================================================== */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--primary);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}
