/* Custom styles for almodroid */

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Custom button styles */
.btn-custom {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- HEADER GLASSMORPHISM & FLOATING STYLES --- */
.header {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100% !important;
    z-index: 1050;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.header > .navbar {
    pointer-events: auto;
}

/* Add top padding to hero section so content is not hidden behind header */
.hero-section {
    padding-top: 200px !important;
    margin-top: 0 !important;
}

.about{
    padding: 200px !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 1rem;
    border: 2px solid rgba(245, 245, 245, 0.753);
    margin-left: auto;
    margin-right: auto;
    max-width: 1300px;
    padding-left: 2rem;
    padding-right: 2rem;
    transition: box-shadow 0.3s, background 0.3s;
}

@media (max-width: 991.98px) {
    .navbar {
        max-width: 98vw;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .header {
        margin-top: 12px;
        margin-bottom: 12px;
    }
}

/* Keep sticky for mobile if needed */
@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        margin-top: 0;
        margin-bottom: 0;
        background: none;
    }
    .navbar {
        border-radius: 1rem;
    }
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Custom section backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
}

/* Enhanced service icons */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

/* Custom form styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color), 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color), 0.25);
}

/* Enhanced modal styles */
.modal-header.bg-primary {
    border-bottom: none;
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Custom accordion styles */
.accordion-button:not(.collapsed) {
    background-color: #e8f5e8;
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color), 0.25);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.newsletter-form .input-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 15px;
}

.newsletter-form .btn {
    padding: 12px 20px;
    border: none;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .text-muted {
    color: #bdc3c7 !important;
}

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

/* Custom breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom alert styles */
.alert {
    border: none;
    border-radius: 10px;
}

.alert-primary {
    background-color: #d4edda;
    color: #155724;
}

/* Enhanced table styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Custom badge styles */
.badge {
    font-weight: 500;
    padding: 0.5em 1em;
}

/* Enhanced pagination */
.pagination .page-link {
    border: none;
    color: var(--primary-color);
    margin: 0 2px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: #e8f5e8;
    color: var(--primary-color);
} 

/* --- ABOUT US SECTION CUSTOM STYLES --- */
.about-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    padding: 0.35rem 2.1rem;
    box-shadow: -12px 8px 0px 0px #75737336;
    margin-bottom: 1rem;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.stat-card {
    background: #e9e6f4;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(var(--primary-color), 0.07);
    border: 1px solid #c4c3e6;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.stat-value {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.stat-label {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.about-link {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}
.about-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
}
.about-link i {
    font-size: 1.1em;
    margin-left: 0.3em;
} 

/* --- OUR SERVICES SECTION CUSTOM STYLES --- */
.our-services-section {
    background: var(--primary-color);
}
.service-card-custom {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 2px 12px rgba(40, 167, 69, 0.07);
    border: none;
}
.service-card-custom:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    transform: translateY(-10px) scale(1.03);
    z-index: 2;
}
.service-icon-custom {
    font-size: 2.2rem;
    color: var(--secondary-color)!important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.learn-more-link {
    color: #256029;
    font-weight: 600;
    border-bottom: 2px solid #256029;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}
.learn-more-link:hover {
    color: #1b5e20;
    border-color: #1b5e20;
    text-decoration: none;
} 

.service-card-content {
    transition: transform 0.3s;
}
.learn-more-link-animated {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0; right: 0; bottom: 24px;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(20px);
}
.service-card-custom:hover .service-card-content {
    transform: translateY(-18px);
}
.service-card-custom:hover .learn-more-link-animated {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
} 

.gallery-img-hover {
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    max-height: 180px;
    object-fit: cover;
    width: 100%;
}

/* Limit image size in GLightbox */
.glightbox-container .gslide-image img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
}

/* Remove hover effect from info cards */
.card:hover:not(.gallery-img-hover) {
    box-shadow: inherit !important;
    transform: none !important;
} 

.why-us-section {
    background: var(--secondary-color);
}
.feature-card-modern {
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px rgba(40, 167, 69, 0.07);
    border: 1px solid #e6f4ea;
    background: #fff;
    transition: none;
}
.feature-icon {
    font-size: 2.7rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-us-section h2 span {
    color: #4354b3;
} 

.testimonial-card-modern {
    border-radius: 2rem;
    box-shadow: 0 2px 12px rgba(40, 167, 69, 0.07);
    border: 1px solid #e6f4ea;
    background: #fff;
    min-height: 320px;
}
.testimonial-stars i {
    color: #ffc107;
    font-size: 1.3rem;
}
.testimonial-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.3;
}
.testimonial-dots {
    margin-top: 1.5rem;
}
.testimonial-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c3c9e6;
    margin: 0 5px;
    transition: background 0.2s;
}
.testimonial-dots .dot.active {
    background: #4a43b3;
} 

/* --- MODERN FOOTER STYLES --- */
.footer-modern {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}
.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}
.footer-logo img, .footer-logo svg {
    width: 3.7rem;
    height: 3.7rem;
    filter: brightness(600%) saturate(0%);
-webkit-filter: brightness(600%) saturate(0%);
-moz-filter: brightness(600%) saturate(0%);
}
.footer-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.footer-link, .footer-contact {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover, .footer-contact:hover {
    color: #ffc107;
}
.newsletter-modern {
    margin-bottom: 2.5rem;
}
.newsletter-modern .newsletter-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 5rem;
    margin-bottom: 0.7rem;
    line-height: 1.1;
}
.newsletter-modern .newsletter-desc {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.newsletter-input {
    border-radius: 2.5rem 0 0 2.5rem;
    border: none;
    padding: 1.2rem 1.7rem;
    font-size: 1.1rem;
    width: 60%;
    max-width: 350px;
    outline: none;
    box-shadow: none;
    background: #fff;
    color: var(--primary-color);
}
.newsletter-btn {
    border-radius: 0 2.5rem 2.5rem 0;
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    border: none;
    box-shadow: 2px 4px 0px 0px #75737336;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.newsletter-btn:hover {
    background-color: var(--bg-secondary-new);
    color: var(--primary-color);
}
.footer-divider {
    border-top: 1.5px solid #3a5a3a;
    margin: 2.5rem 0 1.5rem 0;
}
.footer-bottom {
    color: #bdc3c7;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom a {
    color: #bdc3c7;
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: #ffc107;
}
@media (max-width: 991.98px) {
    .footer-modern {
        padding: 2.5rem 0 1.5rem 0;
        border-radius: 0 0 1.2rem 1.2rem;
    }
    .newsletter-modern .newsletter-title {
        font-size: 2rem;
    }
}
@media (max-width: 767.98px) {
    .footer-modern {
        padding: 2rem 0 1rem 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.7rem;
        text-align: center;
    }
    .newsletter-input {
        width: 100%;
        border-radius: 2.5rem !important;
        margin-bottom: 0.7rem;
    }
} 

/* --- COMPACT NEWSLETTER FORM --- */
.newsletter-modern form {
    max-width: 480px;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
}
.newsletter-input {
    border-radius: 2.5rem;
    border: none;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    background: #fff;
    color: var(--primary-color);
    box-shadow: none;
    margin: 0;
    height: 54px;
}
.newsletter-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2.5rem;
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.6rem 2.1rem;
    border: none;
    box-shadow: 2px 4px 0px 0px #75737336;
    transition: background 0.2s, color 0.2s;
    height: 42px;
    display: flex;
    align-items: center;
}
.newsletter-btn:hover {
    background: var(--bg-secondary-new);
    color: var(--primary-color);
}
@media (max-width: 767.98px) {
    .newsletter-modern form {
        max-width: 100%;
    }
    .newsletter-input {
        font-size: 1rem;
        padding: 0.8rem 1.1rem;
        height: 48px;
    }
    .newsletter-btn {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
        height: 38px;
        max-width: 120px;
        left:8px!important;
    }
    
} 

/* =====================
   About Page Styles
   ===================== */

.about-bg-img {
    pointer-events: none;
    background-position: center center;
    background-size: cover;
    min-height: 450px;
    border-radius: 2rem;
    z-index: 1;
    top: 80px!important;
    left: 80px!important;
    width: calc(100% - 160px)!important;
    height: calc(100% - 160px)!important;
}

@media (max-width: 991.98px) {
    .about-bg-img {
        top: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
}

.section-padding.position-relative.rounded-5.about-mission-section {
    background-color: var(--primary-color);
    padding: 100px 80px;
    overflow: hidden;
}

.about-mission-section .container-fluid.position-relative {
    z-index: 2;
    background: none;
    border-radius: 2rem;
}

.about-mission-section .about-cards-col {
    min-width: 260px;
    max-width: 100%;
}

.about-mission-section .about-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    text-align: start;
    min-height: 250px;
}

.about-mission-section .about-card:last-child {
    margin-bottom: 0;
}

.about-mission-section .about-highlight {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* RTL support */
[dir="rtl"] .about-mission-section .about-highlight {
    border-right: 2px solid rgb(11, 9, 153) !important;
    padding-right: 12px !important;
    border-left: none !important;
    padding-left: 0 !important;
}
.about-mission-section .about-highlight {
    border-left: 2px solid rgb(11, 9, 153) !important;
    padding-left: 12px !important;
    border-right: none !important;
    padding-right: 0 !important;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .section-padding.position-relative.rounded-5.about-mission-section {
        padding: 40px 10px;
    }
    .about-mission-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .about-mission-section .about-card {
        padding: 1.2rem 0.8rem;
        min-height: 180px;
    }
}

/* Glassmorphism CTA styles (if not already in custom.css) */
.cta-glass-card {
    background: rgba(255,255,255,0.55);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 2rem;
    border: 2px solid rgba(245,245,245,0.753);
    padding: 3rem 2.5rem;
    margin-top: -60px;
    margin-bottom: 0;
    transition: box-shadow 0.3s, background 0.3s;
}

    
.newsletter-input-glass {
    background: rgba(255,255,255,0.45) !important;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border-radius: 3rem !important;
    border: 1.5px solid rgba(245,245,245,0.5) !important;
}



@media (max-width: 991.98px) {
    .cta-glass-card {
        padding: 2rem 1rem;
        border-radius: 1.2rem;
    }
} 

[dir="rtl"] .about-bg-img {
    transform: scaleX(-1);
} 

/* --- Custom padding for new home sections --- */
.best-selling-products-section,
.cooling-panels-section,
.testimonials-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
@media (max-width: 767.98px) {
    .best-selling-products-section,
    .cooling-panels-section,
    .testimonials-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .about {
    padding: 50px 0!important;
    }
    .hero-section {
    padding-top: 50px !important;
    margin-top: 0 !important;
}
} 

.impact-section {
    background: var(--primary-color) !important;
}
[data-theme="dark"] .impact-section {
    background: linear-gradient(180deg, #23272f 0%, #181a1b 100%) !important;
}
.impact-stat-card {
    background: rgba(255,255,255,0.12);
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
    color: #fff;
    transition: background 0.3s, color 0.3s;
}
[data-theme="dark"] .impact-stat-card {
    background: rgba(36, 41, 54, 0.85);
    border: 1px solid #2c2f36;
    color: #fff;
}
.impact-stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}
.impact-stat-card .stat-label {
    color: #e0e6f6;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
.testimonials-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
}
[data-theme="dark"] .testimonials-bg {
    background: linear-gradient(135deg, #23272f 0%, #181a1b 100%);
}

.cta-glass-card {
    background: rgba(255,255,255,0.55);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 2rem;
    border: 2px solid rgba(245,245,245,0.753);
    padding: 3rem 2.5rem;
    margin-top: -60px;
    margin-bottom: 0;
    transition: box-shadow 0.3s, background 0.3s;
}
@media (max-width: 991.98px) {
    .cta-glass-card {
        padding: 2rem 1rem;
        border-radius: 1.2rem;
    }
}

.clients-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-marquee {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.clients-marquee:hover {
    animation-play-state: paused;
}

.client-item {
    flex-shrink: 0;
    margin: 0 30px;
    min-width: 150px;
    text-align: center;
}

/* Marquee Overlay Gradients */
.marquee-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-overlay-left {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

.marquee-overlay-right {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

/* RTL Overlay Support */
[dir="rtl"] .marquee-overlay-right {
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

[dir="rtl"] .marquee-overlay-left {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

/*mods*/
[data-theme="dark"] .marquee-overlay-right {
    background: linear-gradient(to left, rgba(24,26,27,1) 0%, rgba(24,26,27,0.8) 50%, rgba(24,26,27,0) 100%);
}

[data-theme="dark"] .marquee-overlay-left {
    background: linear-gradient(to right, rgba(24,26,27,1) 0%, rgba(24,26,27,0.8) 50%, rgba(24,26,27,0) 100%);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* RTL Support */
[dir="rtl"] .clients-marquee {
    animation: marquee-rtl 30s linear infinite;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-item {
        margin: 0 20px;
        min-width: 120px;
    }
    
    .clients-marquee {
        animation-duration: 20s;
    }
    
    [dir="rtl"] .clients-marquee {
        animation-duration: 20s;
    }
    
    .marquee-overlay {
        width: 60px;
    }
    /* Remove or override sticky positioning for mobile menu/navbar */
.navbar, .navbar-mobile, .header {
    position: static !important;
    top: auto !important;
    width: 100%;
} 
.globe{
    width:250px;
}
}

.flag-icon {
            width: 1.2em;
            height: 1.2em;
            border-radius: 2px;
            display: inline-block;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }
        .flag-icon-us { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 480"><path fill="%23bd3d44" d="M0 0h640v480H0z"/><path stroke="%23fff" stroke-width="37" d="M0 55.3h640M0 129h640M0 202.7h640M0 276.3h640"/><rect fill="%2319236e" width="247" height="260"/><g fill="%23fff"><g id="d"><g id="c"><path id="e" d="M24.8 25l3.2 9.8h10.3l-8.3 6.1 3.2 9.9-8.4-6-8.4 6 3.2-9.9-8.3-6.1h10.3z"/><use href="%23e" y="19.5"/><use href="%23e" y="39"/></g><use href="%23c" x="19.5"/></g><use href="%23d" x="39"/><use href="%23c" x="78"/><use href="%23d" x="117"/><use href="%23c" x="156"/><use href="%23d" x="195"/><g><use href="%23e" y="78"/><use href="%23c" x="19.5" y="78"/><use href="%23d" x="39" y="78"/><use href="%23c" x="78" y="78"/><use href="%23d" x="117" y="78"/><use href="%23c" x="156" y="78"/><use href="%23d" x="195" y="78"/></g><g><use href="%23e" y="117"/><use href="%23c" x="19.5" y="117"/><use href="%23d" x="39" y="117"/><use href="%23c" x="78" y="117"/><use href="%23d" x="117" y="117"/><use href="%23c" x="156" y="117"/><use href="%23d" x="195" y="117"/></g><g><use href="%23e" y="156"/><use href="%23c" x="19.5" y="156"/><use href="%23d" x="39" y="156"/><use href="%23c" x="78" y="156"/><use href="%23d" x="117" y="156"/><use href="%23c" x="156" y="156"/><use href="%23d" x="195" y="156"/></g><g><use href="%23e" y="195"/><use href="%23c" x="19.5" y="195"/><use href="%23d" x="39" y="195"/><use href="%23c" x="78" y="195"/><use href="%23d" x="117" y="195"/><use href="%23c" x="156" y="195"/><use href="%23d" x="195" y="195"/></g><g><use href="%23e" y="234"/><use href="%23c" x="19.5" y="234"/><use href="%23d" x="39" y="234"/><use href="%23d" x="117" y="234"/><use href="%23c" x="156" y="234"/><use href="%23d" x="195" y="234"/></g></g></svg>'); }
        .flag-icon-sa { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23006c35"/><rect x="200" y="500" width="500" height="30" rx="15" fill="%23fff"/></svg>'); }
        /* Flag margin: right in LTR, left in RTL */
        .flag-icon {
            margin-right: 0.5em;
        }
        html[dir="rtl"] .flag-icon, .rtl .flag-icon {
            margin-right: 0;
            margin-left: 0.5em;
        }
        
